/* VAKZONE — the old website's look: white header with a serif name,
   grey sections with white rounded cards, navy buttons, royal-blue → navy bands,
   magenta / blue / green themes for Au Pair, Ausbildung and FSJ.
   Mobile first; breakpoints 640 / 900 / 1100 px. */

@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/lora-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/roboto-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #2e2a70;
  --navy-dark: #221e58;
  --royal: #4169e1;
  --royal-light: #6f8cff;
  --ink: #1b1d2e;
  --text: #43465a;
  --muted: #6b6f82;
  --line: #e7e8ee;
  --soft: #f3f4f7;
  --deep: #0a0d2b;
  --yellow: #fde047;
  --wa: #25d366;
  --wa-dark: #1da851;
  --radius-card: 22px;
  --shadow: 0 10px 30px rgba(20, 24, 60, 0.08);
  --shadow-lg: 0 18px 44px rgba(20, 24, 60, 0.16);
  --header-h: 64px;
  --gut: 20px;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --sun: #ffc83d;
  --sun-dark: #f5b400;
  --night: #0b0a2c;
  --indigo: #2b2aa3;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* page theme (default: navy / royal blue) */
  --t-hero: linear-gradient(180deg, #3f5fd8 0%, #252b78 55%, #0d1035 100%);
  --t-accent: #3451d1;
  --t-title-accent: #9fb4ff;
  --t-pill-bg: #e6ebff;
  --t-ic: #3451d1;
  --t-tint: #e9edff;
  --t-pill-fg: #2e3fbf;
  --t-dark: linear-gradient(180deg, #252b78 0%, #0d1035 100%);
  --t-cta: #4169e1;
  --t-more: #3b5bdb;
  --t-tag: #16a34a;
}
.theme-aupair, .t-aupair { --t-ic: #d81b60; --t-tint: #fde4ee; }
.t-ausbildung, .theme-ausbildung { --t-ic: #0e7490; --t-tint: #dcf3f8; }
.t-fsj, .theme-fsj { --t-ic: #15803d; --t-tint: #e1f5e7; }
.theme-aupair {
  --t-hero: linear-gradient(180deg, #ec407a 0%, #c2185b 100%);
  --t-accent: #d81b60; --t-title-accent: #ffd6e5; --t-pill-bg: #ec407a; --t-pill-fg: #fff;
  --t-dark: linear-gradient(180deg, #ad1457 0%, #6d0f3a 100%);
  --t-cta: linear-gradient(180deg, #ef5350 0%, #e91e63 55%, #c2185b 100%); --t-more: #d81b60;
}
.theme-ausbildung {
  --t-hero: linear-gradient(180deg, #1e3a8a 0%, #1d4ed8 45%, #0e7490 100%);
  --t-accent: #0e7490; --t-title-accent: #22d3ee; --t-pill-bg: #cffafe; --t-pill-fg: #0e7490;
  --t-dark: linear-gradient(180deg, #1e2a78 0%, #0b1240 100%);
  --t-cta: linear-gradient(180deg, #1e3a8a 0%, #1d4ed8 50%, #0e7490 100%); --t-more: #3b5bdb;
}
.theme-fsj {
  --t-hero: linear-gradient(180deg, #4cb87a 0%, #1f7a3d 100%);
  --t-accent: #15803d; --t-title-accent: #bbf7d0; --t-pill-bg: #dcfce7; --t-pill-fg: #15803d;
  --t-dark: linear-gradient(180deg, #1f5f35 0%, #123d22 100%);
  --t-cta: linear-gradient(180deg, #4cb87a 0%, #1f7a3d 100%); --t-more: #22c55e;
}
@media (min-width: 900px) { :root { --gut: 32px; --header-h: 76px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
/* Nothing may make the page wider than the phone screen (body: clip keeps the sticky header working). */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
.i { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent; font: 500 15px/1.2 var(--sans); text-align: center; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn .i { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 8px; }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 15.5px; }
.btn-block { display: flex; width: 100%; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); box-shadow: 0 10px 22px -10px rgba(46, 42, 112, 0.6); }
.btn-white { background: #fff; color: var(--navy); }
.theme-aupair .btn-white, .theme-ausbildung .btn-white, .theme-fsj .btn-white { color: var(--t-accent); }
.btn-white:hover { box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.45); }
.btn-yellow { background: var(--yellow); color: #111; }
.btn-sun { background: var(--sun); color: var(--night); font-weight: 700; box-shadow: 0 10px 24px -12px rgba(245, 180, 0, 0.9); }
.btn-sun:hover { background: #ffd35f; }
.btn-sun .i { transition: transform 0.25s var(--ease-out); }
.btn-sun:hover .i { transform: translateX(3px); }
.btn-glass { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); }
.btn-glass .i { color: #4ade80; }
.btn:active { transform: scale(0.97); }
.btn-yellow:hover { background: #facc15; }
.btn-outline-white { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-wa { background: var(--wa-dark); color: #fff; }
.btn-wa:hover { background: #178a43; }
.btn-pill { background: var(--t-more); color: #fff; border-radius: 999px; min-height: 34px; padding: 0 22px; font-size: 13.5px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(20, 24, 60, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); white-space: nowrap; }
.brand-logo { width: 40px; height: 40px; border-radius: 11px; flex: none; box-shadow: 0 6px 14px -6px rgba(43, 42, 163, 0.6); transition: transform 0.4s var(--ease-out); }
.brand:hover .brand-logo { transform: scale(1.04); }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font: 600 19px/1 var(--serif); letter-spacing: 0.14em; color: var(--night); }
.brand-tag { font: 600 9.5px/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--royal); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.hide-mobile { display: none; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.menu-btn .i { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity 0.2s, transform 0.2s; }
.menu-btn .i-close, .menu-open .menu-btn .i-open { opacity: 0; transform: rotate(-45deg); }
.menu-open .menu-btn .i-close { opacity: 1; transform: none; }

.nav { position: fixed; inset: var(--header-h) 0 0; background: #fff; padding: 8px var(--gut) 28px; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.menu-open .nav { visibility: visible; opacity: 1; transform: none; }
.menu-open { overflow: hidden; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; }
.nav-link { display: block; flex: 1; padding: 15px 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.nav-link[aria-current] { color: var(--royal); }
.sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.sub-toggle .i { width: 20px; height: 20px; transition: transform 0.2s; }
.has-sub.open .sub-toggle .i { transform: rotate(180deg); }
.sub { display: none; }
.has-sub.open .sub { display: block; }
.sub-panel { padding: 0 0 12px 14px; border-left: 2px solid var(--line); margin-bottom: 8px; }
.sub-link { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--text); font-size: 15.5px; }
.sub-ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--soft); color: var(--royal); transition: background 0.2s, color 0.2s; }
.sub-ic .i { width: 17px; height: 17px; }
.sub-link:hover .sub-ic { background: var(--royal); color: #fff; }
.sub-link:hover { color: var(--royal); }
.nav-mobile-actions { display: grid; gap: 10px; margin-top: 22px; }

/* ---------------------------------------------------------------- smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------------------------------------------------------------- home hero (old layout) */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center; background: radial-gradient(800px 520px at 85% 0%, rgba(65, 105, 225, 0.35), transparent 62%), linear-gradient(170deg, #0a0d2b 0%, #161a4f 60%, #22277a 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-map { position: absolute; left: 50%; top: 50%; width: 1400px; max-width: none; transform: translate(-50%, -50%); opacity: 0.09; }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-route path { fill: none; stroke-linecap: round; }
.hero-route-line { stroke: rgba(255, 255, 255, 0.22); stroke-width: 2; stroke-dasharray: 2 9; }
.hero-route-trail { stroke: rgba(253, 224, 71, 0.75); stroke-width: 2; }
.hero-plane { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; color: #fff; opacity: 0; will-change: transform; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); transition: opacity 0.4s; }
.hero-plane .plane { width: 100%; height: 100%; }
.hero.flying .hero-plane { opacity: 1; }
.hero-inner { position: relative; z-index: 1; max-width: 1000px; padding-top: 56px; padding-bottom: 72px; }
.hero h1 { font: 600 clamp(30px, 8.4vw, 50px)/1.22 var(--serif); color: #fff; }
.hero h1 .accent { display: block; color: var(--royal-light); }
.hero-sub { margin-top: 24px; font-size: clamp(16px, 4.4vw, 20px); font-weight: 600; line-height: 1.45; }
.hero-text { margin: 18px auto 0; max-width: 660px; font-size: clamp(16px, 4.3vw, 19px); color: rgba(255, 255, 255, 0.9); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
@media (max-width: 420px) { .hero-ctas { gap: 10px; } .hero-ctas .btn { padding: 0 16px; font-size: 14.5px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: hero-in 0.8s var(--ease-out) both; }
  .hero-inner > :nth-child(2) { animation-delay: 0.12s; }
  .hero-inner > :nth-child(3) { animation-delay: 0.22s; }
  .hero-inner > :nth-child(4) { animation-delay: 0.32s; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- page banner */
.banner { background: var(--t-hero); color: #fff; text-align: center; overflow: hidden; }
.banner-grid { padding-top: 34px; padding-bottom: 48px; }
.banner.has-photo .banner-grid { padding-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.6; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.banner-ic { display: grid; place-items: center; width: 88px; height: 88px; margin: 22px auto 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45); }
.banner-ic .i { width: 40px; height: 40px; color: var(--t-ic); stroke-width: 1.6; }
.banner h1 { margin-top: 22px; color: #fff; font-size: clamp(30px, 8vw, 48px); line-height: 1.18; }
.banner h1 .accent { display: block; color: var(--t-title-accent); }
.banner .lead { max-width: 660px; margin: 16px auto 0; color: rgba(255, 255, 255, 0.9); font-size: 16.5px; }
.banner-badges { display: flex; justify-content: center; gap: 10px 26px; flex-wrap: wrap; margin-top: 28px; }
.banner-badges li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.92); }
.banner-badges .i { width: 26px; height: 26px; stroke-width: 1.6; }
.banner-photo { margin: 34px calc(-1 * var(--gut)) 0; }
.banner-photo img { width: 100%; height: clamp(220px, 58vw, 380px); object-fit: cover; }
.theme-plain .banner { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.theme-plain .banner h1 { color: var(--ink); }
.theme-plain .banner .lead, .theme-plain .crumbs ol { color: var(--muted); }
.theme-plain .crumbs [aria-current] { color: var(--ink); }

/* ---------------------------------------------------------------- sections */
.section { padding: 60px 0; }
.section-tight { padding: 36px 0; }
.section.soft { background: var(--soft); }
.section.navy { background: var(--t-hero); color: rgba(255, 255, 255, 0.86); }
.section.dark { background: var(--t-dark); color: rgba(255, 255, 255, 0.86); }
.section.charcoal { background: #3a3b40; color: rgba(255, 255, 255, 0.86); }
.section.navy h2, .section.dark h2, .section.charcoal h2, .section.navy .sec-head h2 { color: #fff; }
.section.navy .sec-head p, .section.dark .sec-head p { color: rgba(255, 255, 255, 0.8); }
.section-tight + .section-tight { padding-top: 0; }
/* Navy sections that follow a navy banner or section continue the colour instead of restarting it. */
.section.navy + .section.navy, .banner + .section.navy { background: linear-gradient(180deg, #0d1035 0%, #1f2470 100%); }

.sec-head { max-width: 740px; margin: 0 auto 36px; text-align: center; }
.sec-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; background: var(--t-tint); color: var(--t-ic); }
.sec-ic .i { width: 32px; height: 32px; stroke-width: 1.6; }
.section.navy .sec-ic, .section.dark .sec-ic { background: rgba(255, 255, 255, 0.12); color: #fff; }
.sec-head h2 { font-size: clamp(26px, 6.6vw, 38px); }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.sec-head .pill { margin-bottom: 14px; }
.sec-note { max-width: 680px; margin: 30px auto 0; text-align: center; font-size: 18px; font-weight: 600; color: var(--t-title-accent); }
.pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--t-pill-bg); color: var(--t-pill-fg); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; }
.theme-ausbildung .pill, .theme-fsj .pill { text-transform: uppercase; font-size: 12.5px; letter-spacing: 0.06em; }
.pill-light { background: rgba(255, 255, 255, 0.14); color: #fff; }
.center-cta { margin-top: 30px; text-align: center; }

/* ---------------------------------------------------------------- grids & cards */
.grid { display: grid; gap: 22px; }
.card, .feature { display: flex; flex-direction: column; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 26px 24px; transition: transform 0.25s, box-shadow 0.25s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-ic, .feature-ic { display: grid; place-items: center; width: 56px; height: 56px; flex: none; margin-bottom: 16px; border-radius: 16px; background: var(--t-tint); color: var(--t-ic); transition: transform 0.35s var(--ease-out), background 0.35s, color 0.35s; }
.card-link:hover .card-ic { background: var(--t-ic); color: #fff; transform: scale(1.05); }
.card h3, .feature h3 { font-size: 18.5px; color: var(--ink); }
.card p, .feature p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.dots { margin-top: 14px; padding-left: 20px; list-style: disc; color: var(--text); font-size: 15px; }
.dots li + li { margin-top: 6px; }
.dots li::marker { color: var(--navy); }
.card-tag { margin-top: 12px; color: var(--t-tag) !important; font-weight: 500; font-size: 14.5px !important; }
.card-cta { display: block; margin-top: auto; padding-top: 22px; text-align: center; }
.card-link:hover .btn-navy { background: var(--navy-dark); }
.card-ic .i, .feature-ic .i { width: 28px; height: 28px; stroke-width: 1.7; }
/* rubber stamp on service cards */
.has-stamp { position: relative; overflow: hidden; } /* the big stamp before it presses down stays inside the card */
.stamp { position: absolute; top: 28px; right: 20px; padding: 6px 10px 5px; border: 2.5px solid currentColor; border-radius: 7px; box-shadow: inset 0 0 0 1.5px #fff, inset 0 0 0 2.5px currentColor; color: var(--t-ic); font: 700 12.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; pointer-events: none; opacity: 0.82; transform: rotate(-11deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='48'%3E%3Cfilter id='n' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.4 0 0 0 2.6'/%3E%3C/filter%3E%3Crect width='160' height='48' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='48'%3E%3Cfilter id='n' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.4 0 0 0 2.6'/%3E%3C/filter%3E%3Crect width='160' height='48' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.js .stamp { opacity: 0; transform: rotate(-11deg) scale(2.2); }
.js .stamp.down { opacity: 0.82; transform: rotate(-11deg) scale(1); transition: transform 0.34s cubic-bezier(0.3, 1.55, 0.55, 1), opacity 0.16s; }
.features.center .feature { align-items: center; text-align: center; }
.section.dark .feature, .section.navy .features:not(.center) .feature { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.section.dark .feature h3 { color: #fff; }
.section.dark .feature p { color: rgba(255, 255, 255, 0.8); }
.section.dark .feature-ic, .section.navy .features:not(.center) .feature-ic { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------------------------------------------------------------- home: why choose */
.why { background: linear-gradient(180deg, #4a6ee0 0%, #2c3a90 34%, #141a4d 68%, #070a24 100%); color: #fff; }
.why .sec-head h2 { color: #fff; }
.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; max-width: 760px; margin: 0 auto 40px; padding: 22px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); text-align: center; }
.why-stats b { display: block; font-size: 28px; line-height: 1.1; color: #fff; }
.why-stats b, .stat-box b, .mini-stats b { font-variant-numeric: tabular-nums; }
.why-stats span { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }

/* ---------------------------------------------------------------- German levels */
.level-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.level-mini { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; background: #fff; border: 1px solid #eceef3; border-radius: 18px; box-shadow: var(--shadow); text-align: center; transition: transform 0.25s, box-shadow 0.25s; }
.level-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.level-mini b { color: var(--ink); font-weight: 600; line-height: 1.3; }
.level-mini small { color: var(--muted); font-size: 13.5px; }
.level-mini.exam { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); }
.level-mini.exam b { color: #fff; }
.level-mini.exam small { color: rgba(255, 255, 255, 0.78); }
.level-mini.exam .level-badge { background: #fff; color: var(--navy); }
.level-badge { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 18px; font-weight: 700; flex: none; }
/* level track above the level cards (home) */
.level-track { position: relative; height: 62px; margin-bottom: 18px; }
html:not(.js) .level-track { display: none; }
.lt-line { position: absolute; top: 15px; left: 10%; width: 80%; height: 4px; border-radius: 4px; background: #dde1ee; overflow: hidden; }
.lt-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--royal), var(--navy)); transform-origin: left center; transform: scaleX(0); }
.lt-stops { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.lt-stops li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lt-dot { width: 16px; height: 16px; margin-top: 9px; border-radius: 50%; background: #fff; border: 2px solid #cdd3e4; transition: background 0.3s, border-color 0.3s; }
.lt-label { font: 600 13.5px/1 var(--sans); letter-spacing: 0.04em; color: var(--muted); transition: color 0.3s; }
.lt-stops li.on .lt-dot { background: var(--navy); border-color: var(--navy); }
.lt-stops li.on .lt-label { color: var(--navy); }
.lt-plane { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 6px 14px -4px rgba(46, 42, 112, 0.6); will-change: transform; }
.lt-plane .plane { width: 20px; height: 20px; }
.lt-ready .level-badge { transition: background 0.35s, color 0.35s; }
.lt-ready .level-mini:not(.on):not(.exam) .level-badge { background: #e6eaf7; color: var(--navy); }
.lt-ready .level-mini.exam:not(.on) .level-badge { background: rgba(255, 255, 255, 0.22); color: #fff; }
.level-mini.on .level-badge { animation: badge-pop 0.5s var(--ease-out); }
@keyframes badge-pop { 0% { transform: scale(0.82); } 60% { transform: scale(1.1); } 100% { transform: none; } }
.level { background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 24px; }
.level-top { display: flex; align-items: center; gap: 14px; }
.level-top .level-badge { margin: 0; }
.level-top h3 { font-size: 19px; }
.level-days { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--muted); font-size: 14.5px; }
.level-split { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.level-split li { padding: 5px 12px; border-radius: 999px; background: var(--soft); font-size: 13.5px; }
.level-split b { color: var(--navy); }
.level-sum { margin-top: 14px; color: var(--text); }
.syllabus { margin-top: 16px; border-top: 1px solid var(--line); }
.syllabus summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary .i { transition: transform 0.2s; }
.syllabus[open] summary .i { transform: rotate(180deg); }
.syllabus .checks { margin-top: 12px; }
.levels-format { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; font-weight: 600; color: var(--navy); }

.app-card { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 40px; padding: 30px 24px; border-radius: var(--radius-card); background: linear-gradient(135deg, #3f5fd8, #2e2a70 60%, #141a4d); color: #fff; text-align: center; }
.app-icon { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.app-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #c7d2ff; }
.app-card h2 { margin-top: 4px; color: #fff; font-size: 24px; }
.app-copy > p:last-child { margin-top: 6px; color: rgba(255, 255, 255, 0.82); }

.exam-prep { display: grid; gap: 30px; }
.exam-copy h2 { margin-top: 14px; font-size: clamp(26px, 6.4vw, 36px); }
.exam-copy .lead { margin-top: 14px; }
.mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mods span { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 14px; }
.exam-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.exam-item { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.exam-item b { display: block; color: #fff; font-weight: 600; line-height: 1.3; }
.exam-item small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.75); font-size: 13.5px; }

/* ---------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid #eceef3; border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--soft); color: var(--navy); transition: transform 0.2s, background 0.2s; }
.faq[open] summary .i { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq p { padding: 0 20px 20px; color: var(--muted); }

/* ---------------------------------------------------------------- process steps */
.steps { display: grid; gap: 34px; counter-reset: none; }
.steps li { text-align: center; max-width: 320px; margin: 0 auto; }
.step-ic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; }
.step-ic .i { width: 28px; height: 28px; stroke-width: 1.6; }
.step-n { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: #111; font-size: 12.5px; font-weight: 700; }
.steps h3 { color: #fff; font-size: 18px; }
.steps p { margin-top: 8px; color: rgba(255, 255, 255, 0.8); font-size: 15px; }

/* ---------------------------------------------------------------- split */
.split { display: grid; gap: 30px; align-items: center; }
.split.no-media { max-width: 860px; }
.split-copy h2 { font-size: clamp(25px, 6.2vw, 34px); }
.split-copy .pill + h2 { margin-top: 14px; }
.split-copy p { margin-top: 14px; }
.split-copy .pill { margin-top: 0; }
.split-copy .checks { margin-top: 18px; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-lg); }
.split-link { margin-top: 24px !important; }
.section.dark .split-copy h2, .section.navy .split-copy h2, .section.charcoal .split-copy h2 { color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.tile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(20, 24, 60, 0.05); }
.tile-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--t-tint); color: var(--t-ic); }
.tile-ic .i { width: 20px; height: 20px; }
.tile b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.25; }
.tile small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.mini-stats div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); text-align: center; }
.mini-stats b { display: block; font-size: 30px; line-height: 1.1; color: var(--royal-light); }
.mini-stats span { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }

/* ---------------------------------------------------------------- lists */
.checks { display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks .ck { width: 20px; height: 20px; margin-top: 3px; flex: none; color: var(--t-ic); stroke-width: 2; }
.compare-col.good .ck { color: #16a34a; }
.crosses .ck { color: #e11d48; }
.section.dark .ck, .section.navy .ck { color: #4ade80; }
.section.dark .checks, .section.navy .checks { color: rgba(255, 255, 255, 0.88); }
.checklist { max-width: 760px; margin: 0 auto; padding: 26px; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- stats row */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat-box { padding: 18px 12px; border-radius: 18px; background: #fff; border: 1px solid #eceef3; box-shadow: var(--shadow); text-align: center; }
.stat-box b { display: block; font-size: 26px; line-height: 1.15; color: var(--t-accent); }
.stat-box span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------------- compare */
.compare { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
.compare-col { padding: 24px 22px; border-radius: var(--radius-card); border: 1.5px solid; }
.compare-col h3 { margin-bottom: 16px; font-size: 18px; }
.compare-col.bad { background: #fff1f3; border-color: #fecdd6; }
.compare-col.good { background: #ecfdf2; border-color: #b7f0cb; }
.compare-foot { margin-top: 14px; color: #e11d48; font-size: 14.5px; font-weight: 500; text-align: center; }

/* ---------------------------------------------------------------- ladder */
.ladder-card { max-width: 900px; margin: 0 auto; padding: 30px 22px; text-align: center; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.ladder-card h2 { font-size: clamp(22px, 5.6vw, 28px); }
.ladder-card > p { margin-top: 10px; color: var(--muted); }
.ladder { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.ladder li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px; border-radius: 16px; background: var(--soft); }
.ladder-n { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 6px; border-radius: 50%; background: var(--t-accent); color: #fff; font-size: 14px; font-weight: 700; }
.ladder b { color: var(--ink); line-height: 1.3; }
.ladder small { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* ---------------------------------------------------------------- note & intro */
.note { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; text-align: center; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); font-weight: 500; color: var(--ink); }
.note-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--t-tint); color: var(--t-ic); }
.note-ic .i { width: 24px; height: 24px; }
.intro-text { max-width: 820px; margin: 0 auto; text-align: center; font-size: 17px; color: var(--text); }

/* ---------------------------------------------------------------- CTA band */
.cta { background: var(--t-cta); color: #fff; text-align: center; padding: 62px 0; }
.cta-inner { max-width: 760px; }
.cta-ic { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
.cta-ic .i { width: 40px; height: 40px; color: var(--t-ic); stroke-width: 1.6; }
.cta h2 { color: #fff; font-size: clamp(28px, 7vw, 40px); }
.cta p { margin: 14px auto 0; max-width: 600px; color: rgba(255, 255, 255, 0.88); }
.cta .cta-more { font-size: 14.5px; color: rgba(255, 255, 255, 0.78); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------------------------------------------------------------- article pages */
.article-layout { display: grid; gap: 28px; }
.article { padding: 26px 22px; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); min-width: 0; }
.article > * + * { margin-top: 16px; }
.article h2 { font-size: clamp(22px, 5.4vw, 28px); }
.art-h { font-size: 19px; padding-top: 6px; }
.art-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.feature-steps { display: grid; gap: 12px; }
.feature-steps li { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: var(--soft); }
@media (max-width: 639px) { .feature-steps li { display: block; } .feature-steps .num { margin-bottom: 10px; } .article { padding: 22px 18px; } }
.feature-steps .num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.feature-steps h3 { font-size: 16.5px; }
.feature-steps p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.article-aside { display: grid; gap: 20px; align-content: start; }
.side-box { padding: 22px; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.side-title { font-size: 18px; margin-bottom: 10px; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; color: var(--text); font-size: 15px; }
.side-links a .i { width: 16px; height: 16px; color: var(--muted); }
.side-links a:hover, .side-links a[aria-current] { color: var(--royal); font-weight: 500; }
.side-help { display: grid; gap: 10px; padding: 24px 22px; border-radius: var(--radius-card); background: linear-gradient(180deg, #3f5fd8, #252b78 60%, #0d1035); color: rgba(255, 255, 255, 0.85); text-align: center; }
.side-help-ic { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto; border-radius: 14px; background: rgba(255, 255, 255, 0.14); color: #fff; }
.side-help-ic .i { width: 24px; height: 24px; }
.side-help h2 { color: #fff; font-size: 20px; }
.side-phone { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }

/* ---------------------------------------------------------------- Ausbildung / FSJ detail */
.streams { display: grid; gap: 24px; }
.stream { padding: 24px 20px; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); min-width: 0; }
.stream-head { display: flex; align-items: center; gap: 14px; }
.stream-num { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--t-accent); color: #fff; font-size: 18px; font-weight: 700; }
.stream-de { color: var(--t-accent); font-size: 14px; font-weight: 600; }
.stream h2 { font-size: clamp(20px, 5.2vw, 24px); }
.stream-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.stream-chips li { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13.5px; color: var(--ink); }
.stream-chips .i { width: 1em; height: 1em; color: var(--t-accent); }
.stream-about { margin-top: 16px; }
.stream-cols { display: grid; gap: 20px; margin-top: 20px; }
.stream-cols h3 { font-size: 16.5px; margin-bottom: 10px; }
.stream-cols .dots { margin-top: 0; }
.stream-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.stream-stats div { padding: 14px; border-radius: 14px; background: var(--soft); }
.stream-stats dt { font-size: 13px; color: var(--muted); }
.stream-stats b { display: block; color: var(--ink); font-size: 17px; line-height: 1.3; }
.stream-stats small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.stream-table { margin-top: 20px; overflow-x: auto; }
.stream-table h3 { font-size: 16.5px; margin-bottom: 10px; }
.stream-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.stream-table th, .stream-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.stream-table th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.stream-salary { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 16px; border-radius: 16px; background: var(--t-tint); }
.stream-salary > span { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; color: var(--t-accent); }
.stream-salary p { font-size: 13.5px; color: var(--muted); }
.stream-salary b { display: block; color: var(--ink); font-size: 18px; }
.stream-salary small { display: block; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- contact page */
.contact-info { padding-top: 8px; }
.contact-cards { display: grid; gap: 16px; }
.ccard { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; padding: 18px; text-align: left; border-radius: 20px; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.16); transition: background 0.2s, transform 0.2s; }
a.ccard:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-3px); }
.ccard-ic { grid-row: span 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--navy); }
.ccard-ic .i { width: 26px; height: 26px; }
.ccard h3 { color: #fff; font-size: 16px; }
.ccard-v { margin-top: 2px; color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.ccard-note { margin-top: 2px; color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.contact-layout { display: grid; gap: 24px; align-items: start; }
.form-card { padding: 28px 22px; border-radius: var(--radius-card); background: linear-gradient(180deg, #2c3a90, #141a4d); color: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-lg); }
.form-card h2 { color: #fff; font-size: clamp(24px, 6vw, 30px); }
.form-intro { margin: 8px 0 22px; }
.contact-side { display: grid; gap: 20px; }
.urgent-card { padding: 24px 22px; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.urgent-head { display: flex; align-items: center; gap: 12px; }
.urgent-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fde8e8; color: #dc2626; }
.urgent-ic .i { width: 22px; height: 22px; }
.urgent-card h2 { color: #dc2626; font-size: 19px; }
.urgent-card p { margin: 10px 0 12px; color: var(--muted); }
.urgent-link { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #dc2626; font-weight: 600; overflow-wrap: anywhere; }
.urgent-link .i { width: 18px; height: 18px; }
.map-card { overflow: hidden; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: 280px; border: 0; }
.map-address { display: flex; gap: 10px; padding: 16px 18px; font-size: 14.5px; }
.map-address .i { color: var(--navy); margin-top: 3px; }

/* ---------------------------------------------------------------- form */
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.field em { font-style: normal; font-weight: 400; opacity: 0.7; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid transparent; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.35); }
.field[hidden] { display: none; }
.enquiry-form .btn { margin-top: 20px; }
.form-note { margin-top: 12px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.form-note a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 10px 0 0; text-align: center; font-weight: 600; color: #fff; }
.form-status:empty { display: none; }
.form-status.error { color: #fecaca; }
.form-done { text-align: center; color: #fff; }
.form-done:focus { outline: none; }
.done-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--wa-dark); color: #fff; }
.done-ic .i { width: 32px; height: 32px; }
.form-done h3 { color: #fff; font-size: 24px; }
.form-done p { margin: 8px 0 20px; }

/* ---------------------------------------------------------------- prose / thanks */
.prose h2 { font-size: 22px; margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 10px; }
.thanks { text-align: center; }
.thanks .done-ic { margin-bottom: 18px; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 56px 0 0; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; }
.f-brand { grid-column: 1 / -1; text-align: center; }
.brand-footer { gap: 14px; }
.brand-footer .brand-logo { width: 56px; height: 56px; border-radius: 15px; }
.brand-footer .brand-name { font-size: 24px; }
.brand-footer .brand-tag { font-size: 10.5px; }
.f-tag { margin-top: 14px; color: var(--ink); font-weight: 600; }
.f-about { max-width: 420px; margin: 12px auto 0; color: var(--text); font-size: 15px; }
.f-title { margin-bottom: 12px; font-size: 18px; color: var(--royal); }
.f-links li a { display: inline-block; padding: 5px 0; color: var(--text); font-size: 15px; }
.f-links li a:hover, .f-contact a:hover { color: var(--royal); }
.f-contact { grid-column: 1 / -1; }
.f-contact ul { display: grid; gap: 12px; }
.f-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); overflow-wrap: anywhere; }
.f-ic { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--royal); stroke-width: 1.7; }
.f-contact .i { color: var(--royal); stroke-width: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 40px; padding-top: 18px; padding-bottom: 92px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); text-align: center; }
.footer-bottom a:hover { color: var(--royal); }

/* ---------------------------------------------------------------- WhatsApp button */
.wa-float { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 55; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.45); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .i { width: 32px; height: 32px; }
.menu-open .wa-float { display: none; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

/* ================================================================ ≥ 640px */
@media (min-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .why-stats, .stats-row { grid-template-columns: repeat(4, 1fr); }
  .level-strip { grid-template-columns: repeat(3, 1fr); }
  .level-mini.exam { grid-column: span 2; }
  .ladder { grid-template-columns: repeat(4, 1fr); }
  .exam-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards .ccard:last-child { grid-column: 1 / -1; }
  .note { flex-direction: row; text-align: left; }
  .note span { flex: 1; }
  .app-card { flex-direction: row; text-align: left; padding: 30px 34px; }
  .app-copy { flex: 1; }
  .stream-cols { grid-template-columns: 1fr 1fr; }
  .stream-stats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}

/* ================================================================ ≥ 900px */
@media (min-width: 900px) {
  .section { padding: 84px 0; }
  .section-tight { padding: 44px 0; }
  .sec-head { margin-bottom: 48px; }
  .site-header .brand-logo { width: 44px; height: 44px; border-radius: 12px; }
  .site-header .brand-name { font-size: 21px; }
  .hero-inner { padding-top: 120px; padding-bottom: 130px; }
  .banner-grid { padding-top: 40px; padding-bottom: 70px; }
  .banner.has-photo .banner-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; text-align: left; padding-bottom: 70px; }
  .banner.has-photo .crumbs ol, .banner.has-photo .banner-badges { justify-content: flex-start; }
  .banner.has-photo .banner-ic { margin-left: 0; }
  .banner.has-photo .lead { margin-left: 0; }
  .banner-photo { margin: 0; }
  .banner-photo img { height: 380px; border-radius: var(--radius-card); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55); }
  .split { grid-template-columns: 1fr 1fr; gap: 60px; }
  .split.no-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .exam-prep { grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
  .compare { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
  .article { padding: 36px; }
  .article-aside { position: sticky; top: calc(var(--header-h) + 20px); }
  .stream { padding: 32px; }
  .contact-cards { grid-template-columns: repeat(5, 1fr); }
  .ccard { display: flex; flex-direction: column; align-items: center; padding: 26px 18px; text-align: center; }
  .ccard-ic { width: 56px; height: 56px; margin-bottom: 14px; }
  .ccard h3 { font-size: 17px; }
  .ccard-v { margin-top: 8px; }
  .ccard-note { margin-top: 6px; }
  .contact-cards .ccard:last-child { grid-column: auto; }
  .contact-layout { grid-template-columns: 1.25fr 1fr; gap: 30px; }
  .form-card { padding: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 40px; }
  .f-brand { grid-column: auto; text-align: left; }
  .f-about { margin-left: 0; }
  .f-contact { grid-column: auto; }
  .footer-bottom { justify-content: space-between; padding-bottom: 26px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .level-strip { grid-template-columns: repeat(5, 1fr); }
  .lt-stops { column-gap: 14px; }
  .level-mini.exam { grid-column: auto; }
}

/* ================================================================ ≥ 1000px */
@media (min-width: 1000px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================ ≥ 1100px: desktop navigation */
@media (min-width: 1100px) {
  .hide-mobile { display: inline-flex; }
  .menu-btn, .nav-mobile-actions { display: none; }
  .nav { position: static; inset: auto; padding: 0; overflow: visible; background: none; visibility: visible; opacity: 1; transform: none; transition: none; }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-list > li { position: relative; border: 0; }
  .nav-link { padding: 10px 12px; font-size: 15.5px; }
  .nav-link:hover { color: var(--royal); }
  .has-sub .nav-link { padding-right: 2px; }
  .sub-toggle { width: 26px; height: 40px; margin: 0; }
  .sub-toggle .i { width: 15px; height: 15px; }
  .sub { display: block; position: absolute; top: 100%; left: 0; padding-top: 8px; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
  .has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; }
  .has-sub:hover .sub-toggle .i { transform: rotate(180deg); }
  .sub-panel { min-width: 230px; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
  .sub-link { padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
  .sub-link:hover { background: var(--soft); }
  .menu-open { overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- Free German Games
   The game screens come from the LMS (/assets/play-…/games.css) and read these colours;
   they are set only on the games area and the game screen, so the site keeps its own. */
.games-area, .gm {
  --navy: #1f2140; --gray: #6b7280; --muted: #9ca3af; --border: #eceef5; --bg: #f6f7fb; --font: var(--sans);
  --primary: #3451d1; --primary-50: #e6ebff;
  --green: #16a34a; --green-bg: #e9f8ef; --green-bdr: #bfebd0;
  --red: #e5484d; --red-bg: #fdeded; --red-bdr: #f8cfcf; --orange-bg: #fff5e1; --orange-bdr: #fbe0a8;
  --shadow: 0 1px 2px rgba(31, 33, 64, 0.04), 0 6px 24px rgba(31, 33, 64, 0.05); --shadow-lg: 0 12px 40px rgba(31, 33, 64, 0.12);
}
.games-stat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.games-stat span { padding: 8px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink); }
.games-area .gp-tile { min-height: 172px; }
.games-area .gp-td { flex: 1; }
.games-area .gp-stars { margin-top: 0; }
/* "Call me" box under a finished game (optional; becomes a CRM lead). */
.gc { width: 100%; max-width: 440px; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.gc-t { font-weight: 800; font-size: 17px; color: var(--navy); }
.gc-p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gray); }
.gc-f { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--navy); }
.gc-f input { min-height: 46px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 12px; font: 600 16px var(--font); color: var(--navy); background: #fff; }
.gc-f input:focus { outline: none; border-color: #3451d1; }
.gc-ok { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--gray); }
.gc-ok input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.gc-ok a { color: #3451d1; }
.gc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gc-a { display: flex; gap: 10px; align-items: center; }
.gc-send { min-height: 46px; padding: 0 22px; border: 0; border-radius: 12px; background: #3451d1; color: #fff; font: 800 15px var(--font); cursor: pointer; }
.gc-send:disabled { opacity: 0.6; }
.gc-later { background: none; border: 0; color: var(--gray); font: 700 14px var(--font); text-decoration: underline; cursor: pointer; }
.gc-msg { font-size: 13px; font-weight: 600; color: var(--red); min-height: 1px; }

/* ---------------------------------------------------------------- Exam format tables, page dates, footer address */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow); }
.data-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; color: var(--text); }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.data-table thead th { border-top: 0; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.data-table tbody th { color: var(--ink); font-weight: 700; }
.data-table td:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.page-updated { margin: 8px auto 28px; font-size: 13px; color: var(--muted); }
.f-address { font-style: normal; }
.table-note { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 22px auto 0; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--t-accent); border-radius: 14px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.table-note .tn-ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--t-accent); }
