/* =====================================================================
   Autosattlerei Drechsler – Stylesheet
   Schriften: Bricolage Grotesque (Headlines) · Manrope (Body)
   ===================================================================== */

:root {
  --accent:  #8B4513;   /* Sattelbraun (Highlight) */
  --accent-2:#A65A24;   /* helleres Braun für Verläufe */
  --leather: #C5803F;   /* warmer Lederton für Akzente auf Dunkel */
  --dark:    #1A1A1B;   /* Tiefschwarz */
  --silver:  #C0C0C0;   /* Silber */
  --neutral: #F5F5F5;   /* Neutral / Hintergrund */

  --font-head: "Bricolage Grotesque", serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --gutter: clamp(56px, 11vw, 180px);   /* seitlicher Rand – Inhalt mehr in die Mitte */

  --ease: cubic-bezier(.22,.61,.36,1);

  /* werden per JS gesetzt – Position des Sitzes */
  --seat-x: 0vw;
  --seat-y: 0vh;
  --seat-scale: 1;
  --seat-rot: 0deg;
  --burst: 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--dark); }

body {
  font-family: var(--font-body);
  background: var(--neutral);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--neutral); }

/* ---------- Grain-Overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =====================================================================
   Kopfzeile
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(24px, 5vw, 64px);
}

.logo { display: inline-flex; transition: opacity .45s var(--ease); }
.logo img { display: block; height: 40px; width: auto; }
/* Logo nur in der Hero – beim Scrollen ausblenden (Est. 1946 bleibt) */
body.scrolled .logo { opacity: 0; pointer-events: none; }

.main-nav {
  position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  display: flex; gap: 4px;
  background: var(--accent);
  padding: 8px 10px; border-radius: 14px;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px -14px rgba(139,69,19,.55);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}
.main-nav a {
  color: var(--neutral); font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 9px; transition: color .3s var(--ease);
}
.main-nav a:hover { color: var(--dark); }
.main-nav a.active { color: var(--dark); }   /* nur Schriftfarbe, kein Hintergrund */
.main-nav a.soon { opacity: .65; }

/* Glaseffekt, sobald das Menü über den braunen Abschnitt läuft */
body[data-bg="accent"] .main-nav {
  background: rgba(245,245,245,.14);
  border-color: rgba(245,245,245,.28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.4);
}
body[data-bg="accent"] .main-nav a { color: var(--neutral); }
body[data-bg="accent"] .main-nav a:hover,
body[data-bg="accent"] .main-nav a.active { color: var(--dark); }

.header-year { font-family: var(--font-head); font-size: 13px; letter-spacing: .22em; font-weight: 600; color: var(--dark); transition: color .5s var(--ease); }

/* Kopfzeilen-Farben auf dunklem/braunem Abschnitt */
body[data-bg="accent"] .logo,
body[data-bg="accent"] .header-year,
body[data-bg="dark"] .logo,
body[data-bg="dark"] .header-year { color: var(--neutral); }

/* ---------- Hamburger-Icon (nur mobil sichtbar) ---------- */
.nav-toggle {
  display: none; position: relative; z-index: 1200;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px;
}
.nav-toggle-bar {
  display: block; width: 26px; height: 2px; background: var(--dark); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease), width .4s var(--ease), background .5s var(--ease);
}
body[data-bg="accent"] .nav-toggle-bar,
body[data-bg="dark"]   .nav-toggle-bar { background: var(--neutral); }
body.menu-open .nav-toggle-bar { background: var(--neutral); }
body.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 28px; }
body.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 28px; }

/* ---------- Mobiles Vollbild-Menü ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--dark); color: var(--neutral);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 8vw, 42px); letter-spacing: -.01em; line-height: 1.25;
  color: var(--neutral); opacity: .92; transition: color .3s var(--ease);
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--leather); }

/* =====================================================================
   Section-Linien links (ohne Text)
   ===================================================================== */
