/* =====================================================================
   Donna Hankic, Webinar-Landingpage
   Designsystem nach Mini CI, verifiziert gegen donnahankic.com
   ===================================================================== */

:root {
  /* Farben */
  --peach:      #FEC7B1;
  --peach-soft: #FFF1EA;
  --peach-deep: #F5A683;
  --sage:       #A6CAC8;
  --sage-soft:  #EDF5F4;
  --ink:        #20201B;
  --body:       #4E4E4E;
  --ground:     #FAFAFA;
  --white:      #FFFFFF;
  --line:       #E9E6E2;

  /* Typo */
  --f-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter Tight', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --f-script: 'Birthstone', 'Brush Script MT', cursive;

  /* Maße */
  --wrap: 1120px;
  --r-card: 20px;
  --r-btn: 8px;
  --shadow: 0 18px 40px -24px rgba(32, 32, 27, .28);
  --sec-y: clamp(2.75rem, 5vw, 4.25rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--f-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.95rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.3; }

p { margin: 0 0 1.1em; }
b, strong { color: var(--ink); font-weight: 600; }
a { color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.micro { font-size: .875rem; line-height: 1.55; color: #6D6D6D; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------- Script ---------------------------- */
.script {
  font-family: var(--f-script);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.5;                 /* laut CI-Vorgabe */
  text-wrap: balance;
  color: var(--sage);
  margin: 0 0 .3em;
  font-weight: 400;
}
.script--lg { font-size: clamp(1.85rem, 3.4vw, 2.65rem); }

/* ---------------------------- Buttons --------------------------- */
.btn {
  display: inline-block;
  background: var(--peach);
  color: var(--ink);                /* dunkel auf Apricot: Kontrast ~9:1 */
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  padding: .95rem 1.9rem;
  border: 0;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--peach-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 1.0625rem; padding: 1.1rem 2.4rem; }
.btn--block { display: block; width: 100%; text-align: center; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { background: #F1EEEA; }

/* ----------------------------- Deko ----------------------------- */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob--peach { background: var(--peach); opacity: .5; width: 13rem; height: 13rem; }
.blob--ring-sage  { border: 2px solid var(--sage);  width: 5rem; height: 5rem; }
.blob--ring-peach { border: 2px solid var(--peach); width: 7rem; height: 7rem; }
.blob--tr { top: -4rem; right: -4rem; }
.blob--tl { top: 14%; left: 2%; }
.blob--br { bottom: -6.5rem; right: 5%; }
.blob--ml { top: 20%; left: -1.5rem; }

.blob--ml { display: none; }
@media (min-width: 900px) { .blob--ml { display: block; } }
@media (max-width: 600px) { .blob--peach { width: 9rem; height: 9rem; opacity: .4; } }

.wave { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.wave path { fill: var(--white); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  text-align: center;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 46rem;
}
.hero__inner h1 { margin-bottom: .5em; }
.hero__inner .lead { margin-inline: auto; max-width: 36rem; }
.lead--strong { color: var(--ink); font-weight: 600; }

/* Klare Abstufung im Hero: Headline, dann Subheadline, dann Fließtext.
   Vorher waren Subheadline und Fließtext gleich groß und unterschieden
   sich nur in der Schriftstärke. Auf dem Handy war dadurch keine
   Rangfolge mehr erkennbar. */
.hero__inner .lead--strong { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.hero__inner .lead:not(.lead--strong) { font-size: clamp(.95rem, 1.4vw, 1.1rem); }
.hero .termin { margin-inline: auto; }
.hero .micro { max-width: 30rem; margin: .75rem auto 1.5rem; }

/* Video im Hero: Platzhalter, Vorschaubild oder Einbettung */
.video {
  position: relative;
  margin: 2.2rem auto;
  max-width: 40rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--peach-soft);
  box-shadow: var(--shadow);
}
.video iframe,
.video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Zustand 1: noch kein Video hinterlegt */
.video__ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: .9rem;
  border: 2px dashed var(--peach-deep);
  border-radius: var(--r-card);
  background: linear-gradient(140deg, var(--peach-soft), var(--sage-soft));
}
.video__label {
  margin: 0; font-size: .95rem; font-weight: 600;
  color: var(--ink); letter-spacing: .02em;
}

/* Zustand 2: Vorschaubild, das eigentliche Video lädt erst nach Klick */
.video__btn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.video__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__btn::after { content: ""; position: absolute; inset: 0; background: rgba(32, 32, 27, .18); }

.video__play {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 4.2rem; height: 4.2rem;
  background: var(--peach); border-radius: 50%;
  box-shadow: 0 10px 30px -12px rgba(32, 32, 27, .5);
  transition: transform .18s ease;
}
.video__play::before {
  content: "";
  border-style: solid;
  border-width: .72rem 0 .72rem 1.15rem;
  border-color: transparent transparent transparent var(--ink);
  margin-left: .28rem;
}
.video__btn:hover .video__play { transform: scale(1.07); }

/* Termin-Block */
.termin {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  border-radius: 14px;
  padding: 1.1rem 1.35rem;
  margin: 1.8rem 0;
  max-width: 32rem;
  box-shadow: var(--shadow);
}
.termin__line { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; margin: 0; }
.termin__line--sub { margin-top: .2rem; font-size: .9rem; color: #6D6D6D; }
.termin__item { display: inline-flex; align-items: center; gap: .4rem; }
.termin__item b { font-weight: 600; }
.termin__item--plain { display: inline; }

.countdown { display: flex; gap: .55rem; margin-top: .95rem; }
.cd {
  flex: 1; text-align: center; background: var(--peach-soft);
  border-radius: 10px; padding: .5rem .2rem;
}
.cd b { display: block; font-family: var(--f-head); font-size: 1.45rem; color: var(--ink); line-height: 1.1; }
.cd span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #6D6D6D; }
.countdown.is-past { display: none; }

/* --------------------------- Sektionen -------------------------- */
.sec { position: relative; padding-block: var(--sec-y); overflow: hidden; }
.hero + main > .sec:first-child { padding-top: clamp(1.5rem, 2.5vw, 2.25rem); }
.sec--white { background: var(--white); }
.sec--tint  { background: var(--ground); }
.sec--dark  { background: var(--sage-soft); }
.sec > .wrap { position: relative; z-index: 1; }
.sec h2 + .lead { margin-bottom: 2rem; }

/* ---------------------------- Cards ----------------------------- */
.cards {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 1.6rem 1.3rem;
  text-align: center; box-shadow: var(--shadow);
}
.card p { margin: 0; font-size: .975rem; }
.card__icon {
  display: grid; place-items: center;
  width: 3.1rem; height: 3.1rem; margin: 0 auto 1rem;
  background: var(--peach); border-radius: 50%;
}
.card__icon svg {
  width: 1.5rem; height: 1.5rem;
  fill: none; stroke: var(--ink); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.note {
  background: var(--white); border-radius: var(--r-card);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: clamp(1.7rem, 3.5vw, 2.4rem); margin: 2rem auto 0;
  max-width: 46rem; text-align: center;
}
.note p:last-child { margin-bottom: 0; }
.sec .btn { margin-top: 2.25rem; }
.sec p.center:has(> .btn) { margin-bottom: 0; }

/* ---------------------------- Split ----------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split__img { margin: 0; justify-self: center; width: min(100%, 22rem); }
.split__img img { border-radius: 999px 999px var(--r-card) var(--r-card); box-shadow: var(--shadow); }
.split__text p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .split { grid-template-columns: .85fr 1.15fr; }
  .split--rev .split__img { order: 2; justify-self: end; }
  .split--rev .split__text { order: 1; }
}

/* --------------------------- Leiter ----------------------------- */
.leiter { list-style: none; margin: 1.8rem 0 1rem; padding: 0; display: grid; gap: .55rem; }
.leiter__step {
  border-radius: 12px; padding: .85rem 1.1rem;
  border-left: 5px solid var(--line); background: var(--white);
}
.leiter__step b { display: block; color: var(--ink); }
.leiter__step span { font-size: .95rem; }
.leiter__step--top { border-left-color: var(--sage); }
.leiter__step--mid { border-left-color: var(--peach); }
.leiter__step--low { border-left-color: #C9BDB4; }

/* ------------------------- Gegenüberstellung -------------------- */
.vs {
  display: grid; gap: 1rem; margin: 2rem 0 0;
  grid-template-columns: 1fr; align-items: center;
}
.vs__col { border-radius: var(--r-card); padding: 1.6rem 1.5rem; border: 1px solid var(--line); }
.vs__col--old { background: var(--ground); }
.vs__col--new { background: var(--peach-soft); border-color: var(--peach); }
.vs__col h3 { margin-bottom: .8em; }
.vs__col ul { margin: 0; padding-left: 1.15rem; }
.vs__col li { margin-bottom: .5rem; }
.vs__col li::marker { color: var(--peach-deep); }
.vs__col--old li { color: #7C7C7C; }
.vs__arrow { text-align: center; font-size: 1.6rem; color: var(--peach-deep); }
.vs + .script { margin-top: 1.75rem; }

@media (min-width: 820px) {
  .vs { grid-template-columns: 1fr auto 1fr; }
}

/* ---------------------------- Steps ----------------------------- */
.steps {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 1.8rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}
.step__no {
  font-family: var(--f-head); font-size: 1rem; font-weight: 600;
  color: var(--peach-deep); letter-spacing: .08em; display: block; margin-bottom: .5rem;
}
.step p { margin: 0; font-size: .975rem; }

.hint {
  margin: 2.2rem auto 0; max-width: 42rem;
  background: var(--sage-soft); border: 1px solid var(--sage);
  border-radius: 14px; padding: 1.2rem 1.5rem; text-align: center;
}
.hint p { margin: 0; }

/* ---------------------------- Zitat ----------------------------- */
.quote {
  margin: 1.5rem 0 0; background: var(--white);
  border-radius: var(--r-card); border: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow);
}
.quote p { font-size: 1.05rem; }
.quote footer {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .14em;
  color: #8A8A8A; margin-top: 1.2rem;
}


/* ----------------------------- FAQ ------------------------------ */
.faq {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: .7rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 600; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%;
  width: .6rem; height: .6rem; margin-top: -.45rem;
  border-right: 2px solid var(--peach-deep); border-bottom: 2px solid var(--peach-deep);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq > div { padding: 0 1.3rem 1.2rem; }
.faq > div p { margin: 0; }

/* -------------------- Abschluss und Formular --------------------- */
.abschluss { text-align: center; max-width: 42rem; }
.abschluss__img { width: 11rem; margin: 0 auto 2rem; }
.abschluss__img img { border-radius: 50%; box-shadow: var(--shadow); }
.abschluss .saetze {
  font-family: var(--f-head); font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink); line-height: 1.9;
}
.abschluss__termin {
  display: block; width: fit-content;
  background: var(--white); border-radius: 12px;
  padding: .85rem 1.6rem; margin: 0 auto 2rem;
  font-size: .95rem; box-shadow: var(--shadow);
}
.abschluss__termin b { font-family: var(--f-head); font-size: 1.15rem; }
.abschluss .btn { margin-top: 0; }
.abschluss .micro { margin: .75rem 0 0; }

/* ---------------------------- Popup ----------------------------- */
.modal {
  width: min(100% - 1.5rem, 30rem);
  padding: 0; border: 0;
  border-radius: var(--r-card);
  background: var(--white);
  color: var(--body);
  box-shadow: 0 40px 90px -30px rgba(32, 32, 27, .55);
  overflow: visible;
}
.modal::backdrop { background: rgba(32, 32, 27, .68); }
.modal__inner {
  position: relative;
  padding: clamp(1.6rem, 5vw, 2.4rem);
  max-height: min(88dvh, 48rem);
  overflow-y: auto;
  border-radius: var(--r-card);
}
.modal h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); margin-bottom: .5em; }
.modal .script { margin-bottom: 0; }
.modal__termin {
  background: var(--peach-soft); border-radius: 12px;
  padding: .85rem 1rem; text-align: center; margin-bottom: 1.5rem;
  font-size: .9rem;
}
.modal__termin b { font-family: var(--f-head); font-size: 1.1rem; }
.modal__close {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  width: 2.3rem; height: 2.3rem;
  display: grid; place-items: center;
  background: var(--ground); color: var(--ink);
  border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
}
.modal__close svg {
  width: 1.05rem; height: 1.05rem;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}
.modal__close:hover { background: var(--peach); }
body.modal-open { overflow: hidden; }

/* Rückfalllösung für Browser ohne <dialog> */
.modal.is-fallback {
  position: fixed; z-index: 80;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.modal-backdrop {
  position: fixed; inset: 0; z-index: 79;
  background: rgba(32, 32, 27, .55);
}

/* --------------------------- Formular --------------------------- */
.formbox__status { margin: .9rem 0 0; font-size: .95rem; text-align: center; }
.formbox__status.is-error { color: #A8352B; }
.formbox__status.is-ok { color: #3E7A52; }

.field { margin-bottom: 1.1rem; text-align: left; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field input[type="text"], .field input[type="email"] {
  width: 100%; font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; background: var(--ground);
  border: 1.5px solid var(--line); border-radius: var(--r-btn);
}
.field input::placeholder { color: #9A9A9A; }
.field input:focus { border-color: var(--sage); background: var(--white); }
.field input[aria-invalid="true"] { border-color: #C4574A; }

.field--check { display: grid; grid-template-columns: auto 1fr; gap: .1rem .65rem; align-items: start; }
.field--check input { margin-top: .35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--peach-deep); }
.field--check label { font-size: .85rem; font-weight: 400; color: var(--body); line-height: 1.5; }
.field--check .err { grid-column: 2; }

.err { margin: .35rem 0 0; font-size: .85rem; color: #A8352B; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------- Footer ---------------------------- */
.footer { background: var(--ink); color: #B9B7B1; padding-block: 2.8rem; text-align: center; }
.footer .micro { color: #8D8B85; margin: 0; }
.footer__name { font-family: var(--f-head); color: #fff; font-size: 1.2rem; letter-spacing: .05em; margin-bottom: .8rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: center; margin-bottom: 1.2rem; }
.footer__links a { color: var(--peach); text-decoration: none; font-size: .925rem; }
.footer__links a:hover { text-decoration: underline; }

/* -------------------------- Sticky-CTA -------------------------- */
.stickybar {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .25s ease;
}
.stickybar.is-on { transform: translateY(0); }
@media (min-width: 900px) { .stickybar { display: none; } }

/* ------------------------ Cookie-Banner ------------------------- */
.consent {
  position: fixed; inset: auto .75rem .75rem; z-index: 60;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 20px 50px -18px rgba(32, 32, 27, .4);
  padding: 1.2rem 1.35rem; max-width: 34rem; margin-inline: auto;
}
.consent__title { font-family: var(--f-head); color: var(--ink); font-size: 1.05rem; margin: 0 0 .4rem; font-weight: 600; }
.consent__text { font-size: .875rem; line-height: 1.55; margin: 0 0 1rem; }
.consent__btns { display: flex; gap: .6rem; }
.consent__btns .btn { flex: 1; margin-top: 0; padding: .7rem 1rem; font-size: .925rem; text-align: center; }
body.has-consent .stickybar { bottom: 0; }

/* --------------------------- Noscript --------------------------- */
.noscript {
  background: var(--peach); color: var(--ink);
  padding: 1rem 1.25rem; text-align: center; font-size: .95rem;
}

/* ------------------------- Rechtsseiten -------------------------- */
.legal { padding-top: clamp(2.5rem, 5vw, 4rem); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .3em; }
.legal h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin-top: 2.5rem; margin-bottom: .7em;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.legal .lead { margin: 2rem 0 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: .45rem; }
.legal li::marker { color: var(--peach-deep); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--peach-deep); }
.legal__back { margin-top: 3rem; text-align: center; }

/* ------------------------- Danke-Seite -------------------------- */
.danke { min-height: 100svh; display: grid; place-items: center; padding-block: 3rem; position: relative; overflow: hidden; }
.danke__box { text-align: center; max-width: 40rem; position: relative; z-index: 1; }
.danke__check {
  width: 4.5rem; height: 4.5rem; margin: 0 auto 1.5rem;
  background: var(--peach); border-radius: 50%; display: grid; place-items: center;
}
.danke__check svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.danke__termin {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--sage);
  border-radius: 14px; padding: 1.4rem 1.5rem; margin: 2rem 0; box-shadow: var(--shadow);
}
.danke__termin b { font-family: var(--f-head); font-size: clamp(1.15rem, 2.6vw, 1.5rem); display: block; margin-bottom: .3rem; }
.danke__steps { text-align: left; max-width: 32rem; margin: 2rem auto 0; padding-left: 1.2rem; }
.danke__steps li { margin-bottom: .7rem; }
.danke__steps li::marker { color: var(--peach-deep); }
