/* ============================================================
   FlugErstattung – Design System
   Premium, vertrauenswürdig, hell/dunkel, responsiv.
   ============================================================ */

:root {
  /* Farben – Light */
  --bg: #f4f7fb;
  --bg-soft: #eef2f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f1b2d;
  --text-2: #334155;
  --muted: #64748b;
  --border: #e4e9f2;
  --border-strong: #cdd6e6;

  --brand: #1d4ed8;
  --brand-2: #3b82f6;
  --brand-dark: #1638a8;
  --brand-tint: #eaf1ff;

  --accent: #0e9f6e;     /* Geld/Erfolg */
  --accent-dark: #067a53;
  --accent-tint: #e6f7f0;

  --warn: #b45309;
  --warn-tint: #fff4e5;

  --navy: #0b1b33;       /* dunkler Hero-Grund */
  --navy-2: #12294a;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .08);
  --shadow: 0 10px 30px rgba(15, 27, 45, .10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, .16);
  --ring: 0 0 0 4px rgba(59, 130, 246, .25);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --maxw: 1120px;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1120;
    --bg-soft: #0d1526;
    --surface: #111a2e;
    --surface-2: #0d1526;
    --text: #eef3fb;
    --text-2: #c3cee0;
    --muted: #93a1b8;
    --border: #22304a;
    --border-strong: #33425f;

    --brand: #5b8cff;
    --brand-2: #7aa5ff;
    --brand-dark: #83a9ff;
    --brand-tint: #16233f;

    --accent: #34d399;
    --accent-dark: #6ee7b7;
    --accent-tint: #10261d;

    --warn: #fbbf24;
    --warn-tint: #2a2110;

    --navy: #060d1a;
    --navy-2: #0b1728;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 10px 30px rgba(0,0,0,.45);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
p { color: var(--text-2); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.narrow { max-width: 680px; }
.center.narrow { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius-full);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(29,78,216,.35); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(14,159,110,.35); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--lg { padding: 17px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo .logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(29,78,216,.35);
}
.logo span { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: var(--radius-full); color: var(--text-2); font-weight: 600; font-size: .96rem; }
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.country-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin: 20px 0; box-shadow: var(--shadow-sm);
}
.country-box h3 { margin: 0 0 10px; font-size: 1.05rem; }
.country-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.country-box dt { font-weight: 700; color: var(--text); font-size: .9rem; }
.country-box dd { margin: 0; color: var(--text-2); font-size: .93rem; }
@media (max-width: 520px) { .country-box dl { grid-template-columns: 1fr; gap: 2px 0; } .country-box dd { margin-bottom: 8px; } }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 22px 20px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(59,130,246,.25), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(14,159,110,.18), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #eaf1ff;
  padding: 72px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: #dbe7ff; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin: 0 0 16px; }
.hero h1 .grad { background: linear-gradient(90deg, #7dd3fc, #6ee7b7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #c5d5f0; font-size: 1.18rem; margin: 0 0 26px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: #b9c9e6; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: #6ee7b7; }

/* ---------- Wizard card ---------- */
.wizard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px;
}
.wizard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.wizard-head h2 { font-size: 1.25rem; margin: 0; }
.wizard-step-count { font-size: .82rem; color: var(--muted); font-weight: 600; }
.progress { height: 7px; background: var(--bg-soft); border-radius: var(--radius-full); overflow: hidden; margin: 14px 0 22px; }
.progress-bar { height: 100%; width: 33%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: inherit; transition: width .35s cubic-bezier(.4,0,.2,1); }

.step { display: none; animation: fade .3s ease; }
.step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none; } }
.step h3 { font-size: 1.15rem; margin: 0 0 4px; }
.step .sub { color: var(--muted); margin: 0 0 18px; font-size: .96rem; }

.field { margin-bottom: 18px; position: relative; }
.field > label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .95rem; color: var(--text); }
.input, select.input {
  width: 100%; padding: 14px 16px; font-size: 1rem; font-family: var(--font-body);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text); transition: border .15s, box-shadow .15s;
}
.input:focus, select.input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* Autocomplete */
.ac-list {
  list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; left: 0; right: 0; z-index: 30;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); max-height: 280px; overflow-y: auto;
}
.ac-item { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.ac-item:hover, .ac-item.active { background: var(--brand-tint); }
.ac-item .iata { font-weight: 800; color: var(--brand); font-size: .9rem; min-width: 34px; }
.ac-country { color: var(--muted); font-size: .82rem; margin-left: auto; }

/* Option cards (selectable) */
.options { display: grid; gap: 12px; }
.options.cols2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .options.cols2 { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt label {
  display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; cursor: pointer;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius); background: var(--surface-2);
  transition: border .15s, background .15s, box-shadow .15s;
}
.opt label .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); flex-shrink: 0; }
.opt label .ico svg { width: 22px; height: 22px; }
.opt label .t { font-weight: 700; font-family: var(--font-head); }
.opt label .d { font-size: .86rem; color: var(--muted); display: block; }
.opt input:checked + label { border-color: var(--brand); background: var(--brand-tint); box-shadow: var(--ring); }
.opt input:focus-visible + label { box-shadow: var(--ring); }

