/* =============================================================
   Haarmoden Scharfe — Design System
   Register: brand · warm & traditionsreich · Hybrid-3D
   Display: Cormorant Garamond (serif)  ·  Body: Mulish (sans)
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color (OKLCH with hex fallback in comments) */
  --fir:        oklch(0.34 0.05 158);   /* #16352A */
  --fir-deep:   oklch(0.27 0.045 158);  /* #0E251D */
  --fir-soft:   oklch(0.40 0.05 158);   /* lighter fir for borders on dark */
  --cream:      oklch(0.95 0.018 92);   /* #F4EFE3 */
  --cream-deep: oklch(0.91 0.022 88);   /* #ECE3D2 */
  --ink:        oklch(0.30 0.035 158);  /* text on cream */
  --ink-soft:   oklch(0.44 0.03 158);   /* secondary text on cream */
  --sage:       oklch(0.78 0.03 150);   /* #A9BBA6 */
  --brass:      oklch(0.74 0.09 85);    /* #C8A86B */
  --brass-deep: oklch(0.66 0.10 80);
  --copper:     oklch(0.62 0.10 55);    /* #B5764B */

  /* Surfaces / text roles (default = on cream) */
  --bg: var(--cream);
  --text: var(--ink);

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing / sizing */
  --container: 1180px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);          /* expo-ish */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* z-index scale */
  --z-nav: 100;
  --z-mobilemenu: 110;
  --z-fab: 120;
  --z-cursor: 9000;
  --z-intro: 9500;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

/* Markieren per Maus/Doppelklick deaktivieren – außer in Formularfeldern,
   wo das Auswählen für die Eingabe gebraucht wird. */
body { -webkit-user-select: none; -ms-user-select: none; user-select: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; -ms-user-select: text; user-select: text; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 500; }
p { text-wrap: pretty; }

.kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  color: var(--copper);
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.kicker::before {
  content: "";
  width: 1.8rem; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.kicker--light { color: var(--brass); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); position: relative; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--cream-deep { background: var(--cream-deep); color: var(--ink); }
.section--fir { background: var(--fir); color: var(--cream); }
.section--fir ::selection { background: var(--brass); color: var(--fir-deep); }

.section__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__sub { font-size: 1.1rem; color: var(--ink-soft); margin-top: 0.8rem; }
.section__sub--light { color: color-mix(in oklch, var(--cream) 80%, var(--sage)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--wide { grid-template-columns: 1fr 0.9fr; align-items: start; }
.split__text > * + * { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--fir);
  --btn-fg: var(--cream);
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95em 1.7em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s ease, color .3s ease;
  will-change: transform;
  text-decoration: none;
}
.btn--sm { padding: 0.7em 1.2em; font-size: 0.9rem; }
.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--brass), var(--brass-deep));
  --btn-fg: var(--fir-deep);
  box-shadow: 0 8px 24px -10px color-mix(in oklch, var(--brass) 70%, transparent);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px color-mix(in oklch, var(--brass) 75%, transparent); }
.btn--ghost { background: transparent; color: var(--fir); border-color: color-mix(in oklch, var(--fir) 35%, transparent); }
.btn--ghost:hover { background: var(--fir); color: var(--cream); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: color-mix(in oklch, var(--cream) 45%, transparent); }
.btn--ghost-light:hover { background: var(--cream); color: var(--fir); transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: var(--z-nav);
  transition: background-color .45s ease, box-shadow .45s ease, backdrop-filter .45s ease;
  padding-block: 1rem; }
