/* ==========================================================================
   RadioDutch — statische site
   ========================================================================== */

/* Fonts (lokaal gehost, geen verzoeken naar Google) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-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;
}

/* Tokens */
:root {
  --navy-900: #062340;
  --navy-800: #072f4c;
  --navy-700: #094978;
  --navy-600: #105e96;
  --indigo: #354584;
  --sky: #4191ce;
  --sky-50: #eef6fc;
  --grass: #66bb46;
  --orange: #ff9b00;
  --orange-600: #e58a00;
  --orange-50: #fff5e5;
  --ink: #16202b;
  --ink-soft: #4a5968;
  --line: #dfe6ee;
  --paper: #ffffff;
  --paper-alt: #f5f8fb;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(6 35 64 / .06), 0 2px 8px rgb(6 35 64 / .06);
  --shadow: 0 4px 12px rgb(6 35 64 / .08), 0 16px 40px rgb(6 35 64 / .10);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; color: var(--navy-800); }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-600); text-underline-offset: .18em; }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.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; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--paper-alt); }
.section--navy { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.section--navy .section-head p { color: rgb(255 255 255 / .8); }
.eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
  background: var(--orange-50); color: #9a5a00; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.section--navy .eyebrow { background: rgb(255 255 255 / .12); color: #ffd28a; }

/* Buttons */
.btn {
  --btn-bg: var(--navy-700); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: none; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--primary { --btn-bg: var(--orange); --btn-fg: #1a1200; }
.btn--primary:hover { --btn-bg: #ffab2e; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-bd: currentColor; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .7); }
.btn--ghost-light:hover { --btn-bg: rgb(255 255 255 / .12); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 2px 16px rgb(6 35 64 / .06); }
.site-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; text-decoration: none; color: var(--orange); font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em; }
.brand:hover { color: var(--orange-600); }
.brand img { width: 44px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9688rem; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover { background: var(--sky-50); color: var(--navy-800); }
.nav__link[aria-current="page"] { color: var(--navy-700); background: var(--sky-50); }
.nav__link svg { width: 18px; height: 18px; }
.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--sky-50); color: var(--navy-800); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; padding: 12px 16px; font-size: 1.0625rem; }
  .nav__cta { margin: 8px 0 0; }
}

/* ---------- Taalwisselaar ---------- */
.flag { display: inline-flex; width: 20px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgb(6 35 64 / .15); flex-shrink: 0; }
.flag svg { display: block; width: 100%; height: 100%; }
.lang-switch { position: relative; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 8px; }
.lang-switch__chev { width: 14px; height: 14px; transition: transform .15s; }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__menu {
  list-style: none; margin: 8px 0 0; padding: 6px; position: absolute; top: 100%; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  min-width: 190px; display: none; z-index: 60;
}
.lang-switch.is-open .lang-switch__menu { display: block; }
.lang-switch__menu li { margin: 0; }
.lang-switch__menu a, .lang-switch__current {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.lang-switch__menu a:hover { background: var(--sky-50); color: var(--navy-800); }
.lang-switch__current { color: var(--navy-700); background: var(--sky-50); }
@media (max-width: 880px) {
  .lang-switch { width: 100%; }
  .lang-switch__btn { width: 100%; justify-content: space-between; }
  .lang-switch__menu { position: static; box-shadow: none; width: 100%; margin-top: 8px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; background: var(--sky); color: #fff; text-align: center;
  padding-top: clamp(40px, 7vw, 88px);
}
.hero__content { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 17ch; margin-inline: auto; text-shadow: 0 2px 24px rgb(6 35 64 / .25); }
.hero__lead { font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem); font-weight: 600; margin-bottom: 28px; opacity: .95; }
.hero__art { position: relative; z-index: 1; margin-top: clamp(-8px, -2vw, 0px); }
.hero__art img { width: 100%; height: auto; min-height: 180px; object-fit: cover; object-position: 50% 100%; }
.hero__grass { height: clamp(16px, 3vw, 40px); background: var(--grass); margin-top: -2px; }
.hero--compact { padding-top: clamp(32px, 5vw, 56px); }
.hero--compact h1 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3rem); }
.hero--compact .hero__art img { max-height: 260px; }

