/* GREAIT Academy – Gestaltung
   CI wie auf der GREAIT-Hauptwebsite: Gelb (#FFED00) und Schwarz, Schrift TeX Gyre Heros (fett, Großbuchstaben
   für Schlagzeilen), das verpixelte Herz als Leitmotiv: Pixel-Ecken, Pixel-Symbole, Pixel-Raster.
   Farbwerte, Abstände und gemeinsame Bausteine (Knöpfe, Karten, Kopf- und Fußzeile) entsprechen
   /srv/greait/projects/website/src/assets/css/main.css – bei Änderungen dort hier nachziehen. */

@font-face { font-family: "Heros"; src: url(/assets/fonts/heros-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Heros"; src: url(/assets/fonts/heros-bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --black: #050505;
  --ink: #0e0e0c;
  --coal: #161614;
  --coal-2: #1f1f1c;
  --yellow: #ffed00;
  --white: #fffef8;
  --text: #e9e8e0;
  --muted: #a9a8a0;
  --paper: #f4f3ec;
  --paper-ink: #141414;
  --line: rgba(255, 255, 255, 0.13);
  --line-2: rgba(255, 255, 255, 0.28);
  --error: #ff7a66;
  --turq: #39d9c8; /* nur für die Vorschau-Markierungen */
  --bg: var(--black);
  --shell: 1240px;
  --gut: clamp(20px, 4.2vw, 56px);
  --sec: clamp(64px, 9vw, 128px);
  --hdr: 72px;
  --n: 8px; /* Kantenlänge der Pixel-Ecken */
  --font: "Heros", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--black); color: var(--text); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--white); }
h1, h2 { text-transform: uppercase; letter-spacing: -0.025em; line-height: 0.98; overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.7vw, 4.9rem); }
h2 { font-size: clamp(1.8rem, 3.9vw, 3.3rem); }
h3 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--yellow); }
strong, b { font-weight: 700; }
strong { color: var(--white); }
em { font-style: normal; }
::selection { background: var(--yellow); color: #000; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--yellow); color: #000; padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.shell { width: 100%; max-width: calc(var(--shell) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

/* Pixel-Ecken: schneidet an jeder Ecke ein Quadrat heraus – wie beim Herz. */
.btn, .card, .tag, .person, .steps__nr, .phero__icon, .rows li, .mail, .demo__hints li, .demo__done, .demo__count strong, .custom, .custom__list li, .modul, .modul__custom, .pfad, .aside, .form, .form__error, .form__ok {
  clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n)));
}

/* Pixel-Symbole */
.px { width: 1em; height: 1em; max-width: none; flex: none; display: inline-block; }
.px--xl { width: clamp(110px, 14vw, 180px); height: clamp(110px, 14vw, 180px); }

