/* Forplaner GmbH – zentrale Styles
   Typografie-Entscheidung Marc 2026-07-17: Replica (Light/Bold) als Haupttype,
   Libre Baskerville NUR für Statements und O-Töne. Farben aus Live-Seite.
   Nur in :root ändern – alles andere zieht nach. */

/* Lokale Fonts – Replica (Lineto, webTTF-Lizenz) + Libre Baskerville */
@font-face { font-family: "Replica"; font-weight: 300; font-display: swap; src: url("../assets/fonts/Replica-Light.woff2") format("woff2"); }
@font-face { font-family: "Replica"; font-weight: 700; font-display: swap; src: url("../assets/fonts/Replica-Bold.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-display: swap; src: url("../assets/fonts/LibreBaskerville-400.woff2") format("woff2"); }

:root {
  --c-bg: #FDFDFD;
  --c-text: #101010;
  --c-text-soft: #45484C;
  --c-accent: #6B8E9F;
  --c-accent-dark: #1F5D7B;
  --c-surface: #F8F8F6;
  --c-surface-warm: #E7E4DA;
  --c-surface-blue: #E7F0F5;
  --c-border: #E4E4E4;
  --c-bg-page: #E7E4DA;
  --c-surface-cream: #F4F2EC;
  --c-surface-blue2: #CAD8E1;
  --font-sans: "Replica", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --maxw: 1140px;
  --radius: 20px;
  --radius-s: 12px;
  --shadow-card: 0 2px 6px rgba(16,16,16,.04), 0 14px 34px rgba(16,16,16,.06);
  --shadow-float: 0 24px 60px rgba(16,16,16,.14);
  /* Typo-Skala (Basis 16px, Stufe ~1.25) – einzige Quelle für Schriftgrößen */
  --fs-sm: .875rem;       /* 14 – Tags, Captions, Attribution */
  --fs-base: 1.125rem;    /* 18 – Fließtext (Replica Light braucht mehr Größe) */
  --fs-nav: .9375rem;     /* 15 – Nav + Buttons (wie Original) */
  --fs-lead: 1.25rem;     /* 20 – Lead/Sektions-Intros */
  --fs-h3: 1.5rem;        /* 24 – Karten-/Tool-Titel */
  --fs-h2: clamp(1.65rem, 2.6vw, 2rem);     /* 26–32 – Sektionstitel */
  --fs-h1: clamp(1.9rem, 2.9vw, 2.25rem);   /* 30–36 – Slogan (kompakt, 3 Zeilen) */
  --fs-statement: clamp(1.5rem, 2.8vw, 2rem); /* 24–32 – Serif-Statements */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { font-family: var(--font-sans); font-weight: 300; color: var(--c-text); background: var(--c-bg-page); line-height: 1.7; font-size: var(--fs-base); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); }
strong, b { font-weight: 700; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.3; letter-spacing: -0.04rem; text-wrap: balance; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.22; letter-spacing: -0.04rem; margin-bottom: 1.2rem; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: .6rem; letter-spacing: -0.01rem; }
section { padding: 110px 0; }
.section-alt { background: var(--c-surface-cream); }
.section-light { background: var(--c-surface); }
.section-blue { background: var(--c-surface-blue2); }

/* Sektionstitel + Intro zentriert */
section > .wrap > h2 { text-align: center; max-width: 20em; margin-left: auto; margin-right: auto; }
.h2-topline { display: block; }
section > .wrap > .lead { text-align: center; margin-left: auto; margin-right: auto; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--c-text-soft); max-width: 44em; }

/* Serifen-Statements & O-Töne = Libre Baskerville (Zweitschrift) */
.statement { font-family: var(--font-serif); font-size: var(--fs-statement); line-height: 1.45; color: var(--c-accent); text-align: center; max-width: 24em; margin: 0 auto; }
.statement.dark { color: var(--c-accent-dark); }

/* Zuspitzung – Frage/Antwort-Dramaturgie, per Linie ans dunkle Panel angebunden */
.zuspitzung { padding: 0 0 96px; }
.zuspitzung::before { content: ""; display: block; width: 2px; height: 88px; margin: 0 auto 48px; background: linear-gradient(to bottom, var(--c-accent-dark) 0%, var(--c-accent) 100%); }
.zuspitzung .antwort { text-align: center; font-weight: 700; font-size: var(--fs-h3); color: var(--c-text); margin-top: 28px; }

/* Header – schwebende Pill im warmen Creme-Ton (wie Original) */
.site-header { position: sticky; top: 14px; z-index: 100; max-width: calc(var(--maxw) + 60px); margin: 14px auto 0; border-radius: 999px; background: rgba(234,232,224,.96); backdrop-filter: blur(10px); box-shadow: 0 8px 26px rgba(16,16,16,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; flex-wrap: nowrap; }
.logo { flex: 0 0 auto; display: flex; }
.logo img { height: 30px; width: auto; }
.main-nav { flex: 1 1 auto; min-width: 0; }
.main-nav ul { display: flex; justify-content: center; gap: 30px; list-style: none; }
.main-nav li { white-space: nowrap; }
.main-nav a { color: var(--c-text); text-decoration: none; font-weight: 700; font-size: var(--fs-nav); letter-spacing: .01em; transition: color .2s; }
.main-nav a:hover { color: var(--c-text); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--c-text); }
.header-cta { flex: 0 0 auto; }

/* Buttons – Pills, Replica Bold */
.btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--font-sans); font-weight: 700; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-size: var(--fs-nav); border: 0; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--c-text); color: var(--c-bg); }
.btn-dark:hover { background: #303134; box-shadow: 0 10px 24px rgba(16,16,16,.22); }
.btn-primary { background: var(--c-accent); color: var(--c-bg); }
.btn-primary:hover { background: var(--c-accent-dark); box-shadow: 0 10px 24px rgba(31,93,123,.28); }
.btn-ghost { border: 2px solid var(--c-text); color: var(--c-text); background: transparent; }
.btn-ghost:hover { background: var(--c-text); color: var(--c-bg); }
.btn .arr, .btn .arr-l { display: inline-block; font-size: 1.1em; line-height: 1; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .lead { margin: 1.25rem 0 0; text-align: left; font-size: var(--fs-base); }
.hero .lead + .lead { margin-top: .9rem; }
.hero .btn { margin-top: 1.75rem; }

/* Hero: Keyvisual als randlose Bildfläche rechts in voller Kastenhöhe,
   läuft nach links weich ins Beige aus (kein Kasten, kein Vollhintergrund) */
.hero-photo { position: relative; padding: 72px 0 88px; }
/* Keyvisual (Bild, später Video-Loop) als weich auslaufende Fläche rechts:
   komplettes Motiv sichtbar, alle Kanten faden nahtlos ins Beige – kein Kasten */
.hero-media { position: absolute; right: 0; top: 46%; transform: translateY(-50%);
  width: 68%; aspect-ratio: 16 / 9; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 52%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 10%, #000 52%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .9s ease; }
.hero-media video.is-hidden { opacity: 0; }
.hero-photo .wrap { position: relative; }
.hero-copy { max-width: 470px; position: relative; z-index: 1; }
/* randloser Beige-Schein hinter dem Text: sichert Lesbarkeit ohne sichtbare Kante/Kasten */
.hero-copy::before { content: ""; position: absolute; inset: -70px -180px -70px -160px; z-index: -1;
  background: radial-gradient(ellipse closest-side, rgba(231,228,218,.94) 55%, rgba(231,228,218,.55) 78%, rgba(231,228,218,0) 100%); }

/* Werte-Dreiklang */
/* Werte-Zeile = H3-Stufe (einzeilig!), Auszeichnung über Bold + Akzentfarbe; Stufen 16→24→38 */
.werte { display: flex; gap: 12px; flex-wrap: wrap; color: var(--c-accent-dark); font-weight: 700; font-size: var(--fs-lead); line-height: 1.4; letter-spacing: -0.01rem; margin-bottom: .6rem; }
.werte span:not(:last-child)::after { content: "•"; margin-left: 12px; color: var(--c-accent); font-weight: 700; font-size: .85em; vertical-align: .06em; }

/* Karten & Raster */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.card { background: var(--c-bg); border: 0; border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgba(16,16,16,.06), 0 24px 48px rgba(16,16,16,.10); }
.card p { color: var(--c-text-soft); }
.card h3 { color: var(--c-text); }
.card ul { margin: 1rem 0 0 1.1rem; color: var(--c-text-soft); }
.card ul li { margin-bottom: .4rem; }
.tag { display: inline-block; align-self: flex-start; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-accent-dark); background: var(--c-surface-blue); border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; }
.card .card-btn { margin-top: auto; padding-top: 26px; }

/* Software-Teaser: Screenshots geben den Tools ein Gesicht (Platzhalter für spätere GIF/Videos) */
.tool-media { margin: -40px -34px 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 2 / 1; background: var(--c-surface-blue); }
.tool-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.card:hover .tool-media img { transform: scale(1.04); }
/* Lösungs-Slider: wechselnde Software-Einblicke mit Bildunterschrift (Muster Live-Seite) */
.solution-slider { position: relative; margin: 44px auto 56px; max-width: 980px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-float); }
.ss-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.ss-slide.is-active { opacity: 1; }
.ss-slide img { width: 100%; height: 100%; object-fit: cover; }
.ss-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 24px 16px; background: linear-gradient(transparent, rgba(16,16,16,.62)); color: #FDFDFD; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em; text-align: center; }

/* Tool-Popups – zentriert */
.tool-dialog { margin: auto; border: 0; border-radius: var(--radius); padding: 0; max-width: 1020px; width: calc(100% - 40px); box-shadow: var(--shadow-float); }
.tool-dialog::backdrop { background: rgba(16,16,16,.55); backdrop-filter: blur(3px); }
.dlg-grid { display: grid; grid-template-columns: 1fr 1.25fr; }
.dlg-side { background: var(--c-surface); padding: 40px; display: flex; flex-direction: column; }
.dlg-side img { border-radius: var(--radius-s); margin-top: auto; box-shadow: 0 14px 36px rgba(16,16,16,.14); }
.dlg-side h3 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.04rem; margin: 8px 0 14px; }
.dlg-promise { color: var(--c-text-soft); font-size: var(--fs-lead); line-height: 1.55; margin-bottom: 28px; }
.dlg-subhead { font-weight: 700; color: var(--c-text); margin: 1.1rem 0 .5rem; }
.dlg-body .dlg-subhead:first-child { margin-top: 0; }
.dlg-fragen { list-style: none; margin: 0 0 1rem; padding: 0; }
.dlg-fragen li { position: relative; padding-left: 32px; margin-bottom: .45rem; color: var(--c-text-soft); }
.dlg-fragen li::before { content: "?"; position: absolute; left: 0; top: .28em; width: 21px; height: 21px; border-radius: 50%; background: var(--c-accent-dark); color: #FDFDFD; font-weight: 700; font-size: .8rem; line-height: 21px; text-align: center; }
.dlg-body { padding: 32px 36px; max-height: 84vh; overflow: auto; background: var(--c-bg); }
.dlg-body p { margin-bottom: .85rem; color: var(--c-text-soft); }
.dlg-body p strong { color: var(--c-text); }
.dlg-body ul { margin: .4rem 0 0 1.1rem; color: var(--c-text-soft); }
.dlg-body ul li { margin-bottom: .45rem; }
.dlg-body ul strong { color: var(--c-text); }
.dlg-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--c-text); color: var(--c-bg); font-size: 1.05rem; cursor: pointer; z-index: 2; transition: background .2s; }
.dlg-close:hover { background: var(--c-accent-dark); }