.wizard-nav { display: flex; gap: 12px; margin-top: 22px; }
.wizard-nav .btn { flex: 1; }
.wizard-nav .btn--back { flex: 0 0 auto; }

/* Result */
.result { margin-top: 4px; }
.result-hero { text-align: center; padding: 8px 0 6px; }
.result-badge { display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 800; color: var(--muted); }
.result-amount { font-family: var(--font-head); font-weight: 800; font-size: 3rem; letter-spacing: -.03em; margin: 6px 0 2px; line-height: 1; }
.result-amount.ok { color: var(--accent); }
.result-amount.muted { color: var(--muted); font-size: 1.8rem; }
.result-sub { color: var(--muted); margin: 0 0 8px; }
.result-meta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: var(--radius-full);
  background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--text-2); }
.reasons { margin: 14px 0; padding: 14px 16px; background: var(--warn-tint); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
  border-radius: var(--radius-sm); font-size: .9rem; color: var(--text-2); }
.reasons ul { margin: 6px 0 0; padding-left: 18px; }
.disclaimer { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.result .btn--restart { background: none; border: none; color: var(--muted); font-weight: 600; cursor: pointer; margin-top: 12px; font-family: var(--font-body); }
.result .btn--restart:hover { color: var(--brand); }

/* ---------- Sections ---------- */
section.block { padding: 76px 0; }
section.block.tight { padding: 52px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker { color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 8px 0 12px; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.bg-soft { background: var(--bg-soft); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--brand); letter-spacing: -.02em; }
.stat .lbl { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* Steps / how it works */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico-lg { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand-tint), color-mix(in srgb, var(--accent-tint) 70%, transparent)); color: var(--brand); }
.card .ico-lg svg { width: 26px; height: 26px; }
.card .stepnum { font-family: var(--font-head); font-weight: 800; color: var(--brand); font-size: .8rem; letter-spacing: .06em; }
.card h3 { margin: 6px 0 8px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Amount table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.amt-table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 460px; }
.amt-table th, .amt-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.amt-table thead th { background: var(--surface-2); font-family: var(--font-head); font-size: .92rem; }
.amt-table tbody tr:last-child td { border-bottom: none; }
.amt-table td:last-child { font-family: var(--font-head); font-weight: 800; color: var(--accent); white-space: nowrap; }

/* Testimonials */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }
.tcard p { font-size: 1rem; color: var(--text-2); margin: 12px 0 16px; }
.tmeta { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.tmeta .who { font-weight: 700; font-family: var(--font-head); font-size: .95rem; }
.tmeta .sub { color: var(--muted); font-size: .82rem; }

/* Article grid */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .agrid { grid-template-columns: 1fr; } }
.acard { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; color: inherit; }
.acard:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.acard .tag { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--brand); background: var(--brand-tint); padding: 4px 10px; border-radius: var(--radius-full); }
.acard h3 { margin: 12px 0 8px; font-size: 1.12rem; }
.acard p { margin: 0; color: var(--muted); font-size: .93rem; }
.acard .more { color: var(--brand); font-weight: 700; font-size: .9rem; margin-top: 12px; display: inline-block; }

/* Hub link chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: var(--radius-full);
  background: var(--surface); border: 1px solid var(--border-strong); font-weight: 600; font-size: .92rem; color: var(--text-2); box-shadow: var(--shadow-sm); }
.chip-link:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; transform: translateY(-2px); transition: transform .15s; }
.subhead { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin: 26px 0 12px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
details.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; font-size: 1.3rem; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); margin: 0 0 18px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 48px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px); background-size: 20px 20px; opacity: .5; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 10px; }
.cta-band p { color: #dbe7ff; margin: 0 0 22px; font-size: 1.08rem; }
.cta-band .btn--accent { background: #fff; color: var(--brand); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.cta-band .btn--accent:hover { background: #f0f5ff; }

/* Article body */
.article { max-width: 760px; margin: 0 auto; }
.article .breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.article .lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.article h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.article h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.article p, .article li { color: var(--text-2); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 6px 0; }
.callout { background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; }
.callout strong { color: var(--brand); }
.mustertext { background: var(--surface-2); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 22px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9rem; white-space: pre-wrap; color: var(--text-2); }

/* Footer */
.site-footer { background: var(--navy); color: #b9c9e6; padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo span { color: #7dd3fc; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.site-footer a { display: block; color: #9fb2d4; padding: 5px 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer .fdesc { color: #93a6c9; font-size: .92rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: #7e91b4; }
.footer-bottom .legal { margin-top: 8px; }

/* Utilities */
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.hide { display: none !important; }
