:root {
  --blue: #004289;
  --blue-2: #043882;
  --menu-blue: #4c7bac;
  --yellow: #f7e102;
  --yellow-2: #ffd500;
  --orange: #f7e102;
  --orange-2: #ffd500;
  --ink: #272727;
  --muted: #666f78;
  --line: #d7d7d7;
  --bg: #ffffff;
  --paper: #ffffff;
  --soft-blue: #edf4fb;
  --soft-orange: #fff8cc;
  --shadow: 0 18px 40px rgba(0, 66, 137, 0.14);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color: var(--ink); background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; font-size: 18px; line-height: 1.56; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-2); }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 112px;
  padding: 10px max(20px, calc((100vw - 1420px) / 2 + 20px));
  background: #ffffff;
  border-bottom: 0;
  box-shadow: 0 12px 30px rgba(0, 66, 137, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 18px; color: var(--blue); text-decoration: none; font-weight: 800; }
.brand img { width: clamp(112px, 13vw, 178px); height: auto; display: block; }
.brand span { display: grid; gap: 2px; white-space: nowrap; color: var(--blue); line-height: 1.05; }
.brand strong { font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 700; }
.brand small { color: var(--muted); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.site-nav a { position: relative; padding: 14px 12px; border-radius: 0; color: var(--blue); text-decoration: none; font-size: 0.92rem; font-weight: 600; line-height: 1.15; }
.site-nav a:hover, .site-nav a.is-current { background: transparent; color: var(--blue-2); }
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 68px; min-width: 68px; border: 0; border-radius: 0; background: var(--menu-blue); color: white; padding: 15px 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 38px; height: 4px; margin: 0 auto 8px; background: #fff; border-radius: 2px; }
.nav-toggle span:last-child { margin-bottom: 0; }

main { padding: 34px 20px 76px; }
.breadcrumb { max-width: 760px; margin: 0 auto 18px; color: var(--muted); font-size: 0.9rem; }
.breadcrumb span { color: var(--blue); margin: 0 4px; }
.hero, .content-section { max-width: 760px; margin: 0 auto; }
.wide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.hero { padding: 34px 0 20px; }
.hero.wide { display: grid; grid-template-columns: minmax(0, 760px); padding-bottom: 8px; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 10px 18px; color: var(--blue); background: var(--yellow); font-size: 0.86rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.18; color: var(--blue); letter-spacing: 0; }
h1 { margin: 0 0 20px; font-size: clamp(2.2rem, 4.4vw, 4.4rem); font-weight: 700; }
h2 { margin: 54px 0 18px; font-size: clamp(1.55rem, 2.6vw, 2.5rem); font-weight: 600; }
h3 { margin: 30px 0 10px; font-size: 1.24rem; }
p { margin: 0 0 1.05rem; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1.2rem; }
li + li { margin-top: 0.28rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
strong { color: #111c27; }

.visual { margin: 34px auto; max-width: 980px; }
.visual-slot { min-height: 260px; border: 0; background: var(--soft-blue); border-radius: 2px; display: grid; place-items: center; overflow: hidden; }
.visual-slot img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.visual-fallback { display: block; padding: clamp(22px, 4vw, 40px); color: var(--ink); max-width: 760px; }
.visual-fallback strong { color: var(--blue); }
.visual-fallback details { margin-top: 12px; font-size: 0.94rem; color: var(--muted); }
.visual figcaption { margin-top: 8px; color: var(--muted); font-size: 0.92rem; text-align: center; }

.card-grid, .page-grid { display: grid; gap: 16px; margin-top: 34px; }
.card-grid > h2, .page-grid > h2 { grid-column: 1 / -1; max-width: 760px; margin-left: 0; }
.thesis-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.page-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.thesis-card, .page-card { display: block; min-height: 100%; padding: 20px; border-radius: 2px; border: 1px solid var(--line); border-top: 6px solid var(--blue); background: var(--paper); text-decoration: none; color: var(--ink); box-shadow: 0 8px 22px rgba(0,66,137,.06); }
.thesis-card:hover, .page-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); border-top-color: var(--yellow); }
.thesis-card span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 0; background: var(--yellow); color: var(--blue); font-weight: 800; font-size: 0.82rem; }
.thesis-card h3, .page-card h3 { margin-top: 12px; font-size: 1.05rem; }
.thesis-card p, .page-card p { font-size: 0.95rem; margin-bottom: 0; color: var(--muted); }

