@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --ink: #171717;
  --ink-soft: #3f3f3f;
  --red: #b83227;
  --red-dark: #8f241d;
  --gray-head: #e6e6e6;
  --frame: #969696;
  --line: #d7d7d7;
  --blue: #eaf4ff;
  --blue-line: #afcbe8;
  --green: #e7f0cf;
  --green-ink: #315629;
  --cream: #faf4e9;
  --white: #fff;
  --surface: #fbfbfa;
  --border: #d2d2ce;
  --muted: #626262;
  --cover-shadow: 0 18px 44px rgba(23,23,23,.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.58;
}
body, button, input, select { letter-spacing: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .7rem 1rem; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.site-header::after { content: ""; position: absolute; bottom: -1px; left: max(1.25rem,calc((100% - var(--max))/2)); width: 68px; height: 3px; background: var(--red); }
.nav-shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: var(--ink); font-weight: 800; line-height: 1.05; text-decoration: none; }
.brand img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--ink); border-radius: 6px; }
.brand span { display: flex; flex-direction: column; font-size: 1.08rem; }
.brand span::after { content: "Arbeitshefte für die Berufsvorbereitung"; max-width: 210px; margin-top: .28rem; color: var(--muted); font-size: .68rem; font-weight: 600; line-height: 1.12; }
.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav a { position: relative; color: var(--ink-soft); font-size: .92rem; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red-dark); text-decoration: underline; text-underline-offset: 6px; }
.main-nav .nav-feedback { padding: .48rem .78rem; border: 1px solid var(--ink); border-radius: 6px; transition: color 160ms ease, background 160ms ease; }
.main-nav .nav-feedback:hover { color: white; background: var(--ink); text-decoration: none; }
.main-nav .nav-instagram { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--ink); border: 1px solid var(--border); border-radius: 6px; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.main-nav .nav-instagram:hover { color: white; background: var(--ink); border-color: var(--ink); text-decoration: none; }
.nav-instagram svg { width: 23px; height: 23px; flex: 0 0 auto; }
.nav-instagram span { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform 180ms ease, opacity 180ms ease; }

h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.14; letter-spacing: 0; }
h1 { margin-bottom: 1rem; font-size: clamp(2.8rem,5.2vw,4.35rem); font-weight: 800; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem,3.2vw,3rem); font-weight: 750; text-wrap: balance; }
h3 { margin-bottom: .65rem; font-size: 1.35rem; }
p { margin-top: 0; }
.eyebrow { margin: 0 0 .65rem; color: var(--red-dark); font-size: .76rem; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .6rem; padding: .68rem 1.05rem; border: 1px solid transparent; border-radius: 6px; font-weight: 750; line-height: 1.35; text-decoration: none; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.button-primary { color: white; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-outline, .button-light { color: var(--ink); background: white; border-color: var(--ink); }
.button-outline:hover, .button-light:hover { color: white; background: var(--ink); }
.text-link, .card-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--red-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.button span, .card-link span, .section-heading .text-link span, .about-result .text-link span { transition: transform 180ms ease; }
.button:hover span, .card-link:hover span, .section-heading .text-link:hover span, .about-result .text-link:hover span { transform: translateX(3px); }

.hero-band { position: relative; display: grid; min-height: min(540px,calc(100vh - 84px)); background: var(--surface); border-bottom: 1px solid var(--border); }
.hero-band::before { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--ink); }
.hero-brand-mark { position: absolute; top: 50%; right: max(1.25rem,calc((100% - var(--max))/2)); z-index: 2; display: grid; width: clamp(400px,32vw,450px); place-items: center; transform: translateY(-50%); }
.hero-brand-mark img { display: block; width: 100%; height: auto; opacity: .76; }
.hero-content { position: relative; z-index: 2; min-height: min(540px,calc(100vh - 84px)); display: flex; width: min(100% - 2.5rem,var(--max)); flex-direction: column; justify-content: center; margin-inline: auto; padding: 3.5rem 520px 3.5rem 0; }
.hero-content h1 { max-width: 650px; margin-bottom: 1.4rem; font-size: clamp(2.85rem,4vw,3.5rem); line-height: 1.08; text-wrap: balance; }
.hero-content h1 span { display: block; white-space: nowrap; }
.hero-lead { max-width: 600px; margin-bottom: 1.8rem; color: var(--ink-soft); font-size: clamp(1.1rem,1.7vw,1.3rem); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; }
.structure-path { display: flex; max-width: 600px; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: 2.3rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--ink-soft); font-size: .8rem; font-weight: 650; }
.structure-path span { padding: .28rem .48rem; background: var(--blue); border: 1px solid var(--blue-line); border-radius: 3px; }
.structure-path i { font-style: normal; }

