/* Zahnpraxis Seeblick – Spezial-Demo im ruhigen Klinik-Luxus
   Farben nach Gefühl (siehe kevin-ordner/10-farben-und-gefuehle.md):
   Porzellan = Sauberkeit/Ruhe (Grundton), Petrol = Vertrauen (Hauptfarbe), Salbei = Gelassenheit (Akzent).
   Kontraste prüft check.py (COLOR_PAIRS). */
:root {
  --porzellan: #F6F7F5;
  --hell: #ECEFEC;       /* Bänder: helle Tönung des Grundtons */
  --weiss: #FFFFFF;
  --text: #1B2A2C;
  --leise: #56625F;
  --petrol: #173F45;     /* Knöpfe, Bänder */
  --petrol-dk: #0F2C31;  /* Fußzeile, Demo-Banner */
  --salbei: #4F6E66;     /* Akzent auf hellem Grund */
  --salbei-hell: #A9C1B8;/* Akzent auf Petrol */
  --linie: #D5DCD8;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mood: var(--porzellan);
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--sans); color: var(--text); background: var(--porzellan); }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--petrol); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.4rem; }
h1 em, h2 em { font-style: italic; color: var(--salbei); }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 600; color: var(--salbei); margin-bottom: 1.2em; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--leise); max-width: 36em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--weiss); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--salbei); outline-offset: 3px; }

/* Demo-Banner */
.demo-bar { background: var(--petrol-dk); color: var(--porzellan); text-align: center; font-size: .8rem; letter-spacing: .04em; padding: 7px 16px; }

/* Knöpfe: eckig, Großbuchstaben mit Abstand */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 15px 28px; border-radius: 2px; border: 1px solid var(--petrol); background: var(--petrol); color: var(--weiss); font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease); }
.btn:hover { background: var(--petrol-dk); }
.btn-dark { background: var(--petrol); }
.btn-ghost { background: transparent; color: var(--petrol); }
.btn-ghost:hover { background: var(--petrol); color: var(--weiss); }
.btn-small { padding: 11px 18px; }
.link-arrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); text-decoration: none; border-bottom: 1px solid var(--linie); padding-bottom: 3px; }
.link-arrow::after { content: " →"; transition: margin .3s var(--ease); }
.link-arrow:hover::after { margin-left: 6px; }

/* Kopfzeile: klebt oben, wird beim Scrollen schmaler (kein transform/backdrop-filter – Handy-Menü ist fixed) */
.header { position: sticky; top: 0; z-index: 50; background: var(--porzellan); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header .container { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 22px 0; transition: padding .3s var(--ease); }
.header.scrolled { border-bottom-color: var(--linie); }
.header.scrolled .container { padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--petrol); margin-right: auto; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo span { display: flex; flex-direction: column; line-height: 1.15; }
.logo small { font-size: .66rem; color: var(--leise); letter-spacing: .24em; text-transform: uppercase; }
.logo b { font: 400 1.45rem var(--serif); color: var(--text); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 26px; }
.nav a { text-decoration: none; color: var(--text); font-size: .95rem; }
.nav a.btn { color: var(--weiss); font-size: .78rem; }
.nav a:not(.btn):hover { color: var(--petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.lang-toggle { border: 1px solid var(--linie); background: transparent; color: var(--petrol); border-radius: 2px; font: 600 .74rem var(--sans); letter-spacing: .14em; padding: 7px 10px; cursor: pointer; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--linie); background: transparent; border-radius: 2px; cursor: pointer; position: relative; z-index: 60; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--text); transition: transform .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Startbild: Foto über die ganze Breite, Text links auf abgedunkeltem Petrol */
.hero { position: relative; min-height: calc(100svh - 110px); display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 10vw, 140px) 0 clamp(90px, 10vw, 130px); background: var(--petrol-dk); color: var(--porzellan); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; filter: saturate(.55) contrast(1.05); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 44, 49, .94) 0%, rgba(15, 44, 49, .88) 52%, rgba(15, 44, 49, .3) 80%, rgba(15, 44, 49, .12) 100%), linear-gradient(0deg, rgba(15, 44, 49, .55), transparent 40%); }
.hero h1 { max-width: 9em; font-size: clamp(3rem, 8vw, 7rem); line-height: 1.02; letter-spacing: -.02em; color: var(--weiss); }
.hero h1 em, .hero .eyebrow { color: var(--salbei-hell); }
.hero .lead { color: #D6DEDB; max-width: 31em; margin-bottom: 2.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn:not(.btn-light) { background: var(--porzellan); border-color: var(--porzellan); color: var(--petrol); }
.hero .btn:not(.btn-light):hover { background: var(--weiss); }
.btn-light { background: transparent; border-color: rgba(246, 247, 245, .5); color: var(--porzellan); }
.btn-light:hover { border-color: var(--porzellan); background: rgba(246, 247, 245, .08); }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; gap: 16px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--salbei-hell); }
.hero-foot i { width: 80px; height: 1px; background: rgba(169, 193, 184, .5); position: relative; overflow: hidden; }
.hero-foot i::after { content: ""; position: absolute; inset: 0; background: var(--porzellan); transform: translateX(-100%); animation: hinweis 2.8s var(--ease) infinite; }
@keyframes hinweis { 60%, 100% { transform: translateX(100%); } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: var(--salbei); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
html:not(.bewegt) .progress { display: none; }

/* Versprechen: große Schrift, Wort für Wort */
.statement { padding: clamp(90px, 14vw, 190px) 0; background: var(--porzellan); }
.statement-text { font: 400 clamp(2rem, 4.6vw, 3.9rem)/1.18 var(--serif); letter-spacing: -.012em; max-width: 21em; margin: 0; color: var(--petrol); }
.smile { display: block; width: min(420px, 80%); height: auto; margin: 0 0 1.2em; overflow: visible; }
.smile path { fill: none; stroke: var(--salbei-hell); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 1)); }
.js .smile path { --draw: 0; }