.nav__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav__logo { height: 38px; width: auto; object-fit: contain; }
.nav__name {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600;
  color: var(--cream); letter-spacing: 0.005em; transition: color .45s ease;
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav__links a {
  position: relative; text-decoration: none; color: var(--cream);
  font-weight: 500; font-size: 0.98rem; padding-block: 0.3rem;
  transition: color .3s ease; text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.nav__links a::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: -2px; height: 1.5px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { white-space: nowrap; }

/* Scrolled state: solid fir bar */
.nav.is-scrolled {
  background: color-mix(in oklch, var(--fir-deep) 92%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.nav.is-scrolled .nav__name,
.nav.is-scrolled .nav__links a { text-shadow: none; }

.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .25s ease; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav.is-menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background:
    radial-gradient(120% 90% at 80% 10%, color-mix(in oklch, var(--fir) 80%, var(--brass) 6%), transparent 60%),
    linear-gradient(165deg, var(--fir) 0%, var(--fir-deep) 100%);
  color: var(--cream); overflow: hidden;
  padding-block: 8rem 4rem;
  isolation: isolate; /* eigener Stacking-Kontext → deterministische Layer-Reihenfolge */
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none;
  transform: translateZ(0); backface-visibility: hidden; }
/* Lesbarkeits-Schleier: links (Text) dunkel, rechts heller; unten abdunkeln.
   Feste rgba-Werte (kein color-mix).
   WICHTIG: Das Video liegt auf einem eigenen Compositing-Layer (translateZ).
   Der Schleier MUSS ebenfalls ein eigener Layer sein (translateZ), sonst rendert
   Chrome den Video-Layer beim/ nach dem Scrollen über den Schleier → Overlay „fehlt".
   translateZ ohne will-change: sofort gezeichnet UND zuverlässig über dem Video. */
.hero__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  transform: translateZ(0); backface-visibility: hidden;
  background:
    linear-gradient(100deg, rgba(14,37,29,0.88) 0%, rgba(14,37,29,0.60) 42%, rgba(14,37,29,0.30) 100%),
    linear-gradient(to top, rgba(14,37,29,0.72) 0%, rgba(14,37,29,0) 40%);
}
.hero__content {
  position: relative; z-index: 3;
  width: 100%; max-width: min(40rem, 92%);
  margin-inline-start: clamp(0px, 4vw, 4rem);
}
.hero__eyebrow {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.4rem);
  color: var(--brass); margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(3rem, 1.8rem + 6vw, 5.5rem); font-weight: 500;
  line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 1.3rem;
}
.hero__title em { font-style: italic; color: color-mix(in oklch, var(--cream) 88%, var(--brass)); }
.hero__lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); max-width: 34ch; color: color-mix(in oklch, var(--cream) 90%, var(--sage)); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-block: 2rem 1.6rem; }
.hero__trust { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: color-mix(in oklch, var(--cream) 82%, var(--sage)); flex-wrap: wrap; }
.hero__trust strong { color: var(--cream); }
.stars { color: var(--brass); letter-spacing: 0.1em; }

.hero__scroll {
  position: absolute; inset-block-end: 2rem; inset-inline-start: 50%; transform: translateX(-50%);
  z-index: 3; display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
  text-decoration: none; color: color-mix(in oklch, var(--cream) 75%, transparent); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero__scroll-line { width: 1.5px; height: 46px; background: linear-gradient(var(--brass), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset-inline: 0; top: -50%; height: 50%; background: var(--brass); animation: scrollDot 2.2s var(--ease-out) infinite; }
@keyframes scrollDot { 0% { top: -50%; } 60%, 100% { top: 100%; } }

/* ---------- Photos / placeholders ---------- */
.photo, .gallery__item, .ba__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream-deep); }
.photo img, .gallery__item img, .ba__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--portrait { aspect-ratio: 4/5; box-shadow: 0 30px 60px -30px color-mix(in oklch, var(--fir-deep) 60%, transparent); }
.photo__hint { position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--ink-soft); padding: 1rem; text-align: center; }
/* When the image failed/was removed, show a tasteful placeholder */
.photo--empty { background:
    repeating-linear-gradient(135deg, color-mix(in oklch, var(--sage) 22%, var(--cream-deep)) 0 14px, var(--cream-deep) 14px 28px); }
.photo--empty .photo__hint { display: flex; }
.photo--empty .photo__hint::before { content: "\2702"; margin-inline-end: .5rem; color: var(--copper); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: 0.8rem; }
.checklist li { position: relative; padding-inline-start: 2rem; }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.45em;
  width: 1.1rem; height: 0.6rem; border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper);
  transform: rotate(-45deg);
}

