/* ==========================================================================
   BLUE OPTION (item 73, 2026-11-19)
   ProScola as Klapp's twin in the CMI family. Loaded after main.css on the
   Blue Home only. Klapp blue #009FE3 is the one accent; flat white cards
   with a blue top bar, square-ish buttons, a plain Helvetica-style sans,
   and a klapp.pro-style hero: short caption-free video loop with a
   Gasoek One headline and a blue pill.
   ========================================================================== */

@font-face {
  font-family: "Gasoek One";
  src: url("fonts/gasoek/gasoek-one-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

body.blue {
  --kb: #009FE3;                 /* Klapp blue */
  --kb-tint: #E3F2FB;            /* light blue card / band */
  --kb-tint-2: #F3F9FD;          /* softest blue section ground */
  --bl-ink: #22215F;             /* titles: ProScola dark blue */
  --bl-text: #2E3A46;            /* body text */
  --bl-muted: #6B7785;           /* meta lines */
  --bl-line: #D9DEE4;            /* card borders */
  --bl-sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* tracking measured off the ProScola wordmark: its letter gaps average
     0.058 of cap height; Lexend's are ~0.13, and -0.05em closes the difference */
  --bl-track: -0.05em;

  /* re-point the shared tokens so every existing section follows */
  --pr-font: var(--bl-sans);
  --pr-ink: var(--bl-ink);
  --pr-accent: var(--kb);
  --pr-accent-hover: var(--kb);
  --pr-accent-ring: rgba(0, 159, 227, 0.18);
  --pr-paper-tint: var(--kb-tint-2);
  --pr-paper-tint-lavender: var(--kb-tint-2);
  --pr-lavender: var(--kb-tint);
  --pr-hairline: var(--bl-line);
  --pr-muted: var(--bl-muted);
  --pr-radius: 12px;
  --pr-radius-lg: 18px;
  --bl-shadow: 0 1px 2px rgba(34, 33, 95, 0.06), 0 8px 24px rgba(34, 33, 95, 0.09);
  --bl-shadow-hover: 0 2px 4px rgba(34, 33, 95, 0.07), 0 14px 34px rgba(34, 33, 95, 0.13);
  --pr-shadow-sm: var(--bl-shadow);
  --pr-shadow-md: var(--bl-shadow-hover);
  --pr-shadow-lg: var(--bl-shadow-hover);
  font-family: var(--bl-sans);
  color: var(--bl-text);
}

/* ---------------------------------------------------------------- hero */
/* ===== Item 83/85: Erstellen page, Lernpfade card left, example barrel right ===== */
.bl-lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(27px, 3.6vw, 39px); align-items: center; }
.bl-lp-grid > * { min-width: 0; }
.bl-lp-grid .rd-pillar-name { font-size: clamp(34px, 4vw, 52px); }
.bl-lp-grid .bl-barrel-wrap { margin-top: 0; }
@media (min-width: 901px) { .bl-lp-grid .bl-barrel { --w: clamp(190px, 16vw, 260px); } }
@media (max-width: 900px) { .bl-lp-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Item 89: the blue «Selbst ausprobieren» band as the landscape's lake =====
   The snowy landscape (.page-end) now sits right above it; a soft, uneven shoreline
   overlaps the snow and the water is a touch lighter at the shore. */
.page-end + .bl-cta-band {
  position: relative;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #16A9E8 0%, var(--kb) 32%, #0094D6 100%);
}
.page-end + .bl-cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1px;
  height: 22px; transform: translateY(-100%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath fill='%2316A9E8' d='M0 24V13C70 9 130 5 210 8s150 9 240 7 160-10 250-9 140 8 230 9 120-5 190-6 60 2 80 3V24Z'/%3E%3C/svg%3E") repeat-x left bottom / 1200px 22px;
  pointer-events: none;
}
@media (max-width: 700px) { .page-end + .bl-cta-band::before { height: 12px; background-size: 700px 12px; } }

/* ===== Item 91: video in a pillar tile ===== */
.bl-tile-video { position: relative; background: #0d1720; }
.bl-tile-video video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bl-tile-toggle {
  position: absolute; top: clamp(12px, 1.4vw, 18px); right: clamp(12px, 1.4vw, 18px); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 159, 227, 0.6); cursor: pointer; padding: 0;
}
.bl-tile-toggle:hover { background: rgba(0, 159, 227, 0.9); }
.bl-tile-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.bl-tile-toggle::before { /* pause bars */
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 13px; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #fff 0 4px, transparent 4px 8px, #fff 8px 12px);
}
.bl-tile-toggle.is-paused::before { /* play triangle */
  width: 0; height: 0; background: none; transform: translate(-35%, -50%);
  border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff;
}

/* Item 99: click to play. Stopped = large play button in the middle of the picture,
   the whole picture is clickable; playing = small pause button top right. */
.bl-tile-video { cursor: pointer; }
.bl-tile-toggle { transition: top 260ms ease, right 260ms ease, width 260ms ease, height 260ms ease, transform 260ms ease, background 200ms ease; }
.bl-tile-toggle.is-paused {
  top: 50%; right: 50%; transform: translate(50%, -50%);
  width: 76px; height: 76px; border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 159, 227, 0.88); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}
.bl-tile-toggle.is-paused::before { border-width: 13px 0 13px 22px; transform: translate(-38%, -50%); }
.bl-tile-video:hover .bl-tile-toggle.is-paused,
.bl-tile-toggle.is-paused:focus-visible { background: #009FE3; transform: translate(50%, -50%) scale(1.06); }
@media (max-width: 560px) { .bl-tile-toggle.is-paused { top: 44%; width: 54px; height: 54px; } .bl-tile-toggle.is-paused::before { border-width: 10px 0 10px 17px; } }
@media (prefers-reduced-motion: reduce) { .bl-tile-toggle { transition: none; } }

/* ===== Item 96: testimonials page «Was Lehrpersonen sagen» (from WEB-001 draft) ===== */
.tq-app { container-type: inline-size; color: #22215F; }
.tq-stage { position: relative; overflow: hidden; background: #fff; padding: clamp(52px, 7cqi, 104px) 0; }
.tq-quote-mark { position: absolute; right: -2%; top: -4%; width: min(46cqi, 560px); height: min(46cqi, 560px); color: #DFDEFF; opacity: 0.45; pointer-events: none; }
.tq-stage > .container { position: relative; }
.tq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4.5cqi, 64px); }
.tq-title { margin: 0; max-width: 640px; font-weight: 600; font-size: clamp(30px, 3.6cqi, 50px); line-height: 1.06; text-wrap: balance; color: #22215F; }
.tq-controls { display: flex; align-items: center; gap: 12px; }
.tq-counter { font-size: 14px; font-variant-numeric: tabular-nums; color: #6E6E85; margin-right: 6px; }
.tq-btn { font-family: inherit; cursor: pointer; transition: background 320ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms cubic-bezier(0.16, 1, 0.3, 1), color 320ms cubic-bezier(0.16, 1, 0.3, 1); }
.tq-ctl { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #D9D9E8; background: #fff; color: #22215F; display: flex; align-items: center; justify-content: center; padding: 0; }
.tq-ctl:hover { background: #F5F4FF; border-color: #22215F; }
.tq-ctl:focus-visible, .tq-chip:focus-visible, .tq-seg:focus-visible { outline: 2px solid #C2410C; outline-offset: 3px; }
.tq-rail { scrollbar-width: none; }
.tq-rail::-webkit-scrollbar { display: none; }
.tq-regions { display: flex; width: fit-content; max-width: 100%; overflow-x: auto; gap: 4px; padding: 4px; margin-bottom: clamp(28px, 3.6cqi, 48px); border-radius: 999px; background: #F5F4FF; border: 1px solid #E8E8F2; }
.tq-seg { flex: 0 0 auto; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: #22215F; font-size: 14px; font-weight: 500; white-space: nowrap; }
.tq-seg[aria-pressed="true"] { background: #22215F; color: #fff; }
.tq-seg[aria-pressed="false"]:hover { background: rgba(34, 33, 95, 0.06); }
.tq-kick { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; color: #6E6E85; }
.tq-voices { display: grid; grid-template-columns: minmax(0, 1fr); }
.tq-app .voice { grid-area: 1 / 1; margin: 0; display: flex; flex-wrap: wrap; gap: clamp(24px, 4cqi, 56px); align-items: flex-start; }
.tq-app .voice.on { opacity: 1; visibility: visible; transform: none; transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }
.tq-app .voice.off { opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity 350ms ease, transform 350ms ease, visibility 0s 350ms; }
.voice-cap { flex: 0 0 250px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.voice-name { margin: 0; font-size: clamp(64px, 8cqi, 112px); font-weight: 600; line-height: 0.95; color: #C2410C; }
.voice-body { flex: 1 1 360px; min-width: 0; }
.voice-quote { margin: 0; font-weight: 500; font-size: clamp(24px, 3.5cqi, 46px); line-height: 1.25; text-wrap: balance; color: #22215F; }
.voice-quote.is-long { font-size: clamp(22px, 2.7cqi, 36px); }
.voice-orig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-top: clamp(20px, 2.4cqi, 32px); padding-top: clamp(16px, 2cqi, 24px); border-top: 1px solid #E8E8F2; max-width: 68ch; }
.voice-orig p { margin: 0; flex: 1 1 280px; font-size: 15px; line-height: 1.55; color: #6E6E85; }
.tq-tag { font-size: 12px; font-weight: 600; color: #C2410C; border: 1px solid rgba(194, 65, 12, 0.4); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.tq-chips { display: flex; gap: 10px; margin-top: clamp(32px, 4cqi, 56px); overflow-x: auto; padding: 4px 2px 8px; }
.tq-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; border: 1px solid #D9D9E8; background: transparent; color: #22215F; font-size: 13px; line-height: 1.2; text-align: left; }
.tq-chip:hover { background: rgba(34, 33, 95, 0.06); }
.tq-chip[aria-pressed="true"] { background: #22215F; color: #fff; border-color: #22215F; }
.tq-ini { width: 34px; height: 34px; border-radius: 50%; background: #DFDEFF; color: #22215F; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.tq-chip-where { white-space: nowrap; }
.tq-wallband { background: radial-gradient(110% 130% at 80% 0%, #2C2B72 0%, #22215F 60%); color: #fff; padding: clamp(28px, 3cqi, 40px) 0 clamp(48px, 5cqi, 64px); }
.tq-wall-title { margin: 0 0 clamp(14px, 1.2cqi, 18px); font-weight: 600; font-size: clamp(20px, 1.7cqi, 24px); line-height: 1.1; text-align: center; color: #fff; }
.tq-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.tq-track { display: flex; width: max-content; animation: tq-left 80s linear infinite; }
.tq-mask:hover .tq-track, .tq-mask:focus-within .tq-track { animation-play-state: paused; }
@keyframes tq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tq-paper { background-color: #fff; background-image: linear-gradient(rgba(34, 33, 95, 0.043) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 33, 95, 0.043) 1px, transparent 1px); background-size: 24px 24px; }
.tq-wall-card { margin: 0 16px 0 0; width: 300px; flex: 0 0 auto; border: 1px solid #E8E8F2; border-radius: 16px; padding: 20px; box-shadow: 0 1px 2px rgba(34, 33, 95, 0.06); display: flex; flex-direction: column; gap: 10px; color: #22215F; }
.tq-wall-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.tq-wall-card .tq-kick { font-size: 11.5px; }
.tq-wall-name { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.1; }
.tq-wall-card blockquote { margin: 0; font-weight: 400; font-size: 15.5px; line-height: 1.45; }
.tq-wall-orig { margin: 0; padding-top: 10px; border-top: 1px solid #E8E8F2; font-size: 13px; line-height: 1.45; color: #6E6E85; }
.tq-tagtxt { font-weight: 600; color: #C2410C; }
@media (max-width: 640px) { .voice-cap { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .tq-track { animation: none; }
  .tq-mask { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ===== Item 81: site width = hero width =====
   The hero film runs edge to edge; every other section now does too, with one shared
   side gutter, so header, sections and footer line up with the hero's edges.
   Capped at 1920px so very large monitors don't get 2400px-wide rows.
   Paragraphs keep their own max-width (ch), so line length stays readable. */
body.blue {
  --pr-container: 1920px;
  --pr-gutter: clamp(20px, 4.5vw, 80px);
}

.bl-hero { position: relative; overflow: hidden; background: #0d1720; }
/* full width at the film's own 16:9 (hero film 2026, 1280x720), so the full frame shows;
   on very tall windows it may trim up to 12% at the sides, never more */
.bl-hero .bl-hero-video {
  display: block; position: relative; z-index: 0;
  width: 100%;
  height: min(calc(100vw * 720 / 1280), max(100svh, calc(100vw * 720 / 1280 * 0.88)));
  object-fit: cover; object-position: 50% 75%;
  background: #0d1720;
}
.bl-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8, 20, 30, 0.32) 0%, transparent 30%);
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bl-hero-inner {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0 auto;
  display: flex; justify-content: flex-end;          /* pill bottom right: the video's own caption owns the bottom left */
  padding-bottom: clamp(70px, 9vh, 96px);
}
.bl-hero-inner.container { max-width: none; padding-right: clamp(24px, 4.5vw, 76px); }
.bl-hero-by,
.bl-hero-title {
  font-family: "Gasoek One", var(--bl-sans);
  font-weight: 400; color: #fff;
  font-size: clamp(26px, 3.45vw, 50px); line-height: 1.3; letter-spacing: 0.05em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  margin: 0; max-width: min(100%, 22em);
  hyphens: manual;
}
.bl-hero-title { margin-bottom: clamp(26px, 3.4vw, 40px); }
.bl-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; height: 46px; padding: 0 26px;
  border-radius: 999px; background: var(--kb); color: #fff;
  font-family: var(--bl-sans); font-size: 16px; letter-spacing: 0.1em; text-decoration: none;
  transition: transform var(--pr-transition), background var(--pr-transition);
}
.bl-pill:hover { transform: translateY(-2px); color: #fff; }
.bl-pill:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bl-hero .film-hero-toggle { z-index: 3; background: rgba(0, 159, 227, 0.55); border-color: rgba(255, 255, 255, 0.5); }
.bl-hero .film-hero-toggle:hover { background: rgba(0, 159, 227, 0.85); }
@media (max-width: 640px) {
  /* phone: the film is short, so the pill sits under it on white */
  .bl-hero { background: #fff; }
  .bl-hero-scrim { display: none; }
  .bl-hero-inner { position: static; justify-content: center; padding: 18px 16px 22px; }
  .bl-hero .film-hero-toggle { top: calc(100vw * 1172 / 1920 - 50px); bottom: auto; }
}

/* header over the hero: smoke stays, login pill in Klapp blue once solid */
body.blue .site-header.is-scrolled .header-login {
  background: var(--kb); border-color: var(--kb); color: #fff;
}
body.blue .site-header .site-nav a[aria-current="page"]::after { background: var(--kb); }

/* ------------------------------------------------- shared blue pieces */
.bl-band { padding: clamp(48px, 6vw, 88px) 0; background: #fff; }
.bl-head { margin: 0 0 clamp(22px, 2.6vw, 30px); }
.bl-h {
  font-family: var(--bl-sans); font-weight: 700; color: var(--bl-ink);
  font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -0.005em; margin: 0 0 8px;
}
.bl-sub { margin: 0; font-size: 17px; color: var(--bl-text); }

.bl-grid { display: grid; gap: 22px; }
.bl-grid + .bl-grid { margin-top: 22px; }
.bl-grid-2 { grid-template-columns: 1fr 1fr; }
.bl-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .bl-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .bl-grid-2, .bl-grid-3 { grid-template-columns: 1fr; } }

.bl-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--bl-line);
  padding: clamp(20px, 2vw, 26px);
}
.bl-card > * { margin: 0; }
.bl-card-tint { background: var(--kb-tint); border-color: #CDE6F5; }
.bl-label,
.bl-card p.bl-label {
  /* the label leads the card: sentence case, blue, card-title size */
  font-family: var(--bl-sans); font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--kb);
}
.bl-card-title { font-family: var(--bl-sans); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--bl-ink); letter-spacing: 0; }
.bl-card p { font-size: 15.5px; line-height: 1.55; color: var(--bl-text); }
.bl-card p.bl-meta, .bl-meta { font-size: 13px; color: var(--bl-muted); }
.bl-card-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.bl-card .bl-btn { margin-top: auto; }

.bl-btn {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border: 0; border-radius: 3px;
  background: var(--kb); color: #fff; font: 700 15px/1.2 var(--bl-sans); text-decoration: none; cursor: pointer;
  transition: transform 180ms ease;
}
.bl-btn:hover { color: #fff; transform: translateY(-1px); }
.bl-btn:focus-visible, .bl-btn-ghost:focus-visible, .bl-btn-white:focus-visible { outline: 3px solid var(--bl-ink); outline-offset: 2px; }
.bl-btn-full { align-self: stretch; width: 100%; margin-top: 6px; }
.bl-btn-ghost {
  flex: 1; padding: 12px 10px; border: 1px solid #93A3B2; border-radius: 3px; background: #fff;
  color: var(--bl-ink); font: 600 15px/1.2 var(--bl-sans); cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}
.bl-btn-ghost:hover { border-color: var(--kb); }
.bl-btn-ghost.is-right { background: var(--kb); border-color: var(--kb); color: #fff; }
.bl-btn-ghost.is-wrong { border-color: #93A3B2; color: var(--bl-muted); }

/* quiz */
.bl-quiz-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bl-card p.bl-quiz-count { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--bl-muted); margin: 0; }
.bl-quiz-dots { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.bl-quiz-dots li { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--kb); }
.bl-quiz-dots li.is-on { background: var(--kb); }
.bl-quiz-person { display: flex; align-items: center; gap: 14px; }
.bl-quiz-avatar {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #93A3B2; background: #fff;
  display: grid; place-items: center; font-weight: 700; color: var(--bl-ink);
}
.bl-card p.bl-quiz-name { font-size: 18px; font-weight: 700; color: var(--bl-ink); margin: 0; }
.bl-card p.bl-quiz-role { font-size: 14px; color: var(--bl-muted); margin: 0; }
.bl-card p.bl-quiz-q { font-weight: 700; color: var(--bl-ink); }
.bl-quiz-answers { display: flex; gap: 10px; }
.bl-card p.bl-quiz-result { padding: 10px 12px; background: #fff; border-left: 3px solid var(--kb); font-size: 14.5px; }

/* checklist */
.bl-progress { height: 6px; background: #E6EAEE; }
.bl-progress span { display: block; height: 100%; width: 0; background: var(--kb); transition: width 260ms ease; }
.bl-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bl-checks label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--bl-text); cursor: pointer; }
.bl-checks input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--kb); }

/* webinar form */
.bl-form { display: grid; gap: 6px; }
.bl-form label { font-size: 14px; font-weight: 700; color: var(--bl-ink); margin-top: 6px; }
.bl-form input[type="text"], .bl-form input[type="email"] {
  width: 100%; padding: 10px 12px; border: 1px solid #93A3B2; border-radius: 2px;
  font: 16px var(--bl-sans); color: var(--bl-ink); background: #fff;
}
.bl-form input:focus { outline: 2px solid var(--kb); outline-offset: 0; border-color: var(--kb); }
.bl-hp { position: absolute; left: -9999px; }

/* demo video placeholder */
.bl-video-ph {
  position: relative; aspect-ratio: 16 / 10; background: var(--kb-tint);
  border: 1px solid #CDE6F5; display: grid; place-items: center;
}
.bl-video-ph::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 10%; height: 9%;
  background: #fff; box-shadow: 0 calc(1px * 22) 0 -2px #fff; opacity: 0.85;
}
.bl-video-play { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--kb); }
.bl-video-play::after {
  content: ""; position: absolute; left: 23px; top: 18px;
  border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.bl-video-time {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 7px;
  background: rgba(20, 30, 40, 0.8); color: #fff; font-size: 13px; font-weight: 600; border-radius: 2px;
}

/* closing blue band */
.bl-cta-band { background: var(--kb); color: #fff; padding: clamp(36px, 4.4vw, 56px) 0; }
.bl-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.bl-cta-band h2 { font-family: var(--bl-sans); font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; color: #fff; margin: 0 0 6px; letter-spacing: 0; }
.bl-cta-band p { margin: 0; font-size: 17px; color: #fff; max-width: 52ch; }
.bl-btn-white {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px;
  background: #fff; color: var(--bl-ink); border-radius: 3px; font: 700 16px/1.2 var(--bl-sans); text-decoration: none;
  transition: transform 180ms ease;
}
.bl-btn-white:hover { transform: translateY(-1px); color: var(--bl-ink); }

/* ------------------------------ existing Home sections, re-dressed */
body.blue .rd-band:nth-of-type(odd) { background: #fff; }
body.blue .rd-band-tint { background: var(--kb-tint-2); }
body.blue .rd-h {
  font-family: var(--bl-sans); font-weight: 700; letter-spacing: -0.005em;
  font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; color: var(--bl-ink); text-wrap: balance;
}
body.blue .rd-head.rd-center, body.blue .rd-center { text-align: left; margin-inline: 0 !important; }
body.blue .rd-sub, body.blue .rd-math-cred { color: var(--bl-text); }
body.blue .rd-compliance { text-align: left; color: var(--kb); font-size: 13px; letter-spacing: 0.08em; }
body.blue .rd-glimpse-hint { text-align: left; }
body.blue .faq-list { margin-left: 0; }
body.blue .rd-pillars-head { margin-left: 0; }

/* cards: white, thin border, Klapp-blue top bar, square corners, no shadow */
body.blue .rd-pillar,
body.blue .rd-tile,
body.blue .rd-proof,
body.blue .rd-zoom,
body.blue .faq-item {
  border-radius: 0; box-shadow: none;
  border: 1px solid var(--bl-line); background: #fff;
}
body.blue .rd-tile:hover { transform: none; border-color: var(--kb); }
body.blue .faq-item[open] { border-color: var(--kb); }
body.blue .rd-pillar-index { background: var(--kb); color: #fff; border-radius: 0; }
body.blue .rd-pillar-phase,
body.blue .rd-mathscard-kick,
body.blue .rd-proof-example figcaption,
body.blue .rd-figcap {
  color: var(--kb); font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none;
}
body.blue .rd-pillar-name, body.blue .rd-tile h3 { font-family: var(--bl-sans); font-weight: 700; letter-spacing: 0; color: var(--bl-ink); }
body.blue .rd-pillar-cta,
body.blue .btn-primary {
  display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px;
  background: var(--kb); color: #fff; border: 0; border-radius: 3px; box-shadow: none;
  font: 700 15px/1.2 var(--bl-sans); text-decoration: none;
}
body.blue .rd-pillar-cta::after, body.blue .btn-primary::after { color: #fff; }
body.blue .rd-pillar-cta:hover, body.blue .btn-primary:hover { color: #fff; background: var(--kb); transform: translateY(-1px); }
body.blue .rd-pillar-points li::before { background: var(--kb); }
body.blue .rd-proof-num { color: var(--kb); font-family: var(--bl-sans); font-weight: 700; }
body.blue .rd-school-klapp { border-radius: 0; width: auto; height: 84px; }

/* 95 Std photo band: blue-black scrim instead of navy, light-blue units */
body.blue .wm-band { border-radius: 0; }
body.blue .wm-scrim {
  background:
    linear-gradient(0deg, rgba(4, 34, 54, 0.84) 0%, rgba(4, 34, 54, 0.46) 32%, rgba(4, 34, 54, 0.08) 62%, transparent 78%),
    linear-gradient(90deg, rgba(4, 34, 54, 0.58) 0%, rgba(4, 34, 54, 0.14) 42%, transparent 66%);
}
body.blue .wm-big { font-family: var(--bl-sans); font-weight: 700; letter-spacing: -0.04em; }
body.blue .wm-big .u,
body.blue .wm-eq-total b, body.blue .wm-eq-total span,
body.blue .rd-eq-total b, body.blue .rd-eq-total span,
body.blue .rd-band-ink .rd-eyebrow { color: #9AD8F6 !important; }
body.blue .wm-panel { border-radius: 0; }

/* HUB360 maths card: Klapp-blue back instead of navy */
body.blue .rd-mathscard-front { border-radius: 0; border: 1px solid var(--bl-line); box-shadow: none; }
body.blue .rd-mathscard-back { border-radius: 0; background-color: var(--kb); border-color: var(--kb); }
body.blue .rd-mathscard-big { color: var(--kb); font-family: var(--bl-sans); font-weight: 700; }
body.blue .rd-mathscard-back .rd-mathscard-flip .ic { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* footer: new ProScola logo + Klapp mark in Klapp blue (white ground) */
.bl-footer-brands { display: flex; align-items: center; gap: 16px; }
.bl-footer-brands .footer-brand img { height: 40px; width: auto; }
.bl-footer-klapp { display: inline-flex; padding-left: 16px; border-left: 1px solid var(--bl-line); }
.bl-footer-klapp img { height: 40px; width: auto; }
body.blue .rd-zoom-badge { background: rgba(0, 159, 227, 0.92); }

/* white menu bar without the hairline underneath */
body.blue .site-header.is-scrolled { border-bottom-color: transparent; }

/* no all-caps eyebrows on the blue page: sentence case throughout */
body.blue .rd-compliance { letter-spacing: 0; text-transform: none; font-size: 17px; }
/* image captions stay caption-sized; panel titles lose the caps too */
body.blue .rd-figcap { font-size: 14px; }
body.blue .wm-panel-title,
body.blue .rd-mathscard-backtitle { text-transform: none; letter-spacing: 0; font-size: 17px; }

/* ==========================================================================
   Round 2 (2026-11-19): shadows instead of frames, rounded blocks, pill
   buttons, 1.5x space between blocks, ProScola-blue titles, Klapp-blue subs.
   ========================================================================== */
/* space between blocks x1.5 */
.bl-grid { gap: 33px; }
.bl-grid + .bl-grid { margin-top: 33px; }
body.blue .rd-pillar-grid { gap: clamp(33px, 4.5vw, 48px); }
body.blue .rd-glimpse-grid { gap: clamp(27px, 3.6vw, 39px); }
body.blue .faq-list { gap: 18px; }

/* blocks: no frame, soft shadow, rounded */
.bl-card,
.bl-card-tint,
body.blue .rd-pillar,
body.blue .rd-tile,
body.blue .rd-proof,
body.blue .rd-zoom,
body.blue .faq-item,
body.blue .rd-mathscard-front {
  border: 0; border-radius: var(--pr-radius-lg); box-shadow: var(--bl-shadow);
}
body.blue .rd-pillar:hover,
body.blue .rd-tile:hover { box-shadow: var(--bl-shadow-hover); border-color: transparent; }
body.blue .faq-item[open] { box-shadow: var(--bl-shadow-hover); }
body.blue .rd-mathscard-back { border-radius: var(--pr-radius-lg); }
body.blue .wm-band { border-radius: var(--pr-radius-lg); }
body.blue .wm-panel { border-radius: var(--pr-radius); }
body.blue .rd-pillar-index { border-radius: 10px; }
.bl-card-img { border-radius: var(--pr-radius); }
.bl-video-ph { border: 0; border-radius: var(--pr-radius); overflow: hidden; }
.bl-video-time { border-radius: 999px; }
.bl-progress, .bl-progress span { border-radius: 999px; }
.bl-card p.bl-quiz-result { border-left: 0; border-radius: var(--pr-radius); }
.bl-form input[type="text"], .bl-form input[type="email"] { border-radius: 10px; }

/* every button a pill */
.bl-btn,
.bl-btn-ghost,
.bl-btn-white,
body.blue .rd-pillar-cta,
body.blue .btn-primary,
body.blue .btn,
body.blue button.btn { border-radius: 999px; }

/* titles ProScola dark blue (via --bl-ink), subtitles Klapp blue */
.bl-sub,
body.blue .rd-sub,
body.blue .rd-math-cred,
body.blue .rd-glimpse-hint,
body.blue .rd-tile h3 + p { color: var(--kb); opacity: 1; }

/* ------------------------------------------- Lesson Builder hero (BLUE) */
.bl-builder { background: var(--kb-tint-2); }
.bl-builder-title {
  font-family: var(--bl-sans); font-weight: 700; color: var(--bl-ink);
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 clamp(24px, 3vw, 40px); text-wrap: balance;
}
.bl-shot { margin: 0; border-radius: var(--pr-radius); overflow: hidden; box-shadow: var(--bl-shadow); background: #fff; }
.bl-shot img { display: block; width: 100%; height: auto; }
.bl-builder-blocks { margin-bottom: 33px; }
.bl-builder-card + .bl-builder-card { margin-top: 33px; }
.bl-builder-lesson { display: grid; grid-template-columns: 2.1fr 1fr; gap: 33px; align-items: center; }
@media (max-width: 860px) { .bl-builder-lesson { grid-template-columns: 1fr; } }
/* differentiation screenshot: a window that pans top to bottom as the page scrolls */
.bl-pan { position: relative; aspect-ratio: 10 / 11; }
.bl-pan img { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .bl-pan { overflow-y: auto; }
  .bl-pan img { position: static; }
}
@media (max-width: 640px) {
  /* the block bar is very wide: let it scroll sideways instead of shrinking to nothing */
  .bl-builder-blocks { overflow-x: auto; }
  .bl-builder-blocks img { width: 900px; max-width: none; }
}

/* ------------------------------------------------- FOUR PILLARS (item 74)
   Erstellen · Unterrichten · Lernen · Begleiten: the pillar name is the
   title, the line under it the Klapp-blue subtitle. Screenshots of different
   shapes sit in one even 2:1 frame (top-anchored) so the 2x2 grid lines up. */
body.blue .bl-pillars4 .rd-tile h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 0 0 10px; }
body.blue .bl-pillars4 .rd-tile-body p { font-size: 17px; line-height: 1.45; }
body.blue .bl-pillars4 .rd-tile { display: flex; flex-direction: column; }
body.blue .bl-pillars4 .rd-tile-body { flex: 1 0 auto; }
body.blue .bl-pillars4 .rd-tile-figure { aspect-ratio: 2 / 1; }
body.blue .bl-pillars4 .rd-tile-figure img { height: 100%; object-fit: cover; object-position: top center; }

/* ------------------------------------------------- HUB 360 PAGE (item 75)
   The HUB 360 card beside its screenshots (3 views in the lightbox);
   the report section with the 17 Std card follows unchanged. */
.bl-hub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(27px, 3.6vw, 39px); align-items: center; }
.bl-hub-grid .rd-pillar-name { font-size: clamp(34px, 4vw, 52px); }
.bl-hub-shot .rd-tile-figure { border-top: 0; }
@media (max-width: 900px) { .bl-hub-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------- PILLAR PAGES (item 76)
   Erstellen, Unterrichten, Lernen and the HUB 360 page (Begleiten) share one
   page head: pillar name as H1, the homepage line in Klapp blue under it. */
.bl-page-head { margin: 0 0 clamp(30px, 3.8vw, 46px); max-width: 52em; }
.bl-page-title { font-weight: 700; color: var(--bl-ink); font-size: clamp(38px, 5vw, 64px); line-height: 1.05; margin: 0 0 12px; }
.bl-page-line { color: var(--kb); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; margin: 0; }
.bl-page-lead { color: var(--bl-text); font-size: 18px; line-height: 1.6; margin: 16px 0 0; }
.bl-page-head + .rd-glimpse-hint { margin-top: 0; }
.bl-shot-cap { padding-top: 14px; padding-bottom: 18px; }
.bl-shot-cap p { font-size: 15px; }

/* homepage pillar tiles: text, pill to the pillar page, photo placeholder */
body.blue .bl-pillar-tile { cursor: default; }
.bl-pillar-tile .bl-tile-btn {
  position: absolute; right: clamp(14px, 1.8vw, 22px); bottom: clamp(14px, 1.8vw, 22px); z-index: 2;
  display: inline-flex; box-shadow: var(--bl-shadow);
}
.bl-ph {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--kb-tint-2) 0 16px, #fff 16px 32px);
}
.bl-ph-label {
  padding: 8px 18px; border-radius: 999px; background: #fff; box-shadow: var(--bl-shadow);
  color: var(--bl-ink); font-size: 15px; font-weight: 600;
}

/* ------------------------------------------------- LOGO INTRO (item 77)
   The page opens white with the logo animation (4 s, white ground in the
   film itself), then fades away as the logo collapses to its last circle. */
.bl-intro {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: #fff; cursor: pointer;
  transition: opacity 600ms ease, visibility 0s linear 600ms;
}
.bl-intro.is-out { opacity: 0; visibility: hidden; }
.bl-intro { overflow: hidden; }
/* the film carries a 1px dark line on its left and right edge: crop it off */
.bl-intro-video { width: min(96vw, 1200px); height: auto; display: block; flex-shrink: 0; background: #fff; clip-path: inset(0 1%); }
/* phone: the logo is about a third of the frame, so let the white frame run
   past the screen edges and give the logo most of the width */
@media (max-width: 700px) { .bl-intro-video { width: 230vw; max-width: none; } }
html.intro-on, html.intro-on body { overflow: hidden; }

/* ------------------------------------------------- EXAMPLE BARREL (item 78)
   Four parts of a real learning path on a drum of 8 faces (each part twice,
   so the drum reads round). The ring is pushed back by its radius so the
   front face sits at natural size; blue.js sets --a (the turn). */
.bl-barrel-wrap { margin-top: 33px; }
.bl-barrel-hint { margin: 6px 0 0; font-size: 15px; color: var(--bl-text); opacity: 0.75; }
.bl-barrel {
  --w: clamp(210px, 21vw, 290px);
  --h: calc(var(--w) * 1.42);
  --r: calc(var(--w) * 1.36);
  position: relative; height: calc(var(--h) + 64px); margin-top: 6px;
  perspective: 1700px; perspective-origin: 50% 45%;
  overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.bl-barrel.is-dragging { cursor: grabbing; }
.bl-barrel-ring {
  position: absolute; left: 50%; top: 32px; width: var(--w); height: var(--h); margin-left: calc(var(--w) / -2);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1)) rotateY(var(--a, 0deg));
}
.bl-barrel .bl-barrel-face {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  transform: rotateY(calc(var(--i) * -45deg)) translateZ(var(--r));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  cursor: grab;
}
.bl-barrel .bl-barrel-face.is-front { cursor: zoom-in; }
.bl-barrel.is-dragging .bl-barrel-face { cursor: grabbing; }
.bl-barrel-shot { flex: 1 1 auto; min-height: 0; overflow: hidden; background: #fff; }
.bl-barrel .bl-barrel-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.bl-barrel-face figcaption {
  flex: 0 0 auto; padding: 11px 16px; background: #fff; border-top: 1px solid var(--bl-line);
  font-size: 15.5px; font-weight: 700; color: var(--bl-ink);
}
.bl-barrel .bl-barrel-face:focus-visible { outline: 3px solid var(--kb); outline-offset: 3px; }
.bl-barrel-nav { display: flex; justify-content: center; gap: 14px; margin-top: 2px; }
.bl-barrel-btn {
  width: 46px; height: 46px; border: 0; border-radius: 999px; background: var(--kb); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--bl-shadow);
  display: inline-flex; align-items: center; justify-content: center; padding: 0 0 3px;
}
.bl-barrel-btn:hover { background: var(--bl-ink); }
.bl-barrel-btn:focus-visible { outline: 3px solid var(--bl-ink); outline-offset: 2px; }

/* Lexend everywhere, tracked like the logo (overrides every per-element setting) */
body.blue,
body.blue *:not(svg):not(svg *) {
  font-family: var(--bl-sans) !important;
  letter-spacing: var(--bl-track) !important;
}

/* ==========================================================================
   ITEM 104 · LAYOUT SYSTEM (2026-11-25)
   One 8 px unit. Every section padding, gap, card padding and heading size
   on BLUE pages comes from the tokens below. The values are fluid and land
   exactly on the 8 px grid at 1440 px, the reference desktop.

   TYPE: Lexend only. WEIGHT RULE: never above Bold (700). Heavier cuts change
   the character of the letterforms. The @font-face in main.css only offers
   100 to 700, so a stray 800/900 still renders as 700.
     400 Regular   body copy, leads
     500 Medium    navigation, form fields
     600 SemiBold  labels, small UI titles
     700 Bold      headings, buttons, figures
   TRACKING: headings keep the wordmark tracking (-0.05em); text sizes open
   up so Lexend keeps its reading spacing (-0.01em body, 0 for small print).
   ========================================================================== */
body.blue {
  /* space scale */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* frame: values at 1440 px in the comments */
  --pr-gutter: clamp(20px, 4.444vw, 80px);     /* 64: page edge to content   */
  --gap: clamp(20px, 2.222vw, 40px);           /* 32: between cards           */
  --gap-split: clamp(32px, 4.444vw, 80px);     /* 64: text beside media       */
  --section-y: clamp(64px, 6.667vw, 128px);    /* 96: top and bottom of a band */
  --head-gap: clamp(32px, 3.333vw, 56px);      /* 48: section head to content */
  --stack: clamp(48px, 4.444vw, 80px);         /* 64: between groups in a band */
  --card-pad: clamp(24px, 2.222vw, 40px);      /* 32: inside every card       */
  --measure: 66ch;                             /* body text line length       */
  --measure-lead: 58ch;                        /* lead / subtitle line length */

  /* type scale, ratio about 1.4 between heading steps */
  --fs-h1: clamp(40px, 4.444vw, 72px);    /* 64 page title        */
  --fs-h2: clamp(30px, 2.778vw, 44px);    /* 40 section title     */
  --fs-h3: clamp(22px, 1.944vw, 30px);    /* 28 block title       */
  --fs-h4: clamp(18px, 1.389vw, 22px);    /* 20 card title        */
  --fs-lead: clamp(19px, 1.528vw, 24px);  /* 22 subtitle, lead    */
  --fs-body: clamp(17px, 1.25vw, 19px);   /* 18 running text      */
  --fs-card: 16px;                        /* text inside cards    */
  --fs-small: 14px;                       /* hints, meta, captions */

  --bl-track: -0.01em;
}

/* weight rule, belt and braces */
body.blue b, body.blue strong { font-weight: 700; }

/* tracking by role (the global Lexend rule reads --bl-track) */
body.blue :is(h1, h2, .bl-page-title, .rd-pillar-name, .tq-title, .voice-name, .rd-proof-num, .rd-mathscard-big, .wm-big) { --bl-track: -0.05em; }
body.blue :is(h3, .bl-page-line, .wi-brand, .wi-tag, .voice-quote, .bl-label) { --bl-track: -0.03em; }
body.blue :is(.bl-meta, .bl-barrel-hint, .rd-glimpse-hint, .rd-figcap, .bl-video-time, .tq-kick, small) { --bl-track: 0em; }

/* ---------- bands: one vertical rhythm ---------- */
body.blue :is(.bl-band, .rd-band, .wi-band) { padding-block: var(--section-y); }
body.blue .tq-stage { padding-block: var(--section-y); }
body.blue .bl-cta-band { padding-block: clamp(40px, 4.444vw, 64px); }

/* ---------- headings ---------- */
body.blue .bl-page-head { max-width: none; margin: 0 0 var(--head-gap); }
body.blue .bl-page-head:has(+ .rd-glimpse-hint) { margin-bottom: var(--sp-6); }
body.blue .bl-page-title,
body.blue .tq-title { font-size: var(--fs-h1); font-weight: 700; line-height: 1.04; margin: 0 0 var(--sp-3); }
body.blue .tq-title { margin: 0; }
body.blue .bl-page-line { font-size: var(--fs-lead); line-height: 1.4; max-width: var(--measure-lead); }
body.blue .bl-page-lead { font-size: var(--fs-body); line-height: 1.65; max-width: var(--measure); margin-top: var(--sp-4); }

body.blue :is(.rd-h, .bl-h, .wi-h, .bl-builder-title) {
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance;
}
body.blue .bl-builder-title { margin-bottom: var(--head-gap); }
body.blue :is(.bl-head, .rd-head) { max-width: none; margin: 0 0 var(--head-gap); }
body.blue :is(.rd-h, .bl-h) + :is(.rd-sub, .bl-sub, p) { margin-top: var(--sp-3); }
body.blue :is(.rd-sub, .bl-sub) { font-size: var(--fs-lead); line-height: 1.45; max-width: var(--measure-lead); }
body.blue .rd-school-head + .rd-h, body.blue .rd-school-grid .rd-h { margin-bottom: var(--sp-3); }

/* big titles inside split cards (Lernpfade, HUB 360) are section titles */
body.blue :is(.bl-lp-grid, .bl-hub-grid) .rd-pillar-name { font-size: var(--fs-h2); line-height: 1.12; margin: 0 0 var(--sp-3); }

/* block titles: pillar tiles, screenshot tiles, builder card */
body.blue .rd-tile h3,
body.blue .bl-pillars4 .rd-tile h3,
body.blue .sb-title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; margin: 0 0 var(--sp-2); }
body.blue .bl-pillars4 .rd-tile-body p,
body.blue .rd-tile p { font-size: var(--fs-body); line-height: 1.45; }

/* cards: label is the kicker, title is the title */
body.blue .bl-label,
body.blue .bl-card p.bl-label { font-size: var(--fs-card); font-weight: 700; line-height: 1.3; }
body.blue .bl-card-title { font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; }
body.blue .bl-card p { font-size: var(--fs-card); line-height: 1.55; }
body.blue .bl-card p.bl-meta, body.blue .bl-meta { font-size: var(--fs-small); }

/* closing band */
body.blue .bl-cta-band h2 { font-size: var(--fs-h3); line-height: 1.2; margin: 0 0 var(--sp-2); }
body.blue .bl-cta-band p { font-size: var(--fs-body); line-height: 1.55; }

/* ---------- running text ---------- */
body.blue .wi-text p { font-size: var(--fs-body); line-height: 1.65; max-width: var(--measure); margin: 0 0 var(--sp-4); }
body.blue .wi-ctas { max-width: var(--measure); margin-top: var(--sp-5); }
body.blue :is(.rd-glimpse-hint, .bl-barrel-hint) { font-size: var(--fs-small); line-height: 1.45; margin: 0 0 var(--sp-4); }
body.blue .bl-barrel-hint { margin: var(--sp-2) 0 0; }

/* ---------- cards: one inner padding ---------- */
body.blue :is(.bl-card, .rd-pillar) { padding: var(--card-pad); }
body.blue .rd-tile-body { padding: var(--card-pad) var(--card-pad) var(--sp-5); }

/* ---------- grids: two gaps only ---------- */
body.blue :is(.bl-grid, .rd-glimpse-grid, .rd-pillar-grid, .faq-list) { gap: var(--gap); }
body.blue .faq-list { gap: var(--sp-4); }
body.blue .bl-grid + .bl-grid { margin-top: var(--gap); }
body.blue :is(.bl-lp-grid, .bl-hub-grid, .wi-grid, .rd-school-grid, .rd-math-grid) { column-gap: var(--gap-split); }
body.blue :is(.bl-lp-grid, .bl-hub-grid) { row-gap: var(--gap); }

@media (min-width: 1024px) {
  /* 12 columns: text card 5, media 7 */
  body.blue .bl-lp-grid,
  body.blue .bl-hub-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  /* FAQ: question list beside its heading instead of a half-empty band */
  body.blue .container:has(> .faq-list) {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--gap-split); align-items: start;
  }
  body.blue .container:has(> .faq-list) > .rd-head { margin: 0 !important; }
  body.blue .container:has(> .faq-list) > .faq-list { max-width: none; margin: 0; }
}

/* ---------- inner pages (Services, Demo, Kontakt, legal) on the same frame ---------- */
body.blue .rd-pagehero {
  background: #fff; border-bottom: 0; text-align: left;
  padding: var(--section-y) 0 var(--head-gap);
}
body.blue .rd-pagehero h1 {
  font-size: var(--fs-h1); font-weight: 700; line-height: 1.04;
  margin: 0 0 var(--sp-3); max-width: none; text-wrap: balance;
}
body.blue .rd-pagehero .rd-pagehero-sub {
  font-size: var(--fs-lead); line-height: 1.4; color: var(--kb); opacity: 1;
  max-width: var(--measure-lead); margin: 0;
}
body.blue .rd-pagehero + :is(.rd-band, .rd-contact, section) { padding-top: 0; }
/* every heading block starts on the left edge, even where the markup still says centre */
body.blue .rd-center :is(.rd-h, .rd-sub) { margin-inline: 0; text-align: left; }
body.blue .rd-pillars-head { margin-bottom: var(--head-gap); }
/* legal pages: the text card starts on the same left edge as the title */
body.blue .rd-prose-card { margin-inline: 0; padding: var(--card-pad); max-width: calc(var(--measure) + 2 * var(--card-pad)); }
body.blue .rd-prose h2 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; margin: var(--sp-7) 0 var(--sp-3); }
body.blue .rd-prose h2:first-child { margin-top: 0; }
body.blue .rd-prose :is(p, li) { font-size: var(--fs-body); line-height: 1.65; max-width: var(--measure); }
/* no single orphan word at the end of leads and running text */
body.blue :is(p, li) { text-wrap: pretty; }

/* ===================== ITEM 105 · ROUTE ART UNDER «MEHR ERFAHREN» =====================
   Transparent route art (Im Klassenzimmer · Draussen · Analog und digital), half size,
   in the «Was ist ProScola?» text column right under the «Mehr erfahren» button. */
.wi-route { line-height: 0; width: min(100%, 600px); margin: var(--head-gap) auto 0; } /* centred in the column */
.wi-route img { display: block; width: 100%; height: auto; }

/* ===================== ITEM 107 · ALL PLAY BUTTONS BOTTOM LEFT =====================
   Hero film and pillar tiles: the play/pause button always sits bottom left.
   Hero button lines up with the page gutter (the logo's left edge). */
.bl-hero .film-hero-toggle { right: auto; left: var(--pr-gutter); bottom: var(--sp-5); }
@media (max-width: 640px) {
  .bl-hero .film-hero-toggle { left: var(--pr-gutter); top: calc(100vw * 720 / 1280 - 52px); bottom: auto; }
}
.bl-tile-toggle,
.bl-tile-toggle.is-paused {
  top: auto; right: auto;
  left: var(--sp-4); bottom: var(--sp-4);
  transform: none; transform-origin: 0 100%;
}
.bl-tile-toggle { transition: width 260ms ease, height 260ms ease, transform 260ms ease, background 200ms ease; }
.bl-tile-toggle.is-paused { width: 64px; height: 64px; }
.bl-tile-video:hover .bl-tile-toggle.is-paused,
.bl-tile-toggle.is-paused:focus-visible { transform: scale(1.06); }
@media (max-width: 560px) { .bl-tile-toggle.is-paused { top: auto; width: 52px; height: 52px; } }

/* ===================== ITEM 111 · PRODUCTION QA =====================
   DE · EN switch: 44px tall touch target on phones and tablets, same visual spacing. */
@media (max-width: 1024px) {
  body.blue .site-header .locale-toggle a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 36px; padding: 0 6px; margin: 0 -6px; }
}
/* Maths card back (HUB 360): footnote and «Zurück» were grey on Klapp blue (about 1.6:1). */
body.blue .rd-mathscard-back .rd-eq-foot { color: rgba(255, 255, 255, 0.92); font-size: var(--fs-small); border-top-color: rgba(255, 255, 255, 0.3); }
body.blue .rd-mathscard-back .rd-mathscard-flip { color: #fff; }
/* Footer links and DE · EN: 44px touch targets on phones and tablets. */
@media (max-width: 1024px) {
  body.blue .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  body.blue .footer-locale a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 36px; padding: 0 6px; margin: 0 -6px; }
}
@media (max-width: 720px) { body.blue .footer-locale { display: flex; justify-content: center; } }