/* Page header (simpele pagina's) */
.page-hero { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #fff; padding-block: clamp(48px, 7vw, 88px); text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero p { margin: 0 auto; max-width: 640px; color: rgb(255 255 255 / .85); font-size: 1.125rem; }
.page-hero--pears { background: linear-gradient(rgb(6 35 64 / .55), rgb(6 35 64 / .7)), url("../img/pears-1600.webp") center / cover no-repeat; }

/* ==========================================================================
   Kaarten / grids
   ========================================================================== */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); }
.card > :last-child { margin-bottom: 0; }

.quicklinks { margin-top: -48px; position: relative; z-index: 3; }
.quicklink { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.quicklink:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.quicklink h3 { font-size: 1.125rem; margin-bottom: .25em; }
.quicklink .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--navy-600); display: inline-flex; align-items: center; gap: 6px; }
.quicklink .more svg { width: 18px; height: 18px; transition: transform .15s; }
.quicklink:hover .more svg { transform: translateX(3px); }
.quicklink--accent { background: var(--orange); border-color: var(--orange); }
.quicklink--accent h3, .quicklink--accent p, .quicklink--accent .more { color: #1a1200; }

.feature { text-align: center; align-items: center; }
.feature__icon {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--sky-50); color: var(--navy-700);
}
.feature__icon svg { width: 32px; height: 32px; }
.feature:nth-child(2n) .feature__icon { background: var(--orange-50); color: #b86e00; }

/* Stappen */
.steps { counter-reset: step; }
.step { position: relative; text-align: center; align-items: center; background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); box-shadow: none; }
.step h3 { color: #fff; font-size: 1.125rem; }
.step p { color: rgb(255 255 255 / .82); }
.step p strong { color: #ffc266; }
.step__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .1); color: var(--orange); margin-bottom: 16px; }
.step__icon svg { width: 36px; height: 36px; }
.step__num { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffc266; margin-bottom: 4px; }

.includes { max-width: 640px; margin: 0 auto 48px; padding: 24px 28px; border-radius: var(--radius); background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); }
.includes h3 { text-align: center; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1200' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.charity { margin: 40px auto 0; max-width: 720px; text-align: center; font-weight: 700; font-size: 1.125rem; color: #ffc266; }

/* CTA band */
.cta-band { background: var(--orange); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band h2 { color: #1a1200; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); margin: 0; max-width: 720px; }
.cta-band .btn { --btn-bg: var(--navy-800); --btn-fg: #fff; }

/* ==========================================================================
   Lessen / audiospeler
   ========================================================================== */
.lesson { gap: 0; }
.lesson__tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--sky-50); color: var(--navy-700); margin-bottom: 12px; }
.lesson h3 { font-size: 1.3rem; }
.lesson__desc { flex: 1; }
.lesson .player { margin-top: 16px; }
.lesson .vocab { margin-top: 16px; }

.player {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 14px;
  padding: 12px 16px 12px 12px; border-radius: 999px; background: var(--paper-alt); border: 1px solid var(--line);
}
.player audio { display: none; }
.player__play {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--orange); color: #1a1200; transition: transform .15s, background-color .15s; grid-row: span 2;
}
.player__play:hover { background: #ffab2e; transform: scale(1.05); }
.player__play svg { width: 24px; height: 24px; }
.player__play .i-pause { display: none; }
.player.is-playing .player__play .i-play { display: none; }
.player.is-playing .player__play .i-pause { display: block; }
.player.is-loading .player__play { opacity: .75; }
.player__bar { display: flex; align-items: center; gap: 10px; min-width: 0; }
.player__seek { flex: 1; min-width: 0; }
.player__time { font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.player__tools { display: flex; align-items: center; gap: 2px; }
.player__btn {
  min-width: 36px; height: 32px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft);
  font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 2px;
}
.player__btn:hover { background: #fff; color: var(--navy-800); }
.player__btn svg { width: 18px; height: 18px; }
.player__btn--dl { margin-left: auto; }

/* Range input */
input[type="range"].player__seek { -webkit-appearance: none; appearance: none; height: 20px; background: transparent; cursor: pointer; --p: 0%; }
input[type="range"].player__seek::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--navy-700) var(--p), #cfd9e3 var(--p)); }
input[type="range"].player__seek::-moz-range-track { height: 6px; border-radius: 999px; background: #cfd9e3; }
input[type="range"].player__seek::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--navy-700); }
input[type="range"].player__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; background: var(--navy-700); border: 2px solid #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
input[type="range"].player__seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--navy-700); border: 2px solid #fff; }

