/* securely attached · Grundlage für Website und Kurs.
   Warm und ruhig: Papierton, Terrakotta für Handlungen, Salbei für «sicher» und «richtig». Details in DESIGN.md. */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/fraunces-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/fraunces-italic.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/figtree-normal.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/figtree-italic.woff2) format('woff2'); }

:root {
  /* Flächen */
  --bg: #fbf7f2; --surface: #fff; --sand: #f4ece3; --sand-2: #ece0d3;
  --line: #e9dfd4; --line-2: #dccfc1;
  /* Text */
  --ink: #2b2330; --ink-2: #4e4552; --muted: #6f6470;
  /* Farben mit Bedeutung */
  --brand: #b4503a; --brand-hover: #9b4130; --brand-soft: #f8e4da; --brand-ink: #8c3a28;
  --sage: #4d7c65; --sage-hover: #3f6955; --sage-soft: #e1eee6; --sage-ink: #2f5a45;
  --sun: #d9982e; --sun-soft: #fcf0d6; --sun-ink: #7d5512;
  --sky: #4f72a8; --sky-soft: #e4ebf6;
  --plum: #87649f; --plum-soft: #efe7f4;
  /* Form */
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(43,35,48,.05), 0 2px 10px rgba(43,35,48,.05);
  --shadow-2: 0 2px 4px rgba(43,35,48,.04), 0 12px 32px rgba(43,35,48,.09);
  --shadow-3: 0 24px 60px rgba(43,35,48,.16);
  --ring: 0 0 0 3px #fff, 0 0 0 5px var(--brand);
  /* Schrift */
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  /* Bewegung */
  --ease: cubic-bezier(.2,.8,.2,1); --ease-out: cubic-bezier(.16,1,.3,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em;
  font-variation-settings: 'opsz' 72, 'SOFT' 50; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; font-variation-settings: 'opsz' 24; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }
strong { font-weight: 650; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
::selection { background: var(--brand-soft); }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Raster und Helfer */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow, .wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 16px; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 650; color: var(--muted); margin: 0 0 12px; }
.big { font-family: var(--font-display); font-size: 1.9rem; font-weight: 560; margin: 0; line-height: 1.1; }
.good { color: var(--sage-ink); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 600px) and (max-width: 999px) { .grid-4 { grid-template-columns: 1fr 1fr; } }

/* Karten und Hinweise */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); margin-bottom: 20px; box-shadow: var(--shadow-1); }
.card > :last-child { margin-bottom: 0; }
.note { background: var(--sun-soft); border-color: #f2dfb5; box-shadow: none; }
.alert { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-soft); color: var(--brand-ink); border: 1px solid #f0cdbd;
  padding: 14px 18px; border-radius: var(--r); margin-bottom: 20px; animation: drop .4s var(--ease-out); }
.alert.ok { background: var(--sage-soft); color: var(--sage-ink); border-color: #c5dccf; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--sand); color: var(--ink-2); font-size: .85rem; font-weight: 550; white-space: nowrap; }
.pill .icon { width: 1.05em; height: 1.05em; }
.pill.sage { background: var(--sage-soft); color: var(--sage-ink); }
.pill.brand { background: var(--brand-soft); color: var(--brand-ink); }

/* Knöpfe: mindestens 44 px hoch, spürbares Drücken */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border: 0; border-radius: 99px; background: var(--brand); color: #fff; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -6px rgba(180,80,58,.55);
  transition: background .2s, transform .15s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow-right, .btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: var(--sand); color: var(--ink); }