.section { padding-block: clamp(3.8rem,6vw,5.5rem); }
.section + .section { border-top: 1px solid var(--border); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.module-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.module-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: white; border: 1px solid var(--border); border-radius: 8px; }
.module-visual, .progress-visual { position: relative; display: grid; min-height: 360px; place-items: center; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--border); }
.module-visual .sheet { position: static; width: min(47%,235px); aspect-ratio: 777/1100; object-fit: cover; object-position: top; background: white; border: 1px solid var(--frame); border-radius: 6px; box-shadow: var(--cover-shadow); transition: transform 180ms ease; }
.module-visual:hover .sheet { transform: translateY(-3px); }
.module-visual .sheet-back { display: none; }
.module-copy { position: relative; display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.module-copy > .status { display: inline-flex; width: fit-content; align-items: center; margin: 0 0 1rem; padding: .38rem .65rem; border: 1px solid var(--frame); border-radius: 4px; text-transform: none; }
.module-path { margin-bottom: .3rem; color: var(--muted); font-size: .8rem; font-weight: 650; }
.module-copy h3 { font-size: 1.65rem; }
.module-copy h3 a { text-decoration: none; }
.module-copy h3 a:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 4px; }
.module-copy > p:not(.module-path) { color: var(--ink-soft); }
.module-copy .card-link { margin-top: auto; padding-top: .5rem; }
.status { display: inline-block; padding: .22rem .48rem; border-radius: 3px; font-size: .72rem; font-weight: 750; }
.status-complete, .topic-state.done { color: var(--green-ink); background: var(--green); }
.status-progress, .topic-state.working { color: #74271f; background: var(--cream); border-color: #d7a9a4; }
.status-planned, .topic-state.planned { color: #4e4e4e; background: #efefef; }
.compact-facts, .detail-facts { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0; padding: 0; list-style: none; }
.compact-facts li, .detail-facts li { padding: .28rem .5rem; color: var(--ink-soft); background: var(--blue); border: 1px solid var(--blue-line); border-radius: 3px; font-size: .76rem; font-weight: 650; }
.preview-stack { position: relative; display: grid; min-height: 285px; place-items: center; }
.preview-stack img { position: absolute; width: min(40%,200px); aspect-ratio: 777/1100; object-fit: cover; object-position: top; background: white; border: 1px solid var(--frame); border-radius: 6px; box-shadow: var(--cover-shadow); }
.preview-stack img:first-child { left: 20%; }
.preview-stack img:last-child { right: 20%; display: none; }
.progress-meter { width: min(68%,320px); height: 7px; overflow: hidden; background: #dedede; border: 1px solid var(--frame); border-radius: 3px; }
.progress-meter span { display: block; height: 100%; background: var(--red); }
.progress-visual strong { margin: .4rem 0 1rem; color: var(--ink-soft); font-size: .78rem; }

.didactic-section { background: white; }
.didactic-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: end; margin-bottom: 2rem; }
.didactic-intro h2 { margin-bottom: 0; }
.didactic-intro > div:last-child > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.didactic-line { margin-bottom: .8rem; color: var(--ink); font-size: 1.18rem; font-weight: 750; }
.didactic-line span { color: var(--red); }
.didactic-principles { display: grid; overflow: hidden; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-bottom: 1px solid var(--border); }
.didactic-principles article { position: relative; min-width: 0; overflow: hidden; padding: 5rem 1.4rem 1.5rem; background: white; border: 0; border-top: 2px solid var(--ink); border-right: 1px solid var(--border); border-radius: 0; }
.didactic-principles article:last-child { border-right: 0; }
.didactic-principles article > span { position: absolute; top: 0; right: 0; left: 0; min-height: 60px; padding: 1.15rem 1rem .8rem 4.3rem; color: var(--ink); background: var(--gray-head); border-bottom: 1px solid var(--frame); font-size: .74rem; font-weight: 750; }
.didactic-principles article > span::before { content: ""; position: absolute; top: 9px; left: .75rem; width: 40px; height: 40px; background: center/contain no-repeat; }
.didactic-principles article:nth-child(1) > span::before { background-image: url("../icons/workbook/lesen.png"); }
.didactic-principles article:nth-child(2) > span::before { background-image: url("../icons/workbook/leitfrage.png"); }
.didactic-principles article:nth-child(3) > span::before { background-image: url("../icons/workbook/checkliste.png"); }
.didactic-principles h3 { font-size: 1.45rem; }
.didactic-principles p { color: var(--ink-soft); }
.didactic-principles ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .87rem; }
.didactic-principles li + li { margin-top: .35rem; }
.page-system { display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.72fr); gap: clamp(2.5rem,5vw,4.5rem); align-items: center; margin-top: clamp(2.5rem,4vw,3.5rem); padding: clamp(1.75rem,3vw,2.75rem); background: var(--surface); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--border); }
.page-system-copy { max-width: 650px; }
.page-system-copy > h3 { max-width: 580px; margin-bottom: 1rem; font-size: clamp(1.75rem,2.5vw,2.35rem); text-wrap: balance; }
.page-system-copy > p:not(.eyebrow) { max-width: 590px; color: var(--muted); }
.page-flow { display: grid; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.page-flow li { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.page-flow li > span { color: var(--red-dark); font-size: .72rem; font-weight: 800; }
.page-flow strong, .page-flow small { display: block; }
.page-flow strong { margin-bottom: .12rem; font-size: 1rem; }
.page-flow small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.page-blueprint { overflow: hidden; width: min(100%,430px); justify-self: end; background: white; border: 1.5px solid var(--ink); border-radius: 11px; box-shadow: 0 14px 34px rgba(23,23,23,.08); }
.blueprint-head { display: grid; min-height: 78px; grid-template-columns: 54px 86px 1px minmax(0,1fr); align-items: center; gap: .65rem; padding: .35rem .8rem .35rem .35rem; background: var(--gray-head); border-bottom: 1px solid var(--frame); }
.blueprint-head > span { align-self: stretch; background: url("../icons/workbook/leitfrage.png") center/42px no-repeat; }
.blueprint-head > strong { font-size: .88rem; white-space: nowrap; }
.blueprint-head > i { align-self: stretch; width: 1px; background: var(--frame); }
.blueprint-head > p { margin: 0; font-size: .82rem; line-height: 1.35; }
.blueprint-head > p b { font-weight: 800; }
.blueprint-body { display: grid; gap: 1rem; padding: 1.15rem; }
.blueprint-work { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; }
.blueprint-work span { position: relative; min-height: 104px; background: white url("../icons/workbook/lesen.png") center 14px/40px no-repeat; border: 1px solid var(--frame); border-radius: 8px; }
.blueprint-work span::after { content: ""; position: absolute; right: 12px; bottom: 15px; left: 12px; border-top: 1px solid var(--frame); }
.blueprint-work span:nth-child(2) { background-image: url("../icons/workbook/stift.png"); }
.blueprint-work span:nth-child(3) { background-image: url("../icons/workbook/lupe.png"); }
.blueprint-help { padding: .75rem .85rem; background: #eaf4ff; border: 1px solid #afcbe8; border-radius: 7px; }
.blueprint-help small { display: block; margin-bottom: .4rem; font-size: .68rem; font-weight: 800; }
.blueprint-chips { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; color: var(--ink-soft); font-size: .78rem; }
.blueprint-chips span { padding: .2rem .5rem; background: white; border-radius: 5px; box-shadow: 0 2px 8px rgba(23,23,23,.06); }
.blueprint-chips b { color: var(--muted); font-weight: 700; }

.roadmap-section { padding-block: clamp(2.5rem,4vw,3.5rem); background: var(--surface); }
.roadmap-strip { display: grid; grid-template-columns: minmax(220px,.55fr) minmax(0,1.45fr); align-items: center; gap: 2.5rem; padding: 1.5rem 1.75rem; background: white; border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: 6px; }
.roadmap-strip .eyebrow { margin-bottom: .25rem; }
.roadmap-strip h2 { margin: 0; font-size: clamp(1.5rem,2.2vw,2rem); }
.roadmap-strip ul { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.roadmap-strip li { padding: .38rem .65rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--border); border-radius: 4px; font-size: .84rem; font-weight: 700; }

.structure-section, .audience-section { background: var(--surface); }
.structure-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.structure-intro p:last-child { max-width: 510px; color: var(--ink-soft); font-size: 1.05rem; }
.structure-steps { margin: 0; padding: 0; border: 1px solid var(--frame); border-radius: 6px; list-style: none; }
.structure-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--frame); background: white; }
.structure-steps li:first-child { border-radius: 5px 5px 0 0; }
.structure-steps li:last-child { border-bottom: 0; border-radius: 0 0 5px 5px; }
.structure-steps span { color: var(--red-dark); font-size: .76rem; font-weight: 800; }
.structure-steps h3 { margin-bottom: .25rem; font-size: 1.08rem; }
.structure-steps p { margin-bottom: 0; color: var(--muted); }
.audience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2.2rem; }
.audience-grid article { padding: 1.4rem; background: white; border: 1px solid var(--frame); border-radius: 5px; }
.audience-grid article > span { display: block; margin-bottom: .8rem; color: var(--red-dark); font-size: 1.45rem; font-weight: 800; }
.audience-grid p { margin-bottom: 0; color: var(--muted); }
.about-section { padding-block: clamp(3rem,5vw,4.5rem); background: white; }
.about-layout { display: grid; grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr); gap: 2rem 3.5rem; }
.about-image { display: none; }
.about-copy { grid-row: 1 / span 2; max-width: 480px; }
.about-copy p { color: var(--ink-soft); font-size: 1.03rem; }
.about-copy .about-lead { font-size: 1.12rem; }
.perspective-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--ink); }
.perspective-grid article { min-width: 0; padding: 1.4rem 1.5rem 0 0; }
.perspective-grid article + article { padding-left: 1.4rem; border-left: 1px solid var(--border); }
.perspective-grid span { display: block; margin-bottom: .65rem; color: var(--red-dark); font-size: .72rem; font-weight: 800; }
.perspective-grid h3 { font-size: 1.15rem; }
.perspective-grid p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.about-result { align-self: end; padding: 1.1rem 1.25rem; background: var(--cream); border-left: 3px solid var(--red); }
.about-result p { margin-bottom: .15rem; color: var(--red-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.about-result strong { display: block; margin-bottom: .65rem; font-size: 1.06rem; line-height: 1.35; }
.about-result .text-link { font-size: .88rem; }
.cta-band { padding-block: 2.8rem; background: var(--blue); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); }
.cta-band h2 { margin-bottom: 0; font-size: clamp(1.8rem,3vw,2.4rem); }
.cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.site-footer { padding-top: 3.5rem; color: var(--ink-soft); background: var(--surface); border-top: 1px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: minmax(280px,1.4fr) repeat(2,minmax(140px,.6fr)); gap: 4rem; padding-bottom: 3rem; }
.site-footer .brand { margin-bottom: .8rem; }
.site-footer .brand img { width: 52px; height: 52px; }
.footer-brand p { max-width: 420px; color: var(--muted); }
.site-footer h2 { margin-bottom: .75rem; font-size: .78rem; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { display: block; width: fit-content; margin: .55rem 0; color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--red-dark); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* Unterseiten */
.page-hero, .detail-hero { padding-block: 4rem 3.5rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 880px; }
.page-lead { max-width: 760px; margin-bottom: 0; color: var(--ink-soft); font-size: 1.14rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; padding: 0; color: var(--muted); font-size: .8rem; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: var(--frame); }
.catalog-section { padding-block: 4rem 6rem; }
.catalog-intro { display: flex; align-items: start; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.catalog-note { max-width: 390px; padding: 1rem; background: var(--blue); border: 1px solid var(--blue-line); border-radius: 4px; color: var(--muted); font-size: .9rem; }

.finder-section { padding-block: 4rem 6rem; }
.finder-intro { display: grid; grid-template-columns: 1fr minmax(280px,430px); align-items: end; gap: 3rem; margin-bottom: 2rem; }
.finder-intro h2 { margin-bottom: 0; }
.finder-intro > p { margin-bottom: 0; padding: 1rem; color: var(--ink-soft); background: var(--cream); border: 1px solid #dfd3c2; border-radius: 6px; }
.finder-controls { padding: 1rem; background: var(--blue); border: 1px solid var(--blue-line); border-radius: 8px; }
.finder-primary-controls { display: grid; grid-template-columns: minmax(220px,1fr) auto; align-items: end; gap: 1rem; }
.finder-field { min-width: 0; }
.finder-field label, .finder-group-label { display: block; margin-bottom: .35rem; color: var(--ink); font-size: .76rem; font-weight: 750; }
.finder-field input, .finder-field select { width: 100%; height: 44px; padding: .5rem .7rem; color: var(--ink); background: white; border: 1px solid #a9b9c8; border-radius: 6px; font: inherit; font-size: .9rem; transition: border-color 160ms ease, box-shadow 160ms ease; }
.finder-field input:focus, .finder-field select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(184,50,39,.12); outline: 0; }
.finder-search { position: relative; }
.finder-search::after { content: ""; position: absolute; right: .7rem; bottom: 8px; width: 28px; height: 28px; pointer-events: none; background: url("../icons/workbook/lupe.png") center/contain no-repeat; }
.finder-search input { padding-right: 3rem; }
.finder-school-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.school-segments { display: inline-flex; height: 44px; padding: 3px; background: white; border: 1px solid #a9b9c8; border-radius: 6px; }
.school-segments label { position: relative; display: grid; min-width: 70px; place-items: center; padding: 0 .8rem; cursor: pointer; font-size: .84rem; font-weight: 700; }
.school-segments input { position: absolute; opacity: 0; }
.school-segments label:has(input:checked) { color: white; background: var(--red); border-radius: 4px; }
.school-segments label:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.finder-more { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--blue-line); }
.finder-more summary { width: fit-content; cursor: pointer; color: var(--red-dark); font-size: .86rem; font-weight: 750; }
.finder-secondary-controls { display: grid; grid-template-columns: repeat(2,minmax(170px,1fr)) auto; align-items: end; gap: .8rem; padding-top: .8rem; }
.finder-reset { min-height: 44px; padding: .5rem .8rem; color: var(--ink); background: white; border: 1px solid var(--ink); border-radius: 6px; font-weight: 700; cursor: pointer; }
.finder-reset:hover { color: white; background: var(--ink); }
.finder-resultbar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.finder-resultbar p { margin: 0; font-size: .88rem; font-weight: 750; }
.status-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; color: var(--muted); font-size: .74rem; list-style: none; }
.status-legend li { display: inline-flex; align-items: center; gap: .35rem; }
.legend-dot { width: 9px; height: 9px; border: 1px solid var(--frame); border-radius: 50%; background: #efefef; }
.legend-dot.done { background: var(--green); }
.legend-dot.working { background: var(--cream); border-color: var(--red); }
.finder-empty { padding: 4rem 0; text-align: center; }
.finder-empty h2 { font-size: 1.8rem; }
.finder-empty p { color: var(--muted); }
.finder-school { padding-top: 2.5rem; }
.finder-school-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.finder-school-heading .eyebrow { margin-bottom: .35rem; }
.finder-school-heading h2 { margin: 0; font-size: 2.8rem; }
.finder-school-heading > span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.finder-area { overflow: hidden; margin-top: .75rem; background: white; border: 1px solid var(--border); border-radius: 7px; }
.finder-area[open] { border-color: var(--frame); }
.finder-area-heading { display: grid; grid-template-columns: minmax(0,1fr) auto 28px; align-items: center; gap: 1rem; min-height: 68px; padding: .65rem .85rem; cursor: pointer; list-style: none; }
.finder-area-heading::-webkit-details-marker { display: none; }
.finder-area-heading .eyebrow { margin-bottom: .15rem; font-size: .67rem; }
.finder-area-heading h3 { margin: 0; font-size: 1.22rem; }
.finder-area-heading > span { color: var(--muted); font-size: .75rem; font-weight: 700; }
.area-chevron { color: var(--red-dark); font-size: 1.2rem; font-style: normal; font-weight: 800; transition: transform 160ms ease; }
.finder-area[open] .area-chevron { transform: rotate(180deg); }
.finder-modules { display: grid; gap: .55rem; padding: .65rem; background: var(--surface); border-top: 1px solid var(--border); }
.finder-module { overflow: hidden; background: white; border: 1px solid var(--border); border-radius: 7px; transition: border-color 180ms ease; }
.finder-module:hover, .finder-module[open] { border-color: var(--frame); }
.finder-module summary { display: grid; grid-template-columns: 58px minmax(0,1fr) auto 30px; align-items: center; gap: .8rem; min-height: 66px; padding: 0 .75rem 0 0; background: white; cursor: pointer; list-style: none; }
.finder-module summary::-webkit-details-marker { display: none; }
.module-index { align-self: stretch; display: grid; place-items: center; color: var(--red-dark); background: var(--gray-head); border-right: 1px solid var(--frame); font-size: .82rem; font-weight: 800; }
.module-summary-copy { min-width: 0; }
.module-summary-copy strong { display: block; overflow-wrap: anywhere; font-size: .98rem; line-height: 1.25; }
.module-summary-copy small { display: block; margin-top: .15rem; color: var(--muted); font-size: .72rem; }
.summary-chevron { color: var(--red-dark); font-size: 1.25rem; font-weight: 800; transition: transform 160ms ease; }
.finder-module[open] .summary-chevron { transform: rotate(180deg); }
.finder-topics { margin: 0; padding: .3rem .8rem .6rem 4.5rem; background: var(--surface); border-top: 1px solid var(--border); list-style: none; }
.finder-topics li { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: .7rem; min-height: 48px; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.finder-topics .topic-title { overflow-wrap: anywhere; font-size: .88rem; }
.finder-module-link { margin: .3rem 0 1rem 4.5rem; }
.topic-state { padding: .18rem .4rem; border: 1px solid transparent; border-radius: 3px; color: #4e4e4e; background: #efefef; font-size: .68rem; font-weight: 750; }

.detail-layout { display: grid; grid-template-columns: minmax(280px,.66fr) minmax(0,1fr); align-items: center; gap: 5rem; }
.detail-preview { position: relative; min-height: 470px; overflow: hidden; background: var(--cream); border: 1px solid #dfd3c2; border-radius: 8px; }
.detail-preview img { position: absolute; width: min(58%,285px); aspect-ratio: 777/1100; object-fit: cover; object-position: top; background: white; border: 1px solid var(--frame); border-radius: 6px; box-shadow: var(--cover-shadow); }
.detail-preview img:first-child { z-index: 2; top: 28px; left: 14%; }
.detail-preview img:last-child { z-index: 1; right: 10%; bottom: 18px; }
.detail-copy h1 { margin-bottom: 1rem; font-size: clamp(2.8rem,5vw,4.5rem); }
.detail-content { padding-block: 4.5rem 6rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 5rem; }
.prose { max-width: 750px; }
.prose h2 { margin-top: 3rem; font-size: 1.85rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.topic-list { margin: 1.5rem 0 0; padding: 0; border: 1px solid var(--border); border-radius: 7px; list-style: none; }
.topic-list li { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: .8rem; padding: .8rem; border-bottom: 1px solid var(--line); }
.topic-list li:last-child { border-bottom: 0; }
.topic-number { color: var(--red-dark); font-size: .76rem; font-weight: 800; }
.topic-title { color: var(--ink); font-weight: 700; }
.info-panel { position: sticky; top: 105px; align-self: start; overflow: hidden; padding: 4rem 1.25rem 1.25rem; background: white; border: 1px solid var(--border); border-radius: 7px; }
.info-panel > h2 { position: absolute; top: 0; right: 0; left: 0; min-height: 44px; padding: .72rem 1rem; background: var(--gray-head); border-bottom: 1px solid var(--frame); font-size: 1rem; }
.info-panel dl { margin: 0; }
.info-panel dl div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.info-panel dt { color: var(--muted); font-size: .8rem; }
.info-panel dd { margin: 0; font-size: .82rem; font-weight: 700; text-align: right; }
.development-note, .legal-warning { margin-top: 1rem; padding: 1rem; color: #65251f; background: var(--cream); border: 1px solid #d7a9a4; border-radius: 4px; font-size: .84rem; }
.theme-previews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem; }
.theme-previews figure { margin: 0; padding: 1rem; background: var(--cream); border: 1px solid #dfd3c2; border-radius: 7px; }
.theme-previews img { width: 100%; max-height: 340px; object-fit: contain; object-position: top; }
.theme-previews figcaption { margin-top: .7rem; font-size: .82rem; font-weight: 700; }
.legal-page { padding-block: 4rem 6rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0,720px); justify-content: center; }
.legal-warning { margin: 0 0 2.3rem; }
.legal-warning strong { display: block; margin-bottom: .35rem; }
.legal-page h2 { margin-top: 2.5rem; font-size: 1.55rem; }
.placeholder-list { padding: 1.2rem 1.2rem 1.2rem 2.5rem; background: var(--cream); border: 1px solid var(--frame); border-radius: 5px; }

@media (max-width: 980px) {
  .hero-band { min-height: auto; grid-template-columns: 1fr; }
  .hero-content { grid-row: 1; min-height: auto; width: min(100% - 2.5rem,var(--max)); padding: 4rem 0 2.75rem; }
  .hero-brand-mark { position: relative; top: auto; right: auto; grid-row: 2; width: min(48vw,360px); margin: 0 auto 2.5rem; transform: none; }
}

@media (max-width: 900px) {
  .section { padding-block: 3.25rem; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 84px; right: 0; left: 0; display: none; padding: .75rem 1rem 1.1rem; background: white; border-bottom: 1px solid var(--border); }
  .main-nav[data-open] { display: grid; }
  .main-nav a { padding: .65rem .5rem; }
  .main-nav .nav-feedback { text-align: center; }
  .main-nav .nav-instagram { width: 100%; height: auto; min-height: 44px; justify-content: flex-start; gap: .65rem; padding: .65rem .5rem; border: 0; }
  .nav-instagram span { position: static; overflow: visible; width: auto; height: auto; clip: auto; clip-path: none; white-space: normal; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .didactic-intro, .structure-layout, .detail-layout, .detail-grid, .finder-intro, .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .didactic-principles { grid-template-columns: 1fr; }
  .didactic-principles article, .didactic-principles article:last-child { border-right: 0; }
  .page-system { grid-template-columns: 1fr; }
  .page-blueprint { justify-self: start; }
  .roadmap-strip { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-copy { grid-row: auto; max-width: 760px; }
  .module-grid { grid-template-columns: 1fr; }
  .detail-preview { max-width: 520px; width: 100%; }
  .info-panel { position: static; }
  .finder-primary-controls { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 1.5rem,var(--max)); }
  .brand span::after { max-width: 150px; }
  .section-heading, .catalog-intro, .cta-layout, .finder-resultbar, .finder-school-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .hero-content { width: min(100% - 1.5rem,var(--max)); padding-block: 3.2rem 2.25rem; }
  .hero-content h1 { font-size: clamp(1.65rem,7.4vw,2.1rem); }
  .hero-content h1 span { white-space: nowrap; }
  .hero-brand-mark { width: min(76vw,280px); margin-bottom: 2rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .structure-path i { display: none; }
  .roadmap-strip { padding: 1.25rem; }
  .roadmap-strip ul { align-items: stretch; flex-direction: column; }
  .page-system { margin-inline: -.75rem; padding: 1.5rem .75rem; }
  .page-blueprint { width: 100%; }
  .blueprint-head { grid-template-columns: 46px 72px 1px minmax(0,1fr); gap: .45rem; padding: .3rem .55rem .3rem .3rem; }
  .blueprint-head > span { background-size: 36px; }
  .blueprint-head > strong { font-size: .78rem; }
  .blueprint-head > p { font-size: .75rem; }
  .blueprint-body { padding: .85rem; }
  .perspective-grid { grid-template-columns: 1fr; }
  .perspective-grid article + article { margin-top: 1.25rem; padding-left: 0; border-top: 1px solid var(--border); border-left: 0; }
  .school-segments { display: grid; width: 100%; height: auto; grid-template-columns: repeat(3,1fr); }
  .school-segments label { min-width: 0; min-height: 40px; padding: 0 .35rem; }
  .finder-secondary-controls { grid-template-columns: 1fr; }
  .finder-area-heading { grid-template-columns: minmax(0,1fr) 24px; }
  .finder-area-heading > span { grid-column: 1; }
  .area-chevron { grid-column: 2; grid-row: 1/span 2; }
  .finder-module summary { grid-template-columns: 52px minmax(0,1fr) 24px; gap: .6rem; }
  .finder-module summary > .topic-state { grid-column: 2; width: fit-content; }
  .summary-chevron { grid-column: 3; grid-row: 1/span 2; }
  .finder-topics { padding-left: .8rem; }
  .finder-topics li, .topic-list li { grid-template-columns: 30px minmax(0,1fr); }
  .finder-topics .topic-state, .topic-list .topic-state { grid-column: 2; width: fit-content; }
  .finder-module-link { margin-left: .8rem; }
  .detail-preview { min-height: 360px; }
  .theme-previews { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}

/* Ruhiges, reduziertes Interface */
:root {
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --red: #b72f1f;
  --red-dark: #8f2419;
  --gray-head: #f5f5f7;
  --frame: #c7c7cc;
  --line: #e5e5e7;
  --blue: #fbf0e5;
  --blue-line: #ead3bd;
  --green: #eaf7ed;
  --green-ink: #18783c;
  --cream: #fff7ed;
  --white: #fff;
  --surface: #f5f5f7;
  --border: #e2e2e5;
  --muted: #6e6e73;
  --cover-shadow: 0 28px 60px rgba(0,0,0,.14);
  --max: 1200px;
}

body {
  background: #fff;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.03rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible { outline: 3px solid rgba(183,47,31,.45); outline-offset: 3px; }
.container { width: min(100% - 3rem, var(--max)); }

.site-header {
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.site-header::after { display: none; }
.nav-shell { min-height: 68px; gap: 2.5rem; }
.brand { gap: .7rem; font-weight: 650; letter-spacing: -.02em; }
.brand img { width: 52px; height: 35px; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.brand span { font-size: 1rem; }
.brand span::after { display: none; }
.main-nav { gap: 1.6rem; }
.main-nav a { color: #424245; font-size: .82rem; font-weight: 500; transition: color 160ms ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red-dark); text-decoration: none; }
.main-nav .nav-feedback {
  padding: 0;
  color: #424245;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.main-nav .nav-feedback:hover { color: var(--red-dark); background: transparent; }
.main-nav .nav-instagram { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f5f5f7; }
.main-nav .nav-instagram:hover { color: #fff; background: #1d1d1f; }
.nav-instagram svg { width: 20px; height: 20px; }

h1, h2, h3 {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3rem,6vw,5.6rem); font-weight: 700; line-height: 1.02; }
h2 { font-size: clamp(2.25rem,4.6vw,4rem); font-weight: 700; line-height: 1.06; }
h3 { font-weight: 650; }
.eyebrow { margin-bottom: .8rem; color: var(--red-dark); font-size: .73rem; font-weight: 700; letter-spacing: .09em; }
.button {
  min-height: 48px;
  padding: .72rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
}
.button-primary { background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button > span,
.card-link > span,
.text-link > span {
  display: inline-block;
  width: 30px;
  height: 16px;
  flex: 0 0 auto;
  overflow: hidden;
  color: transparent;
  background: url("../brand/herr-bvj-arrow-red.svg") center/contain no-repeat;
  font-size: 0;
}
.button-primary > span { width: 28px; height: 14px; margin-left: .15rem; background-image: url("../brand/herr-bvj-arrow-white.svg"); transform: none; }
.button-outline, .button-light { color: var(--red-dark); background: transparent; box-shadow: inset 0 0 0 1px var(--red); }
.button-outline:hover, .button-light:hover { color: #fff; background: var(--red); }
.text-link, .card-link { color: var(--red-dark); font-weight: 600; text-decoration: none; }

.hero-band {
  min-height: min(560px,76vh);
  overflow: hidden;
  background: radial-gradient(circle at 80% 38%,#fffaf3 0,#f8f2e9 34%,#f3ede5 100%);
  border: 0;
}
.hero-band::before { display: none; }
.hero-content { min-height: min(560px,76vh); padding: 4rem 520px 4rem 0; }
.hero-content h1 { max-width: 720px; margin-bottom: 1.5rem; font-size: clamp(3.25rem,5vw,5rem); letter-spacing: -.055em; }
.hero-content h1 span { color: #6e6e73; }
.hero-lead { max-width: 610px; color: #515154; font-size: clamp(1.15rem,1.8vw,1.4rem); line-height: 1.48; }
.hero-brand-mark { width: clamp(360px,34vw,490px); }
.hero-brand-mark img { opacity: .88; filter: none; }
.hero-brand-mark.hero-teacher { top: auto; bottom: 0; width: clamp(400px,35vw,520px); align-items: end; transform: none; }
.hero-brand-mark.hero-teacher img { opacity: 1; }
.structure-path { gap: .55rem; margin-top: 2.5rem; padding-top: 0; border: 0; color: #6e6e73; }
.structure-path span { padding: .38rem .7rem; background: rgba(255,255,255,.76); border: 1px solid rgba(0,0,0,.08); border-radius: 999px; }
.structure-path i { display: inline-block; color: var(--red); font-size: 1.05rem; font-weight: 700; transform: rotate(-3deg); }

.section { padding-block: clamp(5rem,8vw,8rem); }
.section + .section { border-top: 0; }
.section-heading { margin-bottom: 3rem; }
.section-heading h2 { max-width: 820px; }
.section-heading h2::after,
.didactic-intro h2::after,
.about-copy h2::after,
.finder-intro h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 7px;
  margin-top: 1rem;
  background: var(--red);
  border-radius: 70% 35% 62% 40%;
  clip-path: polygon(0 23%,92% 0,100% 52%,86% 76%,5% 100%);
  transform: rotate(-2deg);
  opacity: .92;
}
.module-grid { gap: 2rem; }
.module-card {
  border: 0;
  border-radius: 28px;
  box-shadow: 0 14px 45px rgba(0,0,0,.075);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.module-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,.11); }
.module-visual, .progress-visual { min-height: 420px; background: #f3ede5; border: 0; }
.module-visual .sheet, .preview-stack img { border: 0; border-radius: 10px; }
.module-copy { padding: 2rem 2.1rem 2.2rem; }
.module-copy > .status { margin-bottom: 1.25rem; border: 0; }
.module-copy h3 { font-size: 2rem; }
.module-copy h3 a:hover { color: var(--red-dark); text-decoration: none; }
.status, .topic-state { padding: .35rem .65rem; border: 0; border-radius: 999px; font-weight: 600; }
.compact-facts li, .detail-facts li { padding: .38rem .65rem; background: #f5f5f7; border: 0; border-radius: 999px; }
.progress-meter { height: 6px; background: #dedee2; border: 0; border-radius: 999px; }
.progress-meter span { background: var(--red); }

.featured-section { background: #fff; }
.section-context { margin: 0 0 .45rem; color: var(--muted); font-size: .95rem; font-weight: 600; }
.theme-showcase { overflow: hidden; background: #f7f3ed; border: 1px solid rgba(0,0,0,.07); border-radius: 28px; box-shadow: 0 16px 50px rgba(0,0,0,.07); }
.theme-showcase-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 1.45rem 1.75rem; background: #fff; border-bottom: 1px solid rgba(0,0,0,.07); }
.theme-showcase-header .module-path { margin-bottom: .2rem; color: var(--red-dark); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.theme-showcase-header h3 { margin: 0; font-size: clamp(1.55rem,3vw,2.25rem); }
.slide-counter { min-width: 5rem; margin: 0; color: var(--muted); font-size: .95rem; font-weight: 650; text-align: right; }
.slideshow-stage { position: relative; padding: clamp(1.75rem,4vw,3.25rem) clamp(4.5rem,8vw,7rem) 1.5rem; background: radial-gradient(circle at 50% 40%,#fffaf4 0,#f7f3ed 68%); }
.slideshow-pages { min-width: 0; max-width: 560px; margin-inline: auto; overflow: hidden; border-radius: 10px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slideshow-pages.is-dragging { cursor: grabbing; }
.slideshow-track { display: flex; align-items: flex-start; transition: transform 440ms cubic-bezier(.22,.61,.36,1); will-change: transform; }
.slideshow-pages.is-dragging .slideshow-track { transition: none; }
.slideshow-page { min-width: 0; flex: 0 0 100%; margin: 0; text-align: center; }
.slideshow-page img { display: block; width: auto; max-width: 100%; height: min(63vw,690px); margin-inline: auto; object-fit: contain; background: #fff; border-radius: 7px; box-shadow: 0 18px 45px rgba(0,0,0,.14); -webkit-user-drag: none; }
.slideshow-page figcaption { margin-top: 1rem; color: #515154; font-size: .95rem; font-weight: 600; }
.slideshow-arrow { position: absolute; top: 50%; z-index: 2; display: grid; width: 52px; height: 52px; place-items: center; padding: 0; background: rgba(255,255,255,.94); border: 1px solid rgba(0,0,0,.08); border-radius: 50%; box-shadow: 0 8px 26px rgba(0,0,0,.09); cursor: pointer; transform: translateY(-50%); transition: transform 180ms ease, background 180ms ease, opacity 180ms ease; }
.slideshow-arrow-prev { left: clamp(1rem,3vw,2.25rem); }
.slideshow-arrow-next { right: clamp(1rem,3vw,2.25rem); }
.slideshow-arrow::before { content: ""; width: 30px; height: 16px; background: url("../brand/herr-bvj-arrow-red.svg") center/contain no-repeat; }
.slideshow-arrow-prev::before { transform: rotate(180deg); }
.slideshow-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.slideshow-arrow:disabled { opacity: .28; cursor: default; transform: translateY(-50%); }
.theme-showcase-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 1.75rem 1.35rem; background: #fff; border-top: 1px solid rgba(0,0,0,.07); }
.slide-dots { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.slide-dot { width: 9px; height: 9px; padding: 0; background: #c7c7cc; border: 0; border-radius: 50%; cursor: pointer; transition: width 180ms ease, background 180ms ease; }
.slide-dot[aria-current="true"] { width: 28px; background: var(--red); border-radius: 999px; }

.didactic-section { background: #f7f2ec; }
.didactic-intro { position: relative; gap: 5rem; margin-bottom: 3rem; }
.didactic-intro::after {
  content: "";
  position: absolute;
  top: -18px;
  left: 43%;
  width: 112px;
  height: 96px;
  background: url("../brand/herr-bvj-mark-red.svg") center/contain no-repeat;
  opacity: .3;
  transform: rotate(-6deg);
  pointer-events: none;
}
.didactic-line { display: flex; align-items: center; flex-wrap: wrap; gap: .42rem; font-size: 1.22rem; }
.didactic-line .brand-arrow { display: inline-block; width: 46px; height: 20px; margin-inline: .2rem; object-fit: contain; transform: rotate(-3deg); }
.didactic-principles { gap: 1.25rem; overflow: visible; border: 0; }
.didactic-principles article,
.didactic-principles article:last-child {
  padding: 6.1rem 1.8rem 2rem;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(0,0,0,.055);
}
.didactic-principles article > span {
  top: 1.35rem;
  right: auto;
  left: 1.35rem;
  width: 54px;
  min-height: 54px;
  padding: 0;
  overflow: hidden;
  color: transparent;
  background: #f5f5f7;
  border: 0;
  border-radius: 15px;
}
.didactic-principles article > span::before { top: 7px; left: 7px; }
.didactic-principles p { color: #515154; }
.page-system {
  gap: clamp(3rem,6vw,6rem);
  margin-top: 3.5rem;
  padding: clamp(2rem,4vw,4rem);
  background: #fff;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 14px 45px rgba(0,0,0,.06);
}
.page-flow { border-top-color: #e5e5e7; }
.page-flow li { border-bottom-color: #e5e5e7; }
.page-flow li > span { color: var(--red-dark); }
.page-blueprint { border-radius: 16px; box-shadow: 0 25px 60px rgba(0,0,0,.13); }

.roadmap-section { padding-block: 3rem; background: #fff; }
.roadmap-strip { position: relative; overflow: hidden; padding: 2rem 2.25rem; background: #f5eee5; border: 0; border-radius: 24px; }
.roadmap-strip::after {
  content: "";
  position: absolute;
  top: -145px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: url("../brand/herr-bvj-mark-red.svg") center/260px auto no-repeat;
  opacity: .08;
  pointer-events: none;
}
.roadmap-strip > * { position: relative; z-index: 1; }
.roadmap-strip li { padding: .48rem .78rem; background: #fff; border: 0; border-radius: 999px; font-weight: 550; }
.about-section { background: #fff; }
.about-layout { grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr); gap: 2.5rem 3.5rem; }
.about-copy { grid-column: auto; grid-row: 1 / span 2; max-width: 480px; }
.perspective-grid, .about-result { grid-column: auto; }
.perspective-grid { gap: 1.25rem; border: 0; }
.perspective-grid article { padding: 1.75rem; background: #f5f5f7; border-radius: 22px; }
.perspective-grid article + article { padding-left: 1.75rem; border: 0; }
.perspective-grid span { color: var(--red-dark); }
.about-result { padding: 1.5rem 1.75rem; background: #fbf0e5; border: 0; border-radius: 20px; }
.about-result p { color: var(--red-dark); }

.site-footer { padding-top: 4rem; background: #f5f5f7; border: 0; }
.site-footer .brand img { width: 52px; height: 35px; }
.site-footer h2 { letter-spacing: .04em; }
.footer-grid { gap: 5rem; }
.footer-bottom { border-top-color: #d6d6da; }

.page-hero, .detail-hero { padding-block: 5rem; background: #f5f5f7; border: 0; }
.page-hero h1, .detail-copy h1 { letter-spacing: -.055em; }
.breadcrumbs { margin-bottom: 2.5rem; }
.finder-section { padding-block: 5rem 7rem; }
.finder-intro { margin-bottom: 2.5rem; }
.finder-intro > p, .catalog-note { padding: 1.25rem; background: #f5f5f7; border: 0; border-radius: 18px; }
.finder-controls { padding: 1.35rem; background: #f5eee5; border: 0; border-radius: 22px; }
.finder-field input, .finder-field select { height: 48px; border: 1px solid #d2d2d7; border-radius: 12px; }
.finder-field input:focus, .finder-field select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(183,47,31,.11); }
.school-segments { height: 48px; background: #e8e8ed; border: 0; border-radius: 12px; }
.school-segments label:has(input:checked) { color: #1d1d1f; background: #fff; border-radius: 9px; box-shadow: 0 1px 5px rgba(0,0,0,.12); }
.finder-more { border-top-color: #d8d8dc; }
.finder-more summary { color: var(--red-dark); }
.finder-reset { border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px #86868b; }
.finder-resultbar { padding-block: 1.4rem; border-bottom-color: #e5e5e7; }
.finder-school { padding-top: 3.5rem; }
.finder-school-heading { border: 0; }
.finder-school-heading h2 { font-size: clamp(2.4rem,4vw,3.4rem); }
.finder-area { margin-top: 1rem; border: 0; border-radius: 20px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.finder-area[open] { border: 0; }
.finder-area-heading { min-height: 78px; padding: .85rem 1.15rem; }
.finder-modules { gap: .7rem; padding: .9rem; background: #f5f5f7; border-top: 0; }
.finder-module { border: 0; border-radius: 14px; }
.finder-module:hover, .finder-module[open] { box-shadow: 0 4px 18px rgba(0,0,0,.07); }
.finder-module summary { min-height: 72px; padding-right: 1rem; }
.module-index { color: var(--red-dark); background: #f5f5f7; border: 0; }
.finder-topics { background: #fbfbfd; border-top-color: #e5e5e7; }
.area-chevron, .summary-chevron, .topic-number { color: var(--red-dark); }

.detail-layout { gap: 6rem; }
.detail-preview { min-height: 500px; background: #ececf0; border: 0; border-radius: 28px; }
.detail-preview img { border: 0; border-radius: 10px; }
.detail-content { padding-block: 6rem 8rem; }
.detail-grid { gap: 6rem; }
.topic-list { overflow: hidden; border: 0; border-radius: 18px; background: #f5f5f7; }
.topic-list li { padding: 1rem 1.1rem; border-bottom-color: #dedee2; }
.info-panel { top: 90px; padding: 1.5rem; border: 0; border-radius: 22px; background: #f5f5f7; }
.info-panel > h2 { position: static; min-height: auto; margin-bottom: 1rem; padding: 0; background: transparent; border: 0; font-size: 1.25rem; }
.development-note, .legal-warning { padding: 1.1rem; background: #fff7ed; border: 0; border-radius: 14px; }
.theme-previews { gap: 1.25rem; }
.theme-previews figure { padding: 1.25rem; background: #f5f5f7; border: 0; border-radius: 20px; }
.theme-previews img { border-radius: 8px; }
.legal-page { padding-block: 5rem 8rem; }
.legal-page h2 { letter-spacing: -.025em; }

@media (max-width: 980px) {
  .hero-content { padding: 5rem 0 2.5rem; }
  .hero-brand-mark { width: min(52vw,390px); margin-bottom: 3rem; }
  .hero-brand-mark.hero-teacher { bottom: auto; width: min(58vw,420px); margin-bottom: 0; }
}

@media (max-width: 900px) {
  .nav-shell { min-height: 64px; }
  .main-nav { top: 64px; padding: 1rem 1.5rem 1.5rem; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(0,0,0,.08); backdrop-filter: blur(20px); }
  .main-nav a { padding: .85rem .5rem; font-size: 1rem; }
  .main-nav .nav-feedback { padding: .85rem .5rem; text-align: left; }
  .main-nav .nav-instagram { min-height: 48px; background: transparent; }
  .section { padding-block: 5rem; }
  .didactic-intro { gap: 1.5rem; }
  .didactic-intro::after { top: -42px; right: 0; left: auto; opacity: .28; }
  .didactic-principles { gap: 1rem; }
  .page-system { gap: 3rem; }
  .detail-layout, .detail-grid { gap: 3.5rem; }
  .about-layout { grid-template-columns: 1fr; }
  .about-copy, .perspective-grid, .about-result { grid-column: 1; }
  .footer-grid { gap: 2.5rem; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 1.5rem,var(--max)); }
  h1 { font-size: clamp(2.8rem,14vw,4rem); }
  h2 { font-size: clamp(2.15rem,10vw,3rem); }
  .hero-content { padding-top: 4rem; }
  .hero-content h1 { font-size: clamp(2.6rem,12vw,3.6rem); }
  .hero-content h1 span { white-space: normal; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-brand-mark { width: min(74vw,300px); }
  .hero-brand-mark.hero-teacher { width: min(86vw,360px); }
  .structure-path { gap: .4rem; }
  .structure-path span { font-size: .72rem; }
  .section { padding-block: 4rem; }
  .section-heading { margin-bottom: 2rem; }
  .module-card { border-radius: 22px; }
  .module-visual, .progress-visual { min-height: 330px; }
  .module-copy { padding: 1.6rem; }
  .section-context { margin-top: .25rem; }
  .theme-showcase { border-radius: 22px; }
  .theme-showcase-header { align-items: center; padding: 1.25rem; }
  .slideshow-stage { padding: 1.25rem 2.75rem .85rem; }
  .slideshow-page img { height: min(108vw,610px); border-radius: 5px; }
  .slideshow-page figcaption { min-height: 2.8em; padding-inline: .5rem; font-size: .84rem; }
  .slideshow-arrow { width: 40px; height: 40px; }
  .slideshow-arrow-prev { left: .35rem; }
  .slideshow-arrow-next { right: .35rem; }
  .slideshow-arrow::before { width: 23px; height: 13px; }
  .theme-showcase-footer { align-items: flex-start; flex-direction: column; padding: 1.1rem 1.25rem 1.35rem; }
  .didactic-principles article { border-radius: 20px; }
  .didactic-line { display: grid; grid-template-columns: 1fr; justify-items: start; gap: .3rem; }
  .didactic-line .brand-arrow { width: 38px; height: 18px; margin: 0 0 0 1.25rem; transform: rotate(90deg); }
  .page-system { margin-inline: 0; padding: 1.25rem; border-radius: 22px; }
  .roadmap-strip { padding: 1.5rem; border-radius: 20px; }
  .perspective-grid article, .perspective-grid article + article { padding: 1.4rem; }
  .page-hero, .detail-hero { padding-block: 3.5rem; }
  .finder-section { padding-block: 3.5rem 5rem; }
  .finder-controls { padding: 1rem; border-radius: 18px; }
  .finder-area { border-radius: 16px; }
  .finder-module summary { grid-template-columns: 48px minmax(0,1fr) 24px; }
  .detail-preview { min-height: 370px; border-radius: 22px; }
  .detail-content { padding-block: 4rem 5rem; }
  .info-panel { border-radius: 18px; }
}

/* Durchgängige Responsive-Absicherung */
html { overflow-x: clip; }
body { min-width: 0; }
main, section, article, header, footer, nav, div, form, fieldset, details, summary { min-width: 0; }
h1, h2, h3, p, li, dt, dd, a, strong, small { max-width: 100%; }
h1, h2, h3, .legal-page a, .legal-page dd { overflow-wrap: anywhere; }
input, select, button, textarea { max-width: 100%; }
.breadcrumbs { flex-wrap: wrap; row-gap: .45rem; }
.info-panel dd { min-width: 0; overflow-wrap: anywhere; }

.slide-dot {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: transparent;
}
.slide-dot::before { content: ""; width: 8px; height: 8px; background: #c7c7cc; border-radius: 50%; transition: width 180ms ease, background 180ms ease; }
.slide-dot[aria-current="true"] { width: 32px; background: transparent; }
.slide-dot[aria-current="true"]::before { width: 25px; background: var(--red); border-radius: 999px; }

@media (max-width: 1024px) {
  .container { width: min(100% - 2rem,var(--max)); }
  .nav-shell { min-height: 64px; gap: 1rem; }
  .brand img { width: 46px; height: 31px; }
  .menu-toggle { display: block; flex: 0 0 44px; }
  .main-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem max(1rem,calc((100% - var(--max))/2)) 1.5rem;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 16px 35px rgba(0,0,0,.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .main-nav[data-open] { display: grid; }
  .main-nav a, .main-nav .nav-feedback { min-height: 48px; padding: .75rem .5rem; font-size: 1rem; text-align: left; }
  .main-nav .nav-instagram { width: 100%; height: auto; min-height: 48px; justify-content: flex-start; gap: .65rem; padding: .75rem .5rem; background: transparent; border: 0; }
  .nav-instagram span { position: static; overflow: visible; width: auto; height: auto; clip: auto; clip-path: none; white-space: normal; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-band { min-height: auto; grid-template-columns: 1fr; }
  .hero-content { grid-row: 1; min-height: auto; width: min(100% - 2rem,var(--max)); padding: 4.5rem 0 2rem; }
  .hero-brand-mark, .hero-brand-mark.hero-teacher { position: relative; top: auto; right: auto; bottom: auto; grid-row: 2; width: min(56vw,420px); margin: 0 auto; transform: none; }

  .didactic-intro, .structure-layout, .detail-layout, .detail-grid, .finder-intro, .about-layout, .page-system { grid-template-columns: 1fr; }
  .didactic-intro, .detail-layout, .detail-grid, .finder-intro, .about-layout { gap: 2.5rem; }
  .detail-preview { width: min(100%,560px); }
  .info-panel { position: static; }
  .finder-primary-controls { grid-template-columns: 1fr; }
  .page-blueprint { width: min(100%,560px); justify-self: start; }
  .about-copy { grid-row: auto; max-width: 760px; }
  .about-copy, .perspective-grid, .about-result { grid-column: 1; }
  .footer-grid { gap: 2.5rem; }
}

@media (max-width: 760px) {
  .section, .legal-page { padding-block: 3.75rem; }
  .page-hero, .detail-hero { padding-block: 3.5rem; }
  .section-heading, .catalog-intro, .cta-layout, .finder-resultbar, .finder-school-heading { align-items: flex-start; flex-direction: column; gap: .9rem; }
  .section-heading { margin-bottom: 2rem; }
  .section-context { margin: 0; }
  .didactic-principles, .perspective-grid, .audience-grid, .theme-previews, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .roadmap-strip { grid-template-columns: 1fr; }
  .roadmap-strip ul { align-items: stretch; flex-direction: column; }
  .finder-secondary-controls { grid-template-columns: 1fr; }
  .finder-resultbar { padding-block: 1rem; }
  .status-legend { gap: .55rem 1rem; }
  .detail-preview { min-height: 390px; }
  .detail-content { padding-block: 4rem 5rem; }
  .info-panel dl div { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

@media (max-width: 480px) {
  .container, .hero-content { width: min(100% - 1rem,var(--max)); }
  body { font-size: 1rem; }
  h1 { font-size: clamp(2.45rem,13vw,3.25rem); }
  h2 { font-size: clamp(2rem,10.5vw,2.65rem); }
  .eyebrow { font-size: .69rem; letter-spacing: .075em; }
  .brand { gap: .55rem; }
  .brand img { width: 43px; height: 29px; }
  .brand span { font-size: .92rem; }
  .hero-content { padding-top: 3.25rem; }
  .hero-content h1 { font-size: clamp(2.35rem,12vw,3rem); }
  .hero-lead { font-size: 1.05rem; }
  .hero-brand-mark, .hero-brand-mark.hero-teacher { width: min(92vw,350px); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .section { padding-block: 3.25rem; }

  .theme-showcase { border-radius: 18px; }
  .theme-showcase-header { padding: 1rem; }
  .theme-showcase-header h3 { font-size: 1.45rem; }
  .slide-counter { min-width: 4.2rem; font-size: .84rem; }
  .slideshow-stage { padding: 1rem .7rem .65rem; }
  .slideshow-pages { max-width: calc(100% - .25rem); }
  .slideshow-page img { height: min(128vw,590px); }
  .slideshow-arrow { top: 48%; width: 42px; height: 42px; background: rgba(255,255,255,.9); }
  .slideshow-arrow-prev { left: .2rem; }
  .slideshow-arrow-next { right: .2rem; }
  .theme-showcase-footer { padding: .75rem 1rem 1rem; }
  .slide-dots { width: 100%; justify-content: center; gap: 0; }
  .theme-showcase-footer .text-link { min-height: 44px; }

  .didactic-principles article, .didactic-principles article:last-child { padding-inline: 1.25rem; }
  .didactic-intro::after { width: 82px; height: 70px; opacity: .2; }
  .page-system { margin-inline: 0; padding: 1rem; border-radius: 18px; }
  .blueprint-head { grid-template-columns: 42px 64px 1px minmax(0,1fr); gap: .35rem; padding-right: .4rem; }
  .blueprint-head > strong { white-space: normal; }
  .blueprint-work { gap: .35rem; }
  .blueprint-work span { min-height: 90px; }

  .finder-controls { padding: .85rem; }
  .finder-school { padding-top: 2.5rem; }
  .finder-school-heading h2 { font-size: clamp(2rem,11vw,2.6rem); }
  .school-segments { display: grid; width: 100%; height: auto; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .school-segments label { min-width: 0; min-height: 44px; padding-inline: .2rem; }
  .finder-area-heading { grid-template-columns: minmax(0,1fr) 24px; gap: .5rem; padding: .75rem .85rem; }
  .finder-area-heading > span { grid-column: 1; }
  .area-chevron { grid-column: 2; grid-row: 1/span 2; }
  .finder-modules { padding: .55rem; }
  .finder-module summary { grid-template-columns: 44px minmax(0,1fr) 24px; gap: .5rem; padding-right: .55rem; }
  .finder-module summary > .topic-state { grid-column: 2; width: fit-content; }
  .summary-chevron { grid-column: 3; grid-row: 1/span 2; }
  .module-summary-copy strong { font-size: .91rem; }
  .finder-topics { padding: .25rem .55rem .55rem; }
  .finder-topics li, .topic-list li { grid-template-columns: 28px minmax(0,1fr); gap: .5rem; }
  .finder-topics .topic-state, .topic-list .topic-state { grid-column: 2; width: fit-content; }
  .finder-module-link { margin-left: .55rem; }

  .detail-preview { min-height: 320px; border-radius: 18px; }
  .detail-preview img { width: min(62%,245px); }
  .detail-copy h1 { font-size: clamp(2.35rem,13vw,3.2rem); }
  .topic-list li { padding: .8rem; }
  .info-panel { padding: 1.15rem; }
  .legal-page { padding-block: 3.25rem 4rem; }
  .legal-page h2 { font-size: 1.4rem; }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 360px) {
  .nav-shell { gap: .5rem; }
  .brand span { font-size: .86rem; }
  .theme-showcase-header { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .slide-counter { text-align: left; }
  .slideshow-arrow { width: 38px; height: 38px; }
  .slideshow-page figcaption { font-size: .78rem; }
  .button { padding-inline: .9rem; }
  .page-flow li { grid-template-columns: 34px minmax(0,1fr); gap: .65rem; }
  .info-panel dl div { grid-template-columns: 1fr; gap: .25rem; }
  .info-panel dd { text-align: left; }
}

@media (max-height: 620px) and (min-width: 1025px) {
  .hero-band, .hero-content { min-height: 540px; }
  .hero-content { padding-block: 3rem; }
  .hero-brand-mark.hero-teacher { width: min(31vw,430px); }
}

@media (pointer: coarse) {
  .button, .text-link, .card-link, .finder-reset, summary { min-height: 44px; }
  .slideshow-arrow { min-width: 44px; min-height: 44px; }
  .module-card:hover { transform: none; }
}

@media (hover: none) {
  .module-card:hover { transform: none; box-shadow: 0 14px 45px rgba(0,0,0,.075); }
}

/* Aktive Sektion in der Sprung-Navigation (Scroll-Spy) */
.main-nav a.is-active { color: var(--red-dark); }

/* „Nach oben"-Button */
.to-top {
  position: fixed;
  right: clamp(1rem,3vw,2rem);
  bottom: clamp(1rem,3vw,2rem);
  z-index: 45;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(0,0,0,.16);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, background 160ms ease;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: #fff; transform: translateY(-2px); }
.to-top::before {
  content: "";
  width: 22px;
  height: 14px;
  background: url("../brand/herr-bvj-arrow-red.svg") center/contain no-repeat;
  transform: rotate(-90deg);
}
@media (pointer: coarse) { .to-top { width: 44px; height: 44px; } }

/* ---- Formulare (Feedback/Kontakt & Newsletter) ---- */
.form-narrow { width: min(100% - 2.5rem, 640px); margin-inline: auto; }
.form-intro { margin: 0 0 2rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }
.site-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: .4rem; }
.form-row label { color: var(--ink); font-size: .82rem; font-weight: 750; }
.form-row input,
.form-row textarea {
  width: 100%; padding: .7rem .85rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--frame); border-radius: 8px;
  font: inherit; font-size: .95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-row input { height: 46px; }
.form-row textarea { min-height: 150px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(184,50,39,.14); outline: 0; }
.form-check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; }
.form-check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--red); }
.form-check label { color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.site-form .button-primary { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.form-note a { color: var(--red-dark); }
/* versteckter Honeypot – für Menschen unsichtbar, für Screenreader ausgeblendet */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Statusmeldung nach dem Absenden */
.form-status { margin: 0; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-size: .95rem; line-height: 1.5; }
.form-status[data-kind="ok"] { color: var(--green-ink); background: var(--green); border-color: color-mix(in srgb, var(--green-ink) 30%, transparent); }
.form-status[data-kind="error"] { color: var(--red-dark); background: color-mix(in srgb, var(--red) 10%, var(--white)); border-color: color-mix(in srgb, var(--red) 35%, transparent); }
@keyframes formStatusIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.form-status { animation: formStatusIn 240ms ease; }

/* ---- Harmonisches 2-Spalten-Layout für Formularseiten ---- */
.form-layout { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: start; }
@media (min-width: 880px) { .form-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }
.form-aside { align-self: start; }
.form-aside h2 { margin: 0 0 .7rem; font-size: clamp(1.4rem, 2.4vw, 1.7rem); line-height: 1.15; }
.form-aside p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; }
.form-points { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; }
.form-points li { position: relative; padding-left: 2.1rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.form-points li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; width: 24px; height: 24px; place-items: center; color: var(--green-ink); background: var(--green); border-radius: 50%; font-size: .82rem; font-weight: 800; }
.form-points a { color: var(--red-dark); font-weight: 700; }

/* Karte um das eigentliche Formular */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 14px 40px rgba(23,23,23,.09); }

/* Auswahl-Chips (native Radios, barrierefrei) */
.form-fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: .65rem; }
.form-fieldset > legend { padding: 0; color: var(--ink); font-size: .82rem; font-weight: 750; }
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; align-items: center; padding: .52rem .9rem; color: var(--ink-soft); background: var(--white); border: 1px solid var(--frame); border-radius: 999px; font-size: .88rem; font-weight: 650; line-height: 1; cursor: pointer; transition: color 160ms ease, background 160ms ease, border-color 160ms ease; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip:hover { color: var(--red-dark); border-color: var(--red); }
.chip:has(input:checked) { color: #fff; background: var(--red); border-color: var(--red); }
.chip:has(input:focus-visible) { outline: 3px solid rgba(184,50,39,.35); outline-offset: 2px; }

/* kleine Hilfstexte + Zeichenzähler */
.field-hint { color: var(--muted); font-size: .78rem; font-weight: 500; }
.char-count { justify-self: end; margin-top: -.1rem; color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.char-count[data-over="true"] { color: var(--red-dark); font-weight: 700; }

/* Erfolgs-Zustand: Formularfelder ausblenden, Bestätigung hervorheben */
.site-form.is-done > *:not(.form-status) { display: none; }
.site-form.is-done .form-status { font-size: 1.05rem; }

@media (prefers-reduced-motion: reduce) { .form-status { animation: none; } .chip { transition: none; } }

/* ---- Kostenlose Materialien und Heft-Vorschauen ---- */
.hero-news { display: inline-flex; width: fit-content; align-items: center; gap: .65rem; margin-bottom: 1.2rem; padding: .35rem .95rem .35rem .4rem; color: var(--ink); background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); font-size: .9rem; font-weight: 600; line-height: 1.3; text-decoration: none; transition: color 160ms ease, box-shadow 160ms ease; }
.hero-news strong { padding: .2rem .6rem; color: #fff; background: var(--red); border-radius: 999px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-news:hover { color: var(--red-dark); box-shadow: inset 0 0 0 1px var(--red); }
.showcase-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1.6rem; }
.roadmap-more { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; margin: 1.1rem 0 0; }
.roadmap-next { color: var(--muted); font-size: .88rem; }
.finder-module-link { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.detail-layout-single { grid-template-columns: minmax(0,1fr); }
.detail-layout-single .detail-copy { max-width: 820px; }
.heft-cta { margin-top: 1.5rem; }

.free-mini-list { margin: 1.5rem 0 0; padding: 0; overflow: hidden; background: #f5f5f7; border-radius: 18px; list-style: none; }
.free-mini-list li + li { border-top: 1px solid #dedee2; }
.free-mini-list a { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: .8rem; padding: 1rem 1.1rem; color: inherit; text-decoration: none; transition: background 160ms ease; }
.free-mini-list a:hover { background: #ececf0; }
.free-mini-list a:hover .topic-title { color: var(--red-dark); }
.free-mini-kinds { color: var(--muted); font-size: .8rem; font-weight: 600; text-align: right; }
.free-mini-more { margin-top: 1rem; }

.free-section { padding-block: 4.5rem 6rem; }
.free-intro { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); align-items: start; gap: 2.5rem; margin-bottom: 4rem; }
.free-intro h2 { font-size: clamp(1.5rem,2.4vw,1.9rem); }
.free-intro p { margin: 0; color: var(--ink-soft); }
.free-note { padding: 1.35rem 1.5rem; background: #fbf0e5; border-radius: 20px; }
.free-note strong { color: var(--ink); }
.free-module + .free-module { margin-top: 4.5rem; }
.free-module-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.free-module-head h2 { margin: 0; }
.free-topics { display: grid; gap: 1.5rem; }
.free-topic { display: grid; grid-template-columns: minmax(0,1fr) 290px; align-items: start; gap: 2rem; padding: 1.75rem; background: #f5f5f7; border-radius: 26px; scroll-margin-top: 110px; }
.free-topic:target { box-shadow: 0 0 0 3px rgba(183,47,31,.35); }
.free-topic-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; }
.free-topic-head img, .free-topic-number { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 18px; }
.free-topic-head img { object-fit: cover; background: #fff; }
.free-topic-number { display: grid; place-items: center; color: var(--red-dark); background: #fff; font-size: 1.4rem; font-weight: 800; }
.free-topic-head .eyebrow { margin-bottom: .3rem; }
.free-topic-head h3 { margin: 0; font-size: clamp(1.3rem,2.2vw,1.65rem); }
.free-label { display: inline-block; margin: 0 0 .7rem; padding: .25rem .7rem; color: var(--green-ink); background: var(--green); border-radius: 999px; font-size: .75rem; font-weight: 700; }
.download-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.download-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .6rem 1rem; padding: .8rem .8rem .8rem 1.1rem; background: #fff; border-radius: 16px; }
.download-item strong { display: block; font-size: .98rem; line-height: 1.3; }
.download-item small { display: block; margin-top: .15rem; color: var(--muted); font-size: .8rem; }
.download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.download-actions .button { min-height: 40px; padding: .45rem 1rem; font-size: .88rem; }
.download-solutions { margin-top: .8rem; overflow: hidden; background: #fff; border-radius: 16px; }
.download-solutions summary { padding: .9rem 1.1rem; color: var(--red-dark); font-weight: 650; cursor: pointer; }
.download-solutions[open] summary { border-bottom: 1px solid #ececf0; }
.download-solutions .download-list { padding: .55rem; }
.download-solutions .download-item { background: #f5f5f7; }
.download-pending { margin: .9rem 0 0; color: var(--muted); font-size: .88rem; }
.qr-popover { width: min(92vw, 460px); max-height: 92vh; overflow: auto; margin: auto; padding: 1.6rem 1.6rem 1.4rem; color: var(--ink); background: #fff; border: 0; border-radius: 26px; box-shadow: 0 24px 70px rgba(0,0,0,.35); text-align: center; }
.qr-popover::backdrop { background: rgba(10,10,12,.72); }
.qr-popover img { display: block; width: min(100%, 370px, 58vh); height: auto; margin: 0 auto 1rem; image-rendering: pixelated; }
.qr-popover .qr-titel { margin: 0 0 .3rem; font-size: 1.45rem; font-weight: 800; }
.qr-popover .qr-text { margin: 0 0 .5rem; color: var(--ink-soft); line-height: 1.4; }
.qr-popover .qr-adresse { margin: 0 0 1.1rem; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.qr-popover .button { min-width: 160px; }
.product-card { padding: 1.25rem; background: #fff; border-radius: 20px; }
.product-card img { width: 100%; aspect-ratio: 1191/1684; margin-bottom: 1.1rem; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.product-card .eyebrow { margin-bottom: .35rem; }
.product-card h4 { margin: 0 0 .6rem; font-size: 1.15rem; line-height: 1.2; }
.product-card ul { margin: 0 0 1.1rem; padding-left: 1.1rem; color: var(--ink-soft); font-size: .9rem; }
.product-card .button { width: 100%; }
.product-card small { display: block; margin-top: .55rem; color: var(--muted); font-size: .76rem; line-height: 1.35; text-align: center; }

@media (max-width: 1024px) {
  .free-topic { grid-template-columns: minmax(0,1fr) 240px; gap: 1.5rem; }
}
@media (max-width: 900px) {
  .free-intro, .free-topic { grid-template-columns: minmax(0,1fr); }
  .product-card.has-cover { display: grid; grid-template-columns: 130px minmax(0,1fr); align-items: start; gap: 1.1rem; }
  .product-card img { margin: 0; }
}
@media (max-width: 600px) {
  .free-section { padding-block: 3rem 4.5rem; }
  .free-topic { padding: 1.1rem; border-radius: 20px; }
  .free-topic-head img, .free-topic-number { width: 64px; height: 64px; border-radius: 14px; }
  .free-module-head { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .download-item { grid-template-columns: minmax(0,1fr); }
  .download-actions { justify-content: flex-start; }
  .product-card.has-cover { grid-template-columns: 96px minmax(0,1fr); }
  .free-mini-list a { grid-template-columns: 30px minmax(0,1fr); }
  .free-mini-kinds { grid-column: 2; text-align: left; }
  .showcase-links { justify-content: flex-start; }
  .theme-showcase-footer { flex-wrap: wrap; }
}
.page-hero .detail-facts li { background: #fff; }
.free-section .finder-controls { margin-bottom: .5rem; }
.free-section .finder-resultbar { margin-bottom: 2.5rem; }
.free-hint { margin: 0; color: var(--muted); font-size: .85rem; }
.free-outlook { margin: 2.5rem 0 0; color: var(--muted); font-size: .92rem; }

/* Shop */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.shop-grid .product-card { display: flex; flex-direction: column; background: #f5f5f7; scroll-margin-top: 110px; }
.shop-grid .product-card > div { display: flex; flex: 1; flex-direction: column; }
.shop-grid .product-card ul { flex: 1; }
.shop-grid .product-card:target { box-shadow: 0 0 0 3px rgba(183,47,31,.35); }
.product-price { margin: 0 0 .6rem; color: var(--ink); font-size: 1.35rem; font-weight: 800; }
.shop-soon { margin-bottom: 3rem; }
.free-note a { color: var(--red-dark); font-weight: 700; }

/* Geschützte Schulbereiche */
.school-card-actions { display: grid; gap: .6rem; }
.school-card-lead { margin: 0 0 .8rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.4; }
.button-meta { color: inherit; font-size: .78rem; font-style: normal; font-weight: 600; opacity: .8; }
.school-note { background: var(--green); }
.school-note strong { color: var(--green-ink); }

@media (max-width: 600px) {
  .shop-grid { grid-template-columns: minmax(0,1fr); }
  .shop-grid .product-card.has-cover { display: grid; }
}

/* Startseite: kompakter Kopf und Material-Wegweiser */
.hero-band.hero-compact { display: block; min-height: 0; padding-block: 2.5rem 3rem; }
.hero-compact-grid { display: grid; grid-template-columns: minmax(0,1fr) 210px; align-items: end; gap: 2rem; }
.hero-compact-copy h1 { max-width: none; margin-bottom: .9rem; font-size: clamp(2.2rem,3.6vw,3.2rem); letter-spacing: -.045em; }
.hero-compact-copy h1 span { color: #6e6e73; }
.hero-compact-copy h1 span:first-child { color: var(--ink); }
.hero-compact-copy .hero-lead { max-width: 720px; margin: 0; font-size: clamp(1.05rem,1.5vw,1.2rem); }
.hero-compact-copy .hero-news { margin-bottom: 1rem; }
.hero-compact-teacher img { display: block; width: 100%; height: auto; margin-bottom: -3rem; }

.wegweiser { position: relative; z-index: 3; margin-top: 2.2rem; scroll-margin-top: 100px; }
.wegweiser-frage { margin: 0 0 1rem; font-size: clamp(1.25rem,2vw,1.55rem); letter-spacing: -.02em; }
.path-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.path-tile { display: grid; gap: .35rem; padding: 1.6rem 1.6rem 1.4rem; color: var(--ink); background: #fff; border-radius: 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px rgba(23,23,23,.08); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
@media (hover: hover) { .path-tile:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--red), 0 14px 34px rgba(23,23,23,.1); } }
.path-tile:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.path-tile.is-active { color: #fff; background: var(--red); box-shadow: 0 14px 34px rgba(183,50,39,.28); }
.path-tile-name { font-size: clamp(2.2rem,4vw,3.1rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.path-tile-text { color: var(--ink-soft); font-size: 1rem; font-weight: 600; }
.path-tile-count { margin-top: .6rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.path-tile.is-active .path-tile-text, .path-tile.is-active .path-tile-count { color: rgba(255,255,255,.88); }

.wegweiser-stufe { margin-top: 1.5rem; padding: 1.6rem; scroll-margin-top: 96px; background: #fff; border-radius: 24px; box-shadow: 0 12px 32px rgba(23,23,23,.06); }
.wegweiser-stufe .breadcrumbs { align-items: center; margin: 0 0 1rem; font-size: .85rem; }
.wegweiser-stufe .breadcrumbs button { padding: 0; color: var(--red-dark); background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.wegweiser-stufe .breadcrumbs button:hover { text-decoration: underline; }
.wegweiser-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; margin-bottom: 1.2rem; }
.wegweiser-kopf h3 { margin: 0; font-size: clamp(1.35rem,2.2vw,1.75rem); outline: none; }
.wegweiser-zurueck { min-height: 40px; padding: .45rem 1rem; font-family: inherit; font-size: .88rem; cursor: pointer; }
.path-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.path-card { display: grid; width: 100%; height: 100%; align-content: start; gap: .45rem; padding: 1rem 1.1rem; color: var(--ink); background: #f5f5f7; border: 0; border-radius: 18px; font: inherit; text-align: left; cursor: pointer; transition: background 160ms ease, box-shadow 160ms ease; }
@media (hover: hover) { .path-card:hover { background: #ececf0; box-shadow: inset 0 0 0 2px var(--red); } }
.path-card:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.path-card-nr { color: var(--red-dark); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.path-card-titel { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.path-card-info { color: var(--muted); font-size: .82rem; }
.path-card .topic-state { width: fit-content; font-size: .72rem; }
.path-card.is-planned { color: #6e6e73; background: #f7f7f8; }
.path-card.is-planned .path-card-nr { color: #8a8a8e; }
.topic-state.verfuegbar { color: var(--green-ink); background: var(--green); }
.wegweiser-hinweis { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.wegweiser-hinweis a { color: var(--red-dark); font-weight: 600; }
.wegweiser-thema { display: grid; grid-template-columns: minmax(0,1fr) 290px; align-items: start; gap: 2rem; }
.wegweiser-thema .download-item { background: #f5f5f7; }
.wegweiser-thema .download-solutions { background: #f5f5f7; }
.wegweiser-thema .download-solutions .download-item { background: #fff; }
.wegweiser-thema .product-card { background: #f5f5f7; }
.wegweiser-geplant { padding: 1.4rem; background: #f5f5f7; border-radius: 18px; }
.wegweiser-geplant p { margin: 0 0 1rem; color: var(--ink-soft); }
.wegweiser-alle { margin: 1.2rem 0 0; }

@media (max-width: 900px) {
  .hero-compact-grid { grid-template-columns: minmax(0,1fr) 140px; }
  .path-tiles { grid-template-columns: minmax(0,1fr); gap: .7rem; }
  .path-tile { grid-template-columns: auto minmax(0,1fr); align-items: baseline; gap: .2rem 1rem; padding: 1.1rem 1.3rem; }
  .path-tile-name { grid-row: span 2; font-size: 2.2rem; }
  .path-tile-count { margin-top: 0; }
  .wegweiser-thema { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  .hero-band.hero-compact { padding-block: 1.8rem 2.2rem; }
  .hero-compact-grid { grid-template-columns: minmax(0,1fr); }
  .hero-compact-teacher { display: none; }
  .hero-compact-copy h1 { font-size: clamp(1.9rem,8.5vw,2.4rem); }
  .wegweiser { margin-top: 1.6rem; }
  .wegweiser-stufe { padding: 1.1rem; border-radius: 20px; }
  .path-grid { grid-template-columns: minmax(0,1fr); }
}

/* Kurzfilm auf der Startseite: randlos im Creme-Verlauf, Endbild = Poster */
.video-section { padding-top: clamp(2.5rem,4vw,3.5rem); padding-bottom: clamp(3rem,5vw,4.5rem); background: #f3ede5; }
/* Filmüberschrift über die volle Breite, Stichworte darunter */
.video-section .section-heading { flex-direction: column; align-items: flex-start; gap: .6rem; }
.video-section .section-heading h2 { max-width: none; font-size: clamp(2rem,3.6vw,3.4rem); }
.video-frame { position: relative; margin: 0; container-type: inline-size; background: radial-gradient(circle at 80% 38%,#fffaf3 0,#f8f2e9 34%,#f3ede5 100%); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: transparent; }
/* Ränder weich in den Seitenhintergrund auslaufen lassen (unten nicht, dort steht die Figur). */
.video-frame { background: none; }
.video-frame video {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 100%);
  mask-composite: intersect;
}
/* Buttons liegen exakt auf der freien Fläche des Endbilds (x 130 px, y 636–732 px von 1920×1080). */
.video-endcard { position: absolute; left: 6.77%; top: 58.9%; height: 8.9%; display: flex; align-items: center; gap: 1.2cqw; opacity: 1; transition: opacity 400ms ease, visibility 400ms; }
.video-endcard .button { min-height: 0; height: 100%; padding: 0 2.2cqw; font-size: 1.85cqw; border-radius: 999px; white-space: nowrap; }
.video-endcard .button-outline { background: rgba(255,255,255,.7); }
.video-frame[data-film-ready]:not(.show-endcard) .video-endcard { opacity: 0; visibility: hidden; }
.video-controls { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 10px; }
.video-toggle { border: 0; border-radius: 999px; padding: .55rem 1.1rem; font: inherit; font-weight: 700; font-size: .95rem; color: #fff; background: rgba(29,29,31,.78); cursor: pointer; backdrop-filter: blur(6px); }
.video-toggle:hover { background: var(--red); }
.video-toggle:disabled { opacity: .35; cursor: default; background: rgba(29,29,31,.78); }
.video-toggle[data-film-prev], .video-toggle[data-film-next] { min-width: 2.6rem; padding-inline: .8rem; font-size: 1.2rem; line-height: 1; }
.video-toggle:focus-visible, .video-endcard .button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
/* Kapitel wie Stories: sechs Balken über dem Film, Kacheln darunter (Logik in main.js). */
.film-progress { position: absolute; left: 5%; right: 5%; top: 14px; z-index: 1; display: flex; gap: 6px; pointer-events: none; }
.film-progress span { position: relative; flex: 1; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(29,29,31,.14); }
.film-progress span::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; }
.film-chapters { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: .8rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.film-chapter { display: grid; align-content: start; gap: .3rem; width: 100%; height: 100%; padding: .5rem .5rem .8rem; border: 0; border-radius: 16px; font: inherit; text-align: left; color: var(--ink); background: #fff; cursor: pointer; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 22px rgba(23,23,23,.07); transition: transform 160ms ease, box-shadow 160ms ease; }
.film-chapter img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: .25rem; border-radius: 10px; object-fit: cover; }
.film-chapter-nr { padding-inline: .25rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.film-chapter-title { padding-inline: .25rem; font-size: .95rem; font-weight: 700; line-height: 1.25; }
.film-chapter.is-active { box-shadow: 0 0 0 2px var(--red), 0 10px 26px rgba(23,23,23,.1); }
.film-chapter.is-active .film-chapter-nr { color: var(--red); }
@media (hover: hover) { .film-chapter:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--red), 0 12px 28px rgba(23,23,23,.1); } }
.film-chapter:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 1000px) { .film-chapters { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.video-note { max-width: 760px; margin: 1.4rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
@media (max-width: 700px) {
  .film-chapters { display: flex; gap: .7rem; margin-inline: calc(50% - 50vw); padding: .3rem calc(50vw - 50%) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc(50vw - 50%); scrollbar-width: none; }
  .film-chapters::-webkit-scrollbar { display: none; }
  .film-chapters li { flex: 0 0 44%; scroll-snap-align: start; }
  .film-progress { position: static; gap: 4px; margin-bottom: .7rem; }
  .film-progress span { height: 3px; }
  .video-endcard { position: static; height: auto; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
  .video-endcard .button { height: auto; min-height: 44px; padding: .6rem 1.1rem; font-size: 1rem; }
  .video-frame[data-film-ready]:not(.show-endcard) .video-endcard { opacity: 1; visibility: visible; }
  /* Hochformat-Fassung (main.js setzt .is-hoch): passt immer ganz in den Bildschirm. */
  .video-frame.is-hoch video { aspect-ratio: 9 / 16; max-height: calc(100svh - 150px); object-fit: contain; }
  .video-controls { right: 10px; bottom: auto; top: 10px; }
  .video-toggle { padding: .4rem .85rem; font-size: .85rem; }
}

/* Schulbereich: Aufbau wie die Startseite, Gesamtliste eingeklappt */
.school-hero .school-note { margin-top: 1.6rem; }
.school-list > summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: .9rem 0; color: var(--red-dark); }
.school-list[open] > summary { margin-bottom: 1.2rem; }

/* Navigation: Material-Links links, Kontakt & Social rechts – feiner Trenner vor „Newsletter“ (nur Desktop) */
@media (min-width: 1025px) {
  .main-nav .nav-secondary { margin-left: .4rem; padding-left: 1.6rem; border-left: 1px solid var(--border); }
}
