/* Notenfixplaner – Website
   Design tokens mirror the desktop app (src/NFP.Desktop/Palette.cs). */

:root {
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --surface-subtle: #f9fafb;
  --surface-hover: #f2f4f7;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --text: #101828;
  --text-2: #475467;
  --muted: #667085;

  --accent: #0e7490;
  --accent-hover: #155e75;
  --accent-deep: #164e63;
  --accent-soft: #e6f6f9;
  --accent-line: #a5e1ea;
  --brand: #16c5db;

  --success: #067647;
  --success-soft: #ecfdf3;
  --warn: #b54708;
  --warn-soft: #fffaeb;
  --danger: #d92d20;
  --danger-soft: #fef3f2;

  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 4px 8px -2px rgba(16, 24, 40, .08), 0 2px 4px -2px rgba(16, 24, 40, .04);
  --shadow-l: 0 24px 48px -12px rgba(16, 24, 40, .18);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@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: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; color: var(--text); text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 750; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 720; letter-spacing: -.03em; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--canvas); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.12rem; margin-top: 16px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text);
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-s);
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--surface-subtle); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(14, 116, 144, .6); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: 0 10px 20px -8px rgba(14, 116, 144, .7); }
.btn--ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--text-2); }
.btn--ghost:hover { background: var(--surface-hover); color: var(--text); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.06rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-s); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .96rem; }
.nav-links a:hover { background: var(--surface-hover); color: var(--text); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.nav-toggle svg { margin: auto; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links, .nav .btn--nav { display: none; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow);
  }
  .nav.is-open .nav-links a { padding: 12px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 20%, rgba(22, 197, 219, .22), transparent 70%),
    radial-gradient(35% 45% at 85% 12%, rgba(14, 116, 144, .16), transparent 70%),
    radial-gradient(50% 40% at 60% 70%, rgba(165, 225, 234, .30), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 50% at 50% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 50% at 50% 20%, #000, transparent 75%);
}
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); box-shadow: var(--shadow-s);
  font-size: .9rem; font-weight: 550; color: var(--text-2);
}
.hero-badge b { background: var(--success-soft); color: var(--success); padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.hero h1 .grad { background: linear-gradient(95deg, var(--accent) 10%, var(--brand) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--text-2); max-width: 680px; margin: 24px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 22px; color: var(--muted); font-size: .92rem; list-style: none; padding: 0; }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--success); }

.hero-visual { position: relative; margin: 64px auto 0; max-width: 1080px; }
.window {
  border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid rgba(16, 24, 40, .1);
  box-shadow: 0 40px 80px -24px rgba(16, 24, 40, .35), 0 0 0 8px rgba(255, 255, 255, .55);
}
.window-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: #fbfcfd; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.window-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); font-weight: 550; }
.window img { width: 100%; }
.hero-visual .window { transform: perspective(2200px) rotateX(6deg); transform-origin: 50% 0; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line); box-shadow: var(--shadow-l); backdrop-filter: blur(8px);
  font-size: .9rem; animation: float 7s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .78rem; }
.float-card strong { font-size: .98rem; }
.float-card .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.float-card .ico svg { width: 20px; height: 20px; }
.float-card--a { left: -34px; top: 22%; }
.float-card--b { right: -28px; top: 48%; animation-delay: -2.5s; }
.float-card--c { left: 12%; bottom: -26px; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) { .float-card { display: none; } .hero-visual .window { transform: none; } }