.btn-soft { background: var(--brand-soft); color: var(--brand-ink); box-shadow: none; }
.btn-soft:hover { background: #f3d4c6; color: var(--brand-ink); }
.btn-quiet { background: var(--sand); color: var(--ink); box-shadow: none; }   /* zweiter Knopf neben dem Hauptknopf, z. B. Anmelden */
.btn-quiet:hover { background: var(--sand-2); color: var(--ink); }
.btn-sage { background: var(--sage); box-shadow: 0 6px 16px -6px rgba(77,124,101,.6); }
.btn-sage:hover { background: var(--sage-hover); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; margin-top: 12px; }
.btn.disabled, .btn:disabled { background: var(--sand-2); color: var(--muted); box-shadow: none; cursor: default; transform: none; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; padding: 8px 0; }
.link:hover { color: var(--ink); }

/* Formulare */
.form label, .field { display: grid; gap: 6px; margin-bottom: 16px; font-weight: 600; font-size: .95rem; }
input:not([type]), input[type=text], input[type=email], input[type=number], input[type=password], textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; font: inherit; font-weight: 400;
  font-size: 1.05rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:hover, textarea:hover { border-color: #c9b9a9; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
textarea { resize: vertical; line-height: 1.6; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.check.opt-in { display: flex; font-weight: 400; font-size: .92rem; background: var(--sage-soft); border-radius: var(--r); padding: 14px 16px; color: var(--ink); text-align: left; }
.check.opt-in strong { font-weight: 650; }
.form .check { display: flex; font-weight: 400; margin-bottom: 12px; }
.form .check + .btn { margin-top: 8px; }

/* Kopf und Fuss der Website */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1.08rem; letter-spacing: -.01em; }
.logo:hover { color: var(--ink); }
.logo em { font-family: var(--font-display); font-style: italic; font-weight: 450; }
.logo-mark svg { width: 30px; height: 30px; display: block; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251,247,242,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .row { justify-content: space-between; min-height: 68px; }
.site-header nav { display: flex; gap: 6px; align-items: center; }
.site-header nav a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 550; padding: 10px 12px; border-radius: 99px; }
.site-header nav a:not(.btn):hover { background: var(--sand); color: var(--ink); }
/* Sprachumschalter DE/EN (views/partials/lang_switch.php) */
.lang-switch { display: inline-flex; align-items: center; gap: 5px; font-size: .86rem; letter-spacing: .04em; }
.lang-switch .icon { width: 17px; height: 17px; }
/* Sprachwahl in der Kopfzeile (views/partials/lang_switch.php): sieht aus wie ein Menüpunkt, öffnet eine kleine Liste */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; cursor: pointer; padding: 10px 10px; border-radius: 99px; color: var(--ink-2); font-weight: 550; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover, .lang-menu[open] > summary { background: var(--sand); color: var(--ink); }
.lang-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 150px; padding: 6px; display: grid; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-3); }
.site-header .lang-pop a, .lang-pop span { display: block; padding: 9px 12px; border-radius: 10px; font-size: .95rem; text-decoration: none; color: var(--ink-2); }
.site-header .lang-pop a:hover { background: var(--sand); color: var(--ink); }
.lang-pop .on { color: var(--brand-ink); font-weight: 650; background: var(--brand-soft); }
@media (max-width: 480px) { .site-header nav { gap: 2px; } .lang-menu > summary { padding: 10px 6px; } .site-header .lang-switch .icon { display: none; } }
@media (max-width: 640px) { .site-header nav a.hide-sm { display: none; } .logo-text { font-size: 1rem; } }
/* Burger-Menü (Handy): Blog, Preise, Anmelden und Sprache; auf grösseren Bildschirmen ausgeblendet */
.nav-burger { display: none; position: relative; }
.nav-burger > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 99px; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.nav-burger > summary::-webkit-details-marker { display: none; }
.nav-burger > summary:hover, .nav-burger[open] > summary { background: var(--sand); }
.nav-burger > summary .icon { width: 24px; height: 24px; }
.nav-burger .i-close, .nav-burger[open] .i-open { display: none; }
.nav-burger[open] .i-close { display: block; }
.burger-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: min(300px, calc(100vw - 32px)); padding: 8px; display: grid; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-3); animation: rise .2s var(--ease-out); }
.site-header .burger-pop > a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; font-size: 1.02rem; color: var(--ink); }
.site-header .burger-pop > a .icon { width: 19px; height: 19px; color: var(--muted); }
.burger-langs { display: flex; align-items: center; gap: 4px; margin-top: 4px; padding: 12px 14px 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; letter-spacing: .04em; }
.burger-langs .icon { width: 17px; height: 17px; margin-right: 6px; }
.site-header .burger-langs a, .burger-langs span { padding: 6px 10px; border-radius: 99px; }
.burger-langs span { background: var(--brand-soft); color: var(--brand-ink); font-weight: 650; }
@media (max-width: 640px) {
  .nav-burger { display: block; }
  .site-header nav > .lang-menu { display: none; }
  .site-header nav { gap: 4px; }
}
@media (max-width: 360px) { .site-header nav .btn-sm { padding: 8px 12px; font-size: .88rem; } .site-header .logo-text { display: none; } }
/* Laufender Rabatt: schmal und ruhig, klebt mit der Navigation oben */
.offer-bar { background: var(--sun-soft); color: var(--sun-ink); border-bottom: 1px solid #f0d9a6; font-size: .86rem; line-height: 1.3; }
.offer-bar .wrap { display: flex; justify-content: center; align-items: center; gap: 6px 12px; min-height: 34px; padding-top: 4px; padding-bottom: 4px; }
.offer-bar .icon { width: 16px; height: 16px; }
.offer-bar-time { font-variant-numeric: tabular-nums; }
.offer-bar .countdown { font-weight: 750; }
.offer-bar a { display: inline-flex; align-items: center; gap: 4px; color: var(--sun-ink); font-weight: 650; text-decoration: none; padding: 4px 0; }
.offer-bar a:hover { color: var(--ink); }
.offer-bar a .icon { width: 14px; height: 14px; }
@media (max-width: 420px) { .offer-bar .hide-xs { display: none; } }

/* Rabatt-Popup nach dem Test */
.offer-modal .modal-card { text-align: center; }
.offer-pct { font-family: var(--font-display); font-size: clamp(3rem, 12vw, 4.2rem); font-weight: 560; line-height: 1; color: var(--brand); margin: 4px 0 10px; }
.offer-timer { display: inline-flex; align-items: center; gap: 8px; background: var(--sun-soft); color: var(--sun-ink); border-radius: 99px; padding: 8px 18px; margin: 4px 0 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.offer-timer .countdown { font-weight: 750; font-size: 1.1rem; }
.offer-modal .btn + .btn { margin-top: 10px; }
/* Geschenk-Link */
.gift-lessons { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.gift-lessons li { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.gift-lessons b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .9rem; }
.gift-lessons strong, .gift-lessons small { display: block; }
.gift-lessons small { color: var(--muted); font-size: .86rem; }
.gift-incl { padding: 18px 22px; }
.gift-incl .ticks { margin: 0; }
.gift-note { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-soft); color: var(--brand-ink); border-radius: var(--r); padding: 12px 16px; margin-bottom: 18px; font-size: .93rem; }
.gift-note .icon { flex: none; margin-top: 2px; }
main [id] { scroll-margin-top: 112px; } /* Sprungziele nicht unter der klebenden Kopfzeile verstecken */
.site-footer { background: var(--sand); padding: 56px 0 40px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid:has(> :nth-child(4)) { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.site-footer nav { display: grid; gap: 4px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.site-footer nav a:hover { color: var(--brand-ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-2); margin-top: 36px; padding-top: 20px; }

/* Abschnitte der Website */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 em { font-style: italic; font-weight: 450; color: var(--brand); }
.trust { display: grid; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--sage); }
.hero-visual { position: relative; }
.hero-visual .illo { border-radius: var(--r-xl); aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.hero-question { position: relative; margin: -48px 12px 0; max-width: 440px; box-shadow: var(--shadow-3); animation: rise .7s .15s var(--ease-out) backwards; }
/* Desktop: ganzes Bild (3:2) und die Frage nur am unteren Rand, damit die Menschen im Bild sichtbar bleiben */
@media (min-width: 960px) { .hero-visual .illo { aspect-ratio: 3 / 2; width: 88%; margin-left: auto; } .hero-question { margin: -84px auto 0 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.illo { display: block; width: 100%; height: auto; border-radius: var(--r); background: var(--sand); }
.illo-ph svg { display: block; width: 100%; height: 100%; }
.illo-ph { aspect-ratio: 4 / 3; overflow: hidden; }

.persona { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.persona .illo { border-radius: 0; aspect-ratio: 16 / 9; object-fit: cover; }
.persona-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.persona-body .btn { align-self: flex-start; margin-top: auto; }
.persona blockquote { margin: 4px 0 22px; }
.steps { counter-reset: step; }
.step { background: var(--surface); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); }
.step-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.step-icon .icon { width: 24px; height: 24px; }
.ticks { padding: 0; margin: 0 0 1em; list-style: none; }
.ticks li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d7c65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
blockquote { margin: 16px 0; padding: 16px 20px; border-left: 3px solid var(--brand); background: var(--bg); border-radius: 0 var(--r) var(--r) 0; color: var(--ink-2); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; font-variation-settings: 'opsz' 18; }
.chapter-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0; margin: 0; list-style: none; }
.chapter-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; font-weight: 550; }
.chapter-chips b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #fff; background: var(--c); }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow-1); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-weight: 650; padding: 18px 22px; list-style: none; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--muted); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }
.cta { background: var(--ink); color: #f5eee7; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; opacity: .35; }
.cta::before { width: 280px; height: 280px; background: var(--brand); right: -60px; top: -90px; }
.cta::after { width: 220px; height: 220px; background: var(--sage); right: 90px; bottom: -130px; mix-blend-mode: screen; }
.cta > * { position: relative; z-index: 1; }
.cta p { color: #d9cfd6; }

/* Test: Fragen, Fortschritt, Ladescreen */
.progress { height: 8px; background: var(--sand-2); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #d0745b); border-radius: 99px; transition: width .6s var(--ease-out); }
.big-progress { height: 10px; }
.q-label { color: var(--muted); font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.q-text { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-bottom: 4px; }
.choices { display: grid; gap: 10px; margin-top: 20px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; text-align: left; padding: 14px 52px 14px 18px;
  border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; font: inherit; font-size: 1.02rem; color: var(--ink);
  cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: border-color .18s, background .18s, transform .15s var(--ease), box-shadow .18s; }
.choice:hover { border-color: var(--ink-2); color: var(--ink); background: #fffdfb; }
.choice:active { transform: scale(.985); }
.choice::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all .2s var(--spring); }
.choice.on { border-color: var(--brand); background: #fff8f4; box-shadow: 0 0 0 3px var(--brand-soft); }
.choice.on::after { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; transform: scale(1.08); }
a.choice::after { border: 0; width: 20px; height: 20px; margin-top: -10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s var(--ease); }
a.choice:hover::after { transform: translateX(3px); }

.test-page { background: var(--bg); min-height: 100vh; }
.test-head { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); max-width: 720px; margin: 0 auto; min-height: 68px; }
.test-head .back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; visibility: hidden; padding: 10px 12px; border-radius: 99px; min-height: 44px; }
.test-head .back:hover { background: var(--sand); }
.test-main { max-width: 720px; margin: 0 auto; padding: 4px var(--gutter) 56px; }
.test-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-top: 10px; font-variant-numeric: tabular-nums; }
.stage { margin-top: 20px; }
.stage .card { padding: clamp(22px, 4vw, 40px); }
.enter { animation: enter .45s var(--ease-out); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
.leave { animation: leave .22s ease-in forwards; }
@keyframes leave { to { opacity: 0; transform: translateY(-10px); } }
.field-form { display: grid; gap: 14px; margin-top: 20px; }
.loading { position: fixed; inset: 0; background: var(--bg); display: grid; place-items: center; padding: var(--gutter); z-index: 40; }
.loading-inner { width: 100%; max-width: 480px; text-align: center; }
.loading .progress { margin: 26px 0 14px; }
.loading-orb { width: 120px; height: 90px; margin: 0 auto 24px; position: relative; }
.loading-orb i { position: absolute; top: 15px; width: 60px; height: 60px; border-radius: 50%; }
.loading-orb i:first-child { left: 18px; background: var(--brand); opacity: .85; animation: orbL 2.4s var(--ease) infinite; }
.loading-orb i:last-child { right: 18px; background: var(--sage); mix-blend-mode: multiply; opacity: .85; animation: orbR 2.4s var(--ease) infinite; }
@keyframes orbL { 50% { transform: translateX(12px); } }
@keyframes orbR { 50% { transform: translateX(-12px); } }
.modal { position: fixed; inset: 0; background: rgba(43,35,48,.42); backdrop-filter: blur(4px); display: grid; place-items: center; padding: var(--gutter); z-index: 50; animation: fadeIn .25s; }
.modal[hidden], .loading[hidden] { display: none; }
.modal-card { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 5vw, 40px); max-width: 460px; width: 100%; box-shadow: var(--shadow-3); animation: pop .4s var(--spring); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.94) translateY(8px); opacity: 0; } }

/* Ergebnis */
.result-hero { padding-top: clamp(32px, 6vw, 64px); }
.result-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .result-grid { grid-template-columns: 1fr 420px; gap: 56px; } }
.result-hero h1 .style-name { font-style: italic; font-weight: 450; }
.mix { padding: 28px; }
.mix-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label pct" "bar bar"; gap: 6px 12px; align-items: center; margin: 14px 0; font-weight: 550; }
.mix-label { grid-area: label; } .mix-bar { grid-area: bar; } .mix-pct { grid-area: pct; }
.mix-bar { height: 12px; background: var(--sand); border-radius: 99px; overflow: hidden; }
.mix-bar span { display: block; height: 100%; border-radius: 99px; transform-origin: left; animation: grow 1.2s var(--ease-out) backwards; }
.mix-row:nth-child(3) .mix-bar span { animation-delay: .1s; } .mix-row:nth-child(4) .mix-bar span { animation-delay: .2s; } .mix-row:nth-child(5) .mix-bar span { animation-delay: .3s; }
@keyframes grow { from { transform: scaleX(0); } }
.mix-pct { text-align: right; font-variant-numeric: tabular-nums; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* Preise */
.pricing { max-width: 1160px; margin: 0 auto; }
.anchor { text-align: center; max-width: 560px; margin: 0 auto 24px; background: linear-gradient(160deg, #fff, var(--brand-soft)); border-color: #f1d5c8; }
.anchor-price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 560; margin: 0 0 .2em; }
.anchor-price span { font-family: var(--font); font-size: 1rem; font-weight: 400; color: var(--muted); }
.offer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; background: var(--sun-soft); color: var(--sun-ink); border: 1px solid #f0d9a6; border-radius: 99px; padding: 10px 18px; margin: 0 auto 20px; width: fit-content; max-width: 100%; font-weight: 550; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 750; }
.once { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 auto 28px; color: var(--ink-2); }
.once .icon { color: var(--sage); }
.tier-cards { align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; margin: 0; transition: transform .25s var(--ease), box-shadow .25s; }
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tier { min-width: 0; }
.tier h3 { font-size: 1.45rem; margin-bottom: 2px; hyphens: auto; overflow-wrap: break-word; }   /* lange Namen wie «Approfondissement» trennen statt überlaufen */
.tier .ticks { flex: 1; margin-top: 18px; font-size: .95rem; }
.tier.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-2); background: linear-gradient(180deg, #fffaf7, #fff 40%); }
@media (min-width: 1000px) { .tier.featured { transform: translateY(-10px); } .tier.featured:hover { transform: translateY(-13px); } }
.tag { position: absolute; top: -13px; left: 24px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 650; padding: 4px 12px; border-radius: 99px; }
.tier.featured .tag { background: var(--brand); }
.price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 560; margin: 14px 0 0; line-height: 1.1; }
.price.reduced { color: var(--brand); }   /* günstiger als der Listenpreis: Upgrade mit Anrechnung oder Rabatt */
.price span { font-family: var(--font); font-size: .95rem; font-weight: 400; color: var(--muted); }
.was { text-decoration: line-through; color: var(--muted); margin: 10px 0 -10px; font-size: .95rem; }
.summary .row { padding: 8px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 1.2rem; }
.table { width: 100%; border-collapse: collapse; }
.table td { padding: 12px 6px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }

/* Auth-Seiten: Formular neben einem ruhigen Bild */
.auth { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .auth { grid-template-columns: 1fr 1fr; gap: 56px; } }
.auth .illo { border-radius: var(--r-xl); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 899px) { .auth .auth-visual { display: none; } }

/* Bewegung auf der Startseite: kurzes Logo beim ersten Besuch pro Sitzung, dann gestaffelter Hero, beim Scrollen sanftes Einblenden (reveal.js) */
.intro { display: none; }
.intro .intro-mark { position: relative; width: 60px; height: 34px; }
.intro .intro-mark i { position: absolute; top: 0; left: 13px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); animation: introL .5s var(--ease-out) backwards; }
.intro .intro-mark i:last-child { background: var(--sage); mix-blend-mode: multiply; animation-name: introR; }
html.intro-on { --d0: .5s; }
html.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--bg); pointer-events: none; animation: introOut .35s .5s ease forwards; }
@keyframes introL { from { opacity: 0; transform: translateX(-18px); } to { transform: translateX(-8px); } }
@keyframes introR { from { opacity: 0; transform: translateX(18px); } to { transform: translateX(8px); } }
.intro .intro-mark i { transform: translateX(-8px); } .intro .intro-mark i:last-child { transform: translateX(8px); }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.hero-grid > div:first-child > * { animation: rise .7s calc(var(--d0, 0s) + var(--i, 0) * 70ms) var(--ease-out) backwards; }
.hero-grid > div:first-child > :nth-child(2) { --i: 1; } .hero-grid > div:first-child > :nth-child(3) { --i: 2; }
.hero-grid > div:first-child > :nth-child(4) { --i: 3; } .hero-grid > div:first-child > :nth-child(5) { --i: 4; }
.hero-visual .illo { animation: heroImg .9s calc(var(--d0, 0s) + .05s) var(--ease-out) backwards; }
@keyframes heroImg { from { opacity: 0; transform: scale(1.015); } }
.hero-question { animation-delay: calc(var(--d0, 0s) + .25s); }
.rv:not(.in) { opacity: 0; }
.rv.in { animation: reveal .75s var(--ease-out) backwards; }
@keyframes reveal { from { opacity: 0; translate: 0 14px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 480px) { .site-header nav .hide-xs { display: none; } }
.logo, .site-header nav .btn { white-space: nowrap; }

/* «Du bist nicht allein»: echte Zahl oder allgemeiner Satz */
.peers { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.peers .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--sage); }
.lesson-start .peers { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; }

/* Anmelden mit Google: Farben nach den Vorgaben von Google, Form wie unsere Knöpfe */
.social-login { margin-bottom: 4px; }
.social-login .btn-block { margin-top: 0; }
.btn-social { gap: 12px; font-weight: 600; }
.btn-social svg { flex: none; }
.btn-google { background: #fff; color: #1f1f1f; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-google:hover { background: #f8f6f3; color: #1f1f1f; }
.or { display: flex; align-items: center; gap: 14px; margin: 22px 0 18px; color: var(--muted); font-size: .88rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Anmelden per Link */
.pw-login { margin-top: 18px; }
.pw-login summary { cursor: pointer; color: var(--muted); font-size: .92rem; text-align: center; list-style: none; padding: 6px 0; }
.pw-login summary::-webkit-details-marker { display: none; }
.pw-login summary:hover { color: var(--ink); }
.pw-login[open] summary { margin-bottom: 12px; }
.sent-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage); margin-bottom: 18px; animation: rise .6s var(--ease-out) backwards; }
.sent-mark .icon { width: 30px; height: 30px; }
.sent-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--ink-2); font-size: .95rem; }
.sent-tips li { display: flex; gap: 10px; align-items: flex-start; }
.sent-tips .icon { flex: none; width: 20px; height: 20px; color: var(--sage); margin-top: 2px; }