/* Abschnitte über die ganze Breite */
.section { padding: clamp(70px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.band-sand { background: var(--hell); }

/* Ablauf eines Besuchs: Bild klebt, Schritte ziehen vorbei, Grundton wechselt kaum merklich */
.journey { background: var(--mood); transition: background-color 1s var(--ease); border-top: 1px solid var(--linie); }
.journey[data-mood="1"] { --mood: #F6F7F5; }
.journey[data-mood="2"] { --mood: #F0F3F1; }
.journey[data-mood="3"] { --mood: #ECF0EF; }
.journey[data-mood="4"] { --mood: #F3F5F2; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.journey-media { position: sticky; top: 16vh; height: 68vh; align-self: start; overflow: hidden; background: var(--hell); }
.journey-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.journey-media img.on { clip-path: inset(0); }
.journey-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
.js .journey-step { opacity: .3; transition: opacity .6s var(--ease); }
.js .journey-step.on { opacity: 1; }
.journey-step .num { font: italic 400 1.1rem var(--serif); color: var(--salbei); display: flex; align-items: center; gap: 14px; margin-bottom: 1em; }
.journey-step .num::after { content: ""; width: 60px; height: 1px; background: var(--linie); }
.journey-step p { font-size: 1.1rem; color: var(--leise); max-width: 26em; }

/* Leistungen als Zeilen mit feiner Linie */
.tiles { display: grid; border-top: 1px solid var(--linie); }
.tile { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: clamp(18px, 4vw, 48px); padding: 26px 0; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--text); }
.tile img { width: 120px; height: 90px; object-fit: cover; transition: transform .8s var(--ease); }
.tile h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .15em; transition: color .4s; }
.tile p { margin: 0; color: var(--leise); max-width: 36em; }
.tile .go { width: 44px; height: 1px; background: var(--petrol); position: relative; transition: width .4s var(--ease); }
.tile .go::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--petrol); border-right: 1px solid var(--petrol); transform: rotate(45deg); }
.tile:hover h3 { color: var(--petrol); }
.tile:hover .go { width: 64px; }
.tile:hover img { transform: scale(1.04); }

/* Zahlen */
.numbers { background: var(--petrol); color: var(--porzellan); padding: 70px 0; }
.numbers .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num { border-left: 1px solid rgba(169, 193, 184, .4); padding-left: 22px; }
.num b { display: block; font: 400 clamp(2.6rem, 5.4vw, 4rem)/1 var(--serif); color: var(--weiss); margin-bottom: 10px; }
.num span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--salbei-hell); }
.numbers small { display: block; grid-column: 1 / -1; color: var(--salbei-hell); font-size: .8rem; margin-top: 10px; }

/* Team: Monogramme statt Gesichter (beim Kunden echte Fotos) */
.team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person { text-align: center; }
.monogramm { width: 128px; height: 128px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid var(--salbei); display: grid; place-items: center; font: italic 400 2.8rem var(--serif); color: var(--petrol); }
.person h3 { margin-bottom: .2em; }
.person p { color: var(--leise); font-size: .95rem; }