.summary-highlight {
  position: relative;
  margin-top: 42px;
  margin-bottom: 38px;
  padding: clamp(20px, 3vw, 30px);
  border: 0;
  border-radius: 2px;
  background: #f3f6fa;
  box-shadow: none;
}
.summary-highlight::before {
  content: "Kurzfassung";
  position: absolute;
  top: -14px;
  left: clamp(20px, 3vw, 30px);
  padding: 4px 10px;
  border-radius: 0;
  background: var(--yellow);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.summary-highlight > h2 {
  margin-top: 8px;
  color: #111c27;
}
.summary-highlight .page-grid-lead {
  color: #2a3a4a;
  font-size: 1.04rem;
}
.summary-highlight .thesis-card {
  border-color: rgba(22, 59, 99, 0.18);
  box-shadow: 0 10px 24px rgba(28,45,61,.08);
}

.source { padding: 12px 14px; border-left: 5px solid var(--blue); background: var(--soft-blue); border-radius: 0; font-size: 0.96rem; }
.text-link a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 2px; background: var(--yellow); color: var(--blue); font-weight: 800; text-decoration: none; }

.social-media .app-card { margin-top: 32px; border-radius: 2px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper); border: 1px solid var(--line); }
.social-media .app-card .app-heading { margin: 0; padding: 14px 20px; background: var(--blue); color: white; font-size: 1.25rem; }
.social-media .app-card .app-body { padding: 18px 20px 22px; }
.social-media .app-card .app-body > * { margin-top: 12px; }
.social-media .app-card .app-body > *:first-child { margin-top: 0; }
.social-media .app-card .age-info { padding: 10px 14px; border-left: 5px solid var(--blue); background: var(--soft-blue); border-radius: 0; font-size: 0.95rem; color: var(--ink); }
.social-media .app-card .age-info strong { color: var(--blue); }
.social-media .app-card ul { margin: 6px 0 0; padding-left: 22px; }
.social-media .app-card ul li { margin: 4px 0; }
.social-media .app-card .source { margin-top: 14px; }

.social-media .callout { margin: 22px 0 8px; padding: 18px 22px; border-radius: 2px; background: var(--soft-orange); border-left: 5px solid var(--yellow); }
.social-media .callout h3 { margin: 0 0 8px; color: var(--ink); }
.social-media .callout p { margin: 6px 0; }

.callout { margin: 22px 0 8px; padding: 18px 22px; border-radius: 2px; background: var(--soft-orange); border-left: 5px solid var(--yellow); }
.callout h3 { margin: 0 0 8px; color: var(--ink); }
.callout p { margin: 6px 0; }
.callout ul { margin: 8px 0 0; padding-left: 22px; }

