/* Messerschmidt Ausstellung Crailsheim, Landingpage
   Tokens aus brand/DESIGNGUIDE.md. Ein Akzent (Gold), Schiefer fuer Text und Buttons. */

@font-face { font-family: "Altona Sans"; src: url("assets/fonts/AltonaSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url("assets/fonts/vollkorn-v21-latin-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url("assets/fonts/vollkorn-v21-latin-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url("assets/fonts/vollkorn-v21-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url("assets/fonts/vollkorn-v21-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/lato-v23-latin-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/lato-v23-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --slate: #425368;
  --slate-dark: #354253;
  --gold: #c49c62;
  --gold-deep: #a8814b;
  --cream: #f7f0e8;
  --sand: #e2ceb1;
  --sand-light: #ede1d0;
  --mist: #eff3f6;
  --ink: #212529;
  --muted: #6c757d;
  --white: #ffffff;

  --font-head: "Altona Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Vollkorn", Georgia, "Times New Roman", serif;
  --font-ui: "Lato", "Helvetica Neue", Arial, sans-serif;

  --radius-card: 12px;
  --radius-input: 8px;
  --wrap: 1200px;
  --prose: 680px;
  --pad: 20px;
  --section: 64px;
  --sticky-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: var(--sticky-h);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--slate-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; color: var(--slate-dark); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: 34px; line-height: 1.15; }
h2 { font-size: 28px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: var(--section) 0; }
.section-head { max-width: var(--prose); margin-bottom: 36px; }
.lead { font-size: 19px; line-height: 1.6; }
.eyebrow {
  font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 12px;
}
.eyebrow-light { color: var(--gold); }
.caption, .table-note, figcaption { font-family: var(--font-ui); font-size: 15px; color: var(--muted); margin-top: 10px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--slate); color: var(--white); padding: 8px 12px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-ui); font-weight: 700; font-size: 18px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color 180ms var(--ease), transform 120ms var(--ease), border-color 180ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn img { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn-primary:hover { background: var(--slate-dark); border-color: var(--slate-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--slate); border-color: var(--slate); }
.btn-secondary:hover { background: var(--mist); color: var(--slate-dark); }
.btn-tertiary { background: transparent; color: var(--slate); border-color: transparent; padding-left: 12px; padding-right: 12px; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.btn-tertiary:hover { color: var(--slate-dark); }
.btn-light { background: var(--white); color: var(--slate); border-color: var(--white); }
.btn-light:hover { background: var(--cream); border-color: var(--cream); color: var(--slate-dark); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-small { min-height: 44px; font-size: 16px; padding: 8px 18px; }
.cta-group { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 0; }
.cta-group .btn { width: 100%; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--sand-light); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { width: 74px; height: auto; }
.header-contact { display: flex; align-items: center; gap: 18px; }
.header-hours { display: none; font-family: var(--font-ui); font-size: 15px; color: var(--muted); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-weight: 700; font-size: 17px; text-decoration: none; }
.header-phone img { width: 22px; height: 22px; }
.header-route { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-weight: 700; font-size: 16px; text-decoration: none; color: var(--slate); }
.header-route img { width: 22px; height: 22px; }
.header-route-text { display: none; }

/* Hero */
.hero { background: var(--cream); }
.hero-media img { width: 100%; height: 44vh; min-height: 260px; max-height: 420px; object-fit: cover; }
.hero-panel { padding: 28px var(--pad) 36px; }
.hero-text { max-width: 560px; }
.hero .lead { margin-bottom: 0; }
.hero-note { font-family: var(--font-ui); font-size: 15px; color: var(--muted); margin: 14px 0 0; }

/* Fakten */
.facts { background: var(--white); border-bottom: 1px solid var(--sand-light); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-top: 28px; padding-bottom: 28px; }
.fact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fact > img { width: 28px; height: 28px; }
.fact-badge { width: 56px; height: 56px; }
.stars { display: flex; gap: 2px; }
.stars img { width: 18px; height: 18px; }
.fact-title { font-family: var(--font-head); font-size: 19px; color: var(--slate-dark); margin: 4px 0 0; line-height: 1.2; }
.fact-sub { font-family: var(--font-ui); font-size: 15px; color: var(--muted); margin: 0; }

/* Zeit lassen */
.calm { background: var(--white); border-bottom: 1px solid var(--sand-light); }
.calm-inner { display: grid; gap: 28px; }
.calm-text { max-width: var(--prose); }
.calm-text .lead { margin-bottom: 0; }
.calm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.calm-list li { padding: 18px 20px; background: var(--cream); border-radius: var(--radius-card); font-size: 18px; }
.calm-list strong { font-family: var(--font-head); font-weight: 400; color: var(--slate-dark); display: block; margin-bottom: 4px; font-size: 20px; }

/* Alles aus einer Hand */
.service { background: var(--white); }
.service-grid { display: grid; gap: 36px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-deep);
  font-family: var(--font-ui); font-weight: 700; font-size: 18px; display: grid; place-items: center;
}
.steps h3 { font-size: 21px; margin-bottom: 4px; }
.steps p { margin: 0; }
.service-figure { margin: 0; }
.service-figure img { border-radius: var(--radius-card); width: 100%; }

/* Steine */
.stones { background: var(--cream); }
.stone-strip {
  list-style: none; padding: 0 0 8px; margin: 0 calc(-1 * var(--pad));
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
  -webkit-overflow-scrolling: touch; padding-left: var(--pad); padding-right: var(--pad);
}
.stone-strip li { flex: 0 0 72%; scroll-snap-align: start; }
.stone-strip img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius-card); }
.stone-strip p { font-family: var(--font-ui); font-size: 15px; color: var(--slate); margin: 10px 0 0; }

/* Zeitpunkt */
.timing { background: var(--white); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 2px solid var(--sand); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline li:last-child { padding-bottom: 0; }
.tl-when { display: block; font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.tl-what { display: block; font-size: 18px; }
.timing-cta { margin: 32px 0 0; }
.timing-cta .btn { width: 100%; }

/* Besuch */
.visit { background: var(--cream); }
.visit-grid { display: grid; gap: 36px; }
.visit-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.visit-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.visit-list img { width: 26px; height: 26px; margin-top: 3px; }
.visit-list strong { font-family: var(--font-head); font-weight: 400; color: var(--slate-dark); }
.visit-address { font-style: normal; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--sand); }
.visit-actions { margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.visit-actions .btn { width: 100%; }
.visit-table { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 22px; align-self: start; }
.visit-table h3 { font-size: 20px; margin-bottom: 12px; }
.visit-table table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 17px; }
.visit-table th { text-align: left; font-weight: 400; padding: 9px 0; border-bottom: 1px solid var(--sand-light); }
.visit-table td { text-align: right; font-weight: 700; padding: 9px 0; border-bottom: 1px solid var(--sand-light); white-space: nowrap; }
.visit-table tr:last-child th, .visit-table tr:last-child td { border-bottom: 0; }
.visit-table tr.is-region th, .visit-table tr.is-region td { color: var(--gold-deep); }
.table-note { margin-bottom: 0; }

/* Berater */
.advisor { background: var(--white); }
.advisor-grid { display: grid; gap: 32px; }
.advisor-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-card); background: var(--slate-dark); }
.advisor-person { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; margin-top: 8px; }
.advisor-person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.advisor-person p { margin: 0; }
.quote-personal { font-style: italic; font-size: 20px; line-height: 1.5; border-left: 3px solid var(--gold); padding-left: 16px; margin: 24px 0 16px; }
.signature { width: 190px; height: auto; opacity: 0.85; }

/* Bewertungen */
.reviews { background: var(--cream); }
.review-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.review-grid li { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 20px 22px; }
.review-grid p { margin: 0 0 10px; font-size: 18px; }
.review-grid footer { font-family: var(--font-ui); font-size: 15px; color: var(--muted); }
.review-grid footer::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 8px; }

