/*
 * Leo Fitnesscoaching: die Grundbausteine der Seiten von leofitnesscoaching.com,
 * nachgebaut aus den @siteui-Paketen der Onepage-Site (Stand 14.10.2026): title,
 * text, button, input, badge, panel (hier .karte), faq-item, der Knopf und das
 * Anmeldefenster aus ticket-cta und die Fußzeile der Webinar-Seiten. Werte
 * unverändert übernommen.
 *
 * Die Variablen --font-kit-* und --color-kit-* heißen und stehen wie im Font-
 * und Farbkit der Onepage-Site, damit das CSS der Sektionen ohne Umschreiben
 * passt. --color-kit-secondary gibt es dort nicht; die Sektionen fallen dann auf
 * #ebc7c8 zurück, hier genauso.
 */

:root {
  --font-kit-base-font: 16;
  --font-kit-contrast: 2;
  --font-kit-header-font: 'Montserrat', sans-serif;
  --font-kit-header-font-weight: 800;
  --font-kit-header-font-style: normal;
  --font-kit-header-line-height: 1.2;
  --font-kit-header-letter-spacing: 0px;
  --font-kit-header-transform: none;
  --font-kit-text-font: 'Montserrat';
  --font-kit-text-font-weight: 500;
  --font-kit-text-font-style: normal;
  --font-kit-text-line-height: 1.5;
  --font-kit-text-letter-spacing: 0px;
  --font-kit-text-transform: none;
  --font-kit-text-font-weight-bold: 600;
  --color-kit-white: #FFFFFF;
  --color-kit-black: #000000;
  --color-kit-light: #FFF9F9;
  --color-kit-dark: #1A212A;
  --color-kit-key1: #D12530;
  --color-kit-key2: #EBC7C8;
}

/* Was Onepage jeder Seite mitgab: 14/24 px und die Schriftglättung der Site. Wo eine Sektion keine Schrift setzt,
   fiel Onepage bei Leo auf die Standardschrift des Browsers zurück (gemessen: Times); das gilt hier genauso, auch für
   die Zeilenhöhe von Zeilen, deren Elternteil keine eigene Schrift hat. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden;
  font-family: Times, "Times New Roman", serif;
  font-weight: 400; font-size: 14px; line-height: 24px;
  background: var(--seite-grund, #ffffff);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body a { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.unsichtbar { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Onepage legt jede Sektion einen Pixel über die vorige (.con-kit-section). */
.sektionen > main > section, .sektionen > main > footer, .sektionen > footer { position: relative; width: 100%; margin-top: -1px; }