/* Verwaltungsalltag – Schmerzpunkte mit Bild */
.pain-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.pain-list { display: grid; gap: 16px; }
.pain-item { background: var(--c-bg); border-radius: var(--radius-s); padding: 22px 26px 22px 64px; position: relative; box-shadow: var(--shadow-card); color: var(--c-text-soft); }
.pain-ico { position: absolute; left: 22px; top: 24px; width: 24px; height: 24px; color: var(--c-accent-dark); }
.pain-item strong { display: block; color: var(--c-text); margin-bottom: 2px; }
.pain-img img { border-radius: var(--radius); box-shadow: var(--shadow-float); }

/* Dunkles Panel – persönliche Ebene (emotionaler Bruch) */
.dark-panel { margin-top: 56px; background: var(--c-accent-dark); border-radius: var(--radius); padding: clamp(40px, 6vw, 72px); text-align: center; }
.dark-panel p { font-family: var(--font-serif); font-style: italic; color: #FDFDFD; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.85; max-width: 38em; margin: 0 auto; }
.dark-panel p + p { margin-top: 1.2rem; }

/* Ablauf – nummerierte Schritte */
/* Ablauf als Timeline: versetzte Karten, Badges auf zentraler Linie, Linie wächst beim Scrollen */
.steps { counter-reset: step; position: relative; margin-top: 56px; }
.step + .step { margin-top: -110px; }
.steps::before { content: ""; position: absolute; top: 12px; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(to bottom, var(--c-accent), var(--c-accent-dark)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s ease .15s; }
.steps.line-in::before { transform: scaleY(1); }
.step { background: var(--c-bg); border: 0; border-radius: var(--radius); padding: 28px 32px; position: relative; box-shadow: var(--shadow-card); width: calc(50% - 64px); }
.step:nth-child(odd) { margin-right: auto; }
.step:nth-child(even) { margin-left: auto; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: var(--c-bg); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 5px var(--c-surface); }
.step:nth-child(odd)::before { right: -86px; }
.step:nth-child(even)::before { left: -86px; }
/* dezente Linie Nummer ↔ Karte */
.step::after { content: ""; position: absolute; top: 45px; width: 42px; height: 2px; background: var(--c-accent); opacity: .45; }
.step:nth-child(odd)::after { right: -42px; }
.step:nth-child(even)::after { left: -42px; }
.steps .step:nth-child(odd).reveal { transform: translateX(-32px); }
.steps .step:nth-child(even).reveal { transform: translateX(32px); }
.steps .step.reveal.in { transform: none; }

/* Schlusspunkt: Linie läuft aus den Schritten in den CTA */
.steps-finale { position: relative; text-align: center; padding-top: 96px; }
.steps-finale::before { content: ""; position: absolute; top: 0; left: 50%; margin-left: -1px; width: 2px; height: 52px; background: linear-gradient(to bottom, var(--c-accent-dark), var(--c-accent)); }
.steps-finale::after { content: ""; position: absolute; top: 52px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--c-accent-dark); box-shadow: 0 0 0 5px var(--c-surface); }
.finale-text { font-size: var(--fs-lead); color: var(--c-text-soft); margin-bottom: 1.3rem; }
.finale-text strong { color: var(--c-text); }

/* Hero Story: Rest der Geschichte hinter Aufklapp-Button */
.story-more { margin-top: 8px; }
.story-more summary { list-style: none; cursor: pointer; display: inline-block; margin: 10px 0 4px; }
.story-more summary::-webkit-details-marker { display: none; }
.story-more .story-close-label { display: none; }
.story-more[open] .story-open-label { display: none; }
.story-more[open] .story-close-label { display: inline; }
.js .story-more[open] summary { display: none; }
.story-more h3 { margin-top: 1.4rem; }
.story-collapse { margin-top: 1.4rem; }
html:not(.js) .story-collapse { display: none; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--c-text-soft); }