/* Woordenlijst */
.vocab { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.vocab summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; font-weight: 700; color: var(--navy-700);
}
.vocab summary::-webkit-details-marker { display: none; }
.vocab summary::after {
  content: ""; width: 20px; height: 20px; flex: none; transition: transform .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23094978' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vocab[open] summary::after { transform: rotate(180deg); }
.vocab summary .count { font-weight: 600; font-size: .8125rem; color: var(--ink-soft); margin-left: auto; }
.vocab__body { padding: 0 16px 16px; max-height: 420px; overflow: auto; }
.vocab table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.vocab th { text-align: left; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 8px 8px; position: sticky; top: 0; background: #fff; border-bottom: 2px solid var(--line); }
.vocab td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vocab tr:last-child td { border-bottom: 0; }
.vocab td:first-child { font-weight: 700; color: var(--navy-800); }
.vocab td.num { width: 3ch; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   Over ons
   ========================================================================== */
.prose { font-size: 1.0938rem; }
.prose p { color: var(--ink); }
.prose .lead { font-size: 1.25rem; font-weight: 500; color: var(--navy-800); }
.team { margin-block: 40px; }
.person { align-items: flex-start; }
.person__avatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  font-weight: 800; font-size: 1.25rem; color: #fff; background: var(--navy-700);
}
.person:nth-child(2) .person__avatar { background: var(--orange); color: #1a1200; }
.person:nth-child(3) .person__avatar { background: var(--sky); }
.person__role { font-size: .875rem; font-weight: 700; color: var(--ink-soft); margin-top: -4px; margin-bottom: 8px; }
.quote {
  margin: 48px 0; padding: 28px 32px; border-left: 6px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--orange-50); font-size: 1.1875rem; font-weight: 600; color: var(--navy-800);
}
.quote p { margin: 0; }

/* ==========================================================================
   Formulieren
   ========================================================================== */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9375rem; color: var(--navy-800); }
.field .optional { font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid #c9d4df; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgb(16 94 150 / .15); }
.field input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy-700); }
.field--check { display: flex; align-items: center; gap: 10px; }
.field--check label { font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: #e8f6ec; color: #1b6b35; }
.form-status.is-error { background: #fdecec; color: #9b1c1c; }
.form-note { font-size: .875rem; color: var(--ink-soft); margin: 0; }

.contact-grid { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.telegram-card { background: linear-gradient(135deg, #229ed9, #1c86bb); color: #fff; border: 0; }
.telegram-card h2, .telegram-card h3 { color: #fff; }
.telegram-card p { color: rgb(255 255 255 / .9); }
.telegram-card .btn { --btn-bg: #fff; --btn-fg: #1c78a8; align-self: flex-start; }
.telegram-card svg.tg { width: 48px; height: 48px; margin-bottom: 12px; }

/* ==========================================================================
   Login-dialoog
   ========================================================================== */
.dialog {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgb(6 35 64 / .35); color: var(--ink);
}
.dialog::backdrop { background: rgb(6 35 64 / .55); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in .2s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dialog__inner { padding: clamp(24px, 5vw, 36px); }
.dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dialog__head h2 { font-size: 1.375rem; margin: 0; }
.dialog__close { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--paper-alt); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.dialog__close:hover { background: var(--line); }
.dialog__close svg { width: 20px; height: 20px; }
.dialog__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink-soft); display: grid; gap: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgb(255 255 255 / .78); padding-block: 56px 32px; font-size: .9375rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .brand { color: var(--orange); margin-bottom: 12px; }
.site-footer h2 { color: #fff; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .875rem; }
.footer-bottom p { margin: 0; }
address { font-style: normal; }

/* ==========================================================================
   Diversen
   ========================================================================== */
.legal h2 { font-size: 1.375rem; margin-top: 2em; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: .4em; }
.legal .intro { font-size: 1.1875rem; font-weight: 500; color: var(--navy-800); }
.legal .meta { color: var(--ink-soft); font-size: .9375rem; }

.notice { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--sky-50); border: 1px solid #cfe3f3; color: var(--navy-800); }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.subhead { margin: 56px 0 24px; display: flex; align-items: center; gap: 16px; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.subhead h2 { margin: 0; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; color: var(--sky); margin-bottom: 8px; }