/* FAQ */
.faq { background: var(--white); }
.faq-inner { max-width: 820px; }
.faq-list details { border-top: 1px solid var(--sand-light); }
.faq-list details:last-child { border-bottom: 1px solid var(--sand-light); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-family: var(--font-head); font-size: 20px; color: var(--slate-dark);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p { margin: 0 0 20px; padding-right: 24px; }

/* Abschluss */
.final { background: var(--slate-dark); color: var(--white); }
.final h2 { color: var(--white); max-width: 720px; }
.final .cta-group { max-width: 640px; }
.final-facts { margin-top: 32px; font-family: var(--font-ui); font-size: 16px; color: rgba(255,255,255,0.85); }
.final-facts p { margin: 0 0 4px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--sand-light); padding: 28px 0 40px; font-family: var(--font-ui); font-size: 15px; color: var(--muted); }
.footer-inner p { margin: 0 0 8px; }
.footer-links a { margin-right: 16px; }

/* Feste Leiste */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: var(--sticky-h);
  background: var(--white); border-top: 1px solid var(--sand); padding: 10px var(--pad);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.sticky-bar .btn { width: 100%; min-height: 52px; font-size: 17px; }

/* Consent */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--sticky-h) + 12px); z-index: 40;
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-card);
  padding: 16px 18px; box-shadow: 0 12px 32px rgba(66, 83, 104, 0.18); font-family: var(--font-ui); font-size: 15px;
}
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq-list summary::after { transition: none; }
}