/* ---------- Kleinteile ---------- */
.eyebrow { display: flex; align-items: center; gap: 0.7em; margin: 0 0 1.4em; font-size: 0.8rem; font-weight: 700; line-height: 1.35; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; flex: none; }
.lead { margin: 0; font-size: clamp(1.12rem, 1.55vw, 1.32rem); line-height: 1.5; color: var(--text); max-width: 42em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.tag { --n: 4px; display: inline-flex; align-items: center; gap: 0.6em; padding: 0.5em 0.85em 0.42em; background: var(--yellow); color: #000; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.tag--vorbereitung::before { content: ""; width: 7px; height: 7px; background: currentColor; animation: blink 1.8s steps(2, end) infinite; }

.btn { --n: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 0.65em; padding: 1.05em 1.45em 1em; background: var(--yellow); color: #000; font: 700 1rem/1 var(--font); text-decoration: none; border: 0; cursor: pointer; position: relative; isolation: isolate; transition: transform 0.18s var(--ease), background 0.18s, color 0.18s; }
.btn:hover { background: var(--white); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .px { width: 1.05em; height: 1.05em; }
.btn--sm { padding: 0.8em 1.05em 0.75em; font-size: 0.9rem; }
.btn--dark { background: #000; color: var(--yellow); }
.btn--dark:hover { background: #000; color: var(--white); }
/* Umriss-Knöpfe: außen Rahmenfarbe, innen der Hintergrund des Abschnitts – ergibt einen Pixel-Rahmen */
.btn--ghost, .btn--line { background: var(--line-2); color: var(--white); }
.btn--ghost::before, .btn--line::before { content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--bg); --n: 4px; clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n))); transition: background 0.18s; }
.btn--ghost:hover { background: var(--yellow); color: var(--yellow); }
.btn--line { background: #000; color: #000; }
.btn--line::before { background: var(--yellow); }
.btn--line:hover { background: #000; color: var(--yellow); }
.btn--line:hover::before { background: #000; }

.link { display: inline-flex; align-items: center; gap: 0.5em; padding: 0 0 2px; background: none; border: 0; border-bottom: 2px solid currentColor; font: 700 1rem/1.4 var(--font); color: var(--yellow); text-decoration: none; cursor: pointer; transition: gap 0.18s var(--ease), color 0.18s; }
.link::after { content: ""; width: 0.72em; height: 0.72em; flex: none; background: currentColor; clip-path: polygon(0 38%, 55% 38%, 55% 8%, 100% 50%, 55% 92%, 55% 62%, 0 62%); }
.link:hover { gap: 0.9em; color: var(--white); }

.pxlist li { position: relative; padding-left: 1.6em; margin-bottom: 0.6em; }
.pxlist li:last-child { margin-bottom: 0; }
.pxlist li::before { content: ""; position: absolute; left: 0; top: 0.52em; width: 9px; height: 9px; background: var(--yellow); }

/* ---------- Vorschau-Hinweise (gibt es nur im Vorschau-Build) ---------- */
.vbar { margin: 0; padding: 7px var(--gut); background: var(--turq); color: #03201c; font-size: 0.86rem; line-height: 1.4; text-align: center; }
.vbar strong { color: inherit; }
.offen { display: inline-flex; align-items: baseline; gap: 0.6em; margin-top: 14px; padding: 0.3em 0.65em; border: 1px dashed var(--turq); color: var(--turq); font-size: 0.82rem; line-height: 1.4; font-weight: 400; text-transform: none; letter-spacing: 0; }
.offen b { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.offen-reihe { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 12px 0 0; }
.offen-reihe:empty { display: none; }

/* ---------- Kopfzeile ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(5, 5, 5, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.hdr__logo, .ftr__logo { flex: none; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.hdr__logo img { width: 132px; height: auto; }
.hdr__tag { display: inline-flex; align-items: center; gap: 10px; padding-top: 2px; font-size: 0.92rem; font-weight: 700; line-height: 1; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); }
.hdr__tag::before { content: ""; width: 8px; height: 8px; background: var(--yellow); }
.nav { margin-left: auto; align-self: stretch; }
.nav > ul { display: flex; height: 100%; }
.nav li { display: flex; }
.nav a { display: flex; align-items: center; padding: 0 14px; font-size: 0.95rem; font-weight: 700; color: var(--text); text-decoration: none; position: relative; transition: color 0.15s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.22s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hdr__act { display: flex; align-items: center; gap: 14px; }
.hdr__main { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.9rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.hdr__main .px { width: 0.85em; height: 0.85em; color: var(--yellow); }
.hdr__main:hover { color: var(--white); }

.burger { display: none; width: 46px; height: 46px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: var(--yellow); }
.burger span { width: 22px; height: 3px; background: #000; transition: transform 0.2s var(--ease), opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.mnav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; background: var(--black); padding-block: 8px 36px; border-top: 1px solid var(--line); border-bottom: 4px solid var(--yellow); }
.mnav__main a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; text-decoration: none; color: var(--white); }
.mnav__main a[aria-current] { color: var(--yellow); }
.mnav__foot { display: grid; gap: 12px; margin-top: 28px; }
.mnav__back { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Abschnitte ---------- */
.sec { padding-block: var(--sec); background: var(--bg); position: relative; }
.sec--alt { --bg: var(--ink); }
.sec--tight { padding-block: clamp(40px, 6vw, 80px); }
.sec__more { margin: 48px 0 0; }
.shead { max-width: 54rem; margin-bottom: clamp(36px, 5vw, 64px); }
.shead__text { margin: 1.4em 0 0; font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.shead__text a, .split__text a { color: var(--yellow); text-underline-offset: 3px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__head { position: sticky; top: calc(var(--hdr) + 32px); }
.split__head .shead { margin-bottom: 0; }
.split__text { margin: 1.4em 0 0; max-width: 34em; color: var(--muted); font-size: 1.1rem; }
.split__text + .split__text { margin-top: 1em; }
.split__head .sec__more { margin-top: 28px; }

/* Pixel-Raster als Hintergrund */
.pxbg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 80% 20%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 80% 90% at 80% 20%, #000 0%, transparent 70%); opacity: 0.7; }

/* ---------- Startseite: Bühne ---------- */
.hero { position: relative; overflow: clip; padding-top: clamp(48px, 8vw, 110px); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 5vw, 80px); align-items: center; min-height: min(58vh, 600px); }
.hero .lead { margin-top: 1.6em; max-width: 36em; }

/* Das Academy-Zeichen: das Markenherz mit Doktorhut. Das Herz schlägt, der Hut hüpft mit. */
.emblem { position: relative; justify-self: center; width: min(100%, 440px); }
.emblem__svg { display: block; width: 100%; overflow: visible; }
.emblem__herz { fill: var(--yellow); transform-box: fill-box; transform-origin: center; animation: beat 2.6s 1.4s ease-in-out infinite; }
.emblem__hut { fill: var(--white); animation: hut 2.6s 1.4s ease-in-out infinite; }
.bit { position: absolute; width: 12px; height: 12px; background: var(--yellow); animation: blink 2.8s steps(2, end) infinite; }
.bit--1 { left: 4%; top: 60%; }
.bit--2 { left: 92%; top: 14%; animation-delay: 0.3s; }
.bit--3 { left: 0; top: 22%; background: var(--white); animation-delay: 0.6s; }
.bit--4 { left: 97%; top: 78%; background: var(--white); animation-delay: 0.9s; }
.bit--5 { left: 72%; top: 97%; animation-delay: 0.2s; }
@keyframes beat { 0%, 36%, 100% { transform: scale(1); } 9% { transform: scale(1.045); } 18% { transform: scale(1); } 27% { transform: scale(1.03); } }
@keyframes hut { 0%, 36%, 100% { transform: translateY(0); } 9% { transform: translateY(-0.32px); } 18% { transform: translateY(0); } 27% { transform: translateY(-0.2px); } }
@keyframes blink { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }

.facts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-2); }
.facts li { display: grid; align-content: start; gap: 2px; padding: 22px 24px 26px 0; border-right: 1px solid var(--line); }
.facts li + li { padding-left: 24px; }
.facts li:last-child { border-right: 0; }
.facts strong { font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; color: var(--yellow); }
.facts b { color: var(--white); }
.facts span { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.sec--facts { padding-block: 0 clamp(8px, 2vw, 24px); }
.sec--facts .facts { margin-top: 0; border-top: 0; border-bottom: 1px solid var(--line); }
.extra { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 18px; }
.extra div { display: flex; gap: 0.6em; }
.extra dt { color: var(--muted); }
.extra dd { color: var(--white); font-weight: 700; }

/* ---------- Unterseiten: Kopfbereich ---------- */
.phero { position: relative; overflow: clip; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.phero__in { position: relative; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: center; }
.phero h1 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); max-width: 15em; }
.phero .lead { margin-top: 1.5em; }
.phero__icon { --n: 16px; padding: clamp(24px, 3vw, 44px); background: var(--yellow); color: #000; }
.phero--404 { min-height: 62vh; display: flex; align-items: center; }
.phero--404 .phero__in { width: 100%; }
.crumbs { margin-bottom: clamp(28px, 4vw, 52px); font-size: 0.85rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4em 0.7em; }
.crumbs li + li::before { content: "/"; margin-right: 0.7em; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: var(--white); }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 1.6em 0 0; max-width: 42em; color: var(--muted); font-size: 0.98rem; }

/* ---------- Karten ---------- */
.card { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); background: var(--coal); color: var(--text); text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.2s var(--ease); }
.card h3 { margin-bottom: 0.55em; transition: color 0.2s; }
.card p { color: var(--muted); margin: 0; transition: color 0.2s; }
.card__icon { display: block; margin-bottom: 22px; }
.card__icon .px { width: 44px; height: 44px; color: var(--yellow); transition: color 0.2s, transform 0.25s var(--ease); }
.card__more { display: inline-flex; align-items: center; gap: 0.5em; margin-top: auto; padding-top: 22px; font-weight: 700; font-size: 0.92rem; color: var(--yellow); transition: color 0.2s, gap 0.2s var(--ease); }
.card--link:hover { background: var(--yellow); color: #000; transform: translateY(-4px); }
.card--link:hover h3, .card--link:hover p, .card--link:hover .card__more, .card--link:hover .px, .card--link:hover .mod__nr, .card--link:hover .kcard__meta li { color: #000; }
.card--link:hover .card__more { gap: 0.9em; }
.card--link:hover .card__icon .px { transform: scale(1.12) rotate(-4deg); }
.card--link:hover .tag { background: #000; color: var(--yellow); }
.card--link:hover .kcard__meta { border-color: rgba(0, 0, 0, 0.35); }
.card--num h3 { margin-top: 18px; }
.card--wish { background: var(--coal-2); }
.card--wish .link { align-self: flex-start; margin-top: 22px; }

.mod__top, .kcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.mod__top .card__icon, .kcard__top .card__icon { margin-bottom: 0; }
.mod__top .card__icon .px { width: 36px; height: 36px; }
.mod__nr { font-size: 2.4rem; font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--yellow); transition: color 0.2s; }
.kcard { padding: clamp(28px, 3.4vw, 48px); }
.kcard__top { align-items: center; }
.kcard__top .card__icon .px { width: 60px; height: 60px; }
.kcard h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; }
.kcard__meta { display: grid; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); transition: border-color 0.2s; }
.kcard__meta li { display: flex; align-items: center; gap: 0.7em; color: var(--white); font-size: 0.97rem; transition: color 0.2s; }
.kcard__meta .px { color: var(--yellow); }

.feld__module { display: grid; gap: 8px; margin-top: auto; padding-top: 22px; }
.feld__module::before { content: ""; height: 1px; margin-bottom: 10px; background: var(--line); }
.feld__module a { display: flex; gap: 10px; color: var(--white); font-weight: 700; font-size: 0.96rem; line-height: 1.35; text-decoration: none; }
.feld__module a span { color: var(--yellow); font-variant-numeric: tabular-nums; }
.feld__module a:hover { color: var(--yellow); }

/* Zeilen mit Symbol (Lernformen) */
.rows { display: grid; gap: 12px; }
.rows li { display: flex; gap: 20px; align-items: flex-start; padding: 24px 26px; background: var(--coal); }
.rows .px { width: 34px; height: 34px; margin-top: 2px; color: var(--yellow); }
.rows h3 { margin-bottom: 0.35em; }
.rows p { margin: 0; color: var(--muted); }

/* ---------- Übung: Warnzeichen finden ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.mail { --n: 12px; background: var(--paper); color: var(--paper-ink); font-size: 1rem; line-height: 1.55; }
.mail p { margin: 0; }
.mail strong { color: inherit; }
.mail__bar { display: flex; align-items: center; gap: 6px; padding: 14px 20px 12px; background: #dddbd0; border-bottom: 2px solid var(--paper-ink); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }
.mail__bar i { width: 10px; height: 10px; background: var(--paper-ink); }
.mail__bar span { margin-left: auto; }
.mail__head { display: grid; gap: 6px; padding: 16px 22px; border-bottom: 1px solid #cfcdc2; }
.mail__head div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 10px; }
.mail__head dt { color: #66665f; font-size: 0.92rem; }
.mail__head dd { font-weight: 700; overflow-wrap: anywhere; }
.mail__body { display: grid; gap: 14px; padding: 22px 22px 28px; }
.mail__att { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 9px 12px; background: #e9e7dc; border: 1px solid #cfcdc2; }
.hot { -webkit-appearance: none; appearance: none; display: inline; margin: 0; padding: 0 0.12em; background: none; border: 0; border-radius: 0; color: inherit; font: inherit; text-align: left; overflow-wrap: anywhere; text-decoration: underline dotted #8d8b80 2px; text-underline-offset: 4px; cursor: pointer; }
.hot:hover { background: rgba(255, 237, 0, 0.5); }
.hot:focus-visible { outline: 3px solid var(--paper-ink); outline-offset: 2px; }
.hot.is-found { background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow); text-decoration: none; }
.hot--btn { display: inline-block; padding: 0.7em 1.15em 0.65em; background: var(--paper-ink); color: #fff; font-weight: 700; text-decoration: none; }
.hot--btn:hover { background: #333; }
.hot--btn.is-found { background: var(--yellow); color: var(--paper-ink); box-shadow: 0 0 0 3px var(--paper-ink); }
.demo:not(.is-live) .hot { cursor: default; }

.demo__count { display: flex; align-items: center; gap: 0.7em; margin: 0 0 16px; color: var(--white); font-size: 1.05rem; font-weight: 700; }
.demo__count strong { --n: 4px; display: inline-grid; place-items: center; min-width: 2.1em; height: 2.1em; background: var(--yellow); color: #000; font-size: 1.15rem; }
.demo__hints { display: grid; gap: 10px; counter-reset: hint; }
.demo__hints li { --n: 6px; position: relative; display: grid; gap: 4px; min-height: 60px; padding: 16px 18px 16px 58px; background: var(--coal); counter-increment: hint; transition: background 0.2s; }
.demo__hints li::before { content: counter(hint); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 28px; height: 28px; background: var(--coal-2); color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.demo__hints strong { color: var(--white); }
.demo__hints span { color: var(--text); font-size: 0.96rem; line-height: 1.5; }
.demo.is-live .demo__hints li:not(.is-found) > * { display: none; }
.demo.is-live .demo__hints li:not(.is-found)::after { content: "Noch nicht gefunden"; color: var(--muted); font-size: 0.96rem; line-height: 28px; }
.demo__hints li.is-found { background: var(--coal-2); }
.demo__hints li.is-found::before { background: var(--yellow); color: #000; }
.demo__hints li.is-current { background: var(--yellow); }
.demo__hints li.is-current strong, .demo__hints li.is-current span { color: #000; }
.demo__hints li.is-current::before { background: #000; color: var(--yellow); }
.demo__done { --n: 6px; display: flex; gap: 14px; margin: 16px 0 0; padding: 16px 18px; background: var(--yellow); color: #000; }
.demo__done strong { color: #000; }
.demo__done .px { width: 22px; height: 22px; margin-top: 2px; }
.demo__all { margin-top: 20px; }
.demo:not(.is-live) .demo__all, .demo:not(.is-live) .demo__count { display: none; }
.demo__note { margin: 18px 0 0; color: var(--muted); font-size: 0.86rem; }

/* ---------- Zugeschnitten auf das Unternehmen ---------- */
.custom { --n: 12px; --bg: var(--coal); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); background: var(--coal); }
.custom__copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
.custom__copy > p:not(.eyebrow) { margin: 1.4em 0 0; color: var(--muted); font-size: 1.1rem; }
.custom__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.custom__list li { --n: 6px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; padding: 22px; background: var(--coal-2); }
.custom__list .px { width: 30px; height: 30px; margin-top: 2px; color: var(--yellow); }
.custom__list strong { display: block; font-size: 1.08rem; line-height: 1.25; }
.custom__list span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.96rem; line-height: 1.5; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
.steps > li { padding-top: 28px; border-top: 1px solid var(--line-2); }
.steps__nr { --n: 6px; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 22px; background: var(--yellow); color: #000; font-size: 1.5rem; font-weight: 700; }
.steps h3 { margin-bottom: 0.5em; font-size: 1.3rem; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Lernpfade ---------- */
.pfade { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: stretch; }
.pfad { --n: 12px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.4vw, 48px); background: var(--coal); }
.pfad__icon .px { width: 52px; height: 52px; color: var(--yellow); }
.pfad__wann { margin: 26px 0 10px; color: var(--yellow); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.pfad h3 { margin-bottom: 0.6em; font-size: clamp(1.4rem, 2.2vw, 1.8rem); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; }
.pfad p:last-child { color: var(--muted); }
.pfade__pfeil { align-self: center; color: var(--yellow); }
.pfade__pfeil .px { width: 36px; height: 36px; }

/* ---------- Kursmodule und FAQ (aufklappbar) ---------- */
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: none; width: 18px; height: 18px; }
summary i::before, summary i::after { content: ""; position: absolute; background: var(--yellow); transition: transform 0.2s var(--ease), background 0.2s; }
summary i::before { left: 0; right: 0; top: 7px; height: 4px; }
summary i::after { top: 0; bottom: 0; left: 7px; width: 4px; }
details[open] > summary i::after { transform: scaleY(0); }

.module { display: grid; gap: 10px; }
.modul { background: var(--coal); transition: background 0.2s; }
.modul[open] { background: var(--coal-2); }
.modul summary { display: grid; grid-template-columns: 2.6rem 30px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 26px; }
.modul__nr { font-size: 1.7rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--yellow); }
.modul__icon .px { width: 30px; height: 30px; color: var(--white); }
.modul__titel strong { display: block; font-size: 1.18rem; line-height: 1.25; transition: color 0.15s; }
.modul__titel small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.modul summary:hover strong { color: var(--yellow); }
.modul__body { padding: 4px 26px 28px; }
.modul__custom { --n: 6px; display: flex; gap: 14px; margin: 20px 0 0; padding: 16px 18px; background: var(--yellow); color: #000; font-size: 0.98rem; line-height: 1.5; }
.modul__custom strong { color: #000; }
.modul__custom .px { width: 20px; height: 20px; margin-top: 2px; }

.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item:first-child { border-top: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 700; font-size: 1.18rem; line-height: 1.3; color: var(--white); }
.faq summary:hover { color: var(--yellow); }
.faq__a { padding: 0 48px 26px 0; color: var(--text); }
.faq__a p:last-child { margin: 0; }
.faq__a a, .prose a, .form__hint a, .aside__note a { color: var(--yellow); text-underline-offset: 3px; }
.faq-groups { display: grid; gap: clamp(40px, 6vw, 72px); max-width: 54rem; }
.faq-group h2 { margin-bottom: 0.9em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ---------- Ansprechpartner ---------- */
.person { --n: 12px; --bg: var(--coal); display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); background: var(--coal); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; min-height: 100%; }
.person__body { padding: clamp(28px, 4vw, 56px); align-self: center; }
.person__body h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 0.5em; }
.person__body > p { max-width: 38em; }
.person__name { margin: 1.4em 0 0; }
.person__name strong { display: block; font-size: 1.15rem; }
.person__name span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Gelbes Abschlussband ---------- */
.cta { --bg: var(--yellow); position: relative; background: var(--yellow); color: #000; padding-block: clamp(56px, 8vw, 112px); overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -24px; bottom: -24px; width: 264px; height: 216px; opacity: 0.1; background: #000; -webkit-mask: url(/assets/img/herz.svg) center / contain no-repeat; mask: url(/assets/img/herz.svg) center / contain no-repeat; }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: clamp(28px, 5vw, 72px); align-items: end; }
.cta h2 { color: #000; font-size: clamp(1.9rem, 4.2vw, 3.6rem); max-width: 16em; }
.cta h2 em { color: #000; box-shadow: inset 0 -0.14em 0 rgba(0, 0, 0, 0.9); }
.cta p { margin: 1.4em 0 0; font-size: 1.15rem; max-width: 38em; }
.cta__act { display: grid; gap: 12px; }
.cta :focus-visible { outline-color: #000; }

/* ---------- Formular ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.form { --n: 12px; --bg: var(--ink); display: grid; gap: 20px; padding: clamp(26px, 4vw, 52px); background: var(--ink); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field > span, .field legend { padding: 0; font-size: 0.88rem; font-weight: 700; color: var(--white); }
.field legend { margin-bottom: 10px; }
.field b { color: var(--yellow); }
.field input:not([type="checkbox"]), .field textarea { width: 100%; padding: 0.95em 1.05em; background: var(--coal); color: var(--white); border: 2px solid var(--line-2); border-radius: 0; font: 400 1.05rem/1.3 var(--font); transition: border-color 0.15s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:not([type="checkbox"]):focus, .field textarea:focus { outline: 0; border-color: var(--yellow); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field ::placeholder { color: #85847d; opacity: 1; }
.field--checks { gap: 0; }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; color: var(--text); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin: 0; background: var(--coal); border: 2px solid var(--line-2); border-radius: 0; cursor: pointer; }
.check input:checked { background: var(--yellow); border-color: var(--yellow); }
.check input:checked::after { content: ""; width: 10px; height: 10px; background: #000; }
.form__hint { margin: 0; font-size: 0.86rem; color: var(--muted); }
.form__error { --n: 6px; margin: 0; padding: 14px 18px; background: var(--error); color: #000; font-weight: 700; }
.form__ok { --n: 6px; display: flex; gap: 14px; margin: 0; padding: 16px 18px; background: var(--yellow); color: #000; }
.form__ok a { color: #000; }
.form__ok .px { width: 22px; height: 22px; margin-top: 2px; }
.form .actions { margin-top: 0; }
.aside { --bg: var(--coal); display: grid; gap: 16px; padding: clamp(26px, 3vw, 36px); background: var(--coal); }
.aside h2 { font-size: 1.5rem; text-transform: none; letter-spacing: -0.01em; line-height: 1.2; }
.aside > p { margin: 0; color: var(--muted); }
.aside__list { display: grid; gap: 14px; }
.aside__list li { display: flex; align-items: flex-start; gap: 14px; }
.aside__list .px { width: 24px; height: 24px; margin-top: 2px; color: var(--yellow); }
.aside__list a { color: var(--white); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.aside__list a:hover { color: var(--yellow); }
.aside__note { padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.92rem; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 44rem; font-size: 1.02rem; line-height: 1.68; }
.prose h2 { margin: 2.1em 0 0.7em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 1.35rem; text-transform: none; letter-spacing: -0.01em; line-height: 1.2; }
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose ul { margin: 0 0 1.3em; }
.prose a { overflow-wrap: anywhere; }
.prose .offen-reihe { margin: 0 0 28px; }

/* ---------- Fußzeile ---------- */
.ftr { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 32px; font-size: 0.96rem; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.ftr__logo img { width: 150px; height: auto; }
.ftr__claim { margin: 22px 0 18px; max-width: 26em; color: var(--white); font-size: 1.1rem; line-height: 1.4; }
.ftr address { color: var(--muted); line-height: 1.7; }
.ftr address a { color: var(--text); text-decoration: none; }
.ftr address a:hover, .ftr__col a:hover, .ftr__legal a:hover { color: var(--yellow); }
.ftr__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ftr__head { margin-bottom: 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.ftr__col li { margin-bottom: 9px; }
.ftr__col a { color: var(--text); text-decoration: none; }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.ftr__bottom p { margin: 0; }
.ftr__legal { display: flex; gap: 24px; }
.ftr__legal a { text-decoration: none; }
.ftr__tag { margin-left: auto !important; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }

/* ---------- Sanftes Einblenden (nur mit Skript, nur ohne „weniger Bewegung“) ---------- */
.is-pre { opacity: 0; transform: translateY(22px); }
.is-pre.is-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1180px) {
  .hdr__main { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: flex; }
  .hdr__act { margin-left: auto; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top, .form-grid, .demo, .custom { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero__in, .split, .cta__in, .steps, .pfade { grid-template-columns: 1fr; }
  .split__head { position: static; }
  .emblem { order: -1; justify-self: start; width: min(56%, 240px); margin-bottom: 8px; }
  .hero__in { min-height: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 12px 20px 0; }
  .facts li + li { padding-left: 0; }
  .facts li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .phero__grid { grid-template-columns: 1fr; }
  .phero__icon { display: none; }
  .steps { row-gap: 0; }
  .steps > li { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 20px; padding: 24px 0; }
  .steps__nr { margin-bottom: 0; }
  .steps h3 { margin-top: 0.3em; }
  .pfade__pfeil { justify-self: center; transform: rotate(90deg); }
  .person { grid-template-columns: 1fr; }
  .person__img img { aspect-ratio: 1 / 1; object-position: center 6%; }
  .cta__act { justify-items: start; }
  .faq__a { padding-right: 0; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  h1, h2 { hyphens: auto; }
  .grid--2, .grid--3, .grid--4, .form__row, .ftr__nav, .custom__list { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .ftr__tag { margin-left: 0 !important; }
  .hdr__logo img { width: 112px; }
  .hdr__tag { font-size: 0.8rem; letter-spacing: 0.18em; }
  .modul summary { grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 12px; padding: 18px; }
  .modul__icon { display: none; }
  .modul__body { padding: 2px 18px 22px; }
  .rows li { padding: 20px; gap: 16px; }
  .mail__head div { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .hdr, .ftr__nav, .cta, .pxbg, .emblem, .vbar { display: none; }
  body { background: #fff; color: #000; }
  h1, h2, h3, strong, .lead { color: #000; }
}
