/* =====================================================================
   EXORENT Unterseiten (Fahrzeuge, Umgebung, Ratgeber), 02.11.2026
   Gleiche Gestaltung wie die Startseite: dunkle Bildbühne oben,
   Elfenbein/Sand-Flächen, Serifen-Überschriften mit Goldakzent,
   weiße Karten mit Schatten, Gold- und WhatsApp-Knöpfe, schwarze Fußzeile.
   Baut auf styles.css + klassisch.css auf. Maße in rem (Pro-Max-Regel).
   ===================================================================== */

html { font-size: 16px; }
@media (max-width: 440px) { html { font-size: calc(100vw / 27.5); } }
body { font-size: 1rem; background: var(--paper); }

.sx-wrap { width: min(72rem, 100% - 2 * clamp(1.25rem, 4vw, 4rem)); margin: 0 auto; }
.sx-narrow { width: min(48rem, 100% - 2 * clamp(1.25rem, 4vw, 4rem)); margin: 0 auto; }

/* ---------- Bühne oben (dunkel, Bild) ---------- */
.sx-hero { position: relative; min-height: clamp(34rem, 78vh, 46rem); display: flex; align-items: flex-end;
  background: #0f0d0a; color: #fbf7ef; overflow: hidden; }
.sx-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,10,8,.92) 0%, rgba(12,10,8,.7) 38%, rgba(12,10,8,.1) 75%),
              linear-gradient(0deg, rgba(12,10,8,.95) 0%, rgba(12,10,8,0) 45%); }
.sx-hero-inner { position: relative; z-index: 2; padding: 8rem 0 3.5rem; }
.sx-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(251,247,239,.55); margin-bottom: 1.4rem; }
.sx-crumbs a { color: rgba(251,247,239,.75); }
.sx-crumbs a:hover { color: var(--gold); }
.sx-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.sx-h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02;
  letter-spacing: .005em; max-width: 14em; text-wrap: balance; }
.sx-h1 .gold, .sx-h2 .gold { color: var(--gold); }
.sx-hero-sub { margin-top: 1.1rem; max-width: 34rem; font-size: 1.05rem; line-height: 1.6; color: rgba(251,247,239,.78); }
.sx-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.8rem; }
.sx-price { font-size: .95rem; color: rgba(251,247,239,.7); }
.sx-price strong { font-size: 2rem; font-weight: 700; color: var(--gold); margin: 0 .2rem; }
.sx-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.sx-ki { position: absolute; z-index: 3; right: clamp(1.25rem, 4vw, 4rem); bottom: 1.25rem; font-size: .68rem; font-weight: 600;
  color: var(--gold); border: 1px solid rgba(201,162,75,.45); border-radius: 99rem; padding: .3rem .7rem; background: rgba(15,13,10,.6); }

.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: 0 1.5rem;
  border-radius: .55rem; font-size: .92rem; font-weight: 600; transition: transform .2s, box-shadow .2s, background .2s; }