/* Tablet */
@media (min-width: 640px) {
  .cta-group { flex-direction: row; flex-wrap: wrap; }
  .cta-group .btn { width: auto; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .stone-strip li { flex-basis: 40%; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .timing-cta .btn { width: auto; }
  .visit-actions .btn { width: auto; align-self: flex-start; }
}

/* Desktop */
@media (min-width: 900px) {
  :root { --section: 112px; --pad: 32px; }
  body { font-size: 19px; line-height: 1.65; padding-bottom: 0; }
  h1 { font-size: 44px; line-height: 1.1; }
  h2 { font-size: 38px; line-height: 1.15; }
  h3 { font-size: 26px; }
  .lead { font-size: 21px; }
  .eyebrow { font-size: 14px; }
  .header-inner { height: 76px; }
  .brand img { width: 87px; }
  .header-hours { display: inline; }
  .header-route-text { display: inline; }
  .header-phone { font-size: 18px; }

  .hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100dvh - 76px); max-height: 860px; }
  .hero-media { order: 2; position: relative; }
  .hero-media img { width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; }
  .hero-media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 80px; background: linear-gradient(90deg, var(--cream), rgba(247,240,232,0)); }
  .hero-panel { order: 1; display: flex; align-items: center; padding: 56px 48px 56px max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
  .hero-text { max-width: 660px; }
  .hero .cta-group { margin-top: 32px; }
  .hero .btn-tertiary { flex-basis: 100%; justify-content: flex-start; }

  .facts-grid { padding-top: 36px; padding-bottom: 36px; gap: 24px; }
  .fact-title { font-size: 21px; }

  .calm-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .calm-list li { font-size: 19px; }
  .service-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
  .steps { gap: 28px; margin-top: 36px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 20px; }
  .step-num { width: 48px; height: 48px; }

  .stone-strip { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .stone-strip li { flex: none; }

  .timeline { grid-template-columns: repeat(4, 1fr); border-left: 0; border-top: 2px solid var(--sand); gap: 32px; padding-top: 0; }
  .timeline li { padding: 26px 16px 0 0; }
  .timeline li::before { left: 0; top: -7px; }
  .tl-what { font-size: 19px; }

  .visit-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: start; }
  .visit-table { padding: 28px 32px; }

  .advisor-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .advisor-person { grid-template-columns: 120px 1fr; gap: 22px; }
  .advisor-person img { width: 120px; height: 120px; }

  .review-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .review-grid li:nth-child(2), .review-grid li:nth-child(5) { transform: translateY(24px); }

  .faq-list summary { font-size: 22px; padding: 22px 48px 22px 0; }

  .final-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
  .final-facts { margin-top: 0; }

  .sticky-bar { display: none; }
  .consent { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
}

/* Grosse Desktops */
@media (min-width: 1200px) {
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
}


/* ===== Design-Layer v2: Bewegung (alles unter prefers-reduced-motion aus) ===== */
@media (prefers-reduced-motion: no-preference) {
  /* Hero-Einstieg: gestaffelt */
  .js .hero-text > * { opacity: 0; transform: translateY(14px); animation: rise 720ms var(--ease) forwards; }
  .js .hero-text > .eyebrow { animation-delay: 80ms; }
  .js .hero-text > h1 { animation-delay: 180ms; }
  .js .hero-text > .lead { animation-delay: 300ms; }
  .js .hero-text > .cta-group { animation-delay: 420ms; }
  .js .hero-text > .hero-note { animation-delay: 540ms; }
  .js .hero-media img { animation: settle 1600ms var(--ease) forwards; transform-origin: 50% 60%; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes settle { from { transform: scale(1.045); } to { transform: scale(1); } }

  /* Scroll-Reveal mit Stagger fuer Listen */
  .js .reveal .stagger > * { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-visible .stagger > * { opacity: 1; transform: none; }

  /* Bild-Reveal: Maske oeffnet sich */
  .js .reveal picture.mask img, .js .reveal figure.mask img { clip-path: inset(6% 0 6% 0 round var(--radius-card)); transform: scale(1.04); transition: clip-path 900ms var(--ease), transform 1200ms var(--ease); }
  .js .reveal.is-visible picture.mask img, .js .reveal.is-visible figure.mask img { clip-path: inset(0 0 0 0 round var(--radius-card)); transform: none; }

  /* Zeitleiste zeichnet sich */
  .js .timeline { position: relative; border-left-color: transparent; border-top-color: transparent; }
  .js .timeline::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: var(--sand); transform: scaleY(0); transform-origin: top; transition: transform 900ms var(--ease) 100ms; }
  .js .timeline.is-visible::before { transform: scaleY(1); }
  .js .timeline li::before { transform: scale(0); transition: transform 400ms var(--ease); transition-delay: calc(var(--i, 0) * 220ms + 200ms); }
  .js .timeline.is-visible li::before { transform: scale(1); }

  /* Buttons: leichtes Anheben */
  .btn { transition: background-color 180ms var(--ease), transform 160ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease); }
  .btn-primary:hover, .btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(53, 66, 83, 0.18); }
  .btn:active { transform: translateY(1px); box-shadow: none; }

  /* Steine: Hover-Zoom auf Desktop */
  .stone-strip img { transition: transform 700ms var(--ease); }
  .stone-strip li:hover img { transform: scale(1.03); }

  /* Header-Schatten nach dem Scrollen, Sticky-Leiste erst nach dem Hero */
  .site-header { transition: box-shadow 240ms var(--ease); }
  .site-header.is-scrolled { box-shadow: 0 6px 24px rgba(53, 66, 83, 0.08); }
  .sticky-bar { transform: translateY(110%); transition: transform 360ms var(--ease); }
  .sticky-bar.is-shown { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-bar { transform: none; }
}

/* FAQ: weiches Oeffnen (Chrome 131+, sonst sofort) */
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease), content-visibility 320ms allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { .faq-list { interpolate-size: allow-keywords; } }

