/* fachkunde-taxi-mietwagen.de – Gestaltung nach Vorlage */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #ffd600;
  --yellow-600: #f2c500;
  --yellow-soft: #fff1b3;
  --yellow-pale: #fff8d6;
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #5d5d5a;
  --line: #e3e3de;
  --bg: #f3f3f0;
  --card: #ffffff;
  --header: #161616;
  --ok: #157a3c;
  --ok-bg: #e5f5ea;
  --warn: #9a5b00;
  --warn-bg: #fff3d6;
  --err: #b42318;
  --err-bg: #fdecea;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px -12px rgba(17, 17, 17, .12);
  --shadow-hover: 0 2px 4px rgba(17, 17, 17, .06), 0 16px 32px -14px rgba(17, 17, 17, .22);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow-600); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Header ---------- */
.site-header { background: var(--header); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.topbar { background: #0a0a0a; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 6px 22px; min-height: 36px; font-style: normal; flex-wrap: wrap; padding-block: 4px; }
.topbar-label { font-weight: 800; color: var(--yellow); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; margin-right: auto; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #f2f2ee; text-decoration: none; font-weight: 600; padding: 4px 0; }
.topbar a .ic { width: 17px; height: 17px; color: var(--yellow); }
.topbar a:hover span, .topbar a:focus-visible span { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; margin-right: auto; }
.brand-ic { width: 34px; height: 34px; color: var(--yellow); }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: 8px 15px; border-radius: 10px; text-decoration: none; font-size: 1rem; color: #e9e9e6; transition: background .15s, color .15s; }
.main-nav ul a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.main-nav ul a.active { background: #fff; color: var(--ink); font-weight: 800; }
.nav-login { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 10px; text-decoration: none; font-size: .95rem; font-weight: 600; color: #fff; transition: border-color .15s, background .15s; }
.nav-login:hover { border-color: var(--yellow); color: var(--yellow); }
.nav-login .ic { width: 16px; height: 16px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
.nav-toggle .ic { width: 28px; height: 28px; }

/* ---------- Main ---------- */
.main { flex: 1; padding-block: 34px 56px; display: grid; gap: 22px; align-content: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 34px; }
.eyebrow { font-size: .95rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.bar { display: block; width: 92px; height: 7px; background: var(--yellow); border-radius: 99px; margin: 12px 0 22px; }
.bar.sm { width: 72px; height: 6px; margin: 10px 0 18px; }
.h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.15rem); }
.h1-xl { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.2rem); letter-spacing: -.035em; }
.h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2rem); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; margin-top: 16px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; }
.hero-text { display: flex; flex-direction: column; justify-content: center; }
.tile-yellow { background: var(--yellow); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; position: relative; transition: transform .18s, box-shadow .18s, background .18s; box-shadow: var(--shadow); min-height: 240px; }
a.tile-yellow:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); background: #ffdb1f; }
.tile-icon { position: relative; width: 132px; height: 120px; margin-bottom: 18px; }
.tile-icon .ic-main { width: 120px; height: 120px; stroke-width: 1.9; }
.tile-icon .ic-sparks { position: absolute; right: -40px; top: -30px; width: 60px; height: 60px; stroke-width: 2.6; }
.tile-yellow h2 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); margin-bottom: 8px; }
.tile-yellow p { font-size: 1.15rem; max-width: 15em; line-height: 1.4; }
.tile-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 800; background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px; font-size: .98rem; }
.tile-cta .ic { width: 18px; height: 18px; }

