/* Seiten-Styles der neuen Startseite (aus dem statischen Entwurf index.html). */

:root {
  /* Invictus CI (Invictus Design System): ink #0F0625, purple #6243A4, teal #5FCAB4, indigo-tinted greys, Poppins */
  --p-bg: #ffffff; --p-surface: #f8f7fb; --p-ink: #0f0625; --p-muted: #5a516e;
  --p-accent: #6243a4; --p-accent-ink: #ffffff; --p-action: #6243a4; --p-action-ink: #ffffff;
  --p-inv-bg: #0f0625; --p-inv-surface: #1a1135; --p-inv-ink: #ffffff; --p-inv-muted: #bdb7cc;
  --p-inv-accent: #5fcab4; --p-inv-accent-ink: #0f0625; --p-inv-action: #5fcab4; --p-inv-action-ink: #0f0625;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-text: "Poppins", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.01em;
  --display-tracking-xl: -0.015em;
  --ly-scale: 0.92;
  --purple: #6243a4; --teal: #5fcab4;
  --r-btn: 8px;
}


/* ---------- Invictus CI pieces ---------- */
.colon { display: inline-grid; grid-template-rows: 1fr 1fr; gap: 2px; width: 7px; height: 16px; flex: none; }
.colon::before, .colon::after { content: ""; display: block; }
.colon::before { background: var(--purple); } .colon::after { background: var(--teal); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; margin: 0; }
.eyebrow--light { color: var(--purple); }

/* buttons: CI corners and a calm hover (brightness down, 1px press) */
.btn { border-radius: 8px; transition: filter .2s ease, transform .12s ease, background-color .2s ease; }
.btn:hover { filter: brightness(.93); transform: none; }
.btn:active { transform: translateY(1px); }
.btn .m-arrow { transition: transform .2s ease; }
.btn:hover .m-arrow { transform: translateX(3px); }

/* brand: GEO-Seminar in front, Invictus behind */
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--font-display); letter-spacing: -0.01em; color: inherit; text-decoration: none; white-space: nowrap; }
.brand .colon { height: 18px; width: 8px; }
.brand small { font: 500 12px/1 var(--font-text); letter-spacing: 0; color: var(--muted); margin-left: 2px; }
@media (max-width: 639px) { .brand small { display: none; } }

/* ---------- hero ---------- */
.hero .hero__grid { align-items: center; }
.hero__text.wide { grid-column: 1 / span 7; }
.hero__phone { grid-column: 9 / span 4; display: flex; justify-content: center; align-self: stretch; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.06; hyphens: manual; -webkit-hyphens: manual; margin-top: var(--s-4); }
.hero .hero__lead { max-width: 52ch; }
@media (max-width: 1023px) { .hero__text.wide { grid-column: 1 / -1; } .hero__phone { grid-column: 1 / -1; } }
/* the hero grows on short laptop screens instead of cutting off the facts under the buttons */
main > .hero { height: auto; min-height: 100vh; min-height: 100svh; }
main > .hero > .wrap { height: auto; }

