/* ==========================================================
   werkstatt.ch – Auftritt 2026 «Swiss Clean»
   Ruhig, hell, präzise. Farbe kommt von den Script-Covern,
   Schweizer Rot nur für Handlungen.
   ========================================================== */
:root {
  --paper: #FFFFFF;
  --paper-2: #F5F5F7;
  --card: #FFFFFF;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --line: #E5E5EA;
  --line-2: #D2D2D7;
  --surface: #FFFFFF;
  --stage: #000000;
  --head-bg: rgba(255,255,255,.78);
  --red: #D52B1E;
  --red-2: #B8231A;
  --saffron: #D52B1E;
  --swiss: #D52B1E;
  --serif: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Instrument Sans", system-ui, sans-serif;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 12px 32px -18px rgba(0,0,0,.18);
  --shadow-lg: 0 30px 60px -30px rgba(0,0,0,.35);
  --wrap: 1080px;
  --wide: 1360px;
}
body { background: var(--paper); font-size: 17px; line-height: 1.55; font-feature-settings: "tnum" 0; letter-spacing: -.005em; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 650; letter-spacing: -.028em; line-height: 1.06; font-variation-settings: normal; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; }
a:hover { text-decoration-color: currentColor; }
::selection { background: #FFD9D6; }
.eyebrow { font: 600 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--red); }
.eyebrow a { color: inherit; }
.section__lead { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; max-width: 46ch; }
.fineprint { color: var(--muted); }