.social-media .app-card .note { margin-top: 14px; padding: 10px 14px; background: #f3f6fa; border-radius: 2px; color: var(--muted); font-size: 0.95rem; }

.social-media .source-block { margin: 46px 0 8px; padding: 22px 24px; border-radius: 2px; background: var(--soft-blue); border-left: 5px solid var(--blue); }
.social-media .source-block h2 { margin: 0 0 10px; color: var(--blue); }
.social-media .source-block .source-list { margin: 8px 0 0; padding-left: 22px; }
.social-media .source-block .source-list li { margin: 10px 0; line-height: 1.55; }
.social-media .source-block a { color: var(--blue); font-weight: 600; }

.source-pointer { margin: 28px 0 8px; padding: 14px 18px; border-radius: 2px; background: var(--soft-blue); border-left: 5px solid var(--blue); font-size: 0.97rem; color: var(--ink); }
.source-pointer a { color: var(--blue); font-weight: 700; }

.wissenschaft .study-card { margin: 22px 0; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 2px; box-shadow: var(--shadow); }
.wissenschaft .study-card h3 { margin: 0 0 8px; color: var(--blue); font-size: 1.2rem; }
.wissenschaft .study-card p { margin: 8px 0; }
.wissenschaft .study-card ul { margin: 6px 0 0; padding-left: 22px; }
.wissenschaft .study-card ul li { margin: 4px 0; }

.wissenschaft .source-block { margin: 46px 0 8px; padding: 22px 24px; border-radius: 2px; background: var(--soft-blue); border-left: 5px solid var(--blue); }
.wissenschaft .source-block h2 { margin: 0 0 10px; color: var(--blue); }
.wissenschaft .source-block .source-list { margin: 8px 0 0; padding-left: 22px; }
.wissenschaft .source-block .source-list li { margin: 12px 0; line-height: 1.6; }
.wissenschaft .source-block a { color: var(--blue); font-weight: 600; }

.praxis .source-block { margin: 46px 0 8px; padding: 22px 24px; border-radius: 2px; background: var(--soft-blue); border-left: 5px solid var(--blue); }
.praxis .source-block h2 { margin: 0 0 10px; color: var(--blue); }
.praxis .source-block p { margin: 8px 0; }
.praxis .source-block .source-list { margin: 10px 0 0; padding-left: 22px; }
.praxis .source-block .source-list li { margin: 12px 0; line-height: 1.6; }
.praxis .source-block a { color: var(--blue); font-weight: 700; }
.praxis .source-block .source-note { margin-top: 16px; font-size: 0.97rem; }

.praxis-berichte h2 { margin-top: 36px; }
.praxis-berichte .source { margin: 12px 0 6px; }
.praxis-berichte ul { margin: 10px 0; }
.praxis-berichte ul li { margin: 6px 0; }

.next-block { margin-top: 46px; padding: 26px 30px; border-radius: 2px; background: var(--blue); color: white; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.next-block p { margin: 0; color: rgba(255,255,255,.86); }
.next-block a { color: white; font-weight: 850; font-size: 1.2rem; }
.site-footer { padding: 46px 20px 70px; border-top: 0; background: var(--blue); color: white; text-align: left; font-size: 0.95rem; }
.footer-inner { max-width: 1420px; margin: 0 auto; }
.footer-brand { display: flex; justify-content: center; margin-bottom: 44px; }
.footer-brand img { width: min(350px, 78vw); height: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; line-height: 1.45; }
.footer-grid p { margin: 0; }
.footer-grid strong { color: white; }
.footer-grid h2 { margin: 0 0 14px; color: white; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; }
.footer-grid h2 span { display: inline-block; transform: scaleX(-1); }
.footer-grid nav { display: grid; gap: 13px; align-content: start; }
.footer-grid a { color: white; text-decoration: none; }
.footer-grid a:hover { color: var(--yellow); }

@media (max-width: 980px) {
  .thesis-grid, .page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { min-height: 92px; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 12px 0 4px; background: var(--menu-blue); order: 3; }
  .site-nav.is-open { display: flex; }
  .site-nav a { color: #fff; padding: 15px 18px; font-size: 1.05rem; }
  .site-nav a::after { left: 18px; right: auto; bottom: 8px; width: 40px; background: var(--yellow); }
  .site-nav a:hover, .site-nav a.is-current { color: #fff; background: rgba(255,255,255,.12); }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .site-header { align-items: center; flex-wrap: wrap; gap: 8px; padding-left: 16px; padding-right: 16px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 76px; flex: 0 0 auto; }
  .brand strong { font-size: 0.96rem; }
  .brand small { font-size: 0.62rem; }
  .brand span { white-space: normal; }
  .nav-toggle { width: 50px; min-width: 50px; padding: 12px 8px; }
  .nav-toggle span { width: 30px; height: 3px; margin-bottom: 7px; }
  main { padding-left: 16px; padding-right: 16px; }
  .thesis-grid, .page-grid { grid-template-columns: 1fr; }
  .next-block { display: block; }
  .next-block a { display: inline-block; margin-top: 8px; }
}
@media print {
  .site-header, .nav-toggle, .site-footer { position: static; }
  .site-nav, .nav-toggle { display: none; }
  body { background: white; color: black; font-size: 12pt; }
  a { color: black; }
}

/* --- additions: hero visual + thesis detail pages --- */
.hero-visual { margin: 0 auto 18px; max-width: 1180px; }
.hero-visual .visual-slot { border: 0; min-height: 320px; border-radius: 2px; }
.hero-visual .visual-slot img { min-height: 320px; }
.page-grid-lead { grid-column: 1 / -1; max-width: 760px; color: var(--muted); margin: -6px 0 6px; }

.thesis-detail .thesis-hero { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; max-width: 760px; margin: 0 auto; }
.thesis-detail .thesis-hero .num { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 0; background: var(--yellow); color: var(--blue); font-weight: 800; font-size: 1.8rem; box-shadow: var(--shadow); }
.thesis-detail .thesis-hero h1 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.thesis-detail .thesis-lead { max-width: 760px; margin: 18px auto 0; font-size: 1.12rem; color: #2a3a4a; }
.thesis-nav { max-width: 1080px; margin: 38px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); }
.thesis-nav a { padding: 10px 14px; border-radius: 2px; background: var(--yellow); color: var(--blue); text-decoration: none; font-weight: 700; }
.thesis-nav a:hover { background: var(--blue); color: white; }

.thesis-overview { grid-column: 1 / -1; margin: 14px auto 28px; max-width: 1080px; width: 100%; }
.thesis-overview .visual-slot { background: transparent; border: 0; min-height: 0; padding: 0; }
.thesis-overview .visual-slot img { width: 100%; height: auto; min-height: 0; object-fit: contain; display: block; }

/* Index card linking to the kids page */
.kids-link-card { margin: 36px auto; padding: 22px 24px; max-width: 1080px; background: var(--soft-blue); border-radius: 2px; border: 1px solid var(--line); border-left: 8px solid var(--yellow); }
.kids-link-card h2 { margin: 0 0 8px; color: var(--blue); font-size: 1.35rem; }
.kids-link-card p { margin: 0 0 6px; }
.kids-link-card .text-link a { font-weight: 700; }

/* Für-dich page (kindgerecht): warm, klar, weniger formell */
.kids-page .hero-copy h1 { color: var(--blue); }
.kids-lead { font-size: 1.12rem; }
.kids-page .content-section { max-width: 760px; }
.kids-block { padding: 20px 0; border-top: 1px solid var(--line); }
.kids-block:first-of-type { border-top: 0; padding-top: 4px; }
.kids-block h2 { color: var(--blue); font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.kids-block p, .kids-block li { font-size: 1.05rem; }
.kids-block .visual { margin: 14px 0; max-width: 720px; }
.kids-block figcaption { color: var(--muted); font-style: italic; }
.kids-summary { padding: 22px; background: var(--soft-blue); border-radius: 2px; margin-top: 22px; }
.kids-summary h2 { color: var(--blue); margin-top: 0; }
.kids-summary ul { font-size: 1.05rem; }

/* Kernthesen page: each Kernthese as a compact section with bold number + claim */
.kernthesen .kernthese { padding: 24px 0; border-top: 1px solid var(--line); }
.kernthesen .kernthese:first-of-type { border-top: 0; padding-top: 8px; }
.kernthese-num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 0 6px; border-radius: 0; background: var(--yellow); color: var(--blue); font-weight: 800; font-size: 1.05rem; }
.kernthese h2 { margin: 4px 0 12px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.kernthese-claim { font-size: 1.1rem; line-height: 1.5; color: var(--ink); margin: 0 0 18px; max-width: 720px; }
.kernthese .visual { margin: 6px 0 18px; max-width: 760px; }
.kernthese .visual-slot { min-height: 200px; }
.kernthese .visual-slot img { min-height: 200px; }
.kernthese-bullets-lead { margin: 6px 0 6px; font-weight: 700; color: var(--blue); }
.kernthese-more { margin: 14px 0 0; font-size: 0.95rem; }
.kernthese-more a { color: var(--blue); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--soft-orange); padding-bottom: 1px; }
.kernthese-more a:hover { color: var(--blue-2); border-bottom-color: var(--yellow); }
.kernthese-summary { padding: 22px 22px; background: var(--soft-orange); border-radius: 2px; margin-top: 22px; }
.kernthese-summary h2 { margin-top: 4px; color: var(--blue); }

/* Lightbox: click any in-content visual image to enlarge (Hero excluded) */
.visual:not(.hero-visual) .visual-slot { cursor: zoom-in; }
.visual:not(.hero-visual) .visual-slot:focus-within { outline: 3px solid var(--yellow); outline-offset: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(15, 25, 40, 0.86); padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox-figure { position: relative; max-width: min(96vw, 1400px); max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox-img { max-width: 100%; max-height: 80vh; height: auto; width: auto; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.45); background: var(--paper); cursor: zoom-out; }
.lightbox-caption { color: #f3eee3; font-size: 0.95rem; max-width: 780px; text-align: center; line-height: 1.4; margin: 0; }
.lightbox-close { position: absolute; top: -10px; right: -10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font-size: 1.4rem; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.4); display: grid; place-items: center; }
.lightbox-close:hover { background: var(--yellow); color: var(--blue); }
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox-close { top: -6px; right: -6px; width: 36px; height: 36px; font-size: 1.2rem; }
}

/* Small note that frames every Schwerpunktseite as built on top of the existing school concept */
.school-note { max-width: 760px; margin: 6px auto 22px; padding: 14px 16px; border-left: 5px solid var(--blue); background: var(--soft-blue); border-radius: 2px; color: var(--ink); font-size: 0.95rem; }
.school-note strong { color: var(--blue); }
.school-note p { margin: 0; }
.school-note p + p { margin-top: 6px; }

/* Journey visualisation for the 5 Schwerpunkt-Themen (used on index.html before the page-grid) */
.journey-viz { grid-column: 1 / -1; margin: 8px auto 26px; max-width: 1080px; width: 100%; padding: 22px clamp(10px, 2.5vw, 28px) 24px; border-radius: 2px; background: #f3f6fa; box-shadow: 0 12px 28px rgba(0,66,137,.07); }
.journey-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.journey-track::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 4px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-2) 60%, var(--yellow) 100%); border-radius: 2px; z-index: 0; }
.journey-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; text-decoration: none; color: var(--ink); }
.journey-step .num { width: 68px; height: 68px; border-radius: 0; background: var(--paper); border: 3px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 1.65rem; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,66,137,.18); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease; }
.journey-step .label { margin-top: 12px; font-weight: 750; color: var(--blue); font-size: 0.98rem; line-height: 1.25; }
.journey-step .sub { margin-top: 4px; font-size: 0.82rem; color: var(--muted); line-height: 1.35; max-width: 170px; }
.journey-step:hover .num { transform: translateY(-3px); border-color: var(--yellow); background: var(--yellow); color: var(--blue); box-shadow: 0 10px 22px rgba(0,66,137,.2); }
.journey-step:hover .label { color: var(--blue-2); }
@media (max-width: 820px) {
  .journey-track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .journey-step .num { width: 54px; height: 54px; font-size: 1.3rem; }
  .journey-track::before { top: 27px; left: 8%; right: 8%; }
  .journey-step .label { font-size: 0.85rem; }
  .journey-step .sub { display: none; }
}
@media (max-width: 520px) {
  .journey-track { grid-template-columns: 1fr 1fr; gap: 14px; }
  .journey-track::before { display: none; }
  .journey-step { flex-direction: row; align-items: center; text-align: left; gap: 10px; padding: 8px 10px; background: var(--paper); border-radius: 2px; box-shadow: 0 4px 10px rgba(0,66,137,.06); }
  .journey-step .num { width: 44px; height: 44px; font-size: 1.1rem; flex: 0 0 auto; }
  .journey-step .label { margin-top: 0; font-size: 0.95rem; }
  .journey-step .sub { display: block; margin-top: 2px; font-size: 0.78rem; max-width: none; }
}