/* Testimonials + Slider – O-Töne in Libre Baskerville */
.quote { background: var(--c-bg); border: 0; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; line-height: 1.75; color: var(--c-text); }
.quote footer { margin-top: auto; padding-top: 18px; font-size: .9rem; color: var(--c-text-soft); }
.quote footer::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--c-accent); margin-bottom: 12px; }
/* Stimmen: statisches Bild links, wechselnde Karte + Punktnavigation rechts (Muster Live-Seite) */
.stimmen-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; margin-top: 56px; }
.stimmen-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.stimmen-img img { width: 100%; height: 100%; object-fit: cover; }
.stimmen-panel { position: relative; min-height: 400px; }
.js .stimmen-panel .quote { position: absolute; inset: 0 0 46px 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.js .stimmen-panel .quote.is-active { opacity: 1; pointer-events: auto; }
.stimmen-dots { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.stimmen-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--c-surface-blue2); cursor: pointer; transition: background .2s, transform .2s; }
.stimmen-dots button:hover { background: var(--c-accent); }
.stimmen-dots button.active { background: var(--c-accent-dark); transform: scale(1.3); }

/* FAQ */
.faq { margin: 48px auto 0; max-width: 780px; display: grid; gap: 14px; }
.faq details { background: var(--c-bg); border: 0; border-radius: var(--radius-s); box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; font-weight: 700; font-size: var(--fs-lead); padding: 22px 56px 22px 28px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 26px; top: 19px; color: var(--c-accent); font-size: 1.6rem; font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 28px 22px; color: var(--c-text-soft); }

