/* pilotentest-vorbereitung.com — DLR-Vorbereitung */

/* Schrift bewusst selbst gehostet — kein Abruf von Google-Servern, damit beim
   Seitenaufruf keine IP-Adresse an Dritte übertragen wird. */
@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f7fb;
  --ink: #0a1626;
  --muted: #5a6b83;
  --card: #ffffff;
  --line: #e2e8f2;
  --brand: #0b57d0;
  --brand-dark: #073a8c;
  --brand-soft: #e8f0ff;
  --sky: #0ea5e9;
  --accent: #f59e0b;
  --green: #16a34a;
  --red: #dc2626;
  --dark: #071223;
  --radius: 18px;
  --grad: linear-gradient(120deg, #073a8c, #0b57d0 50%, #0ea5e9);
  --shadow: 0 18px 40px -22px rgba(7, 18, 35, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--brand); }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

section { padding: 84px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  font-weight: 800;
}

.lead { color: var(--muted); font-size: 1.06rem; max-width: 62ch; margin: 0 0 34px; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .97rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(11, 87, 208, .8); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .24); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* ---------- Header ---------- */

header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; color: var(--ink); font-size: .95rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
}
.logo-tld { opacity: .55; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 10px 20px; font-size: .9rem; }

@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */

.hero {
  background: var(--dark);
  color: #fff;
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(14, 165, 233, .28), transparent 62%),
    radial-gradient(700px 400px at 88% 22%, rgba(11, 87, 208, .34), transparent 60%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero h1 .grad-text { background: linear-gradient(100deg, #7dd3fc, #38bdf8 50%, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #b8c8de; font-size: 1.1rem; max-width: 54ch; margin: 0 0 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #dbeafe;
  padding: 7px 16px; border-radius: 999px;
  font-size: .84rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: .87rem; color: #8ba3c0; }

.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.2; }
.hero-stats div span { font-size: .84rem; color: #8ba3c0; }

@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin: 0 0 10px; font-size: 1.12rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.card-link { text-decoration: none; color: inherit; display: block; transition: transform .16s, box-shadow .2s, border-color .2s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d8f0; }

/* ---------- Stufen ---------- */

.stufe {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.stufe::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.stufe h3 { margin: 0 0 6px; font-size: 1.3rem; }
.stufe .stufe-sub { color: var(--brand); font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.stufe ul { margin: 18px 0 0; padding: 0; list-style: none; }
.stufe li { padding: 8px 0 8px 28px; position: relative; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); }
.stufe li:first-child { border-top: none; }
.stufe li::before {
  content: "";
  position: absolute; left: 4px; top: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky);
}

/* ---------- Steps ---------- */

.steps-band { background: var(--dark); color: #fff; }
.steps-band .lead { color: #a9bdd6; }
.step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px; }
.step .num {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad);
  display: grid; place-items: center;
  font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; color: #fff; }
.step p { margin: 0; color: #a9bdd6; font-size: .93rem; }

/* ---------- Preis ---------- */

.price-card {
  background: #fff;
  border: 2px solid var(--brand);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}
.price-tag { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 4px; }
.price-tag strong { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; }
.price-tag span { color: var(--muted); font-size: .95rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.price-list { list-style: none; margin: 26px 0; padding: 0; }
.price-list li { padding: 10px 0 10px 32px; position: relative; border-top: 1px solid var(--line); font-size: .96rem; }
.price-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 10px;
  color: var(--green); font-weight: 800;
}

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 8px; top: 17px;
  font-size: 1.5rem; font-weight: 400; color: var(--brand);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 22px; color: var(--muted); max-width: 78ch; }

/* ---------- CTA ---------- */

.cta-band { background: var(--grad); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 14px; letter-spacing: -.02em; }
.cta-band p { color: rgba(255, 255, 255, .84); max-width: 56ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */

footer {
  background: var(--dark);
  color: #8ba3c0;
  padding: 56px 0 34px;
  font-size: .9rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
footer a { color: #8ba3c0; text-decoration: none; display: block; padding: 4px 0; }
footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Bilder ---------- */

.illu {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 22px 0 10px;
  box-shadow: var(--shadow);
}

/* ---------- Ehrlichkeitskasten ---------- */

.honest {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.honest h3 { margin: 0 0 10px; font-size: 1.1rem; letter-spacing: -.01em; }
.honest p { margin: 0 0 12px; color: var(--muted); font-size: .95rem; max-width: 80ch; }
.honest p:last-child { margin-bottom: 0; }

/* ---------- Rechtsseiten ---------- */

.legal { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.03em; margin: 0 0 10px; font-weight: 800; }
.legal .stand { color: var(--muted); font-size: .9rem; margin: 0 0 34px; }
.legal h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 40px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 700; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: .96rem; }
.legal ul, .legal ol { padding-left: 22px; margin: 10px 0; }
.legal li { margin-bottom: 7px; }
.legal strong { color: var(--ink); }

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 10px;
}
.legal-card p { margin: 0 0 4px; }
.legal-card p:last-child { margin-bottom: 0; }

.legal-form {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 16px 0;
  font-size: .93rem;
  color: var(--muted);
}
.legal-form p { margin: 0 0 10px; }

.legal-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 44px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.legal-nav a { text-decoration: none; font-weight: 600; }

/* Sichtbarer Platzhalter-Hinweis — vor dem Livegang entfernen */
.todo {
  background: #fef2f2;
  border: 2px dashed #fca5a5;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 34px;
  color: #7f1d1d;
  font-size: .92rem;
}
.todo strong { color: #7f1d1d; }
.todo ul { margin: 10px 0 0; padding-left: 20px; }
.todo li { color: #991b1b; margin-bottom: 5px; }

/* ---------- Hinweisbox ---------- */

.notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: .92rem;
  color: #78350f;
}
.notice strong { color: #78350f; }