/* MWS WordPress page shell emulation: profil/schulelternbeirat */
.site-header {
  position: relative;
  z-index: 1000;
  min-height: 185px;
  padding: 8px max(20px, calc((100vw - 1420px) / 2 + 20px));
  box-shadow: none;
}
.brand {
  align-self: flex-start;
}
.brand img {
  width: clamp(150px, 16vw, 208px);
}
.brand span {
  display: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: auto;
  min-width: 72px;
  padding: 10px 6px;
  background: transparent;
}
.nav-toggle span {
  width: 60px;
  height: 5px;
  margin: 0;
  background: var(--blue);
}
.nav-toggle[aria-expanded="true"] {
  background: var(--menu-blue);
  padding: 20px;
}
.nav-toggle[aria-expanded="true"] span {
  width: 50px;
  background: #fff;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(19px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-19px) rotate(-45deg);
}
.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 999;
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 0;
  max-width: 100%;
  margin: 0;
  padding: 30px max(20px, calc((100vw - 1420px) / 2 + 20px));
  background: var(--menu-blue);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s ease;
  pointer-events: none;
}
.site-nav.is-open {
  transform: scaleY(1);
  pointer-events: auto;
}
.site-nav::before {
  content: "Profil";
  display: block;
  grid-row: 1 / span 7;
  padding: 14px 16px;
  color: #fff;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.4;
  font-weight: 600;
}
.site-nav a {
  display: block;
  padding: 12px 14px;
  color: #fff;
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 12px;
  background: var(--yellow-2);
  vertical-align: -1px;
}
.site-nav a::after {
  display: none;
}
.site-nav a:hover,
.site-nav a.is-current {
  color: #fff;
  background: rgba(255,255,255,.12);
}