/* ---------- Erbe / Timeline ---------- */
.erbe { overflow: hidden; }
.erbe .section__head--center { margin-bottom: clamp(2rem, 4vw, 3rem); }
/* Vertikaler Zeitstrahl, zentriert. Der Strahl „zeichnet" sich beim Scrollen
   (--tl-progress wird per JS gesetzt) und gibt die Kacheln nach und nach frei. */
.timeline {
  position: relative;
  width: 100%; max-width: 780px; margin-inline: auto;
  padding-inline: var(--gutter);
  --tl-progress: 0;
}
.timeline__track {
  position: relative;
  display: grid; gap: clamp(1.6rem, 3vw, 2.6rem);
  padding-left: 46px; padding-block: 0.5rem 1rem;
}
/* Die Strahl-Schiene (Farbe des „Termin anfragen"-Buttons) */
.tl-axis {
  position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px;
  background: color-mix(in oklch, var(--brass) 20%, transparent);
  border-radius: 3px; overflow: hidden;
}
.tl-axis__fill {
  position: absolute; left: 0; top: 0; width: 100%;
  height: calc(var(--tl-progress, 0) * 100%);
  background: linear-gradient(180deg, var(--brass), var(--brass-deep));
  border-radius: 3px;
}
/* Leuchtende Spitze, die dem Strahl beim Zeichnen vorausläuft */
.tl-axis__fill::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translate(-50%, 50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 8px 2px color-mix(in oklch, var(--brass) 75%, transparent),
              0 0 18px 7px color-mix(in oklch, var(--brass) 35%, transparent);
  opacity: calc(var(--tl-progress, 0) * 100); /* aus bei 0, an sobald gezeichnet wird */
}
.tl-card {
  position: relative;
  background: color-mix(in oklch, var(--fir-soft) 50%, var(--fir));
  border: 1px solid color-mix(in oklch, var(--brass) 30%, transparent);
  border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  box-shadow: 0 24px 50px -34px rgba(0,0,0,.7);
}
/* Knotenpunkt auf dem Strahl – leuchtet auf, sobald der Strahl ihn erreicht */
.tl-card::before {
  content: ""; position: absolute; left: -46px; top: 1.9rem;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--fir-deep);
  border: 3px solid color-mix(in oklch, var(--brass) 35%, var(--fir-soft));
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
  z-index: 1;
}
.tl-card.is-in::before {
  background: var(--brass); border-color: var(--brass);
  box-shadow: 0 0 0 5px color-mix(in oklch, var(--brass) 20%, transparent);
  animation: tlNodePop .55s var(--ease-out);
}
@keyframes tlNodePop {
  0%   { transform: scale(0.4); box-shadow: 0 0 0 0 color-mix(in oklch, var(--brass) 50%, transparent); }
  55%  { transform: scale(1.3); box-shadow: 0 0 0 12px color-mix(in oklch, var(--brass) 0%, transparent); }
  100% { transform: scale(1); box-shadow: 0 0 0 5px color-mix(in oklch, var(--brass) 20%, transparent); }
}
.tl-card__year { font-family: var(--font-display); font-size: 1.5rem; color: var(--brass); display: flex; align-items: baseline; gap: .5rem; }
.tl-card__year small { font-size: 0.7rem; font-family: var(--font-body); color: color-mix(in oklch, var(--cream) 60%, var(--sage)); opacity: .8; }
.tl-card h3 { color: var(--cream); }
.tl-card p { color: color-mix(in oklch, var(--cream) 85%, var(--sage)); font-size: 0.98rem; }
.tl-card--accent { background: linear-gradient(160deg, color-mix(in oklch, var(--brass) 22%, var(--fir)), var(--fir-deep)); }
.tl-card--accent .btn { margin-top: auto; align-self: flex-start; }

/* Einblendung der Karte, sobald der Strahl ihren Knoten erreicht (.is-in via JS) */
html.js .tl-card {
  opacity: 0;
  transform: translateX(34px) rotateY(-10deg) scale(0.97);
  transform-origin: left center;
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out);
}
html.js .tl-card.is-in { opacity: 1; transform: none; }