/* the iPhone (drawn, no panel behind it) */
.device { position: relative; height: min(600px, calc(100svh - 200px)); aspect-ratio: 300 / 620; background: #fff; border: 9px solid #1d1830; border-radius: 46px; box-shadow: 0 0 0 2px #3d3458, 0 30px 60px -20px rgba(0,0,0,.6); display: flex; flex-direction: column; overflow: hidden; color: #111; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif; }
.isl { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #000; border-radius: 16px; z-index: 3; }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 0 22px 0 28px; height: 46px; flex: none; font-size: 13px; font-weight: 600; }
.sb span:last-child { display: flex; gap: 5px; align-items: center; }
.chat-hdr { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 2px 0 8px; border-bottom: 1px solid #e8e8ec; font-size: 12px; font-weight: 600; }
.chat-hdr .av { width: 26px; height: 26px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.msgs { flex: 1; min-height: 0; overflow: hidden; padding: 14px 11px 20px; display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; line-height: 1.5; }
.pu { align-self: flex-end; max-width: 86%; background: #efeff2; border-radius: 16px; padding: 8px 12px; }
.pb { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.pb .av { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #cfcfd6; display: grid; place-items: center; font-size: 8px; font-weight: 700; margin-top: 2px; }
.pb p { margin: 0 0 8px; max-width: none; }
.pb ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: n; }
.pb li { counter-increment: n; position: relative; padding-left: 18px; }
.pb li::before { content: counter(n) "."; position: absolute; left: 0; color: #8a8a92; }
.pb li b { font-weight: 600; }
.pb small { display: block; color: #5c5c66; font-size: 11.5px; line-height: 1.4; }
.sk { display: block; height: 9px; border-radius: 5px; background: #e6e6ec; margin-top: 5px; }
.sk--a { width: 62%; } .sk--b { width: 84%; } .sk--c { width: 48%; }
.pb li.you { background: #eafaf6; outline: 1px solid #3fb39b; border-radius: 8px; padding: 6px 8px 6px 26px; }
.pb li.you::before { left: 9px; color: #1d5c51; }
.pb li.you b { color: #163f38; }
.dots { display: inline-flex; gap: 4px; padding: 6px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #9b9ba3; animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.device.anim .pop { opacity: 0; transform: translateY(8px); animation: pin .35s cubic-bezier(.16,1,.3,1) forwards; }
.device.anim .pb li { opacity: 0; animation: pin .35s cubic-bezier(.16,1,.3,1) forwards; }
.device.anim .pb li:nth-child(1) { animation-delay: .1s; } .device.anim .pb li:nth-child(2) { animation-delay: .35s; } .device.anim .pb li:nth-child(3) { animation-delay: .6s; }
.device.anim .pb li.you { animation-name: pin, glow; animation-duration: .35s, 1.2s; animation-delay: .35s, .6s; animation-fill-mode: forwards, none; }
@keyframes pin { to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(95,202,180,0); } 50% { box-shadow: 0 0 0 6px rgba(95,202,180,.35); } }
.compose { flex: none; margin: 4px 10px 2px; border: 1px solid #d9d9df; border-radius: 999px; padding: 8px 12px; font-size: 12px; color: #5c5c66; display: flex; justify-content: space-between; align-items: center; }
.compose i { width: 18px; height: 18px; border-radius: 50%; background: #111; display: block; }
.homebar { flex: none; width: 96px; height: 4px; background: #111; border-radius: 3px; margin: 6px auto 8px; }
@media (max-width: 1023px) { .device { height: 560px; } }
@media (max-width: 639px) { .hero__phone { align-items: flex-start; -webkit-mask-image: linear-gradient(#000 calc(100% - 80px), transparent); mask-image: linear-gradient(#000 calc(100% - 80px), transparent); overflow: hidden; } }
@media (prefers-reduced-motion: reduce) { .device.anim .pop, .device.anim .pb li { animation: none; opacity: 1; transform: none; } }

/* ---------- benefits ---------- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.benefits li { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.benefits h3 { font: 600 var(--t-lead)/1.35 var(--font-text); letter-spacing: 0; display: flex; gap: 10px; align-items: flex-start; }
.benefits h3 .colon { margin-top: 5px; }
.benefits p { max-width: none; color: var(--ink); }
@media (max-width: 1023px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- agenda ---------- */
.wide-lead { max-width: none; }
.block { display: grid; grid-template-rows: auto auto 1fr; gap: var(--s-3); align-content: start; }
.block__pic { margin: 0 0 var(--s-2); border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.block__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.block h3 { font: 600 var(--t-lead)/1.35 var(--font-text); letter-spacing: 0; }
.block h3 span { display: block; font-weight: 400; color: var(--muted); font-size: 16px; margin-top: 2px; }
.block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.block li { position: relative; padding-left: 18px; }
.block li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--teal); }
.block li:nth-child(odd)::before { background: var(--purple); }
#agenda .grid { align-items: stretch; }
@media (min-width: 640px) and (max-width: 1023px) { #agenda { --h: 2; } }

/* ---------- dates ---------- */
.section-head .price { font: 700 clamp(40px, 4vw, 56px)/1 var(--font-display); letter-spacing: -0.01em; margin-top: var(--s-4); }
.dates { list-style: none; margin: 0; padding: 0; }
.dates li { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.dates li[hidden] { display: none; }
.dates .d { font: 700 34px/1 var(--font-display); text-align: left; }
.dates .d small { display: block; font: 500 13px/1.2 var(--font-text); color: var(--muted); margin-top: 4px; }
.dates .when strong { display: block; font-weight: 500; }
.dates .when .note { display: block; color: var(--ink); font-size: 16px; }
.dates .tag { display: inline-block; margin-right: 8px; vertical-align: 1px; font-size: 13px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: #f1edf8; color: #422c75; }
.dates .tag.on { background: #eafaf6; color: #1d5c51; }
.filter { display: flex; gap: var(--s-2); margin: var(--s-4) 0; flex-wrap: wrap; }
.filter button { font: 500 16px/1 var(--font-text); min-height: 44px; padding: 0 var(--s-4); border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s ease; }
.filter button:hover { background: var(--surface); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dates-photo { margin: 0; border-radius: 12px; overflow: hidden; height: 100%; min-height: 360px; }
.dates-photo img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: 40% 50%; }
@media (min-width: 640px) and (max-width: 1023px) { #termine { --h: 2; } }
@media (max-width: 639px) { .section-head .price { font-size: 32px; } .dates .tag { display: table; margin: 0 0 6px; } .dates .d { font-size: 28px; } .dates li { grid-template-columns: 56px 1fr; } .dates li .btn { grid-column: 1 / -1; } .dates-photo { min-height: 0; aspect-ratio: 4 / 3; height: auto; } }

/* ---------- trainer and review ---------- */
.trainer-photo { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: #c9c9cc; }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.review { margin: var(--s-6) 0 0; padding: var(--s-6); background: var(--surface); border-radius: 12px; border-top: 3px solid var(--purple); }
.review__photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; border-radius: 8px; margin-bottom: var(--s-5); }
.review blockquote { margin: 0; font: 500 20px/1.5 var(--font-text); }
.review figcaption { margin-top: var(--s-4); font-size: 16px; color: var(--muted); }
.review figcaption a { color: var(--ink); }
@media (min-width: 640px) and (max-width: 1023px) { #trainer { --h: 2; } }

/* ---------- cases ---------- */
.org-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.org-facts li { display: grid; gap: var(--s-1); padding-top: var(--s-4); border-top: 2px solid var(--ink); }
.org-facts strong { font: 700 clamp(32px, 3.4vw, 44px)/1.05 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.org-facts span { font: 400 var(--t-lead)/1.4 var(--font-text); color: var(--ink); }
@media (max-width: 1023px) { .org-facts { margin-top: var(--s-7); } }

/* ---------- GEO-Check band ---------- */
.contact { background: var(--bg); color: var(--ink); padding: var(--s-6); border-radius: 12px; }
.contact .field :is(input, select, textarea) { border-radius: 8px; }
.contact .form__note { font-size: var(--t-small); color: var(--muted); margin: 0; }
.contact .form__note a { color: var(--ink); }
#geo-check .ai-icons { margin-top: var(--s-6); }
@media (max-width: 639px) { .contact { padding: var(--s-5); } }
.ai-icons { display: flex; gap: var(--s-5); align-items: center; flex-wrap: wrap; }
.ai-icons span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: #fff; }

/* ---------- FAQ, collapsible ---------- */
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; font: 500 var(--t-lead)/1.4 var(--font-text); min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px; }
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.qa summary:hover { color: var(--purple); }
.qa details p { margin: 0 0 var(--s-5); max-width: 68ch; }

/* sections take their content's height (no empty screen tails), heads run wide */
main > section.section, main > section.section[style] { height: auto !important; min-height: 0; padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(72px, 8vw, 112px); }
.section-head, .section-head h2 { max-width: none; }
.section-head p { max-width: 82ch; }
.section-head h2 { text-wrap: balance; }
#geo-check .grid { align-items: center; }
#geo-check .ai-icons { justify-content: flex-start; }
#geo-check .ai-icons span { width: 72px; height: 72px; border-radius: 14px; }
#geo-check .ai-icons img { width: 36px; height: 36px; }
@media (max-width: 1023px) { #geo-check .ai-icons { justify-content: flex-start; margin-top: var(--s-6); } #geo-check .ai-icons span { width: 72px; height: 72px; } #geo-check .ai-icons img { width: 36px; height: 36px; } }
@media (max-width: 639px) { #geo-check .ai-icons { gap: 12px; flex-wrap: nowrap; } #geo-check .ai-icons span { width: 60px; height: 60px; } #geo-check .ai-icons img { width: 30px; height: 30px; } }

/* footer */
.footer__logo { display: block; height: 20px; width: auto; margin-top: var(--s-6); }
.footer__lede { font: 400 16px/1.6 var(--font-text); letter-spacing: 0; color: var(--muted); }

/* Reste des Eltern-Themes, falls sie im Markup bleiben */
.site-header, #floating-cta { display: none !important; }
/* Datenschutz-Zustimmung im Kontaktformular */
.contact .check-field { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; font: 400 var(--t-small)/1.5 var(--font-text); color: var(--muted); }
.contact .check-field input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--purple); }
.contact .check-field a { color: var(--ink); }
.contact .check-field span { flex: 1 1 0; min-width: 0; }
.contact .check-field .field__error { flex: 0 0 100%; }
.dates .btn[disabled] { opacity: .5; cursor: not-allowed; }