main {
  padding: 0 0 76px;
}
.breadcrumb {
  display: none;
}
.hero-visual {
  position: relative;
  max-width: none;
  margin: -185px 0 0;
}
.hero-visual .visual-slot {
  min-height: 80vh;
  border-radius: 0;
  background: #ddd;
}
.hero-visual .visual-slot img {
  min-height: 80vh;
  height: 80vh;
  object-fit: cover;
}
.hero-visual::after {
  content: "Schulelternbeirat";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding: 20px 68px;
  border: 1px solid #fff;
  background: var(--blue);
  color: #fff;
  font-size: clamp(18px, 3vw, 40px);
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}
.local-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 0 max(20px, calc((100vw - 1420px) / 2 + 20px));
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}
.local-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 15px 18px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1.2;
}
.local-nav a:hover,
.local-nav a.is-current {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.local-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 4px;
  background: var(--yellow);
}
.hero.wide,
.content-section,
.card-grid,
.page-grid,
.kids-link-card,
.next-block {
  max-width: 1420px;
}
.hero.wide {
  display: block;
  padding: 60px 20px 20px;
}
.hero-copy,
.content-section {
  max-width: 1420px;
  padding-left: 20px;
  padding-right: 20px;
}
.hero-copy {
  margin: 0 auto;
}
.eyebrow {
  display: none;
}
h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--ink);
}
h2 {
  color: var(--ink);
  font-weight: 600;
}
.hero-copy p,
.content-section p,
.content-section li {
  max-width: 980px;
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.4;
}
.content-section ul,
.content-section ol,
.hero-copy ul,
.hero-copy ol,
.text-col ul,
.text-col ol,
.callout ul,
.social-media .app-card ul,
.source-list {
  padding-left: 1.8em;
  margin-left: 0.2em;
  list-style-position: outside;
}
.content-section li,
.hero-copy li,
.text-col li,
.callout li,
.social-media .app-card li,
.source-list li {
  padding-left: 0.25em;
}
.summary-highlight,
.journey-viz,
.kids-link-card {
  border-radius: 0;
}
.summary-highlight {
  margin-top: 50px;
  background: #99b4d0;
}
.summary-highlight::before {
  display: none;
}
.summary-highlight > h2,
.summary-highlight .page-grid-lead {
  color: #272727;
}