/* ---------- Leistungen / Services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.service {
  position: relative; padding: 2rem 1.7rem 1.9rem;
  background: var(--cream); border: 1px solid color-mix(in oklch, var(--fir) 12%, transparent);
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s ease;
}
.section--cream-deep .service { background: var(--cream); }
.service:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px color-mix(in oklch, var(--fir) 45%, transparent); border-color: color-mix(in oklch, var(--brass) 50%, transparent); }
.service__icon { width: 52px; height: 52px; color: var(--fir); margin-bottom: 1.1rem; }
.service__icon svg { width: 100%; height: 100%; }
.service h3 { margin-bottom: 0.4rem; }
.service p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Vorher / Nachher ---------- */
.ba {
  position: relative; aspect-ratio: 16/10; max-width: 900px; margin: 0 auto clamp(2.5rem,5vw,4rem);
  border-radius: var(--radius-lg); overflow: hidden; user-select: none; touch-action: pan-y;
  box-shadow: 0 40px 80px -40px color-mix(in oklch, var(--fir-deep) 55%, transparent);
}
.ba__img { position: absolute; inset: 0; border-radius: 0; }
.ba__before { clip-path: inset(0 0 0 50%); will-change: clip-path; }
.ba__tag { position: absolute; inset-block-start: 1rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35em 0.8em; border-radius: 999px; background: color-mix(in oklch, var(--fir-deep) 75%, transparent); color: var(--cream); backdrop-filter: blur(4px); }
.ba__tag--after { inset-inline-start: 1rem; }
.ba__tag--before { inset-inline-end: 1rem; }
.ba__handle {
  position: absolute; inset-block: 0; inset-inline-start: 50%; transform: translateX(-50%);
  width: 44px; display: grid; place-items: center; z-index: 4; cursor: ew-resize;
}
.ba__handle::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 50%; width: 2px; transform: translateX(-50%); background: var(--cream); box-shadow: 0 0 0 1px color-mix(in oklch, var(--fir-deep) 40%, transparent); }
.ba__grip { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--fir);
  display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.4); position: relative; }
.ba__grip::before, .ba__grip::after { content: ""; position: absolute; width: 0; height: 0; border-block: 5px solid transparent; }
.ba__grip::before { border-inline-end: 7px solid var(--fir); inset-inline-start: 9px; }
.ba__grip::after { border-inline-start: 7px solid var(--fir); inset-inline-end: 9px; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: clamp(0.8rem, 1.5vw, 1.2rem); }
.gallery__item { grid-column: span 1; grid-row: span 1; transition: transform .6s var(--ease-out); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { transition: transform .8s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Rating badge ---------- */
.rating-badge { display: flex; align-items: center; gap: 0.7rem; margin: 0 auto clamp(2rem,4vw,3rem);
  padding: 0.8rem 1.4rem; border-radius: 999px; background: color-mix(in oklch, var(--cream) 12%, transparent);
  border: 1px solid color-mix(in oklch, var(--brass) 35%, transparent); justify-content: center; width: max-content; max-width: 100%; flex-wrap: wrap; }
.section--fir .rating-badge { color: var(--cream); }
.rating-badge__g { width: 22px; height: 22px; }
.rating-badge__score { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.rating-badge__stars { color: var(--brass); letter-spacing: 0.08em; }
.rating-badge__meta { font-size: 0.9rem; color: color-mix(in oklch, var(--cream) 75%, var(--sage)); }

/* ---------- Reviews carousel (Eigenbau) ---------- */
.reviews { display: grid; gap: clamp(0.9rem, 1.6vw, 1.3rem); position: relative; }
.reviews::before, .reviews::after { content: ""; position: absolute; inset-block: 0; width: clamp(40px, 8vw, 120px); z-index: 3; pointer-events: none; }
.reviews::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--fir), transparent); }
.reviews::after { inset-inline-end: 0; background: linear-gradient(270deg, var(--fir), transparent); }
.reviews__row { overflow: hidden; }
.reviews__track { display: flex; gap: clamp(0.9rem, 1.6vw, 1.3rem); width: max-content; }
/* Nahtlose Endlos-Schleife per translateX(-50%): Der Track enthält den Inhalt
   exakt zweimal; -50 % verschieben um genau eine Hälfte – rein geometrisch, ganz
   ohne gemessene Pixelbreiten (die misst iOS-WebKit bei max-content unzuverlässig).
   animation-duration setzt das JS pro Reihe (gleichmäßiges Tempo). Keine
   animation-direction:reverse – die untere Reihe nutzt eigene Keyframes. */