/* Knöpfe */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: 0; box-shadow: none; transition: background .2s, color .2s, border-color .2s; }
.btn--accent { background: var(--red); color: #fff; border-color: var(--red); }
.btn--accent:hover { background: var(--red-2); border-color: var(--red-2); color: #fff; transform: none; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.link-more { color: var(--red); font-weight: 600; text-decoration: none; font-size: 1.05rem; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-more::after { content: " ›"; }

/* Kopf */
.site-head { background: var(--head-bg); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(0,0,0,.08); box-shadow: none; }
.site-head__in { min-height: 64px; max-width: var(--wide); }
/* Originallogo (Fraunces-Wortmarke wie im Logo-Bild) */
.logo { gap: 2px; }
.logo__word { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 24px; letter-spacing: -.02em; font-variation-settings: "SOFT" 0, "opsz" 48; }
.logo__since { font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.logo__tag { font-size: 9.5px; letter-spacing: .04em; color: var(--ink-2); border-top: 1px solid var(--line-2); padding-top: 3px; }
.logo__flag { width: 10px; height: 10px; margin: 0 0 3px 2px; }
.site-foot .logo { color: var(--ink); }
.site-foot .logo__since, .site-foot .logo__tag { color: var(--muted); border-color: var(--line-2); }
.site-foot .logo__word { font-size: 28px; }
.mainnav a { font: 500 14px/1 var(--sans); color: var(--ink-2); padding: 8px 10px; border-radius: 8px; background: none; letter-spacing: 0; }
.mainnav a:hover { color: var(--ink); background: none; }
.mainnav a.is-active { color: var(--ink); background: none; font-weight: 650; }
.mainnav .chip { border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; }
.mainnav .chip--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-btn { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.cart-btn__n { background: var(--red); color: #fff; }

/* Fuss */
.site-foot { background: var(--paper-2); color: var(--ink-2); border-top: 1px solid var(--line); font-size: 13.5px; }
.site-foot h4 { font: 650 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.site-foot a { color: var(--ink-2); }
.site-foot__base { color: var(--muted); border-top: 1px solid var(--line-2); }

/* Kopfbereiche der Unterseiten */
.pagehead { background: var(--paper); }
.pagehead h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.pagehead__img { border-radius: var(--r-lg); box-shadow: none; transform: none; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--mist { background: var(--paper-2); }

/* ---------- Startseite ---------- */
.n-hero { padding: clamp(48px, 7vw, 92px) 0 0; text-align: center; overflow: hidden; }
.n-hero__greet { margin: 0 0 14px; color: var(--muted); font-size: 17px; }
.n-hero h1 { font-size: clamp(2.8rem, 7.2vw, 6rem); letter-spacing: -.045em; line-height: .98; margin: 0 auto .32em; max-width: 13ch; }
.n-hero__lead { margin: 0 auto; max-width: 38ch; color: var(--ink-2); font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.4; letter-spacing: -.012em; }
.n-hero__cta { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 30px 0 0; }
.n-hero__cta .btn { padding: 13px 26px; font-size: 1.02rem; }
.n-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.n-head h2 { margin-bottom: .3em; }
.n-head p { margin: 0 auto; color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; max-width: 46ch; }

/* Drei Lehrgänge */
.n-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); }
.n-path { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; background: #222; }
.n-path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.n-path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.72)); }
.n-path:hover img { transform: scale(1.04); }
.n-path__t { position: relative; z-index: 1; padding: 26px; }
.n-path h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 6px; color: #fff; }
.n-path p { margin: 0; color: rgba(255,255,255,.86); font-size: 15.5px; line-height: 1.45; }
@media (max-width: 860px) { .n-paths { grid-template-columns: 1fr; } .n-path { min-height: 360px; } }

/* Training: dunkle Bühne */
.n-dark { background: var(--stage); color: #F5F5F7; }
.n-dark h2 { color: #fff; }
.n-dark .n-head p { color: #A1A1A6; }
.n-ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; max-width: 980px; margin: 0 auto; counter-reset: lv; }
.n-step { position: relative; padding: 26px 22px 24px; background: #161617; }
.n-step:first-child { border-radius: 18px 0 0 18px; } .n-step:last-child { border-radius: 0 18px 18px 0; }
.n-step__bar { display: flex; gap: 4px; margin-bottom: 18px; }
.n-step__bar i { flex: 1; height: 4px; border-radius: 2px; background: #3A3A3C; }
.n-step__bar i.on { background: var(--red); }
.n-step h3 { color: #fff; font-size: 1.35rem; letter-spacing: .02em; margin: 0 0 4px; }
.n-step p { margin: 0; color: #A1A1A6; font-size: 14.5px; line-height: 1.45; }
.n-dark__cta { display: flex; justify-content: center; gap: 22px; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.n-dark .link-more { color: #FF6B5E; }
.n-dark .btn--ghost { color: #fff; border-color: #48484A; }
@media (max-width: 760px) { .n-ladder { grid-template-columns: 1fr 1fr; } .n-step { border-radius: 0 !important; } .n-ladder { border-radius: 18px; overflow: hidden; } }
.n-facts { display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px); flex-wrap: wrap; margin: 44px auto 0; padding: 0; list-style: none; text-align: center; }
.n-facts li { color: #A1A1A6; font-size: 15px; }
.n-facts b { display: block; color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; }

/* Fallstudien */
.n-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: var(--wrap); margin: 0 auto; }
.n-case { background: var(--surface); border-radius: 22px; padding: clamp(24px, 3vw, 36px); }
.n-case h3 { font-size: 1.5rem; margin: 0 0 4px; }
.n-case > p { color: var(--muted); margin: 0 0 18px; font-size: 15.5px; }
.n-case ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; font-size: 15px; }
.n-case li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.n-case li span { color: var(--muted); }
@media (max-width: 760px) { .n-cases { grid-template-columns: 1fr; } }

/* Preise */
.n-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: var(--wrap); margin: 0 auto; }
.n-price > div { border: 1px solid var(--line-2); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; }
.n-price > div.is-main { border: 2px solid var(--ink); }
.n-price h3 { font-size: 1.1rem; margin: 0 0 14px; color: var(--ink-2); }
.n-price b { font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.035em; line-height: 1; }
.n-price p { color: var(--muted); font-size: 15px; margin: 12px 0 20px; flex: 1; }
.n-price form, .n-price .btn { align-self: flex-start; }
@media (max-width: 860px) { .n-price { grid-template-columns: 1fr; } }
.n-pay { text-align: center; color: var(--muted); font-size: 15px; margin: 26px auto 0; max-width: 60ch; }

/* Gründer */
.n-founder { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 920px; margin: 0 auto; }
.n-founder img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.n-founder blockquote { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.n-founder p { color: var(--muted); margin: 16px 0 20px; }
@media (max-width: 760px) { .n-founder { grid-template-columns: 1fr; text-align: center; } .n-founder img { width: 180px; margin: 0 auto; } }

/* FAQ ruhig */
.faq__item { background: transparent; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line-2); }
.faq__item summary { font: 600 1.12rem/1.35 var(--sans); padding: 22px 48px 22px 0; letter-spacing: -.01em; }
.faq__item summary::after { background: transparent; color: var(--ink); font-size: 24px; font-weight: 400; right: 0; }
.faq__item p { padding: 0 0 22px; }
.faq__list { margin: 0 auto; }

/* Produktkarten, Lehrgang-Kennzeichen, Hinweise */
.card, .product { border-radius: 20px; box-shadow: none; border: 1px solid var(--line); background: var(--surface); }
.tk-badge { background: var(--ink); color: #fff; border-radius: 6px; font: 600 12px/1 var(--sans); text-transform: none; letter-spacing: 0; }
.tk-badge--all { background: var(--paper-2); color: var(--ink-2); }
.deal { background: var(--paper-2); border: 0; border-radius: 16px; }
.lvl { border-radius: 6px; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 650; }
.fall-guest { background: var(--paper-2); border-radius: 14px; padding: 14px 18px; margin: 0 0 22px; }
.fall-guest a { color: var(--red); font-weight: 600; }

/* ---------- Scripte: Raster wie ein Store ---------- */
.grid[data-grid] { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 0; background: var(--paper-2); border-radius: 22px; transition: none; }
.card:hover { transform: none; box-shadow: none; }
.card__cover { background: var(--paper-2) !important; padding: 28px 28px 8px; border: 0; }
.card__cover img { width: 70%; margin: 0 auto; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 20px 34px -20px rgba(0,0,0,.45); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.card__cover:hover img { transform: translateY(-6px); }
.card__peek { background: rgba(255,255,255,.92); color: var(--ink); font: 600 12.5px/1 var(--sans); border-radius: 99px; box-shadow: none; }
.card__body { padding: 16px 22px 22px; display: flex; flex-direction: column; flex: 1; background: var(--paper-2); }
.card__title { font-size: 1.15rem; letter-spacing: -.015em; margin: 0 0 6px; }
.card .tk-badge { align-self: flex-start; font-size: 12px; padding: 4px 8px; margin-bottom: 8px; }
.card .tk-badge--all { background: var(--surface); }
.card__sub { color: var(--muted); font-size: 13.5px; margin: 0 0 8px; }
.card__text { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 0 0 12px; }
.card__points { display: none; }
.card__buy { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { font-size: 1.15rem; font-weight: 650; letter-spacing: -.015em; }
.card__price small { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.card .btn--small { background: var(--ink); color: #fff; border: 0; }
.card .btn--small:hover { background: #000; }
.card__cover::before, .card__cover::after, .card::before, .card::after { display: none !important; }

/* ---------- Startseite: Bewegung ---------- */
/* Schlagzeile: Wörter steigen nacheinander auf (einmal beim Laden) */
@media (prefers-reduced-motion: no-preference) {
  .n-words span { display: inline-block; animation: nWord .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--w) * 90ms + 80ms); }
  @keyframes nWord { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } }
  .n-hero__lead, .n-hero__cta { animation: nWord .9s cubic-bezier(.2,.8,.2,1) .45s both; }
}

/* Stufen füllen sich nacheinander */
.n-step__bar i.on { background: #3A3A3C; position: relative; overflow: hidden; }
.n-step__bar i.on::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.n-ladder.is-in .n-step__bar i.on::after { transform: scaleX(1); }
.n-ladder.is-in .n-step:nth-child(1) i.on::after { transition-delay: .1s; }
.n-ladder.is-in .n-step:nth-child(2) i:nth-child(1)::after { transition-delay: .5s; } .n-ladder.is-in .n-step:nth-child(2) i:nth-child(2)::after { transition-delay: .7s; }
.n-ladder.is-in .n-step:nth-child(3) i:nth-child(1)::after { transition-delay: 1s; } .n-ladder.is-in .n-step:nth-child(3) i:nth-child(2)::after { transition-delay: 1.2s; } .n-ladder.is-in .n-step:nth-child(3) i:nth-child(3)::after { transition-delay: 1.4s; }
.n-ladder.is-in .n-step:nth-child(4) i:nth-child(1)::after { transition-delay: 1.7s; } .n-ladder.is-in .n-step:nth-child(4) i:nth-child(2)::after { transition-delay: 1.9s; } .n-ladder.is-in .n-step:nth-child(4) i:nth-child(3)::after { transition-delay: 2.1s; } .n-ladder.is-in .n-step:nth-child(4) i:nth-child(4)::after { transition-delay: 2.3s; }
.n-step h3 { transition: color .4s; }
@media (prefers-reduced-motion: reduce) { .n-step__bar i.on::after { transform: none; transition: none; } }

/* Film */
.n-film__frame { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.n-film__frame video { width: 100%; height: auto; display: block; border-radius: 22px; background: var(--paper-2); box-shadow: 0 40px 80px -50px rgba(0,0,0,.45); }
.n-film__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; background: rgba(29,29,31,.82); color: #fff; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .25s, background .25s; }
.n-film__play:hover { transform: scale(1.06); background: var(--red); }
.n-film__play svg { width: 34px; height: 34px; margin-left: 5px; }
.n-film__frame.is-playing .n-film__play { opacity: 0; pointer-events: none; }

/* ===== Unterseiten: ruhig, gerade, monochrom ===== */
/* keine schiefen Bilder, Stempel und Pins mehr */
.pagehead__img, .contact__info img, .thanks > img, .script-head img { transform: none; }
.card:hover .card__cover img { transform: translateY(-4px); }
.cart-btn:hover { transform: none; }
.portrait { transform: none; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.portrait img { border-radius: 28px; aspect-ratio: 4/5; box-shadow: 0 30px 60px -36px rgba(0,0,0,.35); }
.portrait figcaption, .portrait__pin { display: none; }
.stamp, .soon__badge { transform: none; border: 0; background: var(--ink); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.soon__badge { width: 120px; height: 120px; }
.script-head img { box-shadow: 0 20px 40px -24px rgba(0,0,0,.45); border-radius: 4px; }

/* Karten ohne farbige Kopfbalken */
.trio__item { border: 0; background: var(--paper-2); border-radius: 24px; padding: 32px 30px 30px; }
.trio__item::before { display: none; }
.trio__item:hover { transform: none; box-shadow: none; }
.trio__icon { background: var(--surface); color: var(--ink); border-radius: 14px; }
.trio__item h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.motto p { font-family: var(--sans); font-style: normal; font-weight: 650; letter-spacing: -.035em; }
.motto--small p { color: #A1A1A6; font-weight: 500; }

/* Cockpit-Kennzahlen */
.kpi { border: 0; background: var(--paper-2); border-radius: 18px; }
.kpi::before { display: none; }
.kpi:hover { transform: none; box-shadow: none; background: #EDEDF0; }
.kpi b { font-family: var(--sans); font-weight: 650; letter-spacing: -.03em; }
.stats div { border: 0; background: var(--paper-2); border-radius: 16px; }
.stats b { font-family: var(--sans); font-weight: 650; letter-spacing: -.03em; }

/* Fallstudien-Kacheln: weiss, ruhig, PT als kleines Etikett */
.fall { --pt: var(--ink); --pt2: var(--ink); border: 0; background: var(--paper-2); box-shadow: none; border-radius: 22px; }
.fall--pt3 { --pt: var(--ink); --pt2: var(--ink); }
.fall:hover { transform: none; box-shadow: none; background: #EDEDF0; }
.fall__top { background: none; color: var(--ink); padding: 18px 20px 0; }
.fall__top::after { display: none; }
.fall__pt { background: var(--ink); color: #fff; font-family: var(--sans); letter-spacing: .02em; }
.fall--pt3 .fall__pt { background: var(--red); }
.fall__nr { font-family: var(--sans); font-weight: 650; font-size: 1.05rem; color: var(--muted); }
.fall__hk { font-family: var(--sans); color: var(--muted); letter-spacing: 0; }
.fall__body { padding: 14px 20px 6px; }
.fall__body h3 span { font-family: var(--sans); font-weight: 650; letter-spacing: -.025em; color: var(--ink); }
.fall__br { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 500; }
.fall__foot { border-top: 1px solid var(--line-2); padding: 14px 20px 20px; }
.fall__dots i.on { background: var(--red); }
.fall__meta { font-family: var(--sans); }
.fall-filter button { border-color: var(--line-2); background: var(--surface); }
.fall-filter button.is-on { background: var(--ink); color: #fff; }
.fall-teaser { background: var(--ink); color: #F5F5F7; }
.fall-teaser strong { font-family: var(--sans); letter-spacing: -.02em; }
.fall-teaser__k { font-family: var(--sans); text-transform: none; letter-spacing: 0; color: #A1A1A6; }
.fall-howto { border: 0; background: var(--paper-2); }
.soon { border: 0; background: var(--paper-2); border-radius: 28px; }
.soon--empty .soon__badge { background: var(--surface); color: var(--ink); }
.contact__info .biglink { white-space: nowrap; font-size: clamp(1.05rem, 4.6vw, 1.5rem); }

/* ===== Startseite v2: Führung ===== */
.ico { width: 28px; height: 28px; display: block; }
/* Kapitel-Leiste mit Symbolen */
.n-chap { border-bottom: 1px solid var(--line); background: var(--surface); }
.n-chap ul { display: flex; justify-content: center; gap: clamp(8px, 3vw, 44px); list-style: none; margin: 0 auto; padding: 14px var(--gutter) 12px; max-width: var(--wide); overflow-x: auto; scrollbar-width: none; }
.n-chap ul::-webkit-scrollbar { display: none; }
.n-chap a { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 72px; padding: 4px 6px; color: var(--ink); text-decoration: none; font-size: 12.5px; font-weight: 500; border-radius: 10px; }
.n-chap a:hover { color: var(--red); }
.n-chap a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 640px) { .n-chap ul { justify-content: flex-start; } .n-chap a { min-width: 64px; } }

/* Alle 24 Scripte als Wand */
.n-wall { margin-top: clamp(40px, 6vw, 64px); padding: clamp(28px, 4vw, 48px) var(--gutter) 22px; background: linear-gradient(#fff, var(--paper-2) 120px); }
.n-wall__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(10px, 1.6vw, 22px); max-width: 1120px; margin: 0 auto; }
.n-wall__grid button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 5px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.n-wall__grid img { display: block; width: 100%; aspect-ratio: 560 / 792; object-fit: cover; border-radius: 5px; background: var(--surface); box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 14px 26px -16px rgba(0,0,0,.42); }
.n-wall__grid button:hover, .n-wall__grid button:focus-visible { transform: translateY(-8px); }
.n-wall__grid button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.n-wall__cap { text-align: center; margin: 22px 0 0; color: var(--muted); font-size: 15px; min-height: 1.5em; }
.n-wall__cap b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .n-wall__grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 560px) { .n-wall__grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
@media (prefers-reduced-motion: no-preference) {
  .n-wall__grid button { animation: nTile .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 28ms + 450ms); }
  @keyframes nTile { from { opacity: 0; transform: translateY(26px); } }
}

/* Drei Schritte */
.n-how__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding-top: 0; padding-bottom: 0; }
.n-how__list li { background: var(--paper-2); border-radius: 24px; padding: 30px 28px; display: flex; flex-direction: column; }
.n-how__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; margin-bottom: 22px; color: var(--ink); }
.n-how__list h3 { font-size: 1.4rem; letter-spacing: -.02em; margin: 0 0 8px; }
.n-how__list h3 span { color: var(--red); margin-right: 4px; }
.n-how__list p { margin: 0 0 18px; color: var(--ink-2); flex: 1; }
@media (max-width: 820px) { .n-how__list { grid-template-columns: 1fr; } }

/* Leseprobe mit Buch, das sich öffnet */
.n-read__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1080px; margin: 0 auto clamp(48px, 7vw, 90px); }
.n-read__book { --W: clamp(150px, 19vw, 230px); position: relative; justify-self: end; width: var(--W); height: calc(var(--W) * 1.414); margin-left: var(--W); padding: 0; border: 0; background: none; cursor: pointer; perspective: 2200px; }
.n-read__page, .n-read__front, .n-read__back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.n-read__page { left: 0; border-radius: 0 4px 4px 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.n-read__cover { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; transition: transform 1.6s cubic-bezier(.45,.05,.2,1) .2s; }
.n-read__front, .n-read__back { backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 4px; }
.n-read__front { box-shadow: 0 30px 60px -26px rgba(0,0,0,.5); }
.n-read__back { transform: rotateY(180deg); border-radius: 4px 0 0 4px; box-shadow: inset -18px 0 26px -18px rgba(0,0,0,.25); }
.n-read__book { transition: transform 1.6s cubic-bezier(.45,.05,.2,1) .2s; transform: translateX(calc(var(--W) * -.5)); }
.n-read__book.is-open { transform: none; }
.n-read__book.is-open .n-read__cover { transform: rotateY(-180deg); }
.n-read__txt h2 { margin: 0 0 .35em; }
.n-read__txt p { color: var(--ink-2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; margin: 0 0 24px; max-width: 46ch; }
.n-read__cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
@media (max-width: 820px) {
  .n-read__in { grid-template-columns: 1fr; text-align: center; }
  .n-read__book { justify-self: center; }
  .n-read__txt p { margin-inline: auto; } .n-read__cta { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .n-read__book, .n-read__cover { transition: none; } }
.n-path__more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; color: #fff; }
.n-path__more::after { content: " ›"; }

/* Warum werkstatt.ch – Symbole */
.n-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding-top: 0; padding-bottom: 0; }
.n-why__grid li { background: var(--surface); border-radius: 22px; padding: 28px 26px; }
.n-why__grid .ico { width: 34px; height: 34px; color: var(--red); margin-bottom: 18px; }
.n-why__grid h3 { font-size: 1.15rem; letter-spacing: -.015em; margin: 0 0 6px; }
.n-why__grid p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
@media (max-width: 900px) { .n-why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .n-why__grid { grid-template-columns: 1fr; } }
.n-center { text-align: center; margin-top: 30px; }
.n-film__play { left: calc(var(--gutter) + 22px); top: auto; bottom: 22px; width: auto; height: auto; margin: 0; padding: 12px 20px 12px 16px; border-radius: 99px; gap: 10px; display: inline-flex; align-items: center; font: 600 15px/1 var(--sans); }
.n-film__play svg { width: 18px; height: 18px; margin: 0; }
.n-film__play small { font-weight: 500; opacity: .7; }
.n-film__play:hover { transform: none; }
/* Leseprobe-Ansicht: neutrales Schwarz, ruhige Beschriftung */
.li, .li__full { background: #000; }
.li__kind { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 600; background: none; color: #A1A1A6; padding: 0; }
.li__kind { font-size: 15px; vertical-align: baseline; margin-right: 4px; }

/* ===== Startseite v3: erster Bildschirm, Kacheln, Bewegung ===== */
.n-top { padding-top: clamp(36px, 5vw, 64px); overflow: hidden; }
.n-top__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.n-top__txt h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); letter-spacing: -.045em; line-height: .98; margin: 0 0 .3em; }
.n-top__txt .n-hero__lead { margin: 0; max-width: 34ch; font-size: 1.12rem; }
.n-top__txt .n-hero__cta { justify-content: flex-start; }
.n-top__film { position: relative; padding-top: 34px; }
.n-top__film .n-film__frame { padding: 0; max-width: none; }
.n-top__film video { border-radius: 20px; box-shadow: 0 40px 80px -46px rgba(0,0,0,.5); }
.n-top__film .n-film__play { left: 16px; bottom: 16px; }
.n-film__frame.is-sound .n-film__play { opacity: 0; pointer-events: none; }
/* Pfeil «Reinschauen» */
.n-peek { position: absolute; left: -96px; top: -18px; margin: 0; display: flex; align-items: flex-start; gap: 4px; color: var(--red); font-weight: 650; font-size: 17px; letter-spacing: -.01em; pointer-events: none; }
.n-peek span { transform: translateY(2px); }
.n-peek svg { width: 92px; height: 56px; margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .n-peek span { animation: nWord .7s cubic-bezier(.2,.8,.2,1) 1.1s both; }
  .n-peek__line { stroke-dasharray: 130; stroke-dashoffset: 130; animation: nDraw .9s cubic-bezier(.5,0,.2,1) 1.3s forwards; }
  .n-peek__head { stroke-dasharray: 30; stroke-dashoffset: 30; animation: nDraw .3s ease-out 2.1s forwards; }
  @keyframes nDraw { to { stroke-dashoffset: 0; } }
  .n-top__film .n-film__frame { animation: nFilm 1.1s cubic-bezier(.2,.8,.2,1) .35s both; }
  @keyframes nFilm { from { opacity: 0; transform: translateY(30px) scale(.96); } }
}
@media (max-width: 900px) {
  .n-top__in { grid-template-columns: 1fr; text-align: center; }
  .n-top__txt .n-hero__lead { margin: 0 auto; } .n-top__txt .n-hero__cta { justify-content: center; } .n-lg, .n-live { justify-content: center; }
  .n-peek { left: 6px; top: -6px; } .n-peek svg { width: 70px; height: 44px; }
  .n-top__film { padding-top: 46px; }
}

/* Drei Hinweise mit kleinen Animationen */
.n-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin-top: clamp(36px, 5vw, 60px); padding-top: 0; padding-bottom: 0; }
.n-trio li { background: var(--paper-2); border-radius: 22px; padding: 24px 24px 22px; }
.n-trio h2 { font-size: 1.2rem; letter-spacing: -.02em; margin: 14px 0 4px; }
.n-trio p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.n-trio__vis { height: 44px; display: flex; align-items: center; }
.n-mini-ladder { gap: 6px; }
.n-mini-ladder i { width: 34px; height: 6px; border-radius: 3px; background: #DCDCE1; position: relative; overflow: hidden; }
.n-mini-ladder i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.3,.7,.2,1); }
.is-in .n-mini-ladder i::after { transform: scaleX(1); }
.is-in .n-mini-ladder i:nth-child(2)::after { transition-delay: .35s; } .is-in .n-mini-ladder i:nth-child(3)::after { transition-delay: .7s; } .is-in .n-mini-ladder i:nth-child(4)::after { transition-delay: 1.05s; }
.n-mini-check { gap: 6px; }
.n-mini-check span { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 6px; border-radius: 9px; background: var(--surface); border: 1.5px solid #E5E5EA; transition: border-color .3s 1s, background .3s 1s; }
.n-mini-check b { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; border: 1.5px solid #D2D2D7; transition: all .3s 1s; }
.n-mini-check i { width: 34px; height: 5px; border-radius: 3px; background: #E5E5EA; }
.is-in .n-mini-check .ok { border-color: #1E8E4E; background: #EEF8F2; }
.is-in .n-mini-check .ok b { background: #1E8E4E; border-color: #1E8E4E; color: #fff; }
.n-mini-ring { gap: 12px; }
.n-mini-ring svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.n-mini-ring circle { fill: none; stroke: #DCDCE1; stroke-width: 5; }
.n-mini-ring circle.v { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset 1.4s cubic-bezier(.3,.7,.2,1) .2s; }
.is-in .n-mini-ring circle.v { stroke-dashoffset: 18; }
.n-mini-ring b { font-size: 1.6rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .n-trio { grid-template-columns: 1fr; } .n-trio li { text-align: left; } }
.n-top .n-wall { margin-top: clamp(36px, 5vw, 60px); }

/* Kachel-Raster */
.n-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.n-tile { position: relative; background: var(--paper-2); border-radius: 26px; padding: clamp(24px, 3vw, 36px); overflow: hidden; display: flex; flex-direction: column; }
.n-tile--w2 { grid-column: span 2; } .n-tile--w3 { grid-column: span 3; } .n-tile--w4 { grid-column: span 4; }
.n-tile h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 8px; }
.n-tile > p { color: var(--ink-2); margin: 0 0 18px; line-height: 1.5; max-width: 52ch; }
.n-tile .link-more, .n-tile .n-linkbtn { margin-top: auto; align-self: flex-start; }
.n-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--red); font-weight: 600; }
.n-tile--dark { background: var(--stage); color: #F5F5F7; }
.n-tile--dark h3 { color: #fff; } .n-tile--dark > p { color: #A1A1A6; }
.n-tile--dark .n-ladder { grid-template-columns: repeat(4, 1fr); max-width: none; margin: 8px 0 26px; }
.n-tile--dark .n-step { padding: 18px 16px; }
.n-tile--dark .n-step h4 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin: 0 0 4px; }
.n-tile--dark .n-step p { font-size: 13.5px; }
.n-tile--dark .link-more { color: #FF6B5E; margin-top: 0; align-self: center; }
.n-tile__cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.n-tile__big { font-size: clamp(4rem, 7vw, 6rem); font-weight: 650; letter-spacing: -.06em; line-height: .9; margin: 0 0 12px; color: var(--red); font-variant-numeric: tabular-nums; }
.n-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.n-chips li { background: var(--surface); border-radius: 99px; padding: 6px 11px; font-size: 13.5px; }
/* Leseprobe-Kachel */
.n-tile--read { align-items: flex-start; }
.n-tile--read .n-read__book { --W: clamp(120px, 12vw, 170px); align-self: center; justify-self: auto; margin: 6px 0 22px var(--W); }
/* Neuster Stand */
.n-fresh__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--surface); display: grid; place-items: center; color: var(--red); margin-bottom: 18px; }
.n-fresh__ico .ico { width: 30px; height: 30px; transition: transform 1.2s cubic-bezier(.3,.7,.2,1) .3s; }
.n-tile--fresh.is-in .n-fresh__ico .ico { transform: rotate(360deg); }
.n-fresh__ed { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.n-fresh__ed span { color: var(--muted); }
.n-fresh__ed b { font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: -.05em; line-height: 1; }
.n-fresh__covers { display: flex; margin-top: auto; padding-left: 18px; }
.n-fresh__covers img { width: 22%; max-width: 110px; aspect-ratio: 560/792; object-fit: cover; border-radius: 4px; margin-left: -18px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.5); transform: translateY(30px) rotate(calc((var(--k) - 2) * 4deg)); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s; transition-delay: calc(var(--k) * 90ms + 300ms); }
.n-tile--fresh.is-in .n-fresh__covers img { transform: translateY(0) rotate(calc((var(--k) - 2) * 4deg)); opacity: 1; }
/* Preise */
.n-price-tile { background: var(--surface); border: 1px solid var(--line-2); }
.n-price-tile.is-main { border: 2px solid var(--ink); }
.n-price-tile h3 { font-size: 1.05rem; color: var(--ink-2); letter-spacing: -.01em; margin-bottom: 12px; }
.n-price-tile b { font-size: clamp(2.2rem, 3.4vw, 2.9rem); letter-spacing: -.04em; line-height: 1; }
.n-price-tile p { color: var(--muted); font-size: 15px; margin: 12px 0 20px; flex: 1; }
.n-price-tile form, .n-price-tile .btn { align-self: flex-start; }
/* Symbol-Kacheln */
.n-tile--ico .ico { width: 34px; height: 34px; color: var(--red); margin-bottom: 16px; }
.n-tile--ico h3 { font-size: 1.15rem; letter-spacing: -.015em; }
.n-tile--ico p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 980px) {
  .n-bento { grid-template-columns: repeat(2, 1fr); }
  .n-tile--w2, .n-tile--w3 { grid-column: span 1; } .n-tile--w4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .n-bento { grid-template-columns: 1fr; }
  .n-tile--w2, .n-tile--w3, .n-tile--w4 { grid-column: auto; }
  .n-tile--dark .n-ladder { grid-template-columns: 1fr 1fr; }
}
/* Team */
.n-team { text-align: center; }
.n-team blockquote { margin: 0 auto 16px; max-width: 22ch; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 650; }
.n-team p { color: var(--muted); margin: 0 auto 18px; max-width: 46ch; }

/* Einblenden beim Scrollen: einmal, gestaffelt */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rv] { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 110ms); }
  .js [data-rv].is-in { opacity: 1; transform: none; }
}
.n-peek { left: auto; right: 18px; top: -16px; flex-direction: row-reverse; }
.n-peek svg { transform: scaleX(-1); }
@media (max-width: 900px) { .n-peek { right: 10px; left: auto; top: -4px; } }
.n-tile__facts { display: flex; gap: clamp(20px, 4vw, 48px); list-style: none; padding: 0; margin: 0 0 28px; color: #A1A1A6; font-size: 14px; flex-wrap: wrap; }
.n-tile__facts b { display: block; color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.n-team { padding-bottom: 0; }
.n-top__txt h1 { max-width: none; font-size: clamp(2.6rem, 5.2vw, 4.7rem); }
.n-peek { z-index: 3; }

/* ===== Kopfzeile mit Symbolen (eine Zeile) ===== */
.site-head__in { min-height: 76px; gap: 18px; }
.mainnav { gap: 0; }
.mainnav > a { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 66px; padding: 8px 6px 6px; font: 500 12px/1 var(--sans); color: var(--ink-2); border-radius: 10px; }
.mainnav > a .ico { width: 24px; height: 24px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.mainnav > a:hover { color: var(--red); }
.mainnav > a:hover .ico { transform: translateY(-2px); }
.mainnav > a.is-active { color: var(--ink); font-weight: 650; background: none; }
.mainnav > a.is-active .ico { color: var(--red); }
.mainnav__tools { margin-left: 10px; padding-left: 14px; }
@media (max-width: 1140px) { .mainnav > a { min-width: 58px; padding-inline: 3px; } }
@media (max-width: 980px) {
  .mainnav { inset: 76px 0 auto 0; }
  .mainnav > a { flex-direction: row; gap: 14px; padding: 13px 10px; font-size: 17px; min-width: 0; }
}

/* Register im Training: Hinweispfeil nach unten */
.ttabs { position: relative; align-items: flex-end; margin-top: 64px; }
.ttabs__hint { position: absolute; left: 190px; bottom: calc(100% + 4px); display: flex; align-items: flex-start; gap: 4px; color: var(--red); font-weight: 650; font-size: 16px; letter-spacing: -.01em; pointer-events: none; white-space: nowrap; }
.ttabs__hint svg { width: 48px; height: 40px; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .ttabs__hint span { animation: nWord .7s cubic-bezier(.2,.8,.2,1) .5s both; }
  .ttabs__l { stroke-dasharray: 80; stroke-dashoffset: 80; animation: nDraw .8s cubic-bezier(.5,0,.2,1) .8s forwards; }
  .ttabs__h { stroke-dasharray: 30; stroke-dashoffset: 30; animation: nDraw .3s ease-out 1.55s forwards; }
  .ttabs__hint svg { animation: ttBob 1.6s ease-in-out 2s 3; }
  @keyframes ttBob { 0%, 100% { transform: none; } 50% { transform: translateY(5px); } }
}
.ttab b { font-family: var(--sans); font-weight: 650; letter-spacing: -.015em; }
.ttab__new { font-family: var(--sans); background: var(--red); letter-spacing: .04em; }
@media (max-width: 640px) {
  .ttabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 60px; border-bottom: 0; }
  .ttab { padding: 10px 12px 9px; min-width: 0; margin: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
  .ttab.is-on { border: 2px solid var(--ink); padding: 9px 11px 8px; }
  .ttab b { font-size: .95rem; } .ttab small { font-size: 11.5px; }
  .ttab__new { right: 8px; }
  .ttabs__hint { left: 34%; }
}

/* Tipp: neues Script für Technische Kaufleute */
.n-tip { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; max-width: 900px; margin: clamp(28px, 4vw, 44px) auto 0; padding: clamp(20px, 3vw, 30px) clamp(22px, 4vw, 40px); background: var(--surface); border-radius: 26px; border: 2px solid var(--red); }
.n-tip__cover { padding: 0; border: 0; background: none; cursor: pointer; width: clamp(96px, 12vw, 140px); }
.n-tip__cover img { display: block; width: 100%; aspect-ratio: 560/792; object-fit: cover; border-radius: 5px; box-shadow: 0 20px 36px -20px rgba(0,0,0,.5); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.n-tip__cover:hover img { transform: translateY(-6px) rotate(-2deg); }
.n-tip__k { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--red); font-weight: 650; font-size: 15px; }
.n-tip__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; }
.n-tip h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -.025em; line-height: 1.2; margin: 0 0 6px; }
.n-tip__txt > p:not(.n-tip__k) { margin: 0 0 18px; color: var(--ink-2); }
.n-tip__cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) {
  .n-tip__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); animation: tipPing 1.6s cubic-bezier(0,0,.2,1) infinite; }
  @keyframes tipPing { 75%, 100% { transform: scale(2.8); opacity: 0; } }
  .n-tip { animation: tipGlow 2.4s ease-in-out infinite; }
  @keyframes tipGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(213,43,30,0); } 50% { box-shadow: 0 0 0 7px rgba(213,43,30,.12); } }
}
@media (max-width: 560px) { .n-tip { grid-template-columns: 1fr; text-align: center; } .n-tip__cover { margin: 0 auto; } .n-tip__k, .n-tip__cta { justify-content: center; } }
.tk-badge--first { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); line-height: 1.3; white-space: normal; }
.card .tk-badge--first { background: var(--surface); }
.n-fresh__covers { padding-left: 12px; }
.n-fresh__covers img { width: 15%; max-width: 86px; margin-left: -12px; transform: translateY(30px) rotate(calc((var(--k) - 4) * 2.5deg)); transition-delay: calc(var(--k) * 70ms + 300ms); }
.n-tile--fresh.is-in .n-fresh__covers img { transform: translateY(calc(var(--k) * 0px)) rotate(calc((var(--k) - 4) * 2.5deg)); }
.n-fresh__covers img:hover { z-index: 2; }
/* Lehrgänge: Links in den Karten */
.n-path__t { position: relative; z-index: 1; padding: 26px; }
.n-path__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.n-path__more--all::before { content: ""; position: absolute; inset: -1000px; z-index: 0; }
.n-path { isolation: isolate; }
.n-path:hover img { transform: scale(1.04); }
.n-path__btn { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 99px; background: rgba(255,255,255,.94); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background .2s, transform .2s; }
.n-path__btn:hover { background: var(--surface); transform: translateY(-2px); }
.n-path__btn--red { background: var(--red); color: #fff; }
.n-path__btn--red:hover { background: #B8241A; }
/* neun Cover passen immer in die Kachel */
.n-fresh__covers img { flex: 1 1 0; min-width: 0; width: auto; max-width: none; }

/* ===== Dunkles Layout (Knopf im Kopf, Standard: hell) ===== */
@media screen {
  html[data-theme="dark"] {
    color-scheme: dark;
    --paper: #000000; --paper-2: #161617; --card: #1C1C1E; --surface: #1C1C1E; --stage: #161617;
    --ink: #F5F5F7; --ink-2: #D2D2D7; --muted: #98989D; --line: #2C2C2E; --line-2: #3A3A3C;
    --head-bg: rgba(0,0,0,.72); --red: #FF453A; --red-2: #FF6961; --swiss: #FF453A; --saffron: #FF453A;
    --shadow: 0 2px 6px rgba(0,0,0,.4), 0 12px 32px -18px rgba(0,0,0,.8); --shadow-lg: 0 30px 60px -30px rgba(0,0,0,.9);
  }
  html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
  html[data-theme="dark"] .site-head { border-bottom-color: rgba(255,255,255,.1); }
  html[data-theme="dark"] .n-wall { background: linear-gradient(var(--paper), var(--paper-2) 120px); }
  html[data-theme="dark"] .n-trio li, html[data-theme="dark"] .n-tile, html[data-theme="dark"] .trio__item, html[data-theme="dark"] .card, html[data-theme="dark"] .card__body, html[data-theme="dark"] .card__cover, html[data-theme="dark"] .fall, html[data-theme="dark"] .kpi, html[data-theme="dark"] .stats div, html[data-theme="dark"] .soon { background: var(--paper-2) !important; }
  html[data-theme="dark"] .n-tile--dark { background: #1C1C1E !important; }
  html[data-theme="dark"] .n-price-tile { background: var(--paper-2) !important; border-color: var(--line-2); }
  html[data-theme="dark"] .n-price-tile.is-main { border-color: var(--ink); }
  html[data-theme="dark"] .n-tip { background: var(--paper-2); }
  html[data-theme="dark"] .section--mist, html[data-theme="dark"] .site-foot { background: #0B0B0C; }
  html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea, html[data-theme="dark"] input[type="search"], html[data-theme="dark"] .question textarea { background: #1C1C1E; color: var(--ink); border-color: var(--line-2); }
  html[data-theme="dark"] .field input:focus, html[data-theme="dark"] .field select:focus, html[data-theme="dark"] .field textarea:focus, html[data-theme="dark"] .question textarea:focus { background: #232325; border-color: var(--ink); }
  html[data-theme="dark"] .btn--accent { color: #fff; }
  html[data-theme="dark"] .btn--ghost { color: var(--ink); border-color: var(--line-2); }
  html[data-theme="dark"] .card .btn--small { background: var(--ink); color: #000; }
  html[data-theme="dark"] .tk-badge { background: var(--ink); color: #000; }
  html[data-theme="dark"] .tk-badge--all { background: #2C2C2E; color: var(--ink-2); }
  html[data-theme="dark"] .tk-badge--first { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
  html[data-theme="dark"] .fall__pt { background: var(--ink); color: #000; }
  html[data-theme="dark"] .fall--pt3 .fall__pt { background: var(--red); color: #fff; }
  html[data-theme="dark"] .n-film__frame video, html[data-theme="dark"] .n-wall__grid img, html[data-theme="dark"] .card__cover img { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 20px 40px -24px rgba(0,0,0,.9); }
  html[data-theme="dark"] .logo__tag { border-color: var(--line-2); }
  html[data-theme="dark"] .table th, html[data-theme="dark"] .table td { border-color: var(--line); }
  html[data-theme="dark"] .mainnav .chip { background: transparent; color: var(--ink); }
  html[data-theme="dark"] .mainnav .chip--dark { background: var(--ink); color: #000; }
}
/* Umschalter */
.theme-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; padding: 0; transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.theme-btn:hover { transform: rotate(-18deg); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .moon { display: block; }
html.theme-anim, html.theme-anim * { transition: background-color .45s ease, color .45s ease, border-color .45s ease !important; }

/* ===== Cookie-Hinweis mit angebissenem Keks ===== */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100vw - 40px)); display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: start; padding: 20px 22px 20px 18px; background: var(--surface); color: var(--ink); border-radius: 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -20px rgba(0,0,0,.35); border: 1px solid var(--line); transform: translateY(140%); transition: transform .7s cubic-bezier(.3,1.35,.5,1); }
.cookie.is-on { transform: none; }
.cookie__img { width: 76px; height: 76px; overflow: visible; }
.cookie__txt h2 { font-size: 1.15rem; letter-spacing: -.02em; margin: 2px 0 6px; }
.cookie__txt p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.cookie__txt a { color: var(--red); font-weight: 600; }
.cookie__txt .btn { padding: 10px 20px; }
.cookie__bite2 { transform-origin: 10px 85px; transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.cookie__crumbs circle { opacity: 0; }
.cookie.is-bitten .cookie__bite2 { transform: scale(1); }
@media (prefers-reduced-motion: no-preference) {
  .cookie.is-on .cookie__img { animation: ckWobble 1.4s ease-in-out .7s; transform-origin: 50% 60%; }
  @keyframes ckWobble { 20% { transform: rotate(-12deg); } 45% { transform: rotate(9deg); } 70% { transform: rotate(-4deg); } 100% { transform: none; } }
  .cookie.is-bitten .cookie__crumbs circle { animation: ckCrumb .8s cubic-bezier(.3,0,.7,1) .1s both; }
  .cookie.is-bitten .cookie__crumbs circle:nth-child(2) { animation-delay: .16s; } .cookie.is-bitten .cookie__crumbs circle:nth-child(3) { animation-delay: .22s; } .cookie.is-bitten .cookie__crumbs circle:nth-child(4) { animation-delay: .12s; }
  @keyframes ckCrumb { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(-6px, 34px) rotate(90deg); } }
  .cookie.is-bitten .cookie__img { animation: ckChomp .3s ease-out; }
  @keyframes ckChomp { 50% { transform: scale(.9) rotate(6deg); } }
}
@media (max-width: 480px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; grid-template-columns: 56px 1fr; } .cookie__img { width: 56px; height: 56px; } }
@media print { .cookie { display: none !important; } }

/* ===== Smartwatch mit Meldungen (eigenes Design) ===== */
.n-top__film { --ww: clamp(118px, 12vw, 150px); }
.n-watch { position: absolute; right: calc(var(--ww) * -0.32); bottom: calc(var(--ww) * -0.78); width: var(--ww); z-index: 4; filter: drop-shadow(0 26px 30px rgba(0,0,0,.35)); transform: rotate(-8deg); }
.n-watch__band { height: calc(var(--ww) * .42); margin: 0 auto; width: 74%; background: linear-gradient(90deg, #A61F16, var(--red) 30%, var(--red) 70%, #A61F16); }
.n-watch__band--top { border-radius: 14px 14px 4px 4px; }
.n-watch__band--bot { border-radius: 4px 4px 14px 14px; }
.n-watch__band::after { content: ""; display: block; height: 100%; background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(0,0,0,.08) 9px 10px); border-radius: inherit; }
.n-watch__case { position: relative; aspect-ratio: 0.84; border-radius: 28% / 24%; background: linear-gradient(145deg, #4A4A4E, #1D1D1F 55%, #2C2C2E); padding: 7%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14); }
.n-watch__crown { position: absolute; right: -5%; top: 26%; width: 6%; height: 18%; border-radius: 3px; background: linear-gradient(90deg, #2C2C2E, #6E6E73); }
.n-watch__side { position: absolute; right: -3%; top: 52%; width: 4%; height: 14%; border-radius: 2px; background: #3A3A3C; }
.n-watch__screen { position: relative; height: 100%; border-radius: 22% / 19%; background: #000; overflow: hidden; color: #fff; padding: 10% 9%; font-family: var(--sans); }
.n-watch__bar { display: flex; justify-content: space-between; align-items: center; font-size: calc(var(--ww) * .085); font-weight: 600; color: #fff; }
.n-watch__app { width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: .95em; }
.n-watch__msg { position: absolute; left: 9%; right: 9%; top: 30%; opacity: 0; transform: translateY(40%); transition: opacity .45s, transform .55s cubic-bezier(.2,.8,.2,1); }
.n-watch__msg.is-on { opacity: 1; transform: none; }
.n-watch__msg.is-out { opacity: 0; transform: translateY(-40%); }
.n-watch__msg b { display: block; font-size: calc(var(--ww) * .082); line-height: 1.15; letter-spacing: -.01em; margin: 6% 0 3%; }
.n-watch__msg p { margin: 0; font-size: calc(var(--ww) * .068); line-height: 1.25; color: #C7C7CC; }
.n-watch__ring { width: calc(var(--ww) * .26); height: calc(var(--ww) * .26); }
.n-watch__ring circle { fill: none; stroke: #2C2C2E; stroke-width: 3.6; }
.n-watch__ring circle.v { stroke: #30D158; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; transform: rotate(-90deg); transform-origin: 18px 18px; transition: stroke-dashoffset 1.2s cubic-bezier(.3,.7,.2,1) .3s; }
.n-watch__msg.is-on .n-watch__ring circle.v { stroke-dashoffset: 13.2; }
.n-watch__ring text { fill: #fff; font: 700 9px var(--sans); text-anchor: middle; }
.n-watch__ico { display: inline-grid; place-items: center; min-width: calc(var(--ww) * .26); height: calc(var(--ww) * .26); padding: 0 6%; border-radius: 30%; background: #1C1C1E; color: #fff; font-weight: 700; font-size: calc(var(--ww) * .07); box-shadow: inset 0 0 0 1.5px var(--red); }
.n-watch__ico--bars { display: inline-flex; gap: 6%; align-items: center; justify-content: center; }
.n-watch__ico--bars i { width: 14%; height: 10%; border-radius: 2px; background: var(--red); }
.n-watch__ico--bars i:nth-child(n+3) { background: #3A3A3C; }
@media (prefers-reduced-motion: no-preference) {
  .n-watch { animation: wFloat 6s ease-in-out infinite, wIn 1.1s cubic-bezier(.2,.8,.2,1) .9s both; }
  @keyframes wFloat { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }
  @keyframes wIn { from { opacity: 0; translate: 40px 60px; } }
  .n-watch.is-buzz .n-watch__case { animation: wBuzz .45s linear; }
  @keyframes wBuzz { 0%, 100% { translate: 0; } 20% { translate: -2px 0; } 40% { translate: 2px 0; } 60% { translate: -1.5px 0; } 80% { translate: 1.5px 0; } }
}
@media (max-width: 900px) { .n-top__film { --ww: 96px; margin-bottom: 70px; } .n-watch { right: 2px; bottom: -84px; } }
.n-top__film { padding-right: calc(var(--ww) * .55); }
.n-watch { right: calc(var(--ww) * -0.12); bottom: calc(var(--ww) * -0.62); }
.n-watch__msg { top: 25%; }
.n-watch__ring { width: calc(var(--ww) * .22); height: calc(var(--ww) * .22); }
.n-watch__ico { min-width: calc(var(--ww) * .22); height: calc(var(--ww) * .22); }
.n-watch__msg b { margin: 4% 0 2%; }
@media (max-width: 900px) { .n-top__film { padding-right: 0; } .n-watch { right: 2px; bottom: -84px; } }
html[data-theme="dark"] .n-mini-check i { background: #3A3A3C; }
html[data-theme="dark"] .n-mini-check span { border-color: #3A3A3C; }
html[data-theme="dark"] .n-mini-ladder i, html[data-theme="dark"] .n-mini-ring circle:not(.v) { background: #3A3A3C; stroke: #3A3A3C; }
html[data-theme="dark"] .n-mini-check .ok, html[data-theme="dark"] .is-in .n-mini-check .ok { background: rgba(48,209,88,.14); border-color: #30D158; }
.cookie[hidden] { display: none; }
@media screen {
  html[data-theme="dark"] .section--ink, html[data-theme="dark"] .fall-teaser, html[data-theme="dark"] .admin-bar, html[data-theme="dark"] .timer, html[data-theme="dark"] .editor-bar { background: #1C1C1E; color: #F5F5F7; }
  html[data-theme="dark"] .section--ink h2, html[data-theme="dark"] .section--ink .motto p { color: #F5F5F7; }
  html[data-theme="dark"] .btn--dark, html[data-theme="dark"] .stamp, html[data-theme="dark"] .soon__badge, html[data-theme="dark"] .fall-filter button.is-on { color: #000; }
  html[data-theme="dark"] .soon--empty .soon__badge { background: #2C2C2E; color: var(--ink); }
}
@media screen {
  html[data-theme="dark"] .rq__opts li.is-correct { background: rgba(48,209,88,.13); border-color: #30D158; }
  html[data-theme="dark"] .rq__opts li.is-given:not(.is-correct) { background: rgba(255,69,58,.14); border-color: #FF453A; }
  html[data-theme="dark"] .rq__expl { background: #1F2A2A; }
  html[data-theme="dark"] .field.has-error input, html[data-theme="dark"] .field.has-error select { background: rgba(255,69,58,.1); }
  html[data-theme="dark"] .result-pill--open { background: rgba(255,214,10,.16); }
  html[data-theme="dark"] .rq { border-color: var(--line); }
}

/* ===== Leseprobe: Buch schlägt auf, blättert, zoomt auf eine Grafik ===== */
.n-flip { --W: clamp(130px, 13vw, 190px); position: relative; display: block; align-self: center; width: calc(var(--W) * 2); height: calc(var(--W) * 1.414); margin: 8px auto 26px; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 6px; transform: translateX(calc(var(--W) * -.5)); transition: transform 1s cubic-bezier(.45,.05,.2,1); overflow: visible; }
.n-flip.is-open { transform: none; }
.n-flip__zoom { position: absolute; inset: 0; perspective: 1800px; transform-origin: 98% 19%; transition: transform 1.3s cubic-bezier(.45,.05,.2,1); }
.n-flip.is-zoom .n-flip__zoom { transform: scale(2.2); }
.n-flip.is-zoom { z-index: 5; }
.n-flip__base { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; object-fit: cover; background: #fff; border-radius: 0 3px 3px 0; box-shadow: 0 26px 50px -26px rgba(0,0,0,.5); }
.n-flip__leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.4,.1,.3,1); }
.n-flip__leaf[style*="--n:0"] { transition-duration: .95s; }
.n-flip__leaf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 0 3px 3px 0; }
.n-flip__leaf .f { box-shadow: inset 8px 0 14px -10px rgba(0,0,0,.25); }
.n-flip__leaf .b { transform: rotateY(180deg); border-radius: 3px 0 0 3px; box-shadow: inset -10px 0 16px -10px rgba(0,0,0,.28); }
.n-flip__leaf.is-flipped { transform: rotateY(-180deg); }
.n-flip__tag { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; color: var(--muted); opacity: 0; transition: opacity .5s; }
.n-flip.is-zoom .n-flip__tag { opacity: 0; }
.n-flip.is-done .n-flip__tag { opacity: 1; }
.n-tile--read { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .n-flip, .n-flip__zoom, .n-flip__leaf { transition: none !important; } }

/* Neuster Stand: Pfeile mischen das Regal */
.n-fresh__ico { border: 0; cursor: pointer; padding: 0; transition: transform .2s; }
.n-fresh__ico:hover { transform: scale(1.06); }
.n-fresh__ico:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.n-fresh__ico.is-spin .ico { transform: rotate(360deg); transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.n-fresh__ico.is-reset .ico { transition: none; transform: none; }
.n-fresh__hint { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.n-fresh__covers img.is-deal { animation: fDeal .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--k) * 45ms); }
@keyframes fDeal { from { opacity: 0; translate: 0 40px; } }
.n-fresh__covers img.is-secret { cursor: pointer; outline: 3px solid var(--red); outline-offset: 2px; position: relative; z-index: 3; animation: fSecret 1.4s ease-in-out infinite; }
@keyframes fSecret { 50% { translate: 0 -8px; } }
.secretdlg__box { background: var(--surface); color: var(--ink); }

/* Lehrgänge: Knöpfe einheitlich */
.n-path__links { gap: 8px; }

/* Smartwatch: längeres Band, weniger über dem Film */
.n-top__film { padding-right: calc(var(--ww) * .78); }
.n-watch { right: calc(var(--ww) * -0.04); bottom: calc(var(--ww) * -0.95); }
.n-watch__band { height: calc(var(--ww) * .7); }
@media (max-width: 900px) { .n-top__film { padding-right: calc(var(--ww) * .5); margin-bottom: 110px; } .n-watch { right: 0; bottom: -120px; } }
.n-flip { overflow: hidden; } .n-flip.is-done, .n-flip:not(.is-open) { overflow: visible; }
.n-top__film .n-peek { right: calc(var(--ww) * 1.05); }
.secretdlg__box { border: 0 !important; outline: 0; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.secretdlg__box img { transform: none; border-radius: 6px; }
.secretdlg::backdrop { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.secretdlg .eyebrow { color: var(--red); }
.n-fresh__hint { margin-top: 18px; }
@media (max-width: 900px) { .n-top__film .n-peek { right: auto; left: 6px; } }

/* Film gross, sobald er mit Ton startet */
.n-film__close { display: none; }
.n-film__frame.is-big { position: fixed; left: 50%; top: 50%; z-index: 200; width: min(94vw, 1280px, calc(88vh * 16 / 9)); max-width: none; padding: 0; transform: translate(-50%, -50%); animation: filmBig .45s cubic-bezier(.2,.8,.2,1) both !important; }
@keyframes filmBig { from { opacity: 0; transform: translate(-50%, -46%) scale(.9); } }
.n-film__frame.is-big video { border-radius: 14px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); }
.n-film__frame.is-big .n-film__close { display: grid; place-items: center; position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #1D1D1F; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); }
.film-veil { position: fixed; inset: 0; z-index: 190; background: rgba(0,0,0,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: veilIn .35s ease both; }
@keyframes veilIn { from { opacity: 0; } }
html.film-open { overflow: hidden; }
html.film-open .n-watch, html.film-open .n-peek { visibility: hidden; }
@media (max-width: 640px) { .n-film__frame.is-big .n-film__close { top: -54px; right: 0; } }

/* ===== Resultat: So geht es weiter ===== */
.n-next h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 18px; }
.n-next__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; }
.n-next__weak { background: var(--paper-2); border-radius: 22px; padding: 26px 28px; }
.n-next__weak h3 { font-size: 1.25rem; margin: 0 0 14px; }
.n-next__weak ul { list-style: none; margin: 0; padding: 0; }
.n-next__weak li { display: grid; gap: 3px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.n-next__weak li:first-child { border-top: 0; padding-top: 0; }
.n-next__weak li span { color: var(--muted); font-size: 14.5px; }
.n-next__weak .link-more, .n-next__weak .n-linkbtn { justify-self: start; margin-top: 4px; font-size: 15px; text-align: left; }
.n-next__side { display: grid; gap: 14px; align-content: start; }
.n-next__card { display: grid; grid-template-columns: 34px 1fr; gap: 2px 14px; align-items: start; padding: 20px 22px; border-radius: 20px; background: var(--paper-2); color: var(--ink); text-decoration: none; transition: transform .2s, background .2s; }
.n-next__card:hover { transform: translateY(-2px); background: var(--line); }
.n-next__card .ico { grid-row: span 2; width: 30px; height: 30px; color: var(--red); }
.n-next__card b { font-size: 1.05rem; } .n-next__card span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.n-next__card--dark { background: var(--stage); color: #F5F5F7; } .n-next__card--dark:hover { background: #1D1D1F; } .n-next__card--dark span { color: #A1A1A6; }
@media (max-width: 820px) { .n-next__grid { grid-template-columns: 1fr; } }
@media print { .no-print { display: none !important; } }

/* ===== Fehler gezielt üben ===== */
.drill { max-width: 820px; }
.drill__bar { position: sticky; top: 84px; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 12px 18px; margin-bottom: 18px; border-radius: 16px; background: var(--head-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); font-size: 15px; }
.drill__track { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.drill__track i { display: block; height: 100%; width: 0; background: #1E8E4E; transition: width .4s cubic-bezier(.3,.7,.2,1); }
.drill__q { background: var(--paper-2); border-radius: 22px; padding: 22px 24px; margin-bottom: 14px; border: 2px solid transparent; transition: border-color .3s; }
.drill__q.is-right { border-color: #1E8E4E; } .drill__q.is-wrong { border-color: var(--red); }
.drill__src { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; }
.drill__multi { color: var(--muted); font-weight: 500; }
.drill__opts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.drill__opts button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 15.5px; cursor: pointer; transition: border-color .2s, background .2s; }
.drill__opts button:hover:not(:disabled) { border-color: var(--ink); }
.drill__opts button.is-sel { border-color: var(--ink); background: var(--paper); }
.drill__opts button.is-correct { border-color: #1E8E4E; background: rgba(30,142,78,.1); }
.drill__opts button.is-wrong { border-color: var(--red); background: rgba(213,43,30,.08); }
.drill__opts button:disabled { cursor: default; }
.drill__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.drill__verdict { font-weight: 600; }
.drill__q.is-right .drill__verdict { color: #1E8E4E; } .drill__q.is-wrong .drill__verdict { color: var(--red); }
.drill .rq__expl { margin-top: 14px; }

/* ===== Script-Seite ===== */
.sp-hero { padding: clamp(36px, 5vw, 70px) 0 clamp(30px, 4vw, 50px); }
.sp-hero__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.sp-cover { position: relative; padding: 0; border: 0; background: var(--paper-2); border-radius: 28px; padding: clamp(24px, 4vw, 48px); cursor: zoom-in; }
.sp-cover img { display: block; width: 100%; border-radius: 5px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.sp-cover:hover img { transform: translateY(-8px) rotate(-1deg); }
.sp-cover .card__peek { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); opacity: 1; }
.sp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -.04em; margin: 4px 0 8px; }
.sp-aud { margin: 0 0 14px; font-weight: 600; color: var(--red); }
.sp-facts { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); list-style: none; padding: 0; margin: 24px 0; color: var(--muted); font-size: 14px; }
.sp-facts b { display: block; color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; line-height: 1.1; }
.sp-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.sp-price { font-size: 1.8rem; font-weight: 650; letter-spacing: -.03em; }
.sp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sp-grid h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 16px; }
.sp-toc { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.sp-toc > li { border-top: 1px solid var(--line-2); counter-increment: ch; }
.sp-toc summary, .sp-toc__row { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; }
.sp-toc summary::-webkit-details-marker { display: none; }
.sp-toc summary::before, .sp-toc__row::before { content: counter(ch); color: var(--red); min-width: 1.6em; font-variant-numeric: tabular-nums; }
.sp-toc__t { flex: 1; } .sp-toc__p { color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sp-toc details[open] summary .sp-toc__t { color: var(--red); }
.sp-toc ul { list-style: none; margin: 0 0 14px; padding: 0 0 0 2.4em; }
.sp-toc ul li { display: flex; gap: 14px; justify-content: space-between; padding: 5px 0; font-size: 15px; color: var(--ink-2); }
.sp-exams { position: sticky; top: 100px; background: var(--paper-2); border-radius: 24px; padding: 26px 26px 28px; }
.sp-exams p { color: var(--ink-2); margin: 0 0 16px; }
.sp-exams ul { list-style: none; margin: 0 0 20px; padding: 0; }
.sp-exams li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.sp-exams small { color: var(--muted); white-space: nowrap; }
.sp-more__h { text-align: center; margin: 0 0 26px; }
.card__title a { color: inherit; text-decoration: none; } .card__title a:hover { color: var(--red); }
@media (max-width: 860px) { .sp-hero__in, .sp-grid { grid-template-columns: 1fr; } .sp-cover { max-width: 320px; margin: 0 auto; } .sp-exams { position: static; } }

/* ===== Cockpit: breiter, nichts quetscht sich ===== */
body.is-admin .wrap { max-width: var(--wide); }
body.is-admin .kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1200px) { body.is-admin .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.is-admin .kpis { grid-template-columns: 1fr 1fr; } }
body.is-admin .kpi b.kpi__money { font-size: clamp(1.4rem, 2vw, 1.9rem); }
body.is-admin .admin-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); margin-bottom: 18px; }
body.is-admin .admin-grid--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1000px) { body.is-admin .admin-grid, body.is-admin .admin-grid--even { grid-template-columns: minmax(0, 1fr); } }
body.is-admin .panel { overflow-x: auto; border: 0; background: var(--paper-2); }
body.is-admin .table { font-size: 14px; }
body.is-admin .table th { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
body.is-admin .table td { border-color: var(--line-2); }
.table--compact td { padding: 8px 10px; vertical-align: middle; }
.nowrap { white-space: nowrap; }
.cell-ellipsis { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-admin .table td a { white-space: nowrap; }
.dl-mini { list-style: none; margin: 0 0 18px; padding: 0; max-height: 260px; overflow: auto; font-size: 14px; }
.dl-mini li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); }
/* Download-Seite der Kundschaft */
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 860px; }
.dl-item { display: grid; grid-template-columns: 54px 1fr auto 48px; gap: 16px; align-items: center; padding: 12px 16px; border-radius: 18px; background: var(--paper-2); }
.dl-item img { width: 54px; aspect-ratio: 560/792; object-fit: cover; border-radius: 3px; box-shadow: 0 8px 16px -10px rgba(0,0,0,.5); }
.dl-item div { display: grid; } .dl-item div span { color: var(--muted); font-size: 14px; }
.dl-item small { color: var(--muted); font-size: 12.5px; }
.dl-later { color: var(--muted); font-size: 14px; }
.thanks__dl { margin: 18px 0 8px; }
@media (max-width: 560px) { .dl-item { grid-template-columns: 44px 1fr; } .dl-item .btn, .dl-item .dl-later { grid-column: 2; justify-self: start; } .dl-item small { display: none; } }

/* ===== Training: Countdown und Lernplan ===== */
.plan { display: grid; grid-template-columns: 220px minmax(0, 1fr) 240px; gap: 14px; margin-bottom: 30px; }
.plan > * { background: var(--paper-2); border-radius: 22px; padding: 22px 24px; }
.plan__count { display: grid; align-content: center; text-align: center; background: var(--stage); color: #F5F5F7; }
.plan__count b { font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -.05em; line-height: 1; color: #fff; }
.plan__count span { font-weight: 600; margin-top: 4px; } .plan__count small { color: #A1A1A6; margin-top: 6px; font-size: 13px; } .plan__count a { color: #FF6B5E; }
.plan__next h2 { font-size: 1.15rem; margin: 0 0 10px; }
.plan__next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plan__next a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s; }
.plan__next a:hover { transform: translateX(4px); }
.plan__next a span:last-child { display: grid; } .plan__next small { color: var(--muted); font-size: 13px; }
.plan__err { display: grid; align-content: center; gap: 4px; color: var(--ink); text-decoration: none; }
.plan__err .ico { width: 30px; height: 30px; color: var(--red); margin-bottom: 6px; }
.plan__err span { color: var(--muted); font-size: 14px; }
.plan__err:hover b { color: var(--red); }
@media (max-width: 980px) { .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .plan__next { grid-column: 1 / -1; order: 3; } }
@media (max-width: 560px) { .plan { grid-template-columns: minmax(0, 1fr); } }
.plan > *, .plan__next a, .plan__next a span:last-child { min-width: 0; }
.plan__next a b, .plan__next small { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.two-col { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.exam__tries { color: var(--muted); font-size: 13.5px; } .exam__tries a { color: inherit; }

/* ===== Danke-Dialog / freiwilliger Beitrag ===== */
.thx { border: 0; padding: 0; border-radius: 28px; width: min(760px, 94vw); background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.thx::backdrop { background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.thx[open] { animation: thxIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes thxIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.thx__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); font-size: 24px; cursor: pointer; z-index: 2; }
.thx__in { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: center; padding: 32px 34px; }
.thx__k { margin: 0 0 6px; color: var(--red); font-weight: 650; font-size: 14.5px; }
.thx h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.03em; margin: 0 0 10px; }
.thx__txt p { color: var(--ink-2); margin: 0 0 12px; line-height: 1.5; }
.thx__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.thx__chip { border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 8px 14px; font: 600 14.5px/1 var(--sans); cursor: pointer; }
.thx__chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.thx__fine { font-size: 13.5px !important; color: var(--muted) !important; }
.thx__fine a { color: var(--red); }
.thx__qr { display: grid; justify-items: center; gap: 8px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.thx__qr img { width: 210px; height: 210px; }
.thx__qr small { color: #6E6E73; font-size: 12.5px; }
.thx__iban { border: 0; background: #F5F5F7; color: #1D1D1F; border-radius: 99px; padding: 7px 14px; font: 600 13px/1 var(--sans); cursor: pointer; }
.thx--page { display: block; position: static; width: auto; max-width: 860px; margin: 0 auto 20px; background: var(--paper-2); box-shadow: none; }
@media (max-width: 640px) { .thx__in { grid-template-columns: 1fr; padding: 26px 20px; } .thx__qr { justify-self: center; } }
.li__price { display: grid; font-weight: 650; } .li__price small { font-weight: 500; opacity: .7; font-size: 12.5px; }

/* ===== Im Unterricht nutzen / Beitrag ===== */
.u-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 30px); }
.u-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -.045em; margin: 4px 0 12px; }
.u-hero .section__lead { max-width: 60ch; }
.u-h { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 18px; }
.u-fair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.u-fair li { display: flex; flex-direction: column; background: var(--paper-2); border-radius: 24px; padding: 26px 26px 24px; }
.u-fair__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; color: var(--red); margin-bottom: 18px; }
.u-fair h3 { font-size: 1.3rem; margin: 0 0 8px; letter-spacing: -.02em; }
.u-fair p { color: var(--ink-2); margin: 0 0 18px; flex: 1; line-height: 1.5; }
.u-fair b { font-size: 1.5rem; letter-spacing: -.03em; }
.u-fair li:nth-child(2) { background: var(--stage); color: #F5F5F7; } .u-fair li:nth-child(2) p { color: #C7C7CC; } .u-fair li:nth-child(2) h3, .u-fair li:nth-child(2) b { color: #fff; }
.u-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.u-list { list-style: none; padding: 0; margin: 0 0 18px; }
.u-list li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line-2); }
.u-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 14px; height: 8px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.u-buy { background: var(--surface); border-radius: 26px; padding: 28px; border: 2px solid var(--ink); }
.u-buy h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--ink-2); }
.u-buy > b { display: block; font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 8px; }
.u-buy p { color: var(--muted); }
.u-buy--wide { max-width: 640px; margin: 0 auto 20px; border-width: 1px; border-color: var(--line-2); }
@media (max-width: 860px) { .u-fair, .u-grid { grid-template-columns: 1fr; } }

/* ===== Newsletter ===== */
.n-nl__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.n-nl__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); color: var(--red); margin-bottom: 16px; }
.n-nl h2 { margin: 0 0 10px; } .n-nl p { color: var(--ink-2); margin: 0; }
.nl-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; align-items: center; }
.nl-form input[type=text], .nl-form input[type=email] { height: 48px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); padding: 0 14px; font: inherit; }
.nl-form .btn { height: 48px; }
.nl-ok { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.nl-ok input { margin-top: 3px; } .nl-ok a { color: inherit; }
.nl-page { max-width: 760px; } .nl-page .nl-form { margin-top: 22px; }
@media (max-width: 860px) { .n-nl__in { grid-template-columns: 1fr; } .nl-form { grid-template-columns: 1fr; } }
.nl-compose textarea { min-height: 260px; font: 15px/1.55 var(--sans); }
.nl-compose__btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.nl-run { margin-bottom: 18px; }
.nl-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.nl-form .btn { grid-column: 1 / -1; justify-self: start; order: 3; }
.nl-ok { order: 2; }
@media (max-width: 860px) { .nl-form { grid-template-columns: 1fr; } }

/* ===== Übungsapp (PWA) ===== */
/* Hinweis auf der Titelseite */
.n-appflag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); font-size: 14.5px; line-height: 1.3; text-decoration: none; box-shadow: 0 6px 20px -12px rgba(0,0,0,.25); transition: transform .2s, border-color .2s; }
.n-appflag:hover { transform: translateY(-1px); border-color: var(--red); color: var(--ink); }
.n-appflag b { color: var(--red); font-weight: 700; }
.n-appflag__dot, .ap-flag__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(213,43,30,.5); }
@media (prefers-reduced-motion: no-preference) {
  .n-appflag__dot, .ap-flag__dot { animation: apPulse 1.8s ease-out infinite; }
  @keyframes apPulse { 0% { box-shadow: 0 0 0 0 rgba(213,43,30,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(213,43,30,0); } }
}
@media (min-width: 861px) { .n-appflag { white-space: nowrap; font-size: 13.5px; } }
@media (max-width: 860px) { .n-appflag { font-size: 13.5px; text-align: left; } }

/* Hinweis im Training */
.app-promo { display: flex; align-items: center; gap: 16px; margin: 26px 0 0; padding: 14px 18px; border-radius: 18px; background: var(--ink); color: var(--paper); text-decoration: none; }
.app-promo:hover { color: var(--paper); }
.app-promo img { flex: none; width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.app-promo > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.app-promo b { font-size: 1.05rem; }
.app-promo small { font-size: 14px; opacity: .78; }
.app-promo__go { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 650; font-size: 14.5px; }
html[data-theme="dark"] .app-promo { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
@media (max-width: 560px) { .app-promo { flex-wrap: wrap; } .app-promo__go { width: 100%; text-align: center; } }
html.is-app [data-app-promo] { display: none !important; }

/* Seite «Übungsapp» */
.ap-hero { padding: clamp(40px, 7vw, 90px) 0 30px; overflow: hidden; }
.ap-hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.ap-flag { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--red); margin: 0 0 14px; }
.ap-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.045em; line-height: 1; margin: 0 0 .4em; }
.ap-hero .section__lead { max-width: 34ch; }
.ap-cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin: 28px 0 0; }
.ap-cta [hidden] { display: none; }
.ap-done { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); max-width: 46ch; }
.ap-done[hidden] { display: none; }
.ap-done .ico { flex: none; width: 22px; height: 22px; color: var(--red); }
.ap-phone { position: relative; justify-self: center; }
.ap-phone__frame { position: relative; width: min(300px, 70vw); aspect-ratio: 390 / 844; border-radius: 46px; padding: 11px; background: #1B1A17; box-shadow: 0 0 0 2px #3a3833, 0 40px 80px -30px rgba(0,0,0,.45); }
.ap-phone__screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); padding-top: 34px; box-sizing: border-box; }
.ap-phone__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ap-phone__notch { position: absolute; top: 22px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: 14px; background: #1B1A17; z-index: 2; }
.ap-phone__icon { position: absolute; left: -46px; bottom: 60px; display: grid; justify-items: center; gap: 6px; padding: 14px 14px 10px; border-radius: 22px; background: var(--surface); box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); font-size: 13px; font-weight: 600; }
.ap-phone__icon img { width: 64px; height: 64px; border-radius: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .ap-phone__frame { animation: apFloat 6s ease-in-out infinite; }
  .ap-phone__icon { animation: apPop .7s cubic-bezier(.2,1.4,.4,1) .6s both; }
  @keyframes apFloat { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(-.5deg); } }
  @keyframes apPop { from { opacity: 0; transform: scale(.4) translateY(20px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 820px) {
  .ap-hero__in { grid-template-columns: 1fr; text-align: center; }
  .ap-hero .section__lead { margin-inline: auto; }
  .ap-cta { justify-content: center; }
  .ap-done { margin-inline: auto; text-align: left; }
  .ap-phone__icon { left: -24px; }
}
.ap-feat { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.ap-feat li { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; align-content: start; }
.ap-feat .ico { grid-column: 1; grid-row: 1 / 3; width: 28px; height: 28px; color: var(--red); }
.ap-feat b, .ap-feat span { grid-column: 2; }
.ap-feat b { font-size: 1.08rem; }
.ap-feat span { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .ap-feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ap-feat { grid-template-columns: 1fr; } }
.ap-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0 22px; }
.ap-way { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 22px; transition: box-shadow .25s, border-color .25s; }
.ap-way.is-mine { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.ap-way h3 { margin: 0 0 14px; font-size: 1.25rem; }
.ap-way ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.ap-way p { margin: 0 0 14px; color: var(--ink-2); }
.ap-key { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px 1px 6px; border-radius: 8px; background: var(--paper-2); font-weight: 600; white-space: nowrap; }
.ap-key .ico { width: 17px; height: 17px; color: #0A7AFF; }
.ap-sub { margin-inline: auto; }
.ap-qr { display: grid; place-items: center; }
.ap-qr svg { border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 860px) { .ap-ways { grid-template-columns: 1fr; } .ap-way--qr { display: none; } }

/* Als installierte App: Leiste unten, kein Fussbereich */
.app-tabs, .app-toast { display: none; }
html.is-app .app-tabs { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 97%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-top: 1px solid var(--line); }
html.is-app .app-tabs a { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 6px 2px; font: 550 11px/1.1 var(--sans); color: var(--ink-2); text-decoration: none; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
html.is-app .app-tabs .ico { width: 25px; height: 25px; }
html.is-app .app-tabs a.is-on { color: var(--red); }
html.is-app .app-tabs a:active { background: var(--paper-2); }
html.is-app body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
html.is-app .site-foot, html.is-app .cookie, html.is-app .ticker { display: none !important; }
html.is-app .site-head { padding-top: env(safe-area-inset-top); }
html.is-app body { -webkit-user-select: none; user-select: none; overscroll-behavior-y: none; }
html.is-app input, html.is-app textarea, html.is-app .question__prompt, html.is-app .rq__expl { -webkit-user-select: text; user-select: text; }
html.is-app .app-toast:not([hidden]) { position: fixed; z-index: 70; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: block; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.auth__keep { margin: 4px 0 10px; font-size: 15px; }
.auth__keep small { color: var(--muted, #6B665C); }
@media print { .app-tabs, .app-toast { display: none !important; } }

/* Lange Wörter (z. B. «Unternehmensorganisation») dürfen auf schmalen Bildschirmen nie über den Rand ragen */
@media (max-width: 640px) {
  main h1, main h2, main h3, main b, main strong, main p, main li, main a, main span { overflow-wrap: break-word; }
  main h1, main h2, main h3, .sbook__t, .plan__next b { hyphens: auto; -webkit-hyphens: auto; }
  main .wrap > *, main [class*="grid"] > * { min-width: 0; }
}

/* LinkedIn-Link mit Zeichen */
.li-link { display: inline-flex; align-items: center; gap: 8px; }
.li-link svg { flex: none; border-radius: 3px; background: #fff; }

/* Reihenfolge-Aufgaben (Mini-Cases) */
.order { list-style: none; counter-reset: ord; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.order__item { counter-increment: ord; display: grid; grid-template-columns: 34px 22px 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); cursor: grab; user-select: none; -webkit-user-select: none; transition: box-shadow .2s, border-color .2s, transform .2s; }
.order__item::before { content: counter(ord); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--paper-2); font-weight: 700; font-size: 14px; color: var(--ink-2); grid-column: 1; grid-row: 1; }
.order__item > input { display: none; }
.order__grip { color: var(--muted); font-size: 18px; letter-spacing: -3px; cursor: grab; touch-action: none; }
.order__txt { font-size: 16px; line-height: 1.35; }
.order__btns { display: flex; gap: 4px; }
.order__btn { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 16px; cursor: pointer; }
.order__btn:hover { border-color: var(--red); color: var(--red); }
.order__item.is-drag { opacity: .55; border-color: var(--red); box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); }
.order__item.is-moved { border-color: var(--red); transform: scale(1.01); }
@media (max-width: 560px) { .order__item { grid-template-columns: 28px 18px 1fr; } .order__btns { grid-column: 3; justify-content: flex-end; } .order__txt { font-size: 15px; } }
.rq-order { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 12px 0 0; }
.rq-order h4 { margin: 0 0 8px; font-size: 14px; color: var(--muted); font-weight: 650; }
.rq-order ol { margin: 0; padding-left: 1.4em; display: grid; gap: 5px; font-size: 15px; }
.rq-order li.is-ok { color: #1E7A45; font-weight: 600; }
@media (max-width: 760px) { .rq-order { grid-template-columns: 1fr; } }

.question .order, .order { grid-template-columns: 1fr !important; }
.case { margin: 4px 0 6px; }
.case__t { font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; margin: 0 0 10px; }
.case__sit { background: var(--paper-2); border-radius: 14px; padding: 14px 16px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.case__task { font-weight: 650; margin: 12px 0 0; }

/* Script-Karussell (3D-Ring, alle Scripte) */
.n-ring { --cw: 158px; --r: 640px; margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 40px) 0 22px; background: linear-gradient(#fff, var(--paper-2) 140px); overflow: hidden; }
html[data-theme="dark"] .n-ring { background: linear-gradient(var(--paper), var(--paper-2) 140px); }
.n-ring__stage { position: relative; height: calc(var(--cw) * 1.414 + 90px); perspective: 1700px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.n-ring__stage.is-drag { cursor: grabbing; }
.n-ring__spin { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.n-ring__card { position: absolute; width: var(--cw); left: calc(var(--cw) / -2); top: calc(var(--cw) * -0.707); padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px;
  transform: rotateY(calc(var(--i) * var(--step))) translateZ(var(--rr, var(--r))); transform-style: preserve-3d; transition: filter .3s; }
.n-ring__card img { display: block; width: 100%; aspect-ratio: 560 / 792; object-fit: cover; border-radius: 6px; background: var(--surface); box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 24px 40px -22px rgba(0,0,0,.5); pointer-events: none; }
.n-ring__card.is-front img { box-shadow: 0 0 0 3px var(--red), 0 30px 50px -22px rgba(0,0,0,.55); }
.n-ring__card:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.n-ring__bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 4px auto 0; padding: 0 var(--gutter); max-width: 760px; }
.n-ring__cap { flex: 1; text-align: center; margin: 0; min-height: 3em; display: grid; gap: 2px; }
.n-ring__cap b { font-size: 1.12rem; letter-spacing: -.01em; }
.n-ring__cap span { color: var(--muted); font-size: 14.5px; }
.n-ring__arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.n-ring__arrow:hover { border-color: var(--red); color: var(--red); transform: scale(1.06); }
@media (max-width: 760px) { .n-ring { --cw: 118px; --r: 470px; } .n-ring__stage { perspective: 1200px; } }
@media (max-width: 420px) { .n-ring { --cw: 104px; --r: 410px; } }
.n-ring__card img { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.n-ring__card.is-front img { transform: scale(1.1) translateY(-4px); }
@media (max-width: 760px) { .n-ring__cap b { font-size: 1rem; } .n-ring__cap span { font-size: 13px; } .n-ring__arrow { width: 40px; height: 40px; } }
/* Safari (iPhone): Bilder im 3D-Regal zuverlässig zeichnen */
.n-ring__card { -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform-style: preserve-3d; }
.n-ring__card img { -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translateZ(0); will-change: transform; }
.n-ring__card.is-front img { -webkit-transform: translateZ(0) scale(1.1) translateY(-4px); transform: translateZ(0) scale(1.1) translateY(-4px); }

/* ===== Probier es aus (Startseite) ===== */
.n-try { background: var(--paper); }
.n-try__head { margin-bottom: 26px; }
.n-try__tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 auto 26px; }
.n-try__tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: 600 15px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.n-try__tabs button .ico { width: 20px; height: 20px; }
.n-try__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.n-try__tabs button[aria-selected="true"] .ico { color: var(--red); }
.n-try__panel { max-width: 860px; margin: 0 auto; }
.n-try__panel[hidden] { display: none; }

/* 60-Sekunden-Test */
.tq { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 4vw, 38px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.tq__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.tq__dots { display: flex; gap: 6px; }
.tq__dots i { width: 28px; height: 6px; border-radius: 3px; background: var(--line-2); transition: background .3s; }
.tq__dots i.is-ok { background: #1E8E4E; } .tq__dots i.is-no { background: var(--red); }
.tq__src { margin: 0 0 6px; font-size: 13.5px; color: var(--red); font-weight: 650; }
.tq__q { margin: 0 0 18px; font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.3; letter-spacing: -.015em; }
.tq__opts { display: grid; gap: 10px; }
.tq__opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 13px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.35; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.tq__opt:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-1px); }
.tq__opt:disabled { cursor: default; }
.tq__opt.is-ok { border-color: #1E8E4E; background: #EEF8F2; color: #12351F; }
.tq__opt.is-ok .option__key { background: #1E8E4E; color: #fff; border-color: #1E8E4E; }
.tq__opt.is-no { border-color: var(--red); background: #FDF0EF; color: #4A1410; }
.tq__opt.is-no .option__key { background: var(--red); color: #fff; border-color: var(--red); }
.tq__x { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.tq__x b { color: var(--ink); }
.tq__next { display: flex; margin: 12px 0 0 auto; }
.tq__end { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center; }
.tq__end[hidden] { display: none; }
.tq__ring { position: relative; width: 180px; height: 180px; display: grid; place-items: center; }
.tq__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.tq__ring circle { fill: none; stroke: var(--line-2); stroke-width: 10; }
.tq__ring circle.v { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 * (1 - var(--f, 0))); }
.tq__ring b { font-size: 3.2rem; letter-spacing: -.04em; line-height: 1; margin-top: -10px; }
.tq__ring small { position: absolute; bottom: 48px; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tq__msg h3 { margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -.02em; }
.tq__msg p { margin: 0 0 18px; color: var(--ink-2); }
.tq__cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .tq__stage.is-in { animation: tqIn .45s cubic-bezier(.2,.8,.2,1); }
  .tq__end.is-in { animation: tqIn .6s cubic-bezier(.2,.8,.2,1); }
  @keyframes tqIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 640px) { .tq__end { grid-template-columns: 1fr; justify-items: center; text-align: center; } .tq__cta { justify-content: center; } .tq__dots i { width: 18px; } }

/* Mini-Case ordnen */
.tc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 4vw, 36px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.tc__src { margin: 0 0 6px; font-size: 13.5px; color: var(--red); font-weight: 650; }
.tc__case h3 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; }
.tc__case p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.tc__case .tc__task { color: var(--ink); font-weight: 600; }
.tc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tc__item { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 10px 10px 12px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--paper); font-size: 15px; line-height: 1.35; cursor: grab; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; -webkit-user-select: none; user-select: none; }
.tc__item.is-drag { border-color: var(--ink); box-shadow: 0 14px 28px -16px rgba(0,0,0,.45); transform: scale(1.02); }
.tc__item.is-ok { border-color: #1E8E4E; background: #EEF8F2; color: #12351F; }
.tc__no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--paper-2); font-weight: 700; font-size: 14px; }
.tc__btns { display: flex; gap: 4px; }
.tc__btns button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 16px; }
.tc__foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 16px; }
.tc__verdict { font-size: 15px; color: var(--ink-2); }
.tc__more { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.tc.is-solved .tc__item { animation: tcPop .5s cubic-bezier(.2,1.5,.4,1) both; }
.tc.is-solved .tc__item:nth-child(2) { animation-delay: .06s; } .tc.is-solved .tc__item:nth-child(3) { animation-delay: .12s; } .tc.is-solved .tc__item:nth-child(4) { animation-delay: .18s; } .tc.is-solved .tc__item:nth-child(5) { animation-delay: .24s; }
@keyframes tcPop { 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .tc.is-solved .tc__item { animation: none; } }
@media (max-width: 760px) { .tc { grid-template-columns: 1fr; } }

/* Prüfungsplan */
.tp { display: grid; grid-template-columns: 300px 1fr; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 4vw, 36px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.tp__q { display: block; margin: 0 0 10px; font-weight: 650; }
.tp__seg { display: grid; gap: 8px; margin-bottom: 22px; }
.tp__seg label { cursor: pointer; }
.tp__seg input { position: absolute; opacity: 0; pointer-events: none; }
.tp__seg span { display: block; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); font-weight: 600; transition: border-color .2s, background .2s; }
.tp__seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.tp__seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.tp input[type=date] { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; font: inherit; background: var(--paper); color: var(--ink); }
.tp__empty { margin: 0; color: var(--muted); align-self: center; }
.tp__out { display: grid; align-content: start; gap: 14px; }
.tp__big { display: flex; align-items: baseline; gap: 12px; }
.tp__big b { font-size: clamp(3rem, 7vw, 4.4rem); letter-spacing: -.05em; line-height: 1; color: var(--red); }
.tp__big span { font-weight: 650; }
.tp__lead { margin: 0; font-size: 16.5px; }
.tp__phases { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 6px; }
.tp__phases li { flex: var(--w) 1 0; min-width: 120px; padding: 12px 12px 10px; border-radius: 12px; background: var(--paper-2); border-top: 4px solid var(--red); font-size: 13.5px; display: grid; gap: 3px; }
.tp__phases li:nth-child(1) { border-top-color: #4FC3A1; } .tp__phases li:nth-child(2) { border-top-color: #F2A900; }
.tp__phases b { font-size: 14px; } .tp__phases span { color: var(--ink-2); }
.tp__list { margin: 0; font-size: 13.5px; color: var(--muted); }
.tp__save { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.tp__save[hidden] { display: none; }
@media (max-width: 760px) { .tp { grid-template-columns: 1fr; } .tp__phases { flex-direction: column; } .tp__save { justify-content: stretch; } .tp__save .btn { width: 100%; text-align: center; } }
@media (max-width: 640px) {
  .n-try__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .n-try__tabs button { flex-direction: column; gap: 5px; padding: 10px 6px; border-radius: 14px; font-size: 12.5px; line-height: 1.15; text-align: center; }
}

/* ---------- Startseite: Lehrgangs-Schalter + Live-Zähler ---------- */
.n-lg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 22px 0 0; }
.n-lg__q { width: 100%; font-size: 14px; color: var(--muted); }
.n-lg button { font: inherit; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.n-lg button:hover { border-color: var(--ink); }
.n-lg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.n-lg button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.n-live { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.n-live b { color: var(--ink); font-variant-numeric: tabular-nums; }
.n-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 0 rgba(31,157,85,.5); animation: n-live 2.4s infinite; flex: none; }
@keyframes n-live { 0% { box-shadow: 0 0 0 0 rgba(31,157,85,.45); } 70% { box-shadow: 0 0 0 9px rgba(31,157,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); } }
@media (prefers-reduced-motion: reduce) { .n-live__dot { animation: none; } }
@media (max-width: 560px) { .n-lg button { font-size: 13.5px; padding: 7px 12px; } }

/* ---------- Training: Auszeichnungen ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bdgs { margin: 28px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.bdgs summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.bdgs summary::-webkit-details-marker { display: none; }
.bdgs summary h2 { font-size: 1.15rem; margin: 0; }
.bdgs__n { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.bdgs summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-left: 4px; align-self: center; transition: transform .2s; }
.bdgs[open] summary::after { transform: rotate(-135deg); }
.bdgs summary h2 { flex: 1; }
.bdgs__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px 16px; }
.bdg { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bdg__m { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px dashed var(--line-2); color: var(--muted); font-weight: 700; font-size: 14px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bdg.is-on .bdg__m { border: 0; background: var(--red); color: #fff; box-shadow: inset 0 0 0 3px rgba(255,255,255,.28), 0 6px 16px -8px rgba(213,43,30,.7); }
.bdg__t { display: flex; flex-direction: column; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.bdg__t small { font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.bdg:not(.is-on) .bdg__t { color: var(--muted); }
.bdg-new { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); }
.bdg-new p { margin: 0; display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; }
.bdg-new p a { font-size: 13.5px; }
.bdg-new .bdgs__list { margin-top: 10px; }
.bdg--big .bdg__m { animation: bdg-pop .7s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes bdg-pop { from { transform: scale(.3) rotate(-25deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bdg--big .bdg__m { animation: none; } }

/* ---------- Training: KI-Lernhilfe ---------- */
.lh { max-width: 760px; }
.lh__ai { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.lh__ai-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--red); }
.lh__log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lh__log > li { max-width: 92%; padding: 14px 16px; border-radius: 16px; font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.lh__log p { margin: 0 0 .6em; } .lh__log p:last-child { margin-bottom: 0; }
.lh__log ul { margin: 0 0 .6em; padding-left: 1.2em; } .lh__log li li { margin: .2em 0; }
.lh__hello, .lh__a { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.lh__q { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.lh__a.is-err { border-color: var(--red); }
.lh__ex { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lh__ex button { font: inherit; font-size: 13.5px; text-align: left; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper-2); color: var(--ink); cursor: pointer; }
.lh__ex button:hover { border-color: var(--ink); }
.lh-ref { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin: 0 1px; padding: 0 4px; border-radius: 9px; background: var(--paper-2); color: var(--red); font-size: 10.5px; font-weight: 700; vertical-align: super; line-height: 1; cursor: help; }
.lh__src { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin-top: 12px !important; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.lh__src span { color: var(--muted); }
.lh__src a { display: inline-flex; gap: 4px; align-items: baseline; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink); text-decoration: none; }
.lh__src a:hover { color: var(--red); }
.lh__src sup { color: var(--red); font-weight: 700; font-size: 10.5px; }
.lh__dots { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: middle; }
.lh__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: lh-dot 1s infinite; }
.lh__dots i:nth-child(2) { animation-delay: .15s; } .lh__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes lh-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.lh.is-wait .lh__a { color: var(--muted); }
.lh__form { position: sticky; bottom: 12px; margin-top: 20px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 14px 40px -24px rgba(0,0,0,.35); }
.lh__form textarea { width: 100%; box-sizing: border-box; border: 0; resize: vertical; min-height: 52px; font: inherit; font-size: 16px; background: transparent; color: var(--ink); outline: none; }
.lh__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 6px; }
.lh__scope { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); min-width: 0; }
.lh__scope select { font: inherit; font-size: 13.5px; max-width: 240px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); }
.lh__left { margin-left: auto; font-size: 13px; color: var(--muted); }
.lh__form .btn[disabled] { opacity: .5; }
.lh-off { max-width: 640px; padding: 24px; border-radius: 18px; background: var(--paper-2); }
.lh-off h2 { margin: 0 0 6px; font-size: 1.2rem; }
html.is-app .lh__form { bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (max-width: 560px) { .lh__log > li { max-width: 100%; } .lh__scope select { max-width: 170px; } .lh__left { margin-left: 0; width: 100%; order: 3; } .lh__bar .btn { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .lh__dots i { animation: none; opacity: .6; } }

/* ---------- Startseite: Teaser KI-Lernhilfe ---------- */
.n-ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; margin-top: 40px; padding: 28px; border-radius: 24px; background: var(--paper-2); }
.n-ask__txt h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin: 0 0 10px; }
.n-ask__txt p { color: var(--ink-2); margin: 0 0 18px; max-width: 42ch; }
.n-ask__demo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.n-ask__q { align-self: flex-end; margin: 0; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--paper); font-size: 15px; }
.n-ask__a { align-self: flex-start; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: var(--card); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.n-ask__a p { margin: 0 0 .5em; } .n-ask__a p:last-child { margin: 0; }
.n-ask__src { font-size: 13px; color: var(--muted); }
.n-ask__src span { display: inline-block; margin-left: 4px; padding: 2px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.n-ask__src sup { color: var(--red); font-weight: 700; margin-right: 3px; }
.n-ask__demo figcaption { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .n-ask { grid-template-columns: 1fr; padding: 20px; gap: 20px; } }

/* ---------- Training: Eigene Prüfung ---------- */
.mix__step { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.mix__step legend { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; padding: 0; }
.mix__step legend small { font-size: 14px; font-weight: 400; color: var(--muted); }
.mix__no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 14px; }
.mix__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.mix__s { position: relative; display: grid; gap: 6px; align-content: start; padding: 10px 10px 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); cursor: pointer; min-width: 0; transition: border-color .2s, transform .2s; }
.mix__s:hover { transform: translateY(-2px); }
.mix__s input { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; accent-color: var(--red); z-index: 1; }
.mix__s img { width: 100%; aspect-ratio: 210/297; object-fit: cover; border-radius: 4px; box-shadow: 0 8px 16px -10px rgba(0,0,0,.5); background: #fff; }
.mix__t { font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--ink); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.mix__n { font-size: 12.5px; color: var(--red); font-weight: 600; min-height: 1em; }
.mix__s:has(input:checked) { border-color: var(--red); background: color-mix(in srgb, var(--red) 5%, var(--card)); }
.mix__s:has(input:disabled) { opacity: .45; cursor: not-allowed; transform: none; }
.mix__s:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.mix__lv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.mix__lv label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); cursor: pointer; }
.mix__lv input { accent-color: var(--red); margin-top: 3px; }
.mix__lv span { display: flex; flex-direction: column; gap: 2px; }
.mix__lv small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.mix__lv label:has(input:checked) { border-color: var(--red); }
.mix__go { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 14px 40px -24px rgba(0,0,0,.4); }
.mix__go p { margin: 0; font-size: 15px; color: var(--ink-2); }
.mix__go .btn[disabled] { opacity: .45; cursor: not-allowed; }
.mix:not(:has(input[name="s[]"]:checked)) .mix__go { position: static; }
html.is-app .mix__go { bottom: calc(76px + env(safe-area-inset-bottom)); }
.mix__mine { margin-top: 44px; }
.mix__mine h2 { font-size: 1.2rem; margin: 0 0 12px; }
.mix__mine ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mix__mine li { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--paper-2); }
.mix__mine li > span { flex: 1 1 260px; display: flex; flex-direction: column; min-width: 0; }
.mix__mine small { color: var(--muted); font-size: 13px; }
.mix__grade { font-weight: 700; color: var(--ink); text-decoration: none; padding: 4px 10px; border-radius: 999px; background: var(--card); }
.lvl--mix { background: linear-gradient(90deg, #2f9e6e, #e0a100, #d52b1e); color: #fff; }

/* ---------- Startseite: Kachel «Eigene Prüfung» ---------- */
.n-tile--w6 { grid-column: 1 / -1; }
.n-tile--mix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--card); border: 1px solid var(--line); }
.n-mix__new { margin: 0 0 8px; color: var(--red); font-weight: 650; font-size: 15px; }
.n-mix__txt h3 { margin: 0 0 10px; }
.n-mix__txt p:not(.n-mix__new) { color: var(--ink-2); margin: 0 0 20px; max-width: 44ch; }
.n-mix__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; }
.n-mix__pick span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.n-mix__pick button { font: inherit; font-weight: 650; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.n-mix__pick button:hover { border-color: var(--ink); }
.n-mix__pick button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.n-mix__pick button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.n-mix__bar { display: flex; gap: 4px; height: 120px; }
.n-mix__seg { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 10px; border-radius: 12px; background: var(--c); color: #fff; overflow: hidden; animation: nMixIn .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
.n-mix__seg b { font-size: clamp(1.2rem, 2.4vw, 1.8rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.n-mix__seg small { font-size: 12px; line-height: 1.2; opacity: .92; overflow: hidden; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@keyframes nMixIn { from { transform: scaleY(.3); transform-origin: bottom; opacity: 0; } }
.n-mix__sum { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .n-mix__seg { animation: none; } }
@media (max-width: 900px) { .n-tile--mix { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .n-mix__pick span { width: 100%; } .n-mix__seg small { display: none; } .n-mix__bar { height: 84px; } .n-mix__pick button { width: 36px; height: 36px; } }

/* ---------- Startseite: neue Scripte (Fächer) ---------- */
.n-tip--new { max-width: 1000px; }
.n-tip__fan { position: relative; width: clamp(190px, 24vw, 260px); height: clamp(150px, 18vw, 200px); }
.n-tip__fan .n-tip__cover { position: absolute; left: calc(var(--k) * 15%); top: 0; width: 46%; transform: rotate(calc((var(--k) - 2) * 5deg)) translateY(calc(var(--k) * 4px)); transform-origin: bottom center; z-index: calc(10 - var(--k)); transition: transform .3s cubic-bezier(.2,.8,.2,1), z-index 0s; }
.n-tip__fan .n-tip__cover:hover, .n-tip__fan .n-tip__cover:focus-visible { transform: rotate(0) translateY(-10px); z-index: 20; }
.n-tip__fan .n-tip__cover:hover img { transform: none; }
@media (max-width: 640px) { .n-tip--new { grid-template-columns: 1fr; justify-items: center; } .n-tip--new .n-tip__fan { width: 230px; height: 180px; } }

/* ---------- Scripte: Hinweise scrollen mit, nur die Suche bleibt (schmal) oben ---------- */
.filters { position: static; margin-bottom: 14px; padding: 0; background: none; backdrop-filter: none; }
.filters-search { position: sticky; top: 86px; z-index: 5; display: flex; justify-content: flex-end; margin: 0 0 22px; pointer-events: none; }
.filters-search .search { margin-left: 0; pointer-events: auto; }
.filters-search .search input { background-color: var(--card); box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); }
@media (max-width: 700px) { .filters-search .search { width: 100%; } }