.progress-rail {
  position: fixed; left: clamp(16px, 3vw, 38px); top: 50%; transform: translateY(-50%);
  z-index: 1000; display: flex; flex-direction: column; gap: 6px;
}
.rail-item { display: block; padding: 4px 0; }
.rail-line {
  display: block; height: 2px; width: 18px; background: rgba(26,26,27,.30);
  transition: width .45s var(--ease), background .45s var(--ease);
}
.rail-item.active .rail-line { width: 46px; background: var(--accent); }

/* Linien-Farbe richtet sich nach dem, was HINTER der Bildmitte liegt (data-rail) */
/* auf braunem Abschnitt: helle Linien, aktive in Weiß (Braun wäre unsichtbar) */
body[data-rail="accent"] .rail-line { background: rgba(245,245,245,.5); }
body[data-rail="accent"] .rail-item.active .rail-line { background: var(--neutral); }

/* auf dunklem Abschnitt: helle Linien, aktive im warmen Lederton */
body[data-rail="dark"] .rail-line { background: rgba(245,245,245,.32); }
body[data-rail="dark"] .rail-item.active .rail-line { background: var(--leather); }

/* =====================================================================
   Der mitwandernde Sitz
   ===================================================================== */
.seat-stage { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.seat {
  position: absolute; left: 50%; top: 50%;
  width: min(800px, 58vw);
  opacity: var(--seat-op, 1);
  filter: blur(var(--seat-blur, 0));
  clip-path: inset(0 0 var(--seat-clip, 0%) 0);
  transform:
    translate(-50%, -50%)
    translate(var(--seat-x), var(--seat-y))
    scale(var(--seat-scale))
    rotate(var(--seat-rot));
  will-change: transform, opacity, filter;
}
.seat img {
  display: block; width: 100%; height: auto;
  /* Aufbau-Animation: Stuhl materialisiert sich (einblenden + leicht hochsteigen + scharf werden) */
  animation: seatReveal 1.9s var(--ease) .9s both;
}
@keyframes seatReveal {
  from { opacity: 0; transform: translateY(54px) scale(.9); filter: blur(16px); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* =====================================================================
   Sections – Grundgerüst
   ===================================================================== */
.section {
  position: relative; min-height: 100vh; width: 100%;
  display: flex; flex-direction: column;
  padding: 120px var(--gutter) 80px;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn::after { content: "→"; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(5px); }
.btn:hover { transform: translateY(-3px); }
.btn-dark  { background: var(--dark); color: var(--neutral); box-shadow: 0 14px 28px -14px rgba(26,26,27,.6); }
.btn-light { background: var(--neutral); color: var(--dark); box-shadow: 0 14px 28px -14px rgba(0,0,0,.4); }
.btn-accent { background: var(--accent); color: var(--neutral); box-shadow: 0 16px 34px -16px rgba(139,69,19,.8); }

/* ---------- Section 1 · Hero ---------- */
.section-hero { background: var(--neutral); justify-content: center; padding-top: 0; padding-bottom: 0; }
.hero-grid {
  position: relative; width: 100%; max-width: 1700px; margin: 0 auto; height: 100vh;
}
/* Desktop: Container löst sich auf, Intro/Tagline sitzen als eigene Eck-Elemente. */
.hero-bottom { display: contents; }
.hero-title {
  position: absolute; top: 15%; left: 0; right: 0;
  padding: 0;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(38px, 7.4vw, 124px); line-height: .9; text-align: left;
  letter-spacing: -.025em; text-transform: uppercase; color: var(--dark);
  display: flex; flex-direction: column; align-items: flex-start; z-index: 1; pointer-events: none;
}
.hero-title span { display: block; white-space: nowrap; animation: rise 1.5s var(--ease) both; }
.hero-title span:nth-child(1) { animation-delay: .25s; }            /* "Perfektion bis in die" – links */
.hero-title span:nth-child(2) { margin-left: 24vw; animation-delay: .6s; }  /* "kleinste Naht" – nach rechts versetzt (im schmaleren Inhalt) */
/* Schrift gleitet von unten-links nach oben-rechts in Position */
@keyframes rise { from { opacity: 0; transform: translate(-28px, 40px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.hero-intro {
  position: absolute; left: 0; bottom: 15%;
  max-width: 256px; z-index: 60; animation: fade 1.4s var(--ease) 1.6s both;
}
.hero-lead { font-size: 14.5px; line-height: 1.62; color: #555; margin-bottom: 20px; }
.hero-tagline {
  position: absolute; right: 0; bottom: 15%;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.1; text-align: right; color: var(--dark); z-index: 60;
  animation: fade 1.4s var(--ease) 1.9s both;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px; z-index: 60;
}
.chev {
  width: 13px; height: 13px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); animation: chev 1.8s var(--ease) infinite;
}
.chev:nth-child(2) { animation-delay: .2s; margin-top: -7px; }
.scroll-word { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
@keyframes chev { 0%,100%{ opacity:.3; } 50%{ opacity:1; } }

/* ---------- Section 2 · Materialität ---------- */
.section-material { background: var(--neutral); color: var(--neutral); justify-content: flex-start; overflow: hidden; padding-top: 92px; min-height: 104vh; }

/* Oldtimer mittig in der Section */
.oldtimer {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(680px, 50vw); z-index: 40; pointer-events: none;
}
.oldtimer #carOhne { display: block; width: 100%; height: auto; }
.oldtimer #carMit  { position: absolute; inset: 0; width: 100%; height: auto; opacity: var(--car-mit-op, 0); }
/* Weicher, eigener Bodenschatten unter dem Auto – kann nicht abgeschnitten werden
   (anders als ein drop-shadow am Bildrand) und wirkt sauber plastisch. */
.oldtimer::after {
  content: ""; position: absolute; left: 50%; bottom: 4%;
  width: 74%; height: 16%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,.42) 0%, rgba(0,0,0,.28) 38%, rgba(0,0,0,.10) 62%, transparent 78%);
  filter: blur(18px); border-radius: 50%;
  z-index: -1; pointer-events: none;
}
.tilt-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  /* Geneigter Streifen: oben & unten fallen von links nach rechts ab.
     Die neutralen Ecken (oben rechts, unten links) machen die Schräge IMMER sichtbar. */
  clip-path: polygon(0 0, 100% 16vh, 100% 100%, 0 calc(100% - 16vh));
  z-index: 0;
}
/* Überschrift + Texte sind um die Auto-Mitte (Section-Mitte = 50%) herum verankert,
   damit sie zusammen mit dem Auto sichtbar sind, wenn es zentriert ist. */
.ghost-title {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 1; text-align: center;
  transform: translateY(calc(-50% - 26vh)) translateY(var(--ay, 0px));
  opacity: var(--ao, 1);
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 7.5vw, 130px); line-height: .92; letter-spacing: -.02em;
  color: rgba(245,245,245,.18); pointer-events: none;
}
.material-copy {
  position: absolute; left: var(--gutter); bottom: 19vh;
  max-width: 300px; z-index: 60;
}
.material-copy h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.material-copy p { font-size: 15.5px; line-height: 1.65; margin-bottom: 22px; color: rgba(245,245,245,.92); }
.material-stat {
  position: absolute; right: var(--gutter); bottom: 19vh;
  text-align: right; z-index: 60;
}
.stat-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; display: block; }
.stat-label { font-size: 12px; line-height: 1.5; opacity: .88; display: block; margin-top: 6px; }

/* ---------- Section 3 · Leistungen (hell, feine Naht-Liste) ---------- */
.section-leistungen {
  background: var(--neutral); color: var(--dark); justify-content: flex-start;
  padding-bottom: clamp(60px, 10vh, 110px);
}
.leistungen-top {
  z-index: 60;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
}
.leistungen-headline {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 6.5vw, 104px); line-height: .9; letter-spacing: -.02em; color: var(--dark);
}
.leistungen-headline .accent { color: var(--accent); }
.leistungen-side { display: flex; flex-direction: column; align-items: flex-end; max-width: 340px; }
.leistungen-note { font-size: 15px; line-height: 1.6; color: #555; text-align: right; margin-bottom: 22px; }

/* Leistungs-Liste – feine, gestrichelte Naht-Linien, dezente Überschriften */
.svc-list {
  list-style: none; margin-top: clamp(40px, 7vh, 78px);
  border-top: 1px dashed rgba(139,69,19,.35);
}
.svc {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 44%);
  align-items: center; gap: clamp(14px, 2.6vw, 36px);
  padding: clamp(16px, 2.4vh, 26px) 6px;
  border-bottom: 1px dashed rgba(139,69,19,.35);
  color: var(--dark); position: relative;
  transition: padding-left .4s var(--ease);
}
.svc-num {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .1em; color: var(--accent); opacity: .65; transition: opacity .35s var(--ease);
}
.svc-name {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.005em;
  font-size: clamp(21px, 2.7vw, 36px); line-height: 1.04; color: var(--dark);
  transition: color .35s var(--ease);
}
.svc-desc { font-size: 13.5px; line-height: 1.5; color: #777; transition: color .35s var(--ease); }
.svc-arrow {
  justify-self: end; font-size: 19px; color: var(--accent);
  opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.svc:hover { padding-left: 22px; }
.svc:hover .svc-num { opacity: 1; }
.svc:hover .svc-name { color: var(--accent); }
.svc:hover .svc-desc { color: #444; }
.svc:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* Gestaffelte Einblendung beim Reinscrollen (sicher: ohne JS bleibt alles sichtbar) */
.svc-list.pre .svc { opacity: 0; transform: translateY(26px); }
.svc-list.pre.show .svc { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.svc-list.pre.show li:nth-child(1) .svc { transition-delay: .04s; }
.svc-list.pre.show li:nth-child(2) .svc { transition-delay: .10s; }
.svc-list.pre.show li:nth-child(3) .svc { transition-delay: .16s; }
.svc-list.pre.show li:nth-child(4) .svc { transition-delay: .22s; }
.svc-list.pre.show li:nth-child(5) .svc { transition-delay: .28s; }
.svc-list.pre.show li:nth-child(6) .svc { transition-delay: .34s; }
.svc-list.pre.show li:nth-child(7) .svc { transition-delay: .40s; }
.svc-list.pre.show li:nth-child(8) .svc { transition-delay: .46s; }

/* ---------- Section 4 · Galerie (Platzhalter) ---------- */
.section-galerie {
  background: var(--neutral); color: var(--dark); justify-content: flex-start;
  /* viel Weißraum nach unten, damit die Galerie für sich steht und die Bilder
     länger im Bild verweilen, bevor die nächste Section nachrückt */
  padding-bottom: clamp(160px, 30vh, 340px);
}
.galerie-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
}
.galerie-headline {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 6.5vw, 104px); line-height: .9; letter-spacing: -.02em; color: var(--dark);
}
.galerie-headline .accent { color: var(--accent); }
.galerie-note { max-width: 340px; font-size: 15px; line-height: 1.6; color: #555; text-align: right; }

.gallery-grid {
  margin-top: clamp(40px, 7vh, 78px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 19vh, 230px); gap: 14px;
}
.ph-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.ph-2 { grid-column: 3 / 5; grid-row: 1 / 2; }
.ph-3 { grid-column: 3 / 4; grid-row: 2 / 3; }
.ph-4 { grid-column: 4 / 5; grid-row: 2 / 3; }
.ph-5 { grid-column: 1 / 3; grid-row: 3 / 4; }
.ph-6 { grid-column: 3 / 5; grid-row: 3 / 4; }

.ph {
  position: relative; overflow: hidden; border-radius: 4px; margin: 0;
  background: linear-gradient(135deg, #ece5dc 0%, #ddd2c6 100%);
  display: grid; place-content: center; gap: 7px; text-align: center;
  cursor: pointer; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ph::after {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1.5px dashed rgba(139,69,19,.32); border-radius: 2px; transition: border-color .4s var(--ease);
}
.ph-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.2vw, 32px); color: rgba(139,69,19,.55); }
.ph-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(26,26,27,.4); }
.ph:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(26,26,27,.42); }

/* Echte Fotos füllen die Kachel formatfüllend */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* dezente Abdunklung beim Drüberfahren statt gestricheltem Platzhalter-Rahmen */
.ph::after { inset: 0; border: none; background: rgba(26,26,27,0); }
.ph:hover::after { background: rgba(26,26,27,.14); }

/* ---------- Galerie: mehrere Seiten zum Durchblättern ---------- */
.gallery-pages {
  position: relative; margin-top: clamp(40px, 7vh, 78px);
  /* Höhe der größten Seite (3 Reihen) reservieren, damit die Steuerung beim Blättern nicht springt */
  min-height: calc(3 * clamp(150px, 19vh, 230px) + 28px);
}
.gallery-page { display: none; }
.gallery-page.active { display: block; animation: galFade .55s var(--ease) both; }
@keyframes galFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gallery-page .gallery-grid { margin-top: 0; }

.gallery-controls {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  margin-top: clamp(26px, 4vh, 46px);
}
.gallery-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(26,26,27,.28); background: transparent; color: var(--dark);
  font-size: 22px; line-height: 1; cursor: pointer; padding: 0;
  display: grid; place-content: center;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.gallery-arrow:hover { background: var(--dark); color: var(--neutral); border-color: var(--dark); transform: translateY(-2px); }
.gallery-counter {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .14em;
  color: var(--dark); min-width: 66px; text-align: center;
}

/* ---------- Lightbox: Bild groß über der Seite ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(12, 9, 6, .9); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
body.lightbox-open .lightbox { opacity: 1; visibility: visible; }
body.lightbox-open { overflow: hidden; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; }
.lb-figure img {
  max-width: 88vw; max-height: 86vh; width: auto; height: auto;
  object-fit: contain; border-radius: 4px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
  transform: scale(.96); transition: transform .35s var(--ease);
}
body.lightbox-open .lb-figure img { transform: scale(1); }
.lb-close, .lb-arrow {
  position: absolute; border: none; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.12);
  display: grid; place-content: center; transition: background .3s var(--ease), transform .3s var(--ease);
}
.lb-close {
  top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
  width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1;
}
.lb-arrow {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; font-size: 34px; line-height: 1;
}
.lb-prev { left: clamp(10px, 2.5vw, 30px); }
.lb-next { right: clamp(10px, 2.5vw, 30px); }
.lb-close:hover, .lb-arrow:hover { background: rgba(255,255,255,.26); }
.lb-arrow:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 640px) {
  .lb-arrow { width: 44px; height: 44px; font-size: 28px; }
  .lb-figure img { max-width: 92vw; max-height: 78vh; }
}

/* ---------- Section 5 · Kundenstimmen (Leder-Textur kräftig + Parallax, Karten-Carousel) ---------- */
.section-stimmen {
  background: #3a2415; color: var(--dark); justify-content: center; overflow: hidden;
}
/* Cognac-Leder als kräftige Textur – kein helles Overlay mehr. Wird per JS für Parallax bewegt. */
.stimmen-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../assets/Hintergrund.png") center / cover no-repeat;
  filter: brightness(1.12) saturate(1.05) contrast(1.02);
  transform: scale(1.22);
  will-change: transform;
}
/* moderater dunkler Schleier über dem Leder – die Textur bleibt sichtbar, Weiß liest sich gut */
.section-stimmen::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(24,14,6,.40), rgba(24,14,6,.40)),
    radial-gradient(130% 130% at 50% 40%, transparent 50%, rgba(16,9,3,.34) 100%);
}
.stimmen-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1500px; margin: 0 auto;
}
.stimmen-headline {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 5vw, 74px); line-height: .92; letter-spacing: -.02em;
  color: #ffffff; margin-bottom: clamp(28px, 4.5vh, 52px);
  text-shadow: 0 2px 30px rgba(20,11,4,.5);
}
.stimmen-headline .accent { color: var(--accent); }