/* Desktop: Zeitleiste horizontal zeichnen */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .timeline::before { left: 0; top: -2px; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; }
  .js .timeline.is-visible::before { transform: scaleX(1); }
}

/* Mobile: weiche Kanten am Steine-Streifen */
@media (max-width: 899px) {
  .stone-strip { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
}


/* ---------- Rueckruf-Formular ---------- */
.callback { background: var(--cream); }
.callback-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .callback-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.callback-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.callback-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.callback-list img { flex: none; margin-top: 2px; }
.callback-form { background: var(--white); border: 1px solid var(--sand-light); border-radius: var(--radius-card); padding: 24px 22px; display: grid; gap: 18px; }
.callback-form .field { margin: 0; padding: 0; border: 0; min-width: 0; }
.callback-form label, .callback-form legend { display: block; font-family: var(--font-ui); font-weight: 700; font-size: 16px; color: var(--slate-dark); margin-bottom: 8px; padding: 0; }
.callback-form input[type="text"], .callback-form input[type="tel"] { width: 100%; min-height: 52px; font-family: var(--font-body); font-size: 18px; color: var(--slate-dark); background: var(--white); border: 2px solid var(--sand); border-radius: var(--radius-input); padding: 10px 14px; }
.callback-form input:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--slate); }
.callback-form input[aria-invalid="true"] { border-color: #9b4444; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choices label { position: relative; margin: 0; font-weight: 400; font-family: var(--font-body); font-size: 17px; color: var(--slate-dark); }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border: 2px solid var(--sand); border-radius: var(--radius-input); background: var(--cream); cursor: pointer; line-height: 1.25; }
.choices input:checked + span { border-color: var(--slate); background: var(--white); box-shadow: inset 0 0 0 1px var(--slate); }
.choices input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 1px; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.form-note { font-family: var(--font-ui); font-size: 14px; color: var(--muted); margin: 0; }
.form-error { font-family: var(--font-ui); font-size: 16px; color: #9b4444; margin: 0; }
.form-done { background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-input) var(--radius-input) 0; padding: 16px 18px; }
.form-done-title { font-family: var(--font-head); font-size: 22px; color: var(--slate-dark); margin: 0 0 6px; }
.form-done p:last-child { margin: 0; }
.callback-form.is-done > *:not(.form-done) { display: none; }

/* hidden gewinnt immer, auch gegen display:flex der Buttons */
[hidden] { display: none !important; }