.site-footer {
  background-color: var(--blue);
  padding: 40px 20px 80px;
  color: #fff;
}
.footer-inner {
  max-width: 1420px;
}
.footer-brand {
  justify-content: center;
  margin-bottom: 0;
}
.footer-brand img {
  width: 350px;
  max-width: 100%;
}
.footer-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 64px;
  font-weight: 400;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.4;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col a,
.footer-email a {
  color: #fff;
  text-decoration: none;
}
.footer-email {
  margin: 1em 0;
}
.footer-copyright {
  margin-top: 26px;
}
.footer-contact-title {
  margin: 32px 0 16px;
  color: #fff;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
}
.flip-k {
  display: inline-block;
  transform: scaleX(-1);
}
.footer__menu li {
  margin-bottom: 12px;
}
.footer-icon-links {
  display: grid;
  gap: 16px;
}
.footer-icon-link a {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1228px) {
  .site-header {
    min-height: 116px;
  }
  .brand img {
    max-height: 80px;
    width: auto;
  }
  .nav-toggle,
  .nav-toggle[aria-expanded="true"] {
    gap: 10px;
    padding: 12px;
  }
  .nav-toggle span,
  .nav-toggle[aria-expanded="true"] span {
    width: 30px;
    height: 3px;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-15px) rotate(-45deg);
  }
  .hero-visual {
    margin-top: -116px;
  }
  .hero-visual .visual-slot,
  .hero-visual .visual-slot img {
    min-height: 70vh;
    height: 70vh;
  }
  .site-nav {
    grid-template-columns: 1fr;
  }
  .site-nav::before {
    grid-row: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .site-footer {
    padding: 40px 20px;
  }
}

@media (max-width: 576px) {
  .site-header {
    min-height: 96px;
    padding: 8px 16px;
  }
  .brand img {
    max-height: 60px;
  }
  .hero-visual {
    margin-top: -96px;
  }
  .hero-visual .visual-slot,
  .hero-visual .visual-slot img {
    min-height: 58vh;
    height: 58vh;
  }
  .hero-visual::after {
    width: 70%;
    padding: 10px 20px;
    white-space: normal;
  }
  .local-nav {
    position: static;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 16px;
    scrollbar-width: thin;
  }
  .local-nav a {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 13px 14px;
    white-space: nowrap;
  }
  .local-nav a.is-current::after {
    left: 14px;
    right: 14px;
    bottom: 8px;
  }
  .hero.wide {
    padding-top: 40px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    padding: 22px 20px 26px;
    transform: scaleY(0);
  }
  .site-nav.is-open {
    display: grid;
    transform: scaleY(1);
  }
  .site-nav::before {
    padding: 8px 14px 12px;
    font-size: 22px;
  }
  .site-nav a {
    padding: 11px 14px;
    font-size: 20px;
  }
}