.sx-btn:hover { transform: translateY(-2px); }
.sx-btn svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.sx-btn--gold { background: linear-gradient(180deg, #e2c06a, #c9a24b); color: #161310; box-shadow: 0 10px 28px -12px rgba(201,162,75,.8); }
.sx-btn--wa { background: #25d366; color: #fff; box-shadow: 0 10px 28px -12px rgba(37,211,102,.8); }
.sx-btn--ghost { border: 1px solid rgba(251,247,239,.35); color: #fbf7ef; }
.sx-btn--line { border: 1px solid var(--line); color: var(--ink-hi); background: #fff; }

/* ---------- Kennzahlen-Leiste (wie Bühne Startseite) ---------- */
.sx-specs { background: #161310; color: #fbf7ef; padding: 0 0 3rem; }
.sx-specs-grid { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border: 1px solid rgba(255,255,255,.1);
  border-radius: .9rem; overflow: hidden; }
.sx-spec { padding: 1.3rem 1.4rem; border-left: 1px solid rgba(255,255,255,.08); }
.sx-spec:first-child { border-left: 0; }
.sx-spec span { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(251,247,239,.5); }
.sx-spec strong { display: block; margin-top: .35rem; font-size: 1.15rem; font-weight: 600; }

/* ---------- Sektionen ---------- */
.sx-sec { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--paper); }
.sx-sec--sand { background: var(--paper-2); border-top: 1px solid var(--line); }
.sx-sec--dark { background: #161310; color: #fbf7ef; --ink-hi: #fbf7ef; --ink-muted: rgba(251,247,239,.6); }
.sx-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); margin-bottom: .9rem; }
.sx-sec--dark .sx-kicker { color: var(--gold); }
.sx-h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.08; color: var(--ink-hi);
  text-wrap: balance; max-width: 18em; }
.sx-h2 .gold { color: var(--champagne); }
.sx-sec--dark .sx-h2 .gold { color: var(--gold); }
.sx-lead { margin-top: 1rem; max-width: 38rem; font-size: 1.02rem; line-height: 1.7; color: var(--ink-muted); }
.sx-head { margin-bottom: 2.5rem; }
.sx-head--center { text-align: center; }
.sx-head--center .sx-h2, .sx-head--center .sx-lead { margin-left: auto; margin-right: auto; }
.sx-prose p { font-size: 1.02rem; line-height: 1.8; color: var(--ink-muted); }
.sx-prose p + p { margin-top: 1rem; }
.sx-prose strong { color: var(--ink-hi); }
.sx-prose a, .sx-link { color: var(--champagne); border-bottom: 1px solid rgba(133,108,62,.35); }
.sx-sec--dark .sx-prose a, .sx-sec--dark .sx-link { color: var(--gold); }

/* ---------- Karten ---------- */
.sx-card { background: var(--card); border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: 0 1px 0 rgba(60,45,20,.04), 0 18px 40px -26px rgba(60,45,20,.45); }
.sx-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(var(--cols, 4), 1fr); }

/* Preisstufen */
.sx-tier { padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; }
.sx-tier span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); font-weight: 700; }
.sx-tier strong { font-size: 2rem; font-weight: 700; color: var(--ink-hi); letter-spacing: -.01em; }
.sx-tier em { font-style: normal; font-size: .88rem; color: var(--ink-muted); }
.sx-tier--top { border-color: rgba(133,108,62,.55); box-shadow: 0 26px 50px -26px rgba(133,108,62,.6); }
.sx-note { margin-top: 1.1rem; font-size: .82rem; line-height: 1.6; color: var(--ink-muted); }

/* Tabellen */
.sx-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sx-table th, .sx-table td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.sx-table th { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); font-weight: 700; }
.sx-table td { color: var(--ink-muted); }
.sx-table td:first-child { color: var(--ink-hi); font-weight: 500; }
.sx-table td:not(:first-child), .sx-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.sx-table tr:last-child td { border-bottom: 0; }
.sx-table a { color: var(--ink-hi); border-bottom: 1px solid rgba(133,108,62,.4); }
.sx-table a:hover { color: var(--champagne); }

/* Zwei Spalten */
.sx-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sx-split--top { align-items: start; }
.sx-media { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(30,20,5,.6); }
.sx-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sx-media .sx-tag { position: absolute; left: .9rem; bottom: .9rem; font-size: .68rem; font-weight: 600; color: var(--gold);
  background: rgba(15,13,10,.72); border: 1px solid rgba(201,162,75,.4); border-radius: 99rem; padding: .3rem .7rem; }

/* Galerie echter Fotos */
.sx-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.sx-gal figure { border-radius: .9rem; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(60,45,20,.5); }
.sx-gal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.sx-gal figure:hover img { transform: scale(1.04); }