/* Startseite: die vier Bindungsstile auf einen Blick */
.style-overview { align-items: stretch; }
.style-card { display: flex; flex-direction: column; margin: 0; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.style-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.style-card h3 { margin: 0 0 4px; }
.style-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-bottom: 14px; }
.style-axes { font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }
.style-card .muted { flex: 1; }
.arrow-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .93rem; color: var(--brand-ink); margin-top: 6px; }
.style-card:hover .arrow-more .icon { transform: translateX(3px); }
.arrow-more .icon { transition: transform .2s var(--ease); }

/* Test: aufklappbare Erklärung unter den Fragen (auch für Suchmaschinen) */
.test-about { margin: 40px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
.test-about summary { display: flex; justify-content: center; align-items: center; gap: 6px; cursor: pointer; list-style: none; color: var(--muted); font-size: .92rem; min-height: 44px; }
.test-about summary::-webkit-details-marker { display: none; }
.test-about summary .icon { transition: transform .25s var(--ease); }
.test-about[open] summary .icon { transform: rotate(180deg); }
.test-about-body { color: var(--ink-2); font-size: .97rem; padding: 8px 0 24px; }
.test-about-body h2 { font-size: 1.3rem; margin-top: 12px; }
.test-about-body h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.test-about-body ul { padding-left: 20px; }

/* Startseite (.home-hero) auf Handy und Tablet: Das Bild liegt als Hintergrund über die ganze Breite und blendet nach unten in die
   Hintergrundfarbe aus. Darauf zuoberst die erste Frage, darunter Titel, Einleitung und Vertrauenspunkte.
   Die beiden Spalten lösen sich auf (display: contents), die Reihenfolge setzt «order».
   Eyebrow und Knopf «Test starten» entfallen dort, die Frage ist der Start. Auf der alten Seite gingen 93 % vor der ersten Frage. */
@media (max-width: 959px) {
  .home-hero { position: relative; padding-top: 0; }
  .home-hero .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .home-hero .hero-grid > div:first-child, .home-hero .hero-visual { display: contents; }
  .home-hero .hero-visual .illo { position: absolute; top: 0; left: 0; right: 0; z-index: 0; width: 100%; height: clamp(280px, 62vw, 460px); margin: 0;
    aspect-ratio: auto; object-fit: cover; object-position: center 35%; border-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); }
  .home-hero .hero-question, .home-hero h1, .home-hero .lead, .home-hero .trust { position: relative; z-index: 1; }
  .home-hero .eyebrow, .home-hero .hero-grid > div:first-child > .btn { display: none; }
  .home-hero .hero-question { order: 1; margin: clamp(150px, 34vw, 260px) 0 0; max-width: none; box-shadow: var(--shadow-3); }
  .home-hero h1 { order: 2; font-size: clamp(1.75rem, 7.4vw, 2.4rem); margin: 32px 0 12px; }
  .home-hero .lead { order: 3; margin: 0; font-size: 1.05rem; }
  .home-hero .trust { order: 4; margin-top: 18px; }
}

/* Quellen: Link zur Studie (doi.org) hinter der Angabe */
.src-link { white-space: nowrap; font-size: .92em; color: var(--brand-ink); }
.src-link::after { content: " ↗"; }