.reviews.is-ready .reviews__track { animation: reviews-marquee-l 40s linear infinite; }
.reviews.is-ready .reviews__row--b .reviews__track { animation-name: reviews-marquee-r; }
.reviews:hover .reviews__track,
.reviews:focus-within .reviews__track { animation-play-state: paused; }
@keyframes reviews-marquee-l {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes reviews-marquee-r {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

.review {
  flex: 0 0 clamp(260px, 80vw, 360px);
  background: color-mix(in oklch, var(--fir-soft) 45%, var(--fir));
  border: 1px solid color-mix(in oklch, var(--brass) 22%, transparent);
  border-radius: var(--radius-lg); padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: transform .5s var(--ease-out), border-color .4s ease;
}
.review:hover { transform: translateY(-4px); border-color: color-mix(in oklch, var(--brass) 55%, transparent); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.review__stars { color: var(--brass); letter-spacing: 0.05em; font-size: 0.95rem; }
.review__g { width: 18px; height: 18px; opacity: .9; }
.review__text { color: color-mix(in oklch, var(--cream) 92%, var(--sage)); font-size: 0.98rem; line-height: 1.6; }
.review__text::before { content: "\201C"; font-family: var(--font-display); font-size: 1.4em; color: var(--brass); margin-inline-end: 0.1em; }
.review__author { display: flex; align-items: center; gap: 0.6rem; margin-top: auto; }
.review__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brass), var(--copper)); color: var(--fir-deep); font-weight: 700; font-size: 0.9rem; }
.review__name { font-weight: 600; font-size: 0.92rem; color: var(--cream); }
.review__date { font-size: 0.78rem; color: color-mix(in oklch, var(--cream) 60%, var(--sage)); }
.reviews__cta { display: flex; justify-content: center; margin-top: clamp(2rem,4vw,3rem); }

/* ---------- Kontakt / Form ---------- */
.contact-list { list-style: none; padding: 0; margin-block: 1.6rem; display: grid; gap: 1rem; }
.contact-list li { display: grid; gap: 0.15rem; }
.contact-list__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--copper); }
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid color-mix(in oklch, var(--copper) 50%, transparent); transition: color .25s; }
.contact-list a:hover { color: var(--copper); }
.hours { margin-block: 1.4rem; }
.hours h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.hours__note { color: var(--ink-soft); font-size: 0.96rem; }
.hours__list { list-style: none; padding: 0; margin: 0 0 0.9rem; display: grid; gap: 0.3rem; max-width: 22rem; }
.hours__list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; padding-block: 0.25rem; border-bottom: 1px solid color-mix(in oklch, var(--fir) 10%, transparent); }
.hours__list li span:first-child { color: var(--ink); font-weight: 600; }
.hours__list li span:last-child { color: var(--ink-soft); }
.map-frame { position: relative; margin-top: 1.6rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; border: 1px solid color-mix(in oklch, var(--fir) 15%, transparent); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(0.96); }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; text-align: center;
  padding: 1.5rem; background: linear-gradient(160deg, var(--fir), var(--fir-deep)); color: var(--cream); }
.map-consent p { font-size: 0.9rem; max-width: 34ch; color: color-mix(in oklch, var(--cream) 85%, var(--sage)); }
.map-consent__link { font-size: 0.82rem; color: var(--brass); }