/* Bühne: links die Karten, rechts die Pfeil-Kreise */
.review-stage { display: flex; align-items: stretch; gap: clamp(20px, 3.5vw, 56px); }
.review-cards { flex: 1 1 auto; min-width: 0; display: flex; gap: clamp(12px, 1.5vw, 20px); }

.rcard {
  flex: 1 1 0; min-width: 0; height: clamp(300px, 44vh, 400px);
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(20px, 2.2vw, 32px);
  border-radius: 16px; overflow: hidden;
  background: rgba(247,242,235,.55);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  border: 1px solid rgba(120,72,30,.22);
  box-shadow: 0 30px 60px -42px rgba(30,17,7,.7);
  opacity: .5; transform: scale(.97); filter: saturate(.65) brightness(.96);
  transition: flex-grow .6s var(--ease), opacity .6s var(--ease), transform .6s var(--ease),
              filter .6s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease), border-color .6s var(--ease);
}
.rcard.active {
  flex-grow: 1.9;
  opacity: 1; transform: scale(1); filter: none;
  background: rgba(252,250,246,.96);
  border-color: rgba(139,69,19,.5);
  box-shadow: 0 46px 84px -38px rgba(30,17,7,.78);
}
.review-stars { color: #E0A82E; font-size: 19px; letter-spacing: 3px; flex: 0 0 auto; }
.review-text {
  flex: 1 1 auto; min-height: 0; overflow: hidden;
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(14.5px, 1.05vw, 17px); line-height: 1.5; color: #2a2118;
}
.rcard:not(.active) .review-text {
  display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical;
}
.review-foot { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; }
.r-name { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: .02em; }
.r-meta { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #9a8b78; }

.review-controls { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.review-arrow {
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(245,240,232,.55); background: rgba(40,24,12,.25); color: var(--neutral);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-family: var(--font-head); font-size: 24px; line-height: 1; display: grid; place-content: center;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.review-arrow:hover { background: var(--neutral); color: var(--accent); border-color: var(--neutral); transform: translateY(-2px); }

/* ---------- Section 6 · Film / Einblick (großes Video mit Rändern + Zitat) ---------- */
.section-video {
  background: var(--neutral); color: var(--dark);
  justify-content: center; align-items: center;
  padding: clamp(96px, 13vh, 140px) clamp(16px, 2.4vw, 44px) clamp(70px, 10vh, 120px);
}
/* Video fast über die ganze Breite, aber mit Rand ringsum (man sieht: es ist ein Video).
   Der weiße Rand des Originals ist „eingebacken" – wir zeigen es leicht vergrößert/verschoben,
   sodass nur der Bildinhalt sichtbar ist, ohne das Bild zu verzerren. */
.film-wrap {
  position: relative; width: 100%; max-width: 1720px;
  aspect-ratio: 780 / 353; overflow: hidden;
  border-radius: 16px; background: #100b06;
  box-shadow: 0 60px 110px -50px rgba(26,26,27,.6);
}
.film {
  position: absolute; display: block; z-index: 0;
  top:  calc(-100% * 80 / 353);
  left: calc(-100% * 43 / 780);
  width:  calc(100% * 864 / 780);
  height: calc(100% * 480 / 353);
}
/* dunkler Schleier über dem Video, damit das Zitat gut lesbar ist */
.film-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(rgba(12,8,4,.30), rgba(12,8,4,.46)),
    radial-gradient(90% 120% at 50% 50%, rgba(12,8,4,.12) 0%, rgba(12,8,4,.4) 100%);
}
.film-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(14px, 2vh, 22px); padding: 24px;
}
.film-eyebrow {
  font-family: var(--font-head); font-size: clamp(11px, .85vw, 13px); font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(245,240,232,.82);
}
.film-quote {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(24px, 3.4vw, 50px); line-height: 1.16; letter-spacing: -.01em;
  color: #ffffff; max-width: min(92%, 760px); text-shadow: 0 4px 40px rgba(8,5,2,.55);
}

/* =====================================================================
   Fußzeile
   ===================================================================== */
.site-footer {
  position: relative; z-index: 60; background: var(--dark); color: var(--neutral);
  padding: clamp(50px, 8vh, 88px) var(--gutter) 28px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 0.9fr 1.15fr 1.15fr; gap: 40px;
  padding-bottom: 38px; border-bottom: 1px solid rgba(192,192,192,.16);
}
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-logo-img { height: 36px; width: auto; display: block; }
.foot-claim { font-size: 13px; color: var(--silver); letter-spacing: .04em; }
.foot-h { font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--leather); margin-bottom: 8px; }
.foot-nav, .foot-contact, .foot-hours { display: flex; flex-direction: column; gap: 11px; }
.foot-nav a { font-size: 14px; color: rgba(245,245,245,.75); width: fit-content; transition: color .3s var(--ease); }
.foot-nav a:hover { color: var(--neutral); }
.foot-line { font-size: 14px; color: rgba(245,245,245,.62); width: fit-content; transition: color .3s var(--ease); }
a.foot-line:hover { color: var(--neutral); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; }
.foot-copy { font-size: 13px; color: rgba(245,245,245,.5); }
.foot-legal { display: flex; gap: 22px; }
.foot-legal a { font-size: 13px; color: var(--silver); transition: color .3s var(--ease); }
.foot-legal a:hover { color: var(--neutral); }
@media (max-width: 860px) {
  /* Footer komplett zentriert statt linksbündig */
  .foot-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .foot-brand { align-items: center; }
  .foot-nav, .foot-contact, .foot-hours { align-items: center; }
  .foot-nav a, .foot-line { width: auto; }
  .foot-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
  .foot-legal { justify-content: center; }
}

/* =====================================================================
   Rechtsseiten (Datenschutz / Impressum)
   ===================================================================== */
.legal { max-width: 760px; margin: 0 auto; padding: 140px clamp(24px, 6vw, 48px) 100px; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 40px; }
.legal .back::before { content: "←"; }
.legal h1 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 7vw, 80px); line-height: .95; letter-spacing: -.02em; margin-bottom: 12px; }
.legal .sub { color: var(--accent); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; margin-bottom: 48px; }
.legal h2 { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin: 38px 0 12px; }
.legal h3 { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin: 26px 0 8px; }
.legal .quelle { font-size: 13px; color: #888; margin: 6px 0 24px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #333; margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal .ph { background: rgba(139,69,19,.1); color: var(--accent); padding: 1px 7px; border-radius: 4px; font-weight: 600; }
.legal .note { border-left: 3px solid var(--accent); padding: 12px 18px; background: #fff; margin: 30px 0; font-size: 14px; color: #555; }

/* =====================================================================
   Scroll-Bewegung – durchgehend per JS gesteuert (--ao Deckkraft, --ay Versatz).
   Inhalte gleiten von unten herein und beim Weiterscrollen nach oben hinaus.
   Ohne JS bleiben Standardwerte (sichtbar) → nichts wird je „versteckt".
   ===================================================================== */
.anim {
  opacity: var(--ao, 1);
  transform: translateY(var(--ay, 0px));
  will-change: opacity, transform;
}
.anim-ph {
  opacity: var(--ao, 1);
  transform: translateY(var(--ay, 0px)) scale(var(--as, 1));
  transform-origin: center bottom;
  transition: box-shadow .5s var(--ease);   /* überschreibt .ph-Transform-Transition (sonst Ruckeln) */
  will-change: opacity, transform;
}

/* =====================================================================
   Responsiv
   ===================================================================== */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .progress-rail { display: none; }
  .nav-toggle { display: flex; }
  .header-year { display: none; }
  .site-header { padding: 16px clamp(18px, 5vw, 28px); }
  .logo img { height: 34px; }

  /* ---------- Hero mobil: Titel mittig, Sitz halb darüber, unten zwei Hälften ---------- */
  .seat { width: 76vw; }
  .section.section-hero { padding-top: 0; padding-bottom: 0; }
  .hero-grid { height: 100vh; min-height: 100vh; margin: 0; }
  .hero-title {
    top: 19%; left: 0; right: 0; align-items: center; text-align: center;
    font-size: clamp(32px, 9vw, 50px); line-height: .96; padding: 0 6vw;
  }
  .hero-title span { white-space: normal; }
  .hero-title span:nth-child(2) { margin-left: 0; }
  /* Unterer Block als Reihe direkt UNTER dem Sitz verankert (nicht am Bildschirmrand).
     Der Sitz sitzt bei ~39vh Mitte + halbe Sitzhöhe (~21vw); +14px kleiner Abstand.
     align-items:flex-end → Button und „Manufaktur" sind unten bündig. */
  .hero-bottom {
    display: flex; position: absolute; left: 5vw; right: 5vw;
    /* per JS direkt unter den Sitz gesetzt; Fallback ohne JS: grob unter dem Sitz */
    top: var(--hero-block-top, calc(39vh + 21vw + 14px));
    align-items: flex-end; justify-content: space-between; gap: 16px;
    animation: fade 1.4s var(--ease) 1.7s both;
  }
  .hero-intro {
    position: static; left: auto; right: auto; bottom: auto;
    width: 50%; max-width: none; margin: 0; text-align: left;
  }
  .hero-lead { font-size: 11px; line-height: 1.45; margin-bottom: 12px; }
  .hero-intro .btn { font-size: 12px; padding: 9px 16px; }
  .hero-tagline {
    position: static; right: auto; left: auto; bottom: auto;
    width: 46%; text-align: center; font-size: clamp(16px, 4.6vw, 20px);
  }

  /* ---------- Material mobil: gestapelt (Titel · Auto · Text links / 1946 rechts) ---------- */
  .section-material { min-height: auto; overflow: visible; padding-top: 92px; padding-bottom: 56px; }
  .ghost-title {
    position: static; transform: none; opacity: 1; top: auto;
    text-align: center; font-size: clamp(34px, 11vw, 62px);
    color: rgba(245,245,245,.22); margin-bottom: 6px;
  }
  .oldtimer {
    position: relative; left: auto; top: auto; transform: none;
    width: min(580px, 90vw); margin: 4px auto 0;
  }
  .material-pair {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 18px; margin-top: 28px;
  }
  .material-copy, .material-stat {
    position: static; transform: none; left: auto; right: auto; bottom: auto; margin: 0;
  }
  .material-copy { width: 56%; max-width: none; text-align: left; }
  .material-copy h3 { font-size: 19px; margin-bottom: 10px; }
  .material-copy p { font-size: 13.5px; line-height: 1.55; margin-bottom: 16px; }
  .material-copy .btn { font-size: 12.5px; padding: 10px 18px; }
  .material-stat { width: 40%; text-align: right; }

  /* ---------- Leistungen mobil: Button links unter den Text ---------- */
  .leistungen-side { align-items: flex-start; max-width: none; }
  .leistungen-note { text-align: left; }
  .svc { grid-template-columns: 44px 1fr; row-gap: 6px; padding: 18px 4px; }
  .svc-num { grid-row: 1; }
  .svc-name { grid-column: 2; }
  .svc-desc { grid-column: 2; }
  .svc-arrow { display: none; }
  .svc:hover { padding-left: 4px; }
  .galerie-note { text-align: left; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .ph-1, .ph-2, .ph-3, .ph-4, .ph-5, .ph-6 { grid-column: auto; grid-row: auto; }
  .ph-1 { grid-column: 1 / 3; grid-row: span 2; }
  .review-stage { flex-direction: column; align-items: stretch; gap: 26px; }
  .rcard { display: none; height: auto; min-height: 260px; }
  .rcard.active { display: flex; flex-grow: 1; }
  .review-text { font-size: 16px; }
  .rcard:not(.active) .review-text { -webkit-line-clamp: unset; }
  .review-controls { justify-content: center; }
  .section { padding: 120px 24px 80px; }
  .section-galerie { padding-bottom: clamp(120px, 22vh, 220px); }
  /* Video mobil: deutlich weniger Weißraum oben und unten */
  .section-video { min-height: auto; padding-top: 54px; padding-bottom: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chev { animation: none; }
}