/* Anlass-/Info-Karten */
.sx-info { padding: 1.6rem 1.5rem; }
.sx-info b { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: rgba(133,108,62,.4); line-height: 1; }
.sx-info h3 { margin-top: .9rem; font-size: 1.05rem; font-weight: 600; color: var(--ink-hi); }
.sx-info p { margin-top: .45rem; font-size: .9rem; line-height: 1.6; color: var(--ink-muted); }
.sx-sec--dark .sx-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.09); box-shadow: none; }
.sx-sec--dark .sx-info b { color: rgba(201,162,75,.35); }
.sx-sec--dark .sx-info h3 { color: #fbf7ef; }
.sx-sec--dark .sx-info::after { content: ''; display: block; width: 2rem; height: 2px; background: var(--gold); margin-top: 1.2rem; }

/* Fahrzeugkarten (wie Fuhrpark Startseite) */
.sx-car { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sx-car:hover { transform: translateY(-4px); border-color: rgba(133,108,62,.45); box-shadow: 0 26px 50px -26px rgba(60,45,20,.55); }
.sx-car-img { position: relative; background: #0f0d0a; }
.sx-car-img img.sx-car-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sx-car-brand { position: absolute; top: .6rem; right: .6rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: rgba(15,13,10,.75); border: 1px solid rgba(201,162,75,.5); display: grid; place-items: center; }
.sx-car-brand img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.sx-car-body { padding: 1rem 1.1rem 1.15rem; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.sx-car-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.15; color: var(--ink-hi); }
.sx-car-price { white-space: nowrap; font-weight: 700; color: var(--champagne); font-size: 1.05rem; text-align: right; }
.sx-car-price small { display: block; font-size: .62rem; letter-spacing: .14em; color: var(--ink-muted); font-weight: 600; }
.sx-car-meta { padding: 0 1.1rem 1.1rem; font-size: .82rem; color: var(--ink-muted); }

/* FAQ */
.sx-faq { display: grid; gap: .75rem; }
.sx-faq details { padding: 1.15rem 1.35rem; }
.sx-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 600; font-size: 1rem; line-height: 1.45; color: var(--ink-hi); }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: '+'; color: var(--champagne); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.sx-faq details[open] summary::after { transform: rotate(45deg); }
.sx-faq p { margin-top: .7rem; font-size: .95rem; line-height: 1.7; color: var(--ink-muted); }

/* Kontakt-Abschluss */
.sx-cta { position: relative; overflow: hidden; background: #161310; color: #fbf7ef; padding: clamp(4rem, 9vw, 6.5rem) 0; }
.sx-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.sx-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,19,16,.96) 30%, rgba(22,19,16,.6)); z-index: 1; }
.sx-cta .sx-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.sx-cta .sx-h2 { color: #fbf7ef; }
.sx-cta .sx-h2 .gold { color: var(--gold); }
.sx-cta .sx-lead { color: rgba(251,247,239,.7); }
.sx-contact { display: grid; gap: .9rem; }
.sx-contact a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: .8rem;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); transition: border-color .2s; }
.sx-contact a:hover { border-color: rgba(201,162,75,.6); }
.sx-contact i { width: 2.6rem; height: 2.6rem; flex: none; border-radius: .6rem; display: grid; place-items: center;
  background: rgba(201,162,75,.12); color: var(--gold); }
.sx-contact i svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.sx-contact span { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(251,247,239,.5); }
.sx-contact strong { display: block; margin-top: .15rem; font-size: 1.02rem; font-weight: 500; }

/* Artikel (Ratgeber) */
.sx-article { padding: clamp(2rem, 5vw, 3.5rem); }
.sx-article h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.12;
  color: var(--ink-hi); margin: 2.6rem 0 .9rem; text-wrap: balance; }
.sx-article h2:first-child { margin-top: 0; }
.sx-article h3 { font-size: 1.08rem; font-weight: 600; color: var(--ink-hi); margin: 1.6rem 0 .45rem; }
.sx-article p, .sx-article li { font-size: 1.02rem; line-height: 1.8; color: var(--ink-muted); }
.sx-article p + p { margin-top: 1rem; }
.sx-article ul { padding-left: 1.2rem; margin-top: .6rem; }
.sx-article li + li { margin-top: .35rem; }
.sx-article strong { color: var(--ink-hi); }
.sx-article a { color: var(--champagne); border-bottom: 1px solid rgba(133,108,62,.35); }
.sx-article .rg-lead { font-size: 1.15rem; color: var(--ink-hi); }
.sx-article .rg-note { font-size: .82rem; }
.sx-article .rg-table-wrap { margin: 1.2rem 0 .7rem; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; }
.sx-article table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sx-article th, .sx-article td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink-muted); }
.sx-article th { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.sx-article td:first-child { color: var(--ink-hi); }
.sx-article td:not(:first-child), .sx-article th:not(:first-child) { text-align: right; white-space: nowrap; }
.sx-article tr:last-child td { border-bottom: 0; }
.sx-article .rg-box { margin-top: 1.4rem; padding: 1.2rem 1.3rem; border-radius: .8rem; background: var(--paper); border: 1px solid var(--line); }
.sx-article .rg-faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.sx-article .rg-faq summary { cursor: pointer; font-weight: 600; color: var(--ink-hi); }
.sx-article .rg-faq details p { margin-top: .5rem; }
.sx-article-list { display: grid; gap: 1.1rem; }
.sx-article-list a.sx-card { display: grid; grid-template-columns: 16rem 1fr; overflow: hidden; }
.sx-article-list img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sx-article-list div { padding: 1.6rem 1.7rem; }
.sx-article-list h2 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; font-weight: 600; color: var(--ink-hi); text-wrap: balance; }
.sx-article-list p { margin-top: .6rem; font-size: .95rem; line-height: 1.6; color: var(--ink-muted); }
.sx-article-list small { display: block; margin-top: .9rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); font-weight: 700; }

/* Kopfzeile auf Unterseiten: Navigationslinks gehen auf die Startseite */
#header .header-logo { color: #fbf7ef; }
#header.scrolled .header-logo { color: #1f1b16; }