/* Über Marc */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; margin-top: 56px; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.about-grid h3 { margin-top: 1.8rem; color: var(--c-accent-dark); font-weight: 700; font-size: 1.15rem; }
.about-grid p { color: var(--c-text-soft); margin-bottom: .9rem; }
.about-grid p strong, .about-grid em { color: var(--c-text); }

/* CTA-Zwischenblöcke */
.cta-band { text-align: center; padding: 56px 0 0; }
.cta-band p { margin-bottom: 1.2rem; }

/* Kontakt */
.kontakt-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: stretch; margin-top: 56px; }
.kontakt-box img { border-radius: var(--radius); box-shadow: var(--shadow-float); width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* CTA-Panel in Forplaner-Dunkelblau statt Weiß */
.kontakt-box > div { background: var(--c-accent-dark); color: #E7F0F5; border-radius: var(--radius); padding: 48px 44px; box-shadow: var(--shadow-float); }
.kontakt-box > div strong { color: #FDFDFD; font-size: var(--fs-lead); }
.kontakt-box .btn-dark { background: #FDFDFD; color: var(--c-text); }
.kontakt-box .btn-dark:hover { background: var(--c-surface-blue); box-shadow: 0 10px 24px rgba(16,16,16,.25); }
.kontakt-box .btn-ghost { border-color: rgba(253,253,253,.6); color: #FDFDFD; }
.kontakt-box .btn-ghost:hover { background: rgba(253,253,253,.14); color: #FDFDFD; }

/* Footer */
.site-footer { background: var(--c-text); color: #B9BEC2; padding: 80px 0 36px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.sep { margin: 0 9px; color: var(--c-accent); font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.site-footer h4 { color: #fff; font-weight: 700; margin-bottom: .8rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .35rem; }
.legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }

/* Unterseiten */
.page-content { padding: 70px 0; max-width: 800px; }
/* Rechtsseiten: eigene, ruhige Überschriften-Treppe (H1 32 → H2 22 → H3/fette Labels 18) */
.page-content h1 { font-size: clamp(1.75rem, 3vw, 2rem); margin-bottom: 1.8rem; }
.page-content h2 { font-size: 1.375rem; margin: 2.4rem 0 .8rem; }
.page-content h3 { font-size: var(--fs-base); margin: 1.5rem 0 .4rem; }
.page-content p, .page-content li { margin-bottom: .8rem; }
.page-content ol { margin-left: 1.2rem; }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: .88rem; }
  .logo img { height: 28px; }
}
@media (max-width: 820px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .hero-photo { padding: 300px 0 56px; }
  .hero-media { width: 100%; top: -88px; bottom: auto; height: 368px; aspect-ratio: auto; transform: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 65%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 65%, transparent 100%);
    mask-composite: add; }
  .hero-media video { object-position: 60% center; }
  .hero-grid, .grid-3, .kontakt-box, .footer-grid, .stimmen-grid, .pain-grid { grid-template-columns: 1fr; }
  .pain-grid { gap: 28px; }
  .pain-img { max-width: 520px; margin: 0 auto; }
  .stimmen-img { max-height: 240px; }
  .stimmen-panel { min-height: 480px; }
  .grid-3 { gap: 22px; margin-top: 40px; }
  .nav-toggle { display: block; }
  .site-header { border-radius: 24px; margin: 10px 12px 0; }
  .site-header .wrap { height: 68px; }
  .logo img { height: 28px; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--c-bg); border-radius: 0 0 24px 24px; box-shadow: 0 14px 30px rgba(16,16,16,.10); padding: 18px 24px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .header-cta { display: none; }
  .dlg-grid { grid-template-columns: 1fr; }
  .dlg-side { padding: 28px; }
  .dlg-side img { margin-top: 20px; }
  .dlg-body { padding: 28px; max-height: 58vh; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid .ki-media { max-width: 440px; margin: 0 auto; }
  .about-grid img { width: 100%; }
  .steps { margin-top: 40px; }
  .step + .step { margin-top: 18px; }
  .steps::before { left: 49px; top: 20px; bottom: 20px; }
  .step { padding: 24px 24px 24px 84px; width: 100%; }
  .step:nth-child(odd)::before, .step:nth-child(even)::before { left: 28px; right: auto; top: 26px; }
  .step::after { display: none; }
  .steps .step:nth-child(odd).reveal, .steps .step:nth-child(even).reveal { transform: translateY(24px); }
  .kontakt-box > div { padding: 30px; }
  .cal-embed { grid-template-columns: 1fr; }
  .cal-side { padding: 26px 28px; border-radius: var(--radius) var(--radius) 0 0; }
  .cal-frame { border-radius: 0 0 var(--radius) var(--radius); }
}
/* KI-Transparenz (Art. 50 Abs. 4 KI-VO): dezente Kennzeichnung auf generierten Medien */
.ki-media { position: relative; display: block; }
.kontakt-box .ki-media { height: 100%; }
.kontakt-box .ki-badge, .about-grid .ki-badge { right: auto; left: 12px; }
.ki-badge { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(253,253,253,.7); background: rgba(16,16,16,.22); padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.hero-media .ki-badge { right: 26px; bottom: 15%; }

/* Calendly-Popup: Zwei-Klick-Datenschutz, dann eingebetteter Kalender */
.calendly-dialog { max-width: 1020px; }
.cal-consent { padding: 44px 48px; }
.cal-consent h3 { font-size: 1.75rem; margin: 8px 0 14px; }
.cal-consent p { color: var(--c-text-soft); line-height: 1.65; }
.cal-remember { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 4px; font-size: var(--fs-sm); color: var(--c-text-soft); cursor: pointer; }
.cal-remember input { margin-top: 3px; accent-color: var(--c-accent-dark); }
.cal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
/* Zweispaltig wie Calendlys eigene Seite: Info links, Kalender rechts */
.cal-embed { display: grid; grid-template-columns: 1fr 1.5fr; align-items: start; }
.cal-embed[hidden] { display: none; }
.cal-side { background: var(--c-surface); padding: 44px 38px; border-radius: var(--radius) 0 0 var(--radius); }
.cal-side h3 { font-size: 1.75rem; margin: 8px 0 14px; }
.cal-side p { color: var(--c-text-soft); margin-bottom: .9rem; line-height: 1.6; }
.cal-lead { color: var(--c-text) !important; }
.cal-facts { list-style: none; margin: 22px 0 0; padding: 0; }
.cal-facts li { position: relative; padding-left: 30px; margin-bottom: .65rem; color: var(--c-text); }
.cal-facts li::before { content: "✓"; position: absolute; left: 0; color: var(--c-accent-dark); font-weight: 700; }
/* Offizielle Calendly-Inline-Größe (Höhe 700, volle Breite, kein Zoom) – stabil & scrollfrei */
.cal-frame { background: var(--c-bg); border-radius: 0 var(--radius) var(--radius) 0; overflow: hidden; }
.cal-frame iframe { display: block; width: 100%; height: 590px; border: 0; }
.cal-side { align-self: stretch; }

/* ENDE style.css */