/* Bewertungen */
.demo-label { display: inline-block; border: 1px solid var(--linie); color: var(--leise); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; }
.review-track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; padding: 10px 0 20px; }
.review-wrap { overflow: hidden; }
.review-wrap:hover .review-track, .review-wrap:focus-within .review-track, .review-wrap.paused .review-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { width: 340px; background: var(--weiss); border: 1px solid var(--linie); padding: 30px; }
.review p { font: italic 400 1.15rem/1.5 var(--serif); }
.review .stars { color: var(--salbei); letter-spacing: 4px; font-size: .8rem; margin-bottom: 14px; }
.review footer { color: var(--leise); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.reviews-note { margin-top: 24px; }

/* FAQ */
.faq .container { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--linie); }
.faq-list details { border-bottom: 1px solid var(--linie); padding: 20px 0; }
.faq-list summary { font: 400 1.25rem var(--serif); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--salbei); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0; color: var(--leise); }

/* Kontakt */
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0 0 28px; }
.contact dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--leise); padding-top: .25em; }
.contact dd { margin: 0; }
.map { margin: 0; border: 1px solid var(--linie); }
.form-card { background: var(--weiss); border: 1px solid var(--linie); padding: clamp(24px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.field label:has(input[type="checkbox"]) { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400; color: var(--text); }
.field input, .field select, .field textarea { font: inherit; color: var(--text); padding: 12px 2px; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: transparent; width: 100%; }
.field input[type="checkbox"] { accent-color: var(--petrol); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--petrol); outline: none; }
.note { color: var(--leise); font-size: .9rem; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-left: 2px solid var(--salbei); background: var(--hell); }

/* Unterseiten */
.page-hero { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 12em; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.photo { margin: 0; overflow: hidden; background: var(--hell); }
.photo img { width: 100%; height: auto; }
.split .photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linie); }
.checks li { padding: 14px 0 14px 34px; position: relative; border-bottom: 1px solid var(--linie); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 18px; height: 1px; background: var(--salbei); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; counter-reset: s; }
.steps li { border-top: 1px solid var(--petrol); padding: 22px 0; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: italic 400 1.1rem var(--serif); color: var(--salbei); margin-bottom: 12px; }
.prices { width: 100%; border-collapse: collapse; border-top: 1px solid var(--petrol); }
.prices th, .prices td { text-align: left; padding: 16px 4px; border-bottom: 1px solid var(--linie); }
.prices th { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.cta-band { background: var(--petrol); color: var(--porzellan); padding: clamp(34px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.cta-band .btn { background: var(--porzellan); color: var(--petrol); border-color: var(--porzellan); }
.cta-band .btn:hover { background: transparent; color: var(--porzellan); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.ph { background: #FFE7A8; padding: 0 4px; border-radius: 2px; }

/* Vorher/Nachher-Regler: dasselbe Beispielfoto, „vorher“ digital eingefärbt */
.compare { position: relative; overflow: hidden; background: var(--hell); touch-action: pan-y; user-select: none; --pos: 50%; max-width: 760px; aspect-ratio: 4 / 3; }
.compare img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; pointer-events: none; }
.compare img.tint { filter: sepia(.55) saturate(1.25) brightness(.93); }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--weiss); pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 1px solid var(--weiss); background: rgba(15, 44, 49, .35); }
.compare-tag { position: absolute; top: 14px; padding: 5px 12px; background: rgba(255, 255, 255, .94); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.compare-tag.l { left: 14px; } .compare-tag.r { right: 14px; }
.compare-note { position: absolute; bottom: 14px; left: 14px; padding: 5px 12px; background: rgba(255, 255, 255, .94); font-size: .74rem; }
.compare-range { width: 100%; max-width: 760px; margin-top: 14px; accent-color: var(--petrol); }

/* Bewertungs-Bitte */
.rate-card { max-width: 640px; margin: 0 auto; background: var(--weiss); border: 1px solid var(--linie); padding: clamp(26px, 5vw, 52px); text-align: center; }
.star-row { display: flex; justify-content: center; gap: 8px; margin: 20px 0; }
.star-btn { font-size: 2.2rem; background: none; border: 0; cursor: pointer; color: var(--linie); line-height: 1; padding: 4px; }
.star-btn.on { color: var(--salbei); }
.explain { margin-top: 40px; background: var(--hell); padding: clamp(24px, 4vw, 44px); }

/* Fußzeile */
.footer { background: var(--petrol-dk); color: var(--porzellan); padding: 60px 0 110px; }
.footer .container { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; justify-content: space-between; }
.footer .logo { color: var(--salbei-hell); margin: 0; }
.footer .logo b { color: var(--porzellan); }
.footer .logo small { color: var(--salbei-hell); }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer a { color: var(--porzellan); text-decoration: none; font-size: .92rem; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer p { width: 100%; color: var(--salbei-hell); font-size: .85rem; margin: 0; padding-top: 22px; border-top: 1px solid rgba(169, 193, 184, .25); }

/* Handy-Leiste und Chat */
.cta-bar { display: none; }
.chat-open { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--salbei-hell); background: var(--petrol); color: var(--weiss); cursor: pointer; display: grid; place-items: center; }
.chat-open svg { width: 24px; height: 24px; stroke-width: 1.5; }
.chat { position: fixed; right: 20px; bottom: 92px; z-index: 45; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 140px)); display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); box-shadow: 0 30px 80px -30px rgba(15, 44, 49, .45); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--petrol); color: var(--porzellan); }
.chat-head .mono { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--salbei-hell); display: grid; place-items: center; font: italic 400 1rem var(--serif); }
.chat-head div { flex: 1; display: flex; flex-direction: column; }
.chat-head b { font: 400 1.1rem var(--serif); }
.chat-head small { color: var(--salbei-hell); }
.chat-close { background: none; border: 0; color: var(--porzellan); font-size: 1.6rem; font-weight: 300; cursor: pointer; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; font-size: .95rem; }
.msg.bot { background: var(--hell); align-self: flex-start; }
.msg.me { background: var(--petrol); color: var(--weiss); align-self: flex-end; }
.msg.typing { font-style: italic; color: var(--leise); }
.chat-qs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-qs button { font: 400 .85rem var(--sans); border: 1px solid var(--linie); color: var(--petrol); background: var(--weiss); border-radius: 2px; padding: 7px 12px; cursor: pointer; }
.chat-qs button:hover { border-color: var(--petrol); }
.chat-foot { font-size: .75rem; color: var(--leise); padding: 0 16px 12px; margin: 0; }