/* @siteui/title */
.titel {
  font-family: var(--font-kit-header-font), sans-serif;
  font-weight: var(--font-kit-header-font-weight, 800);
  line-height: 1.1; letter-spacing: -0.01em; margin: 0;
}
.titel--sm { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.titel--md { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.titel--lg { font-size: clamp(2rem, 5vw, 3.2rem); }
.titel--xl { font-size: clamp(2.6rem, 7vw, 4.5rem); }

/* @siteui/text */
.text {
  font-family: var(--font-kit-text-font), sans-serif;
  font-weight: var(--font-kit-text-font-weight, 500);
  line-height: 1.6; margin: 0;
}
.text--xs { font-size: 0.78rem; }
.text--sm { font-size: 0.9rem; }
.text--md { font-size: 1rem; }
.text--lg { font-size: 1.15rem; }

/* @siteui/button: großer Aktionsknopf. Bei Onepage mit framer-motion: Puls 1 → 1,05 → 1 in 1,8 s, beim Zeigen 1,08, beim Tippen 0,96. */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px 28px; border-radius: 16px; text-decoration: none; cursor: pointer;
  font-family: var(--font-kit-header-font); font-weight: 800; font-size: clamp(20px, 4vw, 34px); line-height: 1.1;
  text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: 0 12px 30px #00000040; border: none; max-width: 90%;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.knopf__innen { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.knopf__symbol { display: flex; align-items: center; flex-shrink: 0; font-size: 1.3em; line-height: 1; }
.knopf__symbol svg { width: 1em; height: 1em; display: block; }
.knopf__text { display: inline; }
.knopf--md {
  font-size: clamp(15px, 1.6vw, 18px); padding: 15px 34px; border-radius: 12px;
  text-transform: none; letter-spacing: 0; box-shadow: 0 8px 22px #00000026; max-width: 100%;
}
.knopf--puls { animation: knopf-puls 1.8s ease-in-out infinite; }
@keyframes knopf-puls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@media (hover: hover) { .knopf:hover { animation: none; transform: scale(1.08); } }
.knopf:active { animation: none; transform: scale(.96); }

/* @siteui/input */
.eingabe {
  width: 100%; box-sizing: border-box; padding: 15px 16px; border-radius: 12px;
  border: 2px solid #00000018; background: #ffffff;
  font-family: inherit; font-weight: 500; font-size: 16px; color: #000000;
  transition: border-color 160ms ease;
}
.eingabe::placeholder { color: #00000059; }
.eingabe:focus { outline: none; border-color: var(--color-kit-key1, #d12530); }
.eingabe:focus-visible { outline: 3px solid var(--color-kit-key1, #d12530); outline-offset: 2px; }
.eingabe--fehler { border-color: #d12530; }

/* @siteui/badge: hell (light), voll (solid), linie (outline), dunkel (dark); mit Punkt die Eyebrow-Pille, klein die kompakte Fassung. */
.abzeichen {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 99px;
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.2; white-space: nowrap;
}
.abzeichen--hell { background: var(--color-kit-white, #ffffff); color: var(--color-kit-dark, #1a212a); box-shadow: 0 2px 10px #1a212a12; }
.abzeichen--voll { background: var(--color-kit-key1, #d12530); color: var(--color-kit-white, #ffffff); }
.abzeichen--linie { background: transparent; color: var(--color-kit-dark, #1a212a); box-shadow: inset 0 0 0 2px #1a212a1f; }
.abzeichen--punkt { gap: 9px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px; }
.abzeichen__punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--color-kit-key1, #d12530); flex: 0 0 auto; animation: abzeichen-puls 1.9s ease-in-out infinite; }
@keyframes abzeichen-puls { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.55; } }
.abzeichen.abzeichen--klein { padding: 6px 12px; font-size: 11px; letter-spacing: 0.045em; gap: 7px; }
.abzeichen.abzeichen--klein .abzeichen__punkt { width: 6px; height: 6px; }
.abzeichen--dunkel { background: #ffffff14; color: var(--color-kit-white, #ffffff); box-shadow: inset 0 0 0 1px #ffffff2e; }

/* @siteui/panel: Fläche mit Rand (outline, Standard), gefüllt (filled) oder mit Akzentkante (edge). */
.karte { box-sizing: border-box; padding: 30px 32px; border-radius: 20px; font-family: inherit; }
.karte--rand { border: 2px solid #1a212a14; }
.karte--gefuellt { background: var(--color-kit-light, #fff9f9); }
.karte--kante { border-radius: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent, #d12530); }
@media (max-width: 640px) {
  .karte { padding: 24px 22px; }
  .karte--kante { padding: 2px 0 2px 18px; }
}

/* @siteui/faq-item: jede Frage klappt für sich auf (nicht nur eine offen). Die Antwort ist ein <p> mit den Außenabständen
   des Browsers (1em oben und unten), wie bei Onepage; die Fläche darum schneidet sie nicht ab (overflow hidden). */
.frage { border-bottom: 1px solid var(--faq-line, #00000018); }
.frage__knopf {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit;
}
.frage__knopf:focus-visible { outline: 3px solid var(--color-kit-key1, #d12530); outline-offset: 4px; border-radius: 6px; }
.frage__text { font-family: var(--font-kit-header-font); font-weight: 800; font-size: 18px; line-height: 1.35; color: var(--faq-question, var(--color-kit-black, #000000)); }
.frage__zeichen { position: relative; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--faq-sign-bg, #00000010); transition: background 180ms ease, transform 220ms ease; }
.frage__knopf[aria-expanded="true"] .frage__zeichen { background: var(--color-kit-key1, #d12530); transform: rotate(135deg); }
.frage__zeichen::before, .frage__zeichen::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--faq-sign-ink, #000000); transform: translate(-50%, -50%); }
.frage__knopf[aria-expanded="true"] .frage__zeichen::before, .frage__knopf[aria-expanded="true"] .frage__zeichen::after { background: #ffffff; }
.frage__zeichen::before { width: 12px; height: 2px; }
.frage__zeichen::after { width: 2px; height: 12px; }
.frage__antwort { overflow: hidden; transition: height .26s cubic-bezier(.22, 1, .36, 1), opacity .26s cubic-bezier(.22, 1, .36, 1); }
.frage__antwort[hidden] { display: none; }
.frage__antworttext { padding: 0 4px 24px; max-width: 62ch; font-family: var(--font-kit-text-font); font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--faq-answer, #000000b0); }
@media (max-width: 560px) {
  .frage__text { font-size: 16px; }
  .frage__knopf { padding: 18px 2px; }
}

/* Knopf aus @siteui/ticket-cta: Pille in der Akzentfarbe mit Glanz, Ticket-Symbol und Unterzeile. */
.ticket, .fenster { --tc-accent: var(--color-kit-key1); }
.ticket {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; text-decoration: none; border-radius: 999px;
  font-family: var(--font-kit-header-font), 'Helvetica Neue', Arial, sans-serif; font-weight: 700; line-height: 1.1;
  color: #ffffff; background: var(--tc-accent, #d12530); padding: 14px 26px; font-size: 16px;
  box-shadow: 0 14px 30px -10px var(--tc-accent, #d12530);
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease; max-width: 100%;
}
.ticket:hover { transform: translateY(-1px); filter: brightness(1.04); }
.ticket:active { transform: translateY(0); }
.ticket:focus-visible { outline: 3px solid var(--color-kit-black, #000000); outline-offset: 3px; }
.ticket:disabled { opacity: 0.6; cursor: default; transform: none; }
.ticket::after {
  content: ''; position: absolute; top: 0; left: -70%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, #ffffff55 50%, transparent 100%);
  transform: skewX(-20deg); pointer-events: none; animation: ticket-glanz 4.2s ease-in-out infinite;
}
@keyframes ticket-glanz { 0% { left: -70%; } 20% { left: 150%; } 100% { left: 150%; } }
.ticket--gross { padding: 21px 46px; font-size: 19px; }
.ticket__innen { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 13px; }
.ticket__symbol { display: inline-flex; align-items: center; }
.ticket__symbol svg { width: 32px; height: 32px; display: block; }
.ticket__beschriftung { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.ticket__innen--symbol .ticket__beschriftung { align-items: flex-start; text-align: left; }
.ticket__haupt { font-weight: 700; white-space: nowrap; }
.ticket__unter { font-weight: 500; opacity: 0.85; font-size: 0.72em; white-space: nowrap; }
.ticket--voll { width: 100%; }
@media (max-width: 768px) {
  .ticket--gross { padding: 16px 20px; font-size: 16px; }
  .ticket__innen { gap: 10px; }
  .ticket__unter { font-size: 0.68em; }
  .ticket--gross .ticket__symbol svg { width: 26px; height: 26px; }
}

/* Das Anmeldefenster (@siteui/ticket-cta). Sichtbarkeit über das Attribut hidden; webinar.js öffnet und schließt. */
.fenster {
  font-family: var(--font-kit-text-font), Arial, sans-serif;
  position: fixed; inset: 0; background: #0b0f14cc; display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 18px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  line-height: 24px; animation: fenster-auf .2s ease;
}
.fenster[hidden] { display: none; }
@keyframes fenster-auf { from { opacity: 0; } to { opacity: 1; } }
.fenster__karte {
  font-family: var(--font-kit-text-font), Arial, sans-serif;
  position: relative; background: #ffffff; border-radius: 22px; padding: 30px 28px 24px;
  width: 440px; max-width: 94vw; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 40px 90px -30px #000000aa; text-align: center; animation: fenster-karte .2s ease;
}
@keyframes fenster-karte { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.fenster__zu { position: absolute; top: 14px; right: 16px; border: none; background: #f1f2f6; width: 30px; height: 30px; border-radius: 50%; font-size: 19px; line-height: 1; color: #6b7280; cursor: pointer; z-index: 2; }
.fenster__zu:focus-visible { outline: 3px solid var(--tc-accent, #d12530); outline-offset: 2px; }
.fenster__knapp { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fdeef0; color: #a31b25; font-size: 13px; font-weight: 800; letter-spacing: 0.01em; }
.fenster__knapp-punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--tc-accent, #d12530); animation: fenster-puls 1.7s ease-in-out infinite; }
@keyframes fenster-puls { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.5; } }
.fenster__nachfrage { height: 6px; background: #f5e2e3; border-radius: 999px; overflow: hidden; max-width: 230px; margin: 12px auto 20px; }
.fenster__balken { height: 100%; width: 58%; background: linear-gradient(90deg, #ef8f95, #d12530); border-radius: 999px; transition: width 0.4s ease; }
.fenster__titel { margin: 0; font-family: var(--font-kit-header-font), sans-serif; font-weight: 800; font-size: 25px; line-height: 1.15; letter-spacing: -0.02em; color: #000000; }
.fenster__unter { margin: 6px 0 14px; font-size: 15px; line-height: 1.5; color: #6b7280; }
.fenster__termin { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #6b7280; margin: 0 auto 18px; }
.fenster__termin svg { width: 15px; height: 15px; flex-shrink: 0; }
.fenster__formular { display: flex; flex-direction: column; gap: 11px; text-align: left; }
.fenster__tippfehler { margin: 0; font-size: 13px; color: #6b7280; }
.fenster__tippfehler[hidden], .fenster__fehler[hidden] { display: none; }
.fenster__tippfehler button { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; color: var(--tc-accent, #d12530); cursor: pointer; text-decoration: underline; }
.fenster__fehler { margin: 0; font-size: 13px; font-weight: 600; color: #b3202a; text-align: center; }
.fenster__vertrauen { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.fenster__vertrauenstext { font-size: 13px; font-weight: 600; color: #6b7280; }
html.cm-fenster-offen, html.cm-fenster-offen body { overflow: hidden; }
@media (max-width: 560px) {
  .fenster__karte { padding: 26px 20px 20px; }
  .fenster__titel { font-size: 22px; }
}

/* Profilbilder und Sterne im Anmeldefenster. */
.avatare { display: flex; }
.avatare[hidden] { display: none; }
.avatare img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #ffffff; margin-left: -10px; }
.avatare img:first-child { margin-left: 0; }
.sterne { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #444444; }
.sterne__zeichen { color: #f5a623; letter-spacing: 1px; }

/* Einblenden beim Scrollen (framer-motion whileInView), gesteuert von /_cm/cm.js. Weg über --einblenden-x/-y, Dauer über --einblenden-dauer. */
.cm-einblenden [data-einblenden] {
  opacity: 0; transform: translate(var(--einblenden-x, 0px), var(--einblenden-y, 16px)) scale(var(--einblenden-s, 1));
  transition: opacity var(--einblenden-dauer, .5s) ease, transform var(--einblenden-dauer, .5s) ease;
  transition-delay: var(--einblenden-verzug, 0s);
}
.cm-einblenden [data-einblenden].ist-da { opacity: 1; transform: none; }

/* Fußzeile der Webinar-Seiten (/liveworkshop, /start): dunkel, Rechtstexte, Links, Copyright. */
.fuss { padding: 54px 20px 48px; background: var(--color-kit-dark, #1a212a); font-family: var(--font-kit-text-font), Arial, sans-serif; }
.fuss__container { max-width: 1040px; margin: 0 auto; text-align: center; }
.fuss__hinweis { margin: 0 auto 14px; max-width: 78ch; font-size: 12px; line-height: 1.6; color: #ffffff70; }
.fuss__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid #ffffff1a; list-style: none; }
.fuss__link { font-weight: 700; font-size: 14px; color: #ffffffcc; text-decoration: none; }
.fuss__link:hover { color: var(--color-kit-key1, #d12530); }
.fuss__link:focus-visible { outline: 3px solid var(--color-kit-key1, #d12530); outline-offset: 3px; border-radius: 4px; }
.fuss__copy { margin: 16px 0 0; font-size: 12px; color: #ffffff59; }
@media (max-width: 640px) { .fuss { padding: 42px 16px 38px; } }