/* ---------- Tablet / Handy ---------- */
@media (max-width: 960px) {
  .sx-grid { --cols: 2 !important; }
  .sx-split, .sx-cta .sx-wrap { grid-template-columns: 1fr; }
  .sx-article-list a.sx-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sx-hero { min-height: 38rem; }
  .sx-hero::after { background: linear-gradient(0deg, rgba(12,10,8,.97) 0%, rgba(12,10,8,.8) 45%, rgba(12,10,8,.15) 100%); }
  .sx-hero-inner { padding: 7rem 0 2.5rem; }
  .sx-btn { flex: 1 1 100%; }
  .sx-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .sx-spec:nth-child(odd) { border-left: 0; }
  .sx-spec:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .sx-specs-grid[style*="--n: 3"] { grid-template-columns: repeat(3, 1fr); }
  .sx-specs-grid[style*="--n: 3"] .sx-spec { border-top: 0; border-left: 1px solid rgba(255,255,255,.08); padding: 1rem .9rem; }
  .sx-specs-grid[style*="--n: 3"] .sx-spec:first-child { border-left: 0; }
  .sx-gal { gap: .5rem; }
  .sx-table th, .sx-table td { padding: .8rem .8rem; font-size: .88rem; }
  .sx-tier { padding: 1.15rem 1rem; }
  .sx-tier strong { font-size: 1.6rem; }
  .sx-car-body { flex-direction: column; gap: .35rem; }
  .sx-car-price { text-align: left; }
  .sx-car-price small { display: inline; margin-left: .2rem; }
  .sx-article { padding: 1.5rem 1.25rem; }
  .sx-article th, .sx-article td { padding: .65rem .55rem; font-size: .8rem; }
}

/* 11 Karten: letzte Reihe mittig (nie Loch rechts) */
.sx-grid--elf { grid-template-columns: repeat(6, 1fr) !important; }
.sx-grid--elf > * { grid-column: span 2; }
.sx-grid--elf > :nth-child(10) { grid-column: 2 / span 2; }
.sx-grid--elf > :nth-child(11) { grid-column: 4 / span 2; }
@media (max-width: 960px) {
  .sx-grid--elf { grid-template-columns: repeat(4, 1fr) !important; }
  .sx-grid--elf > :nth-child(10) { grid-column: span 2; }
  .sx-grid--elf > :nth-child(11) { grid-column: 2 / span 2; }
}

/* --- Feinschliff 02.11. --- */
.sx-car-brand { background: #fff; border-color: rgba(201,162,75,.6); }
.sx-car-body { flex-direction: column; align-items: flex-start; gap: .35rem; }
.sx-car-price { text-align: left; }
.sx-car-price small { display: inline; margin-left: .2rem; }
@media (max-width: 640px) {
  .sx-hero { display: block; min-height: 0; }
  .sx-hero-img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
  .sx-hero::after { inset: 0 0 auto 0; height: 75vw;
    background: linear-gradient(0deg, #0f0d0a 0%, rgba(15,13,10,0) 45%), linear-gradient(180deg, rgba(12,10,8,.75) 0%, rgba(12,10,8,0) 30%); }
  .sx-hero-inner { padding: .5rem 0 2.5rem; }
  .sx-ki { top: calc(75vw - 2.6rem); bottom: auto; left: 1.25rem; right: auto; }
  .sx-btns { width: 100%; }
  .sx-hero-row { gap: 1rem; }
  .sx-tier span { letter-spacing: .08em; }
}

/* Lexus-Logo ist weiß, im weißen Badge dunkel färben */
.sx-car-brand img[src$="lexus.svg"] { filter: brightness(0); }
/* Kartendaten nur an den Punkten umbrechen */
.sx-car-meta span { white-space: nowrap; }
.sx-car-meta i { font-style: normal; }
/* Preisvergleich: auf dem Handy nur Fahrzeug, Tag, Wochenende (Kaution und Alter stehen auf jeder Fahrzeugseite) */
@media (max-width: 640px) {
  .sx-table--vergleich th:nth-child(n+4), .sx-table--vergleich td:nth-child(n+4) { display: none; }
}
/* lange Wörter (Hochzeitsgesellschaft) dürfen trennen, Rasterzellen nie breiter als die Spalte */
.sx-grid > * { min-width: 0; }
.sx-info h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* Fußzeilen-Links umbrechen statt seitlich überzustehen */
.footer-bottom-links { flex-wrap: wrap; justify-content: center; row-gap: .5rem; }
html, body { overflow-x: clip; }