.pill { display: inline-grid; place-items: center; min-width: 44px; padding: 3px 9px; border-radius: 7px; font-weight: 700; font-size: .92rem; }
.pill--1 { background: #e8f7ee; color: #067647; }
.pill--2 { background: #f1f8e6; color: #3f621a; }
.pill--3 { background: #fef8e7; color: #8a6100; }
.pill--4 { background: #fff1e6; color: #b54708; }

/* ---------- Trust strip ---------- */
.trust { padding: 32px 0 24px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.trust-item .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.trust-item .ico svg { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 28px; border-radius: var(--radius-l); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-line); }
.feature .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, var(--accent-soft), #fff); border: 1px solid var(--accent-line); color: var(--accent); }
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--text-2); margin-top: 10px; font-size: .98rem; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Tour (tabs + screenshots) ---------- */
.tour { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.tour-tabs { display: flex; flex-direction: column; gap: 10px; }
.tour-tab {
  text-align: left; padding: 18px 20px; border-radius: 14px; border: 1px solid transparent; background: transparent;
  font: inherit; color: inherit; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s;
}
.tour-tab:hover { background: var(--surface); }
.tour-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.tour-tab .step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-hover); color: var(--text-2); font-size: .8rem; font-weight: 700; margin-right: 10px; }
.tour-tab[aria-selected="true"] .step { background: var(--accent); color: #fff; }
.tour-tab strong { font-size: 1.04rem; }
.tour-tab p { color: var(--text-2); font-size: .94rem; margin: 6px 0 0 36px; display: none; }
.tour-tab[aria-selected="true"] p { display: block; }
.tour-stage .window { box-shadow: var(--shadow-l); }
.tour-stage img { aspect-ratio: 1400 / 880; object-fit: cover; }
@media (max-width: 960px) { .tour { grid-template-columns: 1fr; } }

/* ---------- Privacy split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 18px; }
.split p.lead { color: var(--text-2); font-size: 1.1rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--success); margin-top: 2px; }
.checklist b { display: block; }
.checklist span { color: var(--text-2); font-size: .96rem; }
.illu { border-radius: var(--radius-l); background: linear-gradient(160deg, #eaf8fb, #f7fbfc); border: 1px solid var(--line); padding: 28px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Photos ---------- */
.section--tight { padding-top: clamp(24px, 4vw, 48px); }
.photo { margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); border: 1px solid var(--line); background: var(--surface-hover); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall img { aspect-ratio: 4 / 3.4; }
.photo--small { margin-top: 32px; max-width: 520px; }
.photo--small img { aspect-ratio: 16 / 10; }
.split--photo { grid-template-columns: 1fr 1fr; }
.split .lead { color: var(--text-2); font-size: 1.1rem; margin-top: 16px; }
@media (max-width: 960px) { .photo--tall img { aspect-ratio: 16 / 10; } }

/* ---------- Calculation explainer ---------- */
.calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.calc-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.calc-card h3 { margin-top: 6px; }
.calc-card .num { font-size: 2rem; font-weight: 750; letter-spacing: -.03em; color: var(--accent); }
.calc-card p { color: var(--text-2); font-size: .95rem; margin-top: 6px; }
.weightbar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; margin: 16px 0 10px; background: var(--surface-hover); }
.weightbar span { display: block; height: 100%; }
.weightbar span + span { border-left: 2px solid #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Family (paid products) ---------- */
.family { position: relative; overflow: hidden; background: linear-gradient(180deg, #0b3a47 0%, #0a2b35 100%); color: #e6f6f9; }
.family::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 15% 0%, rgba(22, 197, 219, .25), transparent 70%), radial-gradient(40% 60% at 90% 100%, rgba(165, 225, 234, .14), transparent 70%); pointer-events: none; }
.family .section-head h2 { color: #fff; }
.family .section-head p { color: #b7dfe6; }
.family .eyebrow { color: var(--brand); }
.product-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-l);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .2s, background .2s, border-color .2s;
}
.product:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(165, 225, 234, .45); }
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.product-head img { width: 52px; height: 52px; border-radius: 12px; background: #fff; padding: 3px; }
.product-head strong { display: block; color: #fff; font-size: 1.12rem; }
.product-head small { color: #93cbd5; font-size: .85rem; }
.product h3 { color: #fff; font-size: 1.25rem; }
.product p { color: #c3e3e9; margin-top: 10px; font-size: .97rem; }
.product ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; font-size: .94rem; color: #e6f6f9; }
.product li { display: flex; gap: 10px; }
.product li svg { width: 18px; height: 18px; flex: none; color: #75e0a7; margin-top: 3px; }
.product .foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.product .tag { align-self: flex-start; font-size: .8rem; font-weight: 650; padding: 4px 10px; border-radius: 99px; background: rgba(117, 224, 167, .14); color: #a6f4c5; }
.product .btn { background: #fff; border-color: #fff; color: var(--accent-deep); }
.product .btn:hover { background: var(--accent-soft); color: var(--accent-deep); }
.family-note { position: relative; text-align: center; margin-top: 40px; color: #93cbd5; font-size: .95rem; }
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Download form ---------- */
.download { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.download-copy .checklist { margin-top: 24px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.platform { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; font-weight: 550; color: var(--text-2); }
.platform svg { width: 18px; height: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 7px; }
.field label .opt { color: var(--muted); font-weight: 450; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font: 450 1rem var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input::placeholder { color: var(--muted); }
.field input:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14, 116, 144, .14); }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(217, 45, 32, .1); }
.field .err { display: none; color: var(--danger); font-size: .85rem; margin-top: 6px; }
.field input[aria-invalid="true"] + .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-legal { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: none; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.alert.is-visible { display: flex; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert--error { background: var(--danger-soft); color: #912018; border: 1px solid #fecdca; }
.success { display: none; text-align: center; padding: 12px 4px; }
.success.is-visible { display: block; }
.success .ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.success .ico svg { width: 30px; height: 30px; }
.success p { color: var(--text-2); margin-top: 10px; }
.success .mail { display: inline-block; margin-top: 16px; padding: 8px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; word-break: break-all; }
@media (max-width: 960px) { .download { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 620; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); }
.faq .answer p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 28px; padding: clamp(36px, 6vw, 64px); text-align: center; background: linear-gradient(120deg, var(--accent) 0%, #0891b2 55%, var(--brand) 130%); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 80% at 90% 10%, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none; }
.cta-band--photo {
  background:
    linear-gradient(115deg, rgba(11, 58, 71, .94) 0%, rgba(14, 116, 144, .86) 55%, rgba(22, 197, 219, .55) 100%),
    url("/assets/img/photo-klassenzimmer.webp") center / cover no-repeat;
  padding-block: clamp(56px, 8vw, 96px);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7f3f7; margin: 14px auto 0; max-width: 560px; font-size: 1.1rem; }
.cta-band .btn { margin-top: 28px; background: #fff; border-color: #fff; color: var(--accent-deep); position: relative; z-index: 1; }
.cta-band .btn:hover { background: var(--accent-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--canvas); border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: .94rem; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer button.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--text-2); cursor: pointer; }
.site-footer button.linklike:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal .stand { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 44px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .box { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 16px 0; }
.legal .box p { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.legal th { color: var(--text); background: var(--canvas); font-weight: 600; }

/* ---------- Consent ---------- */
.consent {
  position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-l);
  padding: 20px 22px; font-size: .92rem; color: var(--text-2);
  transform: translateY(16px); opacity: 0; transition: transform .25s, opacity .25s;
}
.consent.is-visible { transform: none; opacity: 1; }
.consent h2 { font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.consent h2 svg { width: 18px; height: 18px; color: var(--accent); }
.consent .cats { display: grid; gap: 10px; margin: 14px 0 4px; }
.consent .cat { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.consent .cat input { margin-top: 3px; accent-color: var(--accent); }
.consent .cat b { color: var(--text); display: block; font-size: .92rem; }
.consent .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.consent .actions .btn { min-height: 40px; padding: 0 14px; font-size: .9rem; flex: 1 1 auto; }

/* ---------- Standalone pages (download / 404) ---------- */
.page-center { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: var(--canvas); }
.page-card { width: min(680px, 100%); }
.page-card .brand { margin-bottom: 28px; }
.dl-list { display: grid; gap: 12px; margin: 28px 0 8px; }
.dl-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.dl-item.is-recommended { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 116, 144, .12); }
.dl-item .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.dl-item .ico svg { width: 22px; height: 22px; }
.dl-item .meta { flex: 1; min-width: 0; }
.dl-item .meta strong { display: block; }
.dl-item .meta small { color: var(--muted); }
.dl-item .rec { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.dl-item .btn { min-height: 42px; }
@media (max-width: 560px) { .dl-item { flex-wrap: wrap; } .dl-item .btn { width: 100%; } }
.note { margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--warn-soft); border: 1px solid #fedf89; color: #93370d; font-size: .92rem; }