/* Kurskarten */
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.course-card { display: flex; flex-direction: column; padding: 26px 28px 24px; }
.course-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.icon-badge { width: 64px; height: 64px; border-radius: 16px; background: var(--yellow-soft); display: grid; place-items: center; flex: none; }
.icon-badge .ic { width: 36px; height: 36px; stroke-width: 1.9; }
.icon-badge.sm { width: 52px; height: 52px; border-radius: 14px; }
.icon-badge.sm .ic { width: 28px; height: 28px; }
.course-head h2, .course-head h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.05rem); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dot { font-weight: 900; }
.pill { display: inline-flex; align-items: center; background: var(--yellow-soft); border-radius: 10px; padding: 3px 11px; font-size: 1.05rem; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.pill-sm { font-size: .85rem; padding: 2px 9px; border-radius: 8px; }
.checklist, .numlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li, .numlist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.12rem; line-height: 1.35; }
.check { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow-soft); display: grid; place-items: center; flex: none; margin-top: -2px; }
.check .ic { width: 18px; height: 18px; stroke-width: 3; }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow-soft); display: grid; place-items: center; flex: none; font-weight: 800; font-size: 1rem; margin-top: -3px; }
.note-pill { display: inline-block; background: var(--yellow-soft); border-radius: 12px; padding: 7px 16px; font-weight: 800; font-size: 1rem; margin-top: 18px; align-self: flex-start; }
.price-row { margin-top: auto; padding-top: 22px; }
.price-row::before { content: ""; display: block; border-top: 1.5px solid var(--line); margin-bottom: 18px; }
.price { text-align: center; font-weight: 900; font-size: clamp(2.3rem, 1.8rem + 1.6vw, 3.1rem); letter-spacing: -.03em; line-height: 1; }
.price small { font-size: .42em; font-weight: 800; letter-spacing: -.01em; margin-left: 4px; }
.course-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.course-card .meta-line { color: var(--muted); font-size: 1rem; margin: -6px 0 18px; display: flex; gap: 8px 16px; flex-wrap: wrap; }
.course-card .meta-line span { display: inline-flex; align-items: center; gap: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font-weight: 800; border-radius: 14px; padding: 13px 22px; font-size: 1.02rem; line-height: 1.1; transition: background .15s, transform .15s, box-shadow .15s; }
.btn .ic { width: 20px; height: 20px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { font-size: 1.55rem; padding: 18px 26px; border-radius: 16px; width: 100%; letter-spacing: -.01em; }
.btn-lg .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 13px; font-size: .9rem; border-radius: 10px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Termine */
.dates-section { border-top: 1.5px solid var(--line); margin-top: 22px; padding-top: 20px; }
.dates-section h3 { font-size: 1.2rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.date-item { display: grid; gap: 6px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.date-item:hover { border-color: var(--yellow-600); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.date-item.is-full { background: #f8f8f6; color: var(--muted); }
.date-main, .date-meta { display: flex; align-items: center; gap: 9px; }
.date-main { font-size: 1.07rem; }
.date-meta { font-size: .95rem; color: var(--muted); }
.date-meta .ic, .date-main .ic { width: 18px; height: 18px; }
.date-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.seats { font-size: .85rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.seats-ok { background: var(--ok-bg); color: var(--ok); }
.seats-low { background: var(--warn-bg); color: var(--warn); }
.seats-none { background: #ececea; color: var(--muted); }
.date-price { font-weight: 800; font-size: .95rem; }
.date-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .95rem; }
.date-cta .ic { width: 16px; height: 16px; }
.dates-empty { color: var(--muted); background: #f8f8f6; border-radius: var(--radius-sm); padding: 14px 16px; margin: 0; }

/* Kurse-Seite: Karten oben (Preise auf gleicher Höhe), Termine darunter */
.courses-page { grid-template-areas: "k1 k2" "d1 d2"; align-items: start; }
.courses-page .course-card { align-self: stretch; }
.cp-k1 { grid-area: k1; } .cp-k2 { grid-area: k2; } .cp-d1 { grid-area: d1; } .cp-d2 { grid-area: d2; }
.dates-card { padding: 22px 22px 24px; }
.h3-like { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.h3-like .ic { width: 24px; height: 24px; }
@media (max-width: 820px) { .courses-page { grid-template-areas: "k1" "d1" "k2" "d2"; } }

/* Termine Startseite */
.upcoming-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.upcoming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.upcoming-grid h3 { font-size: 1.2rem; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }

/* Kursleiter */
.trainer h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); margin-bottom: 14px; letter-spacing: -.03em; }
.trainer .h-small { font-size: 1.85rem; letter-spacing: -.02em; margin-bottom: 0; }
.trainer .trainer-name { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); font-weight: 850; line-height: 1.05; letter-spacing: -.035em; color: var(--ink); margin: 0 0 16px; }
.trainer p { font-size: 1.2rem; line-height: 1.55; max-width: 54em; color: var(--ink-2); }

/* FAQ */
.faq h2 { margin-bottom: 6px; }
.faq details { border-bottom: 1.5px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 1.1rem; padding: 14px 40px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--yellow-soft); display: grid; place-items: center; font-size: 1.3rem; line-height: 28px; text-align: center; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 14px; margin: 0; }

/* Seitentitel */
.page-title { padding: 6px 2px 0; }
.page-title .bar { width: 130px; height: 9px; margin-top: 14px; }

/* Kursinhalte */
.topics-card { padding: 28px; }
.topic-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.topic-head .icon-badge { width: 84px; height: 84px; border-radius: 18px; }
.topic-head .icon-badge .ic { width: 50px; height: 50px; }
.topic-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.topic-head .sub { margin: 6px 0 0; color: var(--ink-2); font-size: 1.08rem; }
.section-pill { display: inline-block; background: var(--yellow-soft); border-radius: 14px; padding: 8px 22px; font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); font-weight: 800; margin: 4px 0 16px; letter-spacing: -.01em; }
.topics { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: t; }
.topics li { display: flex; gap: 18px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 20px; background: #fff; }
.topics .num { width: 48px; height: 48px; font-size: 1.35rem; margin: 0; }
.topics h3 { font-size: 1.3rem; margin-bottom: 3px; letter-spacing: -.01em; }
.topics p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.crash-box { display: flex; flex-direction: column; }
.crash-box .note-pill { align-self: flex-start; }
.tile-yellow[aria-hidden] .tile-icon { transform: scale(1.3); }
.crash-box .topic-head { justify-content: flex-start; text-align: left; }
.crash-box .note-pill { font-size: 1.1rem; }

/* Formulare */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, .label { font-weight: 800; font-size: 1.05rem; }
.field small { color: var(--muted); font-size: .88rem; }
.req { color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=time], input[type=number], input[type=search], select, textarea {
  width: 100%; border: 1.5px solid #8a8a86; border-radius: 10px; padding: 11px 14px; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 214, 0, .45); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 44px; }
textarea { min-height: 120px; resize: vertical; }
.field-error input, .field-error select { border-color: var(--err); }
.err-text { color: var(--err); font-size: .9rem; font-weight: 600; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-zip { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }

/* Anmeldung */
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.signup-form { padding: 24px 26px 28px; }
.signup-form .course-head { margin-bottom: 14px; }
.signup-form h2 { font-size: 1.9rem; }
.form-section { font-size: 1.22rem; font-weight: 800; margin: 10px 0 -6px; }
.radio-card { display: flex; align-items: center; gap: 14px; border: 1.5px solid #8a8a86; border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.radio-card:hover { border-color: var(--ink); }
.radio-card input { width: 22px; height: 22px; accent-color: var(--ink); margin: 0; flex: none; }
.radio-card .rc-name { font-weight: 800; font-size: 1.2rem; margin-right: auto; }
.radio-card .rc-price { background: var(--yellow-soft); border-radius: 10px; padding: 4px 12px; font-weight: 800; white-space: nowrap; }
.radio-card .rc-price small { font-weight: 600; }
.radio-card:has(input:checked) { border-color: var(--ink); background: var(--yellow-pale); box-shadow: 0 0 0 1px var(--ink); }
.radio-group { display: grid; gap: 10px; }
.toggle-card { display: flex; align-items: center; gap: 12px; border: 1.5px solid #8a8a86; border-radius: 12px; padding: 11px 14px; cursor: pointer; font-weight: 700; }
.toggle-card input { width: 22px; height: 22px; accent-color: var(--yellow-600); margin: 0; }
.toggle-card .chev { margin-left: auto; transition: transform .2s; width: 20px; height: 20px; }
.toggle-card:has(input:checked) .chev { transform: rotate(180deg); }
.company-box { border: 1.5px solid var(--yellow-600); background: linear-gradient(180deg, var(--yellow-pale), #fffdf3); border-radius: 14px; padding: 16px 18px 18px; display: grid; gap: 12px; }
.company-box h3 { font-size: 1.25rem; }
.company-box .field > span { font-size: .95rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

.summary-col { display: grid; gap: 22px; position: sticky; top: 90px; }
.summary { padding: 12px; }
.summary-head { background: var(--yellow); border-radius: 14px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; }
.summary-head .tile-icon { width: 64px; height: 58px; margin: 0; }
.summary-head .tile-icon .ic-main { width: 58px; height: 58px; }
.summary-head .tile-icon .ic-sparks { width: 32px; height: 32px; right: -14px; top: -12px; }
.summary-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
.summary-list { list-style: none; margin: 8px 0 0; padding: 0 10px; }
.summary-list li { display: flex; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1.5px solid var(--line); }
.summary-list .icon-badge { width: 48px; height: 48px; border-radius: 12px; }
.summary-list .icon-badge .ic { width: 28px; height: 28px; }
.summary-list strong { display: block; font-size: 1.1rem; }
.summary-list span.val { color: var(--ink-2); }
.summary-list .pending { color: var(--muted); }
.total { display: flex; justify-content: space-between; align-items: center; background: var(--yellow-soft); border-radius: 14px; padding: 16px 18px; margin: 16px 0 14px; }
.total strong { font-size: 1.35rem; }
.total .amount { text-align: right; font-weight: 900; font-size: 2.3rem; line-height: 1; letter-spacing: -.03em; }
.total .amount small { display: block; font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-top: 4px; }
.pay-hint { text-align: center; color: var(--muted); font-size: .86rem; margin: 10px 0 2px; display: flex; gap: 6px; align-items: center; justify-content: center; }
.pay-hint .ic { width: 14px; height: 14px; }
.hint { display: flex; gap: 16px; padding: 22px; }
.hint .icon-badge { width: 52px; height: 52px; }
.hint h2 { font-size: 1.4rem; margin-bottom: 4px; }
.hint p { color: var(--ink-2); }

.alert { border-radius: 12px; padding: 13px 16px; font-weight: 600; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert-info { background: var(--yellow-pale); color: var(--ink); border: 1px solid var(--yellow-soft); }

/* Bestätigung / Textseiten */
.narrow { max-width: 780px; width: 100%; margin-inline: auto; }
.prose h1 { margin-bottom: 4px; }
.prose h2 { font-size: 1.35rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose .pre a { color: var(--ink); font-weight: 700; text-decoration-color: var(--yellow-600); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .pre { white-space: pre-line; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin-bottom: 18px; }
.success-icon .ic { width: 40px; height: 40px; stroke-width: 3; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 20px 0; }
.kv dt { font-weight: 800; }
.kv dd { margin: 0; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--header); color: #eee; }
.footer-inner { min-height: 58px; display: flex; align-items: center; justify-content: center; }
.site-footer nav { display: flex; gap: 14px; align-items: center; font-size: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--header); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; gap: 10px; display: none; border-top: 1px solid rgba(255, 255, 255, .1); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 12px 14px; font-size: 1.08rem; }
  .nav-login { justify-content: center; padding: 11px; }
  .signup-grid { grid-template-columns: 1fr; }
  .summary-col { position: static; }
}
@media (max-width: 820px) {
  .hero, .course-grid, .upcoming-grid { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .tile-yellow { min-height: 0; padding: 26px 20px; }
  .tile-icon { width: 96px; height: 88px; }
  .tile-icon .ic-main { width: 88px; height: 88px; }
  .tile-icon .ic-sparks { width: 48px; height: 48px; right: -18px; top: -16px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-ic { width: 26px; height: 26px; }
  .main { padding-block: 20px 40px; gap: 16px; }
  .topbar { font-size: .86rem; }
  .topbar-inner { justify-content: center; gap: 2px 16px; }
  .topbar-label { width: 100%; text-align: center; margin: 0; font-size: .72rem; }
  .topbar a { padding: 6px 2px; }
  .checklist li, .numlist li { font-size: 1.02rem; }
  .row-2 { grid-template-columns: 1fr; }
  .topics li { padding: 12px 14px; gap: 12px; align-items: flex-start; }
  .topics .num { width: 38px; height: 38px; font-size: 1.1rem; }
  .topics h3 { font-size: 1.1rem; }
  .topic-head .icon-badge { width: 60px; height: 60px; }
  .topic-head .icon-badge .ic { width: 36px; height: 36px; }
  .radio-card .rc-name { font-size: 1.05rem; }
  .radio-card .rc-price { font-size: .9rem; padding: 3px 8px; }
  .total .amount { font-size: 1.9rem; }
  .btn-lg { font-size: 1.3rem; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Admin-Login ---------- */
.admin-login { display: grid; place-items: center; padding: 24px; }
.login-box { width: min(440px, 100%); }
.login-box h1 { margin-bottom: 16px; }