/* Einblenden beim Scrollen (nur mit JavaScript) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Weiche Seitenwechsel (Browser ohne Unterstützung wechseln normal) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* Tablet und Handy */
@media (max-width: 900px) {
  .hero { min-height: calc(100svh - 120px); }
  .hero-bg img { object-position: 62% 50%; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(15, 44, 49, .95) 0%, rgba(15, 44, 49, .88) 70%, rgba(15, 44, 49, .86) 100%); }
  .journey-grid { grid-template-columns: 1fr; }
  /* Bild klebt oben, der Text jedes Schritts beginnt erst darunter */
  .journey-media { top: 76px; height: 30vh; z-index: 1; }
  .journey-step { min-height: 80vh; justify-content: flex-start; padding-top: calc(30vh + 40px); }
  .numbers .container, .team-row { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .faq .container, .contact .container, .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; gap: 22px; background: var(--porzellan); font-family: var(--serif); font-size: 1.6rem; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
  .nav.open { visibility: visible; opacity: 1; }
  .header .container { padding: 14px 0; }
  .tile { grid-template-columns: 76px 1fr; gap: 16px; }
  .tile img { width: 76px; height: 76px; }
  .tile .go { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cta-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; gap: 10px; padding: 10px 16px; background: var(--porzellan); border-top: 1px solid var(--linie); }
  .cta-bar .btn { flex: 1; }
  .chat-open { bottom: 84px; right: 16px; }
  .chat { bottom: 154px; right: 16px; max-height: calc(100vh - 250px); } /* bleibt unter der Kopfzeile */
  .review { width: 280px; }
  .footer { padding-bottom: 160px; }
}

/* Bewegung reduzieren: alles steht still, alles ist sichtbar */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .smile path { --draw: 1; }
  .js .journey-step { opacity: 1; }
  .review-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .review-track [aria-hidden="true"] { display: none; }
  .marquee-toggle { display: none; }
}

/* Weiches Scrollen (Lenis, vendor/): Regeln aus lenis.css 1.3.17; Lenis übernimmt das sanfte Scrollen statt scroll-behavior */
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