.form {
  background: var(--fir); color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 40px 80px -44px color-mix(in oklch, var(--fir-deep) 70%, transparent);
  position: sticky; top: 6rem;
}
.form__lead { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 1.2rem; color: var(--cream); }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: color-mix(in oklch, var(--cream) 88%, var(--sage)); }
.field__opt { font-weight: 400; opacity: 0.7; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--cream);
  background: color-mix(in oklch, var(--fir-deep) 55%, transparent);
  border: 1.5px solid color-mix(in oklch, var(--sage) 30%, transparent);
  border-radius: 10px; padding: 0.7em 0.9em; width: 100%;
  transition: border-color .25s ease, background-color .25s ease;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C8A86B' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-inline-end: 2.4rem; }
.field option { color: #16352A; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklch, var(--cream) 55%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); background: color-mix(in oklch, var(--fir-deep) 40%, transparent); outline: none; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: color-mix(in oklch, var(--cream) 82%, var(--sage)); margin-block: 0.6rem 1.2rem; line-height: 1.5; }
.consent input { margin-top: 0.25em; accent-color: var(--brass); width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.consent a { color: var(--brass); }
.form__submit { width: 100%; justify-content: center; }
.form__status { font-size: 0.92rem; margin-top: 0.8rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--sage); }
.form__status.is-err { color: #f0a98a; }
.form__hint { font-size: 0.78rem; color: color-mix(in oklch, var(--cream) 55%, var(--sage)); margin-top: 0.8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--fir-deep); color: var(--cream); padding-block: clamp(3rem,6vw,4.5rem); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2rem; align-items: start; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.footer__logo { height: 46px; width: auto; object-fit: contain; }
.footer__brand p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.footer__brand span { font-family: var(--font-body); font-size: 0.85rem; color: color-mix(in oklch, var(--cream) 65%, var(--sage)); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer__links a { text-decoration: none; color: color-mix(in oklch, var(--cream) 82%, var(--sage)); font-size: 0.95rem; transition: color .25s; }
.footer__links a:hover { color: var(--brass); }
.footer__legal { font-size: 0.85rem; color: color-mix(in oklch, var(--cream) 60%, var(--sage)); text-align: right; }
.footer__legal a { color: color-mix(in oklch, var(--cream) 80%, var(--sage)); }
.footer__legal small { color: color-mix(in oklch, var(--cream) 45%, var(--sage)); }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal { background: var(--cream); color: var(--ink); padding-block: clamp(7rem, 12vw, 9rem) clamp(4rem, 8vw, 6rem); min-height: 100vh; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: 2.4rem; margin-bottom: 0.6rem; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 0.7rem; }
.legal strong { color: var(--ink); }
.legal a { color: var(--copper); }
.legal .legal__back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; text-decoration: none; color: var(--copper); font-weight: 600; }
.legal .legal__note { font-size: 0.85rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid color-mix(in oklch, var(--fir) 14%, transparent); }

/* ---------- Sticky call FAB (mobile) ---------- */
.call-fab { display: none; position: fixed; inset-block-end: 1.1rem; inset-inline-end: 1.1rem; z-index: var(--z-fab);
  align-items: center; gap: 0.5rem; padding: 0.85em 1.2em; border-radius: 999px;
  background: linear-gradient(135deg, var(--brass), var(--brass-deep)); color: var(--fir-deep);
  font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px -8px rgba(0,0,0,.5); }
.call-fab svg { width: 20px; height: 20px; }

/* ---------- Reveal animation (only hidden when JS is active) ---------- */
.reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Custom cursor ---------- */
#cursor { position: fixed; top: 0; left: 0; width: 40px; height: 40px; z-index: var(--z-cursor);
  pointer-events: none; margin: -20px 0 0 -20px; opacity: 0;
  transition: opacity .3s ease;
  will-change: transform; }
#cursor svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  transition: transform .25s var(--ease-out); transform-origin: 50% 50%; }
#cursor .cur-blade, #cursor .cur-handle, #cursor .cur-ring, #cursor .cur-screw { fill: none; stroke: var(--brass); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
#cursor .cur-blade { fill: color-mix(in oklch, var(--brass) 30%, transparent); }
#cursor .cur-screw { fill: var(--brass); }
/* Ruhezustand: geschlossen (Klingen zusammen) */
#cursor .cur-top { transform-origin: 60px 60px; transition: transform .16s var(--ease-out); transform: rotate(9deg); }
#cursor .cur-bottom { transform-origin: 60px 60px; transition: transform .16s var(--ease-out); transform: rotate(-9deg); }
/* Klick: kurz öffnen = Schnitt */
#cursor.is-cut .cur-top { transform: rotate(-9deg); }
#cursor.is-cut .cur-bottom { transform: rotate(9deg); }
#cursor.is-hover svg { transform: scale(1.35); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button, body.has-cursor input, body.has-cursor select, body.has-cursor textarea, body.has-cursor [role="slider"] { cursor: none; }

/* ---------- Intro loader ---------- */
#intro { position: fixed; inset: 0; z-index: var(--z-intro); display: grid; place-items: center; pointer-events: none;
  background: var(--fir-deep); }
