@font-face { font-family: Geist; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/mona-sans-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Geist Fallback"; font-weight: 800; src: local("Arial Bold"), local("Liberation Sans Bold"); size-adjust: 97.7%; ascent-override: 103.4%; descent-override: 30.7%; line-gap-override: 0%; }
@font-face { font-family: "Mona Fallback"; src: local("Arial"), local("Liberation Sans"); size-adjust: 103.8%; ascent-override: 105%; descent-override: 30.8%; line-gap-override: 0%; }

:root {
    --olive: #515c3f;
    --olive-dark: #363f24;
    --text: #646e55;
    --beige: #e6e0c0;
    --ink: #010101;
    --dark: #151711;
    --page: #f5f5f5;
    --error: #a32a1e;
    --head: Geist, "Geist Fallback", Arial, sans-serif;
    --body: "Mona Sans", "Mona Fallback", Arial, sans-serif;
}

*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:has(.dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
.nobr { white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

h1, h2, .card-title { color: var(--olive); font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: -.7px; text-wrap: balance; }
h1 { font-size: clamp(38px, 5vw, 63px); line-height: 1.16; }
h2 { font-size: clamp(28px, 3.9vw, 48px); line-height: 1.19; }
.card-title { font-size: 22px; line-height: 1.2; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(100% - 40px, 1250px); margin-inline: auto; }
.section { padding-top: 56px; }
.section-head { max-width: 900px; margin: 0 auto 28px; text-align: center; }
.section-head > p:last-child:not(.label) { margin-top: 16px; }
.label { margin-bottom: 12px; color: var(--olive); font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 24px; border: 0; border-radius: 4px; font: 600 16px/1.25 var(--body); text-align: center; text-decoration: none; cursor: pointer; touch-action: manipulation; transition: filter .15s, transform .1s; }
.btn:active { transform: scale(.985); }
.btn--beige { background: var(--beige); color: var(--ink); }
.btn--olive { background: var(--olive); color: #fff; }
.btn--ghost { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 1.5px var(--olive); }
.hint { margin-top: 10px; font-size: 14px; line-height: 1.4; }
.cta-block { margin-top: 28px; }

/* Ankündigungsleiste und Kopf */
.bar { display: block; width: 100%; padding: 12px 16px; border: 0; background: var(--olive); color: #fff; font: 400 14px/1.4 var(--body); text-align: center; text-decoration: none; cursor: pointer; }
.hero__top { display: flex; align-items: center; justify-content: space-between; padding-block: 8px; width: min(100% - 40px, 1250px); margin-inline: auto; }
.logo { width: 48px; height: auto; filter: brightness(0) invert(1); }
.social { display: flex; gap: 4px; margin-right: -11px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.social .icon { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; isolation: isolate; padding-bottom: 48px; background: var(--dark); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(15, 17, 11, .6); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100% - 40px, 1250px); margin-inline: auto; }
.chip { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 4px; background: var(--dark); font-size: 12px; letter-spacing: .5px; }
.hero h1 { color: #fff; }
.hero__subtitle { margin-top: 8px; color: var(--beige); font: 700 20px/1.25 var(--head); letter-spacing: -.3px; text-wrap: balance; }
.hero__when { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; }
.hero__when .icon { color: var(--beige); }
.hero__cta { margin-top: 12px; }
.hero .hint { color: rgba(255, 255, 255, .85); }
.hero__text { margin-top: 24px; }
.logos { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.logos__label { margin-bottom: 14px; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hero__photo { margin-top: 28px; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; object-position: 70% 50%; }
.hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.stat { padding: 20px; border-radius: 16px; background: var(--dark); line-height: 1.35; font-size: 15px; }
.stat b { display: block; margin-bottom: 8px; font: 800 28px/1.1 var(--head); }
.stat--countdown { grid-column: 1 / -1; }
.stat__label { margin-bottom: 10px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.countdown__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.countdown__cell { font-size: 13px; color: rgba(255, 255, 255, .85); }
.countdown__cell b { display: block; color: #fff; font: 800 30px/1.1 var(--head); font-variant-numeric: tabular-nums; }

/* Karten */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.problem { padding: 24px; border-radius: 16px; background: var(--dark); color: rgba(255, 255, 255, .88); }
.problem .card-title { margin-bottom: 8px; color: #fff; }
.turn { max-width: 820px; margin: 28px auto 0; color: var(--olive); font: 700 20px/1.35 var(--head); letter-spacing: -.3px; text-align: center; text-wrap: balance; }

.block { margin-top: 56px; padding: 48px 20px; background: #fff; }
.course { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1344px; margin-inline: auto; }
.course h2 { margin-bottom: 16px; }
.course__media img { width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; object-fit: cover; }
.course__media figcaption { margin-top: 10px; font-size: 15px; }
.modules { margin-top: 16px; }
.modules li { display: flex; gap: 12px; padding-block: 10px; }
.modules .icon { margin-top: 3px; color: var(--olive); stroke-width: 3; }
.modules b { display: block; color: var(--olive); font-weight: 700; }

.fit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fit > div { padding: 24px 20px; border-radius: 8px; background: #fff; }
.fit .card-title { margin-bottom: 12px; }
.ticks li { display: flex; gap: 12px; padding-block: 7px; }
.ticks .icon { margin-top: 3px; color: var(--olive); stroke-width: 2.5; }
.fit__no .ticks .icon { color: var(--text); }
.doubt { padding: 24px 20px; border-radius: 8px; background: #fff; }
.doubt .card-title { margin-bottom: 10px; text-transform: none; }

/* Trainer */
.trainer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.trainer h2 { margin-bottom: 16px; }
.trainer p + p { margin-top: 14px; }
.trainer__photo img { width: 100%; aspect-ratio: 5 / 4; border-radius: 8px; object-fit: cover; object-position: 50% 22%; }
.quote { margin-bottom: 18px; padding-left: 14px; border-left: 3px solid var(--olive); color: var(--olive); font: 700 20px/1.3 var(--head); letter-spacing: -.3px; }
.quote footer { margin-top: 4px; font: 400 15px/1.4 var(--body); letter-spacing: 0; color: var(--text); }
.credentials { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
.credential { display: flex; gap: 14px; padding: 20px; border-radius: 8px; background: #fff; }
.credential > .icon { width: 28px; height: 28px; color: var(--olive); stroke-width: 1.5; }
.credential h3 { margin-bottom: 2px; }
.credential h4 { margin-bottom: 6px; color: var(--olive); font: 700 15px/1.3 var(--head); letter-spacing: -.2px; }
.credential p { font-size: 15px; line-height: 1.45; }

/* Ablauf */
.step { display: flex; gap: 14px; padding: 20px; border-radius: 8px; background: #fff; }
.step > .icon { width: 28px; height: 28px; color: var(--olive); stroke-width: 1.5; }
.step__label { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.step strong { display: block; margin-bottom: 4px; color: var(--olive); font: 800 18px/1.25 var(--head); letter-spacing: -.3px; }
.step p { font-size: 15px; line-height: 1.45; }

/* Stimmen */
.voice { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; margin: 0; padding: 24px; border-radius: 8px; background: #fff; }
.voice blockquote { color: var(--olive); font: 700 18px/1.4 var(--head); letter-spacing: -.2px; }
.voice figcaption { font-size: 15px; line-height: 1.4; }
.voice b { display: block; color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 8px; max-width: 880px; margin-inline: auto; }
.faq details { border-radius: 8px; background: #fff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; color: var(--olive); font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; touch-action: manipulation; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .15s; }
.faq details[open] summary .icon { transform: rotate(90deg); }
.faq p { padding: 0 20px 20px; }

/* Abschluss */
.final { margin-top: 56px; padding-block: 48px; background: var(--olive-dark); color: #fff; scroll-margin-top: 0; }
.final__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.final h2 { color: #fff; }
.final .ticks { margin-top: 16px; }
.final .ticks .icon { color: var(--beige); }
.form-card { padding: 24px 20px; border-radius: 8px; background: #fff; color: var(--text); }

/* Formular */
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 4px; color: var(--olive); font-size: 15px; font-weight: 600; line-height: 1.35; }
.field label small { font-size: 14px; font-weight: 400; color: var(--text); }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #a5ab99; border-radius: 4px; background: #fff; color: var(--ink); font: 400 17px/1.4 var(--body); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--olive); outline: 2px solid var(--olive); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { display: block; color: var(--error); font-size: 15px; line-height: 1.35; }
.field__error:not(:empty) { margin-top: 4px; }
.field--check label { display: flex; gap: 12px; margin: 0; padding-block: 4px; color: var(--text); font-weight: 400; cursor: pointer; }
.field--check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--olive); }
.field--check a { color: var(--olive); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-size: 15px; line-height: 1.35; }
.form-error:not(:empty) { margin-bottom: 14px; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Dialog: bleibt im Layout, damit das eingebettete Formular auch geschlossen korrekt rendert */
.dialog { display: block; position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--page); color: var(--text); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.dialog:not([open]) { visibility: hidden; pointer-events: none; }
.dialog::backdrop { background: rgba(15, 17, 11, .7); }
.dialog__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; background: var(--olive); color: #fff; }
.dialog__head p { font-size: 14px; font-weight: 600; line-height: 1.3; }
.dialog__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 4px; background: transparent; color: #fff; cursor: pointer; touch-action: manipulation; }
.dialog__body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
.dialog h2 { margin-bottom: 16px; font-size: 26px; }

/* Sticky-CTA */
.sticky { position: fixed; inset: auto 0 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: var(--olive); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transform: translateY(110%); visibility: hidden; transition: transform .2s, visibility .2s; touch-action: manipulation; }
.sticky__date { font-size: 14px; font-weight: 400; white-space: nowrap; }
.sticky-visible .sticky { transform: none; visibility: visible; }
.consent-open .sticky { visibility: hidden; }
body { padding-bottom: 60px; }

/* Consent */
.consent { position: fixed; inset: auto 8px calc(8px + env(safe-area-inset-bottom)); z-index: 30; max-width: 480px; padding: 14px 16px; border-radius: 8px; background: #fff; color: var(--text); box-shadow: 0 10px 32px rgba(0, 0, 0, .3); font-size: 15px; line-height: 1.4; }
.consent a { color: var(--olive); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.consent__actions .btn { min-height: 44px; padding: 6px; font-size: 15px; }

/* Footer */
.footer { padding-block: 16px 32px; background: var(--olive-dark); color: rgba(255, 255, 255, .8); font-size: 14px; text-align: center; }
.final + .footer { border-top: 0; }
.footer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.footer p { margin-top: 16px; }
.footer a { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-top: 8px; font-weight: 600; letter-spacing: .5px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Danke-Seite */
.thanks { position: relative; isolation: isolate; padding-bottom: 40px; background: var(--dark); color: #fff; }
.thanks__inner { width: min(100% - 40px, 760px); margin: 8px auto 0; }
.thanks h1 { color: #fff; }
.thanks__lead { margin-top: 14px; }
.check { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--beige); color: var(--ink); }
.check .icon { width: 26px; height: 26px; stroke-width: 2.5; }
.thanks .stat--countdown { margin-top: 20px; }
.note { margin-top: 24px; overflow: hidden; border-radius: 16px; background: var(--olive); }
.note img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; }
.note figcaption { padding: 20px; }
.note p { color: #fff; font: 700 19px/1.4 var(--head); letter-spacing: -.2px; }
.note__name { display: block; margin-top: 10px; color: var(--beige); font-size: 15px; }
.todo__hint { font-size: 15px; line-height: 1.4; }
.todo { display: grid; gap: 12px; width: min(100% - 40px, 760px); margin: 28px auto 0; }
.todo__item { padding: 24px 20px; border-radius: 8px; background: #fff; }
.todo__step { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.todo__item p { margin-top: 8px; }
.todo__actions { display: grid; gap: 8px; margin-top: 16px; }
.thanks-page { padding-bottom: 0; }
.thanks-page .footer { margin-top: 48px; }

/* Entwurfsmodus: markiert offene Platzhalter. Zum Livegang class="draft" am html-Tag entfernen. */
.draft .ph { background: #ffe98a; color: #3d2f00; box-shadow: 0 0 0 2px #ffe98a; border-radius: 2px; }
.draft .btn .ph, .draft .sticky .ph { background: none; box-shadow: none; color: inherit; }

@media (hover: hover) {
    .btn:hover, .bar:hover { filter: brightness(1.08); }
    .bar:hover { text-decoration: underline; }
}

@media (max-width: 359px) {
    .btn .icon { display: none; }
    .btn { padding-inline: 12px; }
}

@media (min-width: 600px) {
    .wrap, .hero__top, .hero__grid { width: min(100% - 48px, 1250px); }
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .btn { width: auto; }
    .btn--block, .form-card .btn, .dialog .btn { width: 100%; }
    .todo__actions { grid-template-columns: repeat(2, auto); justify-content: start; }
    .todo__actions--calendars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dialog { inset: 0; width: min(100% - 32px, 520px); height: fit-content; max-height: calc(100dvh - 32px); margin: auto; border-radius: 8px; }
}

@media (min-width: 768px) {
    .bar { padding-block: 7px; }
    .note { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
    .note img { height: 100%; aspect-ratio: 4 / 5; }
    .note figcaption { padding: 32px; }
    .note p { font-size: 22px; }
    body { padding-bottom: 0; }
    .sticky { display: none; }
    .section { padding-top: 96px; }
    .section-head { margin-bottom: 48px; }
    .block { margin: 96px 16px 0; padding: 64px; border-radius: 8px; }
    .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .fit > div, .doubt { padding: 32px; }
    .grid { gap: 16px; }
    .problem { padding: 40px 32px; }
    .card-title { font-size: 24px; line-height: 29px; }
    .step, .credential { flex-direction: column; padding: 32px; }
    .credentials { gap: 16px; margin-top: 64px; }
    .trainer__photo img { aspect-ratio: 16 / 10; }
    .final { margin-top: 96px; padding-block: 96px; }
    .form-card { padding: 40px; }
    .turn { margin-top: 48px; font-size: 24px; }
    .faq summary { padding: 20px 24px; }
    .faq p { padding: 0 24px 24px; }
    .consent { inset: auto auto 16px 16px; }
    .hero__stats { gap: 16px; }
}

@media (min-width: 1024px) {
    .hero { padding-bottom: 96px; }
    .hero__top { padding-block: 16px; }
    .hero__grid { grid-template: "copy photo" auto "stats photo" 1fr / minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; margin-top: 16px; }
    .hero__copy { grid-area: copy; padding-top: 32px; }
    .chip { margin-bottom: 24px; }
    .hero__subtitle { margin-top: 12px; font-size: 26px; }
    .hero__when { margin-top: 24px; }
    .hero__text { max-width: 620px; }
    .hero__stats { grid-area: stats; align-self: end; margin-top: 32px; }
    .hero__photo { grid-area: photo; margin-top: 0; }
    .hero__photo img { height: 100%; min-height: 640px; aspect-ratio: auto; object-position: 74% 50%; }
    .stat { padding: 24px; font-size: 16px; }
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .credentials { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .fit > div { padding: 48px; }
    .doubt { padding: 40px; }
    .course, .trainer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
    .course { align-items: start; }
    .course__media { position: sticky; top: 32px; }
    .trainer__photo img { aspect-ratio: 7 / 6; }
    .final__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, ::before, ::after { transition: none !important; }
}