html:not(.js) #intro { display: none; }
.intro-panel { position: absolute; inset-block: 0; width: 50.5%; background: var(--fir); transition: transform 1s var(--ease-out) .5s; }
.intro-panel--left { inset-inline-start: 0; }
.intro-panel--right { inset-inline-end: 0; }
.intro-center { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.1rem; transition: opacity .5s ease; }
.intro-scissors { width: 84px; height: 84px; }
.intro-scissors .isc-blade, .intro-scissors .isc-handle, .intro-scissors .isc-ring { fill: none; stroke: var(--brass); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.intro-scissors .isc-blade { fill: color-mix(in oklch, var(--brass) 25%, transparent); }
.intro-scissors .isc-screw-ring { fill: none; stroke: var(--brass); stroke-width: 3; }
.intro-scissors .isc-screw { fill: var(--brass); }
.intro-scissors .isc { transform-origin: 60px 60px; animation: snip 1.1s var(--ease-out) infinite; }
.intro-scissors .isc--bottom { animation-name: snipB; }
@keyframes snip  { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@keyframes snipB { 0%,100% { transform: rotate(0); } 50% { transform: rotate(12deg); } }
.intro-word { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; color: var(--cream); opacity: 0; animation: introWord .8s ease .25s forwards; }
@keyframes introWord { to { opacity: 1; } }
#intro.is-done .intro-panel--left { transform: translateX(-100%); }
#intro.is-done .intro-panel--right { transform: translateX(100%); }
#intro.is-done .intro-center { opacity: 0; }
#intro.is-hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .split--wide { grid-template-columns: 1fr; }
  .split--wide .split__media { order: -1; }
  .form { position: static; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__legal { text-align: left; }
  /* Bilder bekommen sinnvolle Seitenverhältnisse statt fester, gestreckter Zeilen */
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery__item { aspect-ratio: 4 / 3; grid-row: span 1; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .call-fab { display: inline-flex; }
  .nav__mobile {
    display: grid; gap: 0.3rem; padding: 1rem var(--gutter) 1.6rem;
    background: color-mix(in oklch, var(--fir-deep) 96%, transparent); backdrop-filter: blur(12px);
    position: fixed; inset-inline: 0; inset-block-start: 64px; z-index: var(--z-mobilemenu);
    transform: translateY(-130%); transition: transform .5s var(--ease-out); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  }
  .nav__mobile[hidden] { display: grid; }
  .nav.is-menu-open .nav__mobile { transform: translateY(0); }
  .nav__mobile a { color: var(--cream); text-decoration: none; padding: 0.7rem 0; font-size: 1.1rem; border-bottom: 1px solid color-mix(in oklch, var(--cream) 12%, transparent); }
  .nav__mobile .btn { margin-top: 0.8rem; justify-content: center; }
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--wide, .gallery__item--tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 3; }
  .hero__content { margin-inline-start: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html.js .tl-card { opacity: 1; transform: none; }
  .reviews__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  #cursor { display: none; }
  body.has-cursor { cursor: auto; }
  .hero__scroll-line::after { display: none; }
  #intro { display: none; }
}
