/* ═══════════════════════════════════════════════════
   EDV-Fix  –  Design System  –  Stand 2026-07-13
   Keine externen Abhängigkeiten, kein CDN, kein Tracking
═══════════════════════════════════════════════════ */

/* ── 1. Design Tokens ──────────────────────────── */
:root {
  /* Farben */
  --bg:      #07090d;
  --surface: #0d1520;
  --surface2:#111d2c;
  --surface3:#16243a;
  --border:  rgba(255,255,255,.10);
  --text:    #e6ecf6;
  --muted:   #8ca0b8;
  --accent:  #2ea8ff;
  --accent2: #6bd3ff;
  --green:   #3ecf8e;
  --red:     #f87171;
  --amber:   #f59e0b;
  --yellow:  #ffd84a;
  --violet:  #a78bfa;

  /* Größen & Radien */
  --r-sm:  10px;
  --r:     14px;
  --r-lg:  20px;
  --max:   1240px;

  /* Schatten & Glows */
  --shadow:  0 4px 20px rgba(0,0,0,.5);
  --shadow2: 0 12px 40px rgba(0,0,0,.55);
  --glow:    0 0 32px rgba(46,168,255,.14);
  --focus:   0 0 0 3px rgba(46,168,255,.35);
}

/* ── 2. Reset & Base ───────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0 }
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  background:
    radial-gradient(ellipse 1200px 600px at 15% -10%, rgba(46,168,255,.13) 0%, transparent 55%),
    radial-gradient(ellipse 900px 560px at 90% 10%,  rgba(167,139,250,.075) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 380px),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.32), transparent 62%);
}

img { max-width: 100%; height: auto; display: block }

a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(46,168,255,.5) }
a:hover { text-decoration-color: var(--accent) }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(107,211,255,.72);
  outline-offset: 3px;
}

p { margin-bottom: 1em }
p:last-child { margin-bottom: 0 }

h1,h2,h3,h4 {
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  margin-bottom: .6em;
  hyphens: auto;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.45rem); font-weight: 800 }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem) }
h3 { font-size: 1.1rem }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) }

ul, ol { padding-left: 1.4em }
li + li { margin-top: .35em }

strong { font-weight: 700 }
small  { color: var(--muted); font-size: .85em }
hr     { border: 0; border-top: 1px solid var(--border); margin: 1.5rem 0 }

/* ── 3. Layout ─────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px }

.section      { padding: 56px 0 }
.section-sm   { padding: 34px 0 }
.section-xs   { padding: 18px 0 }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr) }
  .grid-4 { grid-template-columns: repeat(2,1fr) }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr }
  .container { padding: 0 18px }
  .section { padding: 44px 0 }
  .section-sm { padding: 30px 0 }
  .section-xs { padding: 16px 0 }
  h1 { font-size: clamp(2rem, 10vw, 2.65rem) }
  h2 { font-size: 1.35rem }
  .lead { font-size: 1rem; line-height: 1.68 }
}

/* ── 4. Skip link ──────────────────────────────── */
.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 9999;
  background: var(--accent); color: #04121e; font-weight: 700;
  padding: 8px 14px; border-radius: var(--r-sm);
  transform: translateY(-200%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: none; outline: none; box-shadow: var(--focus) }

/* ── 5. Header ─────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,9,13,.82);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; padding: 8px 24px;
}
.brand {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: auto; height: auto; overflow: visible; flex: 0 0 auto;
  text-decoration: none;
}
.brand img {
  width: 72px; height: 72px; max-width: none;
  object-fit: contain;
  transform: none;
}
.brand-wording {
  display: grid;
  min-width: 240px;
  line-height: 1;
  text-align: center;
}
.brand-wording strong {
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(107,211,255,.72);
  background: linear-gradient(110deg, var(--accent2), var(--accent) 74%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.05rem;
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: .98;
}
.brand-wording span {
  padding-top: 5px;
  color: #b9d7ef;
  font-size: .68rem;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 2px }
.nav a {
  padding: 7px 10px; border-radius: var(--r-sm);
  text-decoration: none; color: var(--muted);
  font-size: .9rem; font-weight: 500;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.07) }
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(46,168,255,.13);
  outline: 1px solid rgba(46,168,255,.25);
}
.nav .nav-cta {
  margin-left: 7px;
  color: #03111d;
  background: linear-gradient(130deg, var(--accent), var(--accent2));
  border: 1px solid rgba(107,211,255,.48);
  font-weight: 750;
  box-shadow: 0 4px 16px rgba(46,168,255,.16);
}
.nav .nav-cta:hover { color: #03111d; background: linear-gradient(130deg, #49b5ff, #83dcff) }

.nav-toggle {
  display: none; cursor: pointer;
  background: transparent; border: 1px solid var(--border);
  color: var(--text); border-radius: var(--r-sm); padding: 9px 13px;
  transition: background .15s;
}
.nav-toggle:hover { background: rgba(255,255,255,.07) }
.nav-toggle:focus { outline: none; box-shadow: var(--focus) }
.nav-toggle .bars {
  display: inline-flex; flex-direction: column;
  justify-content: space-between;
  width: 17px; height: 11px; vertical-align: middle;
}
.nav-toggle .bars span {
  display: block; height: 2px;
  background: var(--text); border-radius: 2px;
}

@media (max-width: 1100px) {
  .brand { grid-template-columns: 64px minmax(0, 1fr); gap: 10px }
  .brand img { width: 64px; height: 64px }
  .brand-wording { min-width: 220px }
  .brand-wording strong { font-size: 1.82rem }
  .brand-wording span { font-size: .64rem; letter-spacing: .055em }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #07090d; border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 34px rgba(0,0,0,.48);
    flex-direction: column; align-items: stretch; gap: 3px;
    padding: 12px 20px 18px;
    max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .nav.open { display: flex }
  .nav a { padding: 12px; font-size: .95rem }
  .nav .nav-cta { margin-left: 0; margin-top: 4px; text-align: center }
}

@media (max-width: 480px) {
  .header-inner { gap: 10px; padding: 7px 18px }
  .brand { grid-template-columns: 54px minmax(0, 1fr); gap: 8px }
  .brand img { width: 54px; height: 54px }
  .brand-wording { min-width: 185px }
  .brand-wording strong { padding-bottom: 3px; font-size: 1.52rem }
  .brand-wording span { padding-top: 3px; font-size: .64rem; letter-spacing: .03em }
  .nav-toggle { gap: 0; padding: 10px; font-size: 0 }
}

@media (max-width: 350px) {
  .brand { grid-template-columns: 46px minmax(0, 1fr); gap: 7px }
  .brand img { width: 46px; height: 46px }
  .brand-wording { min-width: 166px }
  .brand-wording strong { font-size: 1.34rem }
  .brand-wording span { font-size: .64rem; letter-spacing: .015em }
}

/* ── 6. Hero ───────────────────────────────────── */
.hero { padding: 56px 0 40px }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
  gap: 40px; align-items: start;
}
.hero h1 { max-width: 18ch }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px }
  .hero { padding: 44px 0 32px }
  .hero h1 { max-width: 100% }
  .hero-grid > .card-hero {
    width: 100%;
    max-width: 900px;
    justify-self: center;
  }
}
@media (max-width: 480px) {
  .hero { padding: 32px 0 24px }
}

/* ── 7. Kicker / Eyebrow ───────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(46,168,255,.08);
  border: 1px solid rgba(46,168,255,.2);
  padding: 6px 13px; border-radius: 999px;
  color: var(--muted); font-size: .84rem; font-weight: 500;
  margin-bottom: 16px;
}
.kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,168,255,.18);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(46,168,255,.18) }
  50%      { box-shadow: 0 0 0 6px rgba(46,168,255,.06) }
}

/* ── 8. Typography helpers ─────────────────────── */
.lead {
  color: var(--muted); font-size: 1.06rem;
  line-height: 1.75; max-width: 65ch;
}
.eyebrow {
  color: var(--accent2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.text-gradient {
  background: linear-gradient(130deg, var(--accent2) 0%, var(--accent) 70%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 9. Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 20px; border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-family: inherit; font-size: .93rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background .15s, box-shadow .2s, transform .12s, border-color .15s;
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary {
  background: linear-gradient(130deg, #2ea8ff, #5cd1ff);
  color: #03111d; border-color: rgba(46,168,255,.45);
  box-shadow: 0 4px 18px rgba(46,168,255,.2);
}
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 6px 26px rgba(46,168,255,.35); transform: translateY(-1px) }
.btn-ghost  { background: rgba(255,255,255,.05); color: var(--text) }
.btn-ghost:hover  { background: rgba(255,255,255,.1); transform: translateY(-1px) }
.btn-sm { padding: 11px 18px; font-size: .86rem }
.btn:focus { outline: none; box-shadow: var(--focus) }
.btn:active { transform: translateY(0) !important; filter: none !important }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px }

@media (max-width: 520px) {
  .btn-row { gap: 9px }
  .btn-row .btn { width: 100%; white-space: normal }
  .badge-row .badge { width: 100%; justify-content: center }
}

/* ── 10. Badges ────────────────────────────────── */
.badge-row  { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(46,168,255,.08); border: 1px solid rgba(46,168,255,.18);
  color: var(--accent2); font-size: .82rem; font-weight: 600;
}

/* ── 11. Cards ─────────────────────────────────── */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(26px, 2.6vw, 36px);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  overflow-wrap: anywhere;
}
.card:hover {
  border-color: rgba(46,168,255,.22);
  box-shadow: var(--shadow), var(--glow);
  transform: translateY(-2px);
}
.card-pad { padding: clamp(26px, 2.6vw, 36px) }
.card-hero {
  border-color: rgba(46,168,255,.28);
  background: linear-gradient(155deg, rgba(46,168,255,.09) 0%, rgba(107,211,255,.04) 100%);
  padding: clamp(28px, 2.5vw, 32px);
}

.hero-summary {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
}
.hero-summary::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,168,255,.18), transparent 68%);
  pointer-events: none;
}
.hero-summary > * { position: relative; z-index: 1 }
.hero-summary h2 { margin-bottom: .45rem }
.hero-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin: 18px 0;
}
.mini-metric {
  padding: 16px 18px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(7,9,13,.38);
}
.mini-metric span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
}
.mini-metric strong {
  display: block;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.25;
}
.status-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  margin: 0;
}
.status-list li {
  padding: 0 0 0 24px;
  color: var(--muted);
  line-height: 1.55;
  position: relative;
}
.status-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(62,207,142,.12);
}
.hero-note {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.hero-note-label {
  color: var(--accent2);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Card Heading hierarchy fix – h2 inside card stays reasonable */
.card-pad h2 { font-size: 1.15rem; margin-bottom: .55em }
.card-pad h3 { font-size: 1rem;   margin-bottom: .5em  }

@media (max-width: 640px) {
  .card-pad { padding: 26px 24px }
  .hero-summary-grid { grid-template-columns: 1fr; margin: 18px 0 }
  .mini-metric,
  .hero-note { padding: 20px 22px }
  .status-list { gap: 12px }
}

/* ── 12. Icon Box ──────────────────────────────── */
.icon-box {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(46,168,255,.18), rgba(167,139,250,.10));
  border: 1px solid rgba(46,168,255,.22);
  color: var(--accent2);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── 13. Feature list ──────────────────────────── */
.feature-list { list-style: none; padding: 0; display: grid; gap: 9px }
.feature-list li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--muted); line-height: 1.5;
}
.feature-list li::before {
  content: "✓"; color: var(--green); font-weight: 700;
  flex-shrink: 0; width: 18px; margin-top: .05em;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.service-pill {
  min-height: 94px;
  padding: 26px 28px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.service-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(46,168,255,.30);
  background: rgba(46,168,255,.065);
}
.service-pill strong { display: block; margin-bottom: 4px }
.service-pill span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45 }

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,.025);
}
.split-panel > * { padding: 40px 44px }
.split-panel > * + * { border-left: 1px solid var(--border) }

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.proof-item {
  padding: 26px 28px;
  border: 1px solid rgba(62,207,142,.18);
  border-radius: var(--r);
  background: rgba(62,207,142,.045);
}
.proof-item strong { display: block; color: var(--text); margin-bottom: 4px }
.proof-item span { color: var(--muted); font-size: .86rem; line-height: 1.5 }

@media (max-width: 900px) {
  .service-strip { grid-template-columns: repeat(2,1fr) }
  .proof-grid { grid-template-columns: 1fr }
}
@media (max-width: 640px) {
  .service-strip { grid-template-columns: 1fr }
  .service-pill { padding: 24px 26px }
  .split-panel { grid-template-columns: 1fr }
  .split-panel > * + * { border-left: 0; border-top: 1px solid var(--border) }
  .split-panel > * { padding: 30px 28px }
}

/* ── 14. Steps / Process ───────────────────────── */
.steps { display: grid; gap: 0 }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: 0 }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(46,168,255,.1); border: 1px solid rgba(46,168,255,.25);
  color: var(--accent); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

/* ── 15. Stats strip ───────────────────────────── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
}
.stat-item {
  padding: 30px 28px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: 0 }
.stat-num  { font-size: clamp(1.8rem,2.4vw,2.3rem); font-weight: 800; color: var(--accent); display: block; line-height: 1.1 }
.stat-lbl  { font-size: .8rem; color: var(--muted); margin-top: 4px; display: block }

@media (max-width: 700px) {
  .stats-strip { grid-template-columns: repeat(2,1fr) }
  .stat-item { border-right: 1px solid var(--border) }
  .stat-item:nth-child(2n) { border-right: 0 }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--border) }
}
@media (max-width: 400px) {
  .stats-strip { grid-template-columns: 1fr }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--border) }
  .stat-item:last-child { border-bottom: 0 }
}

/* ── 16. Trust bar ─────────────────────────────── */
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 20px 32px;
  padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .87rem; font-weight: 500 }

/* ── 17. Section head (centered) ──────────────── */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px }
.section-head .kicker { justify-content: center }
.section-head .lead   { margin: 0 auto }

/* ── 18. Notes / Alerts ────────────────────────── */
.note {
  padding: 24px 28px; border-radius: var(--r);
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
  color: var(--muted);
}
.note-info  { background: rgba(46,168,255,.06);  border-color: rgba(46,168,255,.22) }
.note-ok    { background: rgba(62,207,142,.06);  border-color: rgba(62,207,142,.22) }
.note-warn  { background: rgba(245,158,11,.06);  border-color: rgba(245,158,11,.25) }

/* ── 19. CTA block ─────────────────────────────── */
.cta-block {
  background: linear-gradient(130deg, rgba(46,168,255,.10) 0%, rgba(107,211,255,.05) 100%);
  border: 1px solid rgba(46,168,255,.22); border-radius: var(--r-lg);
  padding: 54px 48px; text-align: center;
}
.cta-block .lead { margin: 0 auto }
@media (max-width: 640px) { .cta-block { padding: 30px 22px } }

/* ── 20. Page intro (inner pages) ─────────────── */
.page-intro { padding: 52px 0 40px }
.page-intro h1 { margin-bottom: .4em }

/* ── 21. Legal text ────────────────────────────── */
.legal {
  max-width: 860px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(13,21,32,.72);
  box-shadow: var(--shadow);
}
.hero-summary .status-list { gap: 10px }
.legal h2 {
  font-size: 1.05rem; margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border); color: var(--text);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0 }
.legal h3 { font-size: .95rem; margin-top: 1rem }
.legal p, .legal li { color: var(--muted); line-height: 1.75 }
.legal li + li { margin-top: .4em }

/* ── 22. Tables ────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; border-radius: var(--r); border: 1px solid var(--border); overflow: hidden }
.table th { background: rgba(255,255,255,.05); color: var(--text); font-size: .83rem; text-transform: uppercase; letter-spacing: .05em }
.table th, .table td { padding: 20px 24px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top }
.table td { color: var(--muted) }
.table tr:last-child td { border-bottom: 0 }

/* ── 23. Forms ─────────────────────────────────── */
.form { display: grid; gap: 14px }
.field { display: grid; gap: 6px }
label { font-weight: 600; font-size: .9rem; color: var(--text) }
input, select, textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,14,20,.65); color: var(--text);
  font-family: inherit; font-size: .93rem;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; box-shadow: var(--focus); border-color: rgba(46,168,255,.45);
}
.field input, .field select { min-height: 46px }
.field textarea { min-height: 180px; resize: vertical }
.help-text { color: var(--muted); font-size: .93rem; line-height: 1.65 }
.help-wide { grid-column: 1/-1; margin-top: -4px }
.req { color: var(--accent2) }
.form-error   { color: var(--red);   font-weight: 600 }
.form-success { color: var(--green); font-weight: 600 }
.form-privacy {
  padding: 16px 18px;
  border: 1px solid rgba(46,168,255,.2);
  border-radius: var(--r-sm);
  background: rgba(46,168,255,.055);
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.6;
}
.form [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(248,113,113,.14) }
.form .inline { display: flex; align-items: flex-start; gap: 10px; flex-wrap: nowrap }
.form .inline input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0 }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }

/* ── 24. Accordion ─────────────────────────────── */
details {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px 26px;
  transition: background .2s, border-color .2s;
}
details + details { margin-top: 10px }
summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
summary::-webkit-details-marker { display: none }
summary::after { content: "+"; color: var(--accent); font-size: 1rem; flex-shrink: 0 }
details[open] summary::after { content: "-" }
details[open] { background: rgba(46,168,255,.06); border-color: rgba(46,168,255,.22) }
summary:focus { outline: none; box-shadow: var(--focus); border-radius: 8px }
details > :not(summary) { margin-top: 12px }

/* ── 25. Footer ────────────────────────────────── */
.footer {
  background: rgba(0,0,0,.22);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr } }

.footer-col .footer-heading {
  color: var(--text); font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 14px;
}
.footer a { color: var(--muted); text-decoration: none; transition: color .15s }
.footer a:hover { color: var(--text) }
.footer-links { list-style: none; padding: 0; display: grid; gap: 8px }
.footer-links a { font-size: .87rem }
.footer-badge {
  margin-top: 20px; padding: 20px 22px;
  background: rgba(62,207,142,.07); border: 1px solid rgba(62,207,142,.18);
  border-radius: var(--r-sm); font-size: .8rem; line-height: 1.5;
}
.footer-bottom {
  margin-top: 40px; padding: 18px 0;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between;
  font-size: .8rem;
}
.footer-bottom a { color: var(--muted); text-decoration: none }
.footer-bottom a:hover { color: var(--text) }

/* Sachliche Partnerkennzeichnung ohne fremde Logo-/Bilddateien */
.partner-callout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--r);
  border: 1px solid rgba(255,216,74,.26);
  background: linear-gradient(135deg, rgba(255,216,74,.07), rgba(46,168,255,.06));
}
.partner-callout-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.partner-callout-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,216,74,.34);
  color: var(--yellow);
  background: rgba(255,216,74,.08);
  font-weight: 850; letter-spacing: .04em;
}
.partner-callout strong { display: block; margin: 0; color: var(--text) }
.partner-callout p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.52 }
@media (max-width: 520px) {
  .partner-callout {
    gap: 10px;
    padding: 17px 18px;
  }
  .partner-callout-head { grid-template-columns: 42px minmax(0, 1fr); gap: 12px }
  .partner-callout-mark { width: 42px; height: 42px; border-radius: 12px }
}

/* ── 26. Scroll reveal (JS progressive enhancement) */
/* Elements only get hidden AFTER JS marks the page via data-anim */
[data-anim] .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-anim] .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Legacy compatibility for older printable download templates */
.card.pad { padding: 30px 28px }
.cta-row, .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px }
.btn.primary { background: linear-gradient(130deg, #2ea8ff, #5cd1ff); color: #03111d; border-color: rgba(46,168,255,.45) }
.btn.ghost { background: rgba(255,255,255,.05); color: var(--text) }
.help, .small { color: var(--muted); font-size: .88rem }
.hr { border-top: 1px solid var(--border); margin: 1.5rem 0 }
.list { color: var(--muted) }
.notice {
  padding: 24px 28px;
  border-radius: var(--r);
  border: 1px solid rgba(46,168,255,.22);
  background: rgba(46,168,255,.06);
  color: var(--muted);
  margin: 14px 0;
}

body > header:not(.header) {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,9,13,.82);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
body > header:not(.header) .container.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand .title { display: none }
.menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.menu a {
  padding: 7px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
}
.menu a:hover { color: var(--text); background: rgba(255,255,255,.07) }
.burger { display: none }
body > footer:not(.footer) {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: rgba(0,0,0,.22);
  color: var(--muted);
}
body > footer:not(.footer) .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

@media (max-width: 1100px) {
  body > header:not(.header) .container.nav { align-items: flex-start; flex-direction: column }
  .menu { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); width: 100% }
  .menu a { padding: 9px 10px }
}

/* ═══════════════════════════════════════════════════
   28. Ruhige Mikrointeraktionen (2026-07-13)
═══════════════════════════════════════════════════ */

/* Header bekommt dezent Tiefe beim Scrollen */
.header { transition: background .25s ease, box-shadow .25s ease }
.header.scrolled {
  background: rgba(7,9,13,.93);
  box-shadow: 0 10px 34px rgba(0,0,0,.42);
}

/* Ruhiger, statischer Gradient-Text */
.text-gradient {
  background: linear-gradient(110deg, var(--accent2) 0%, var(--accent) 72%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gestaffelte Hero-Einblendung (ohne JS sichtbar dank @media) */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero .kicker,
  .hero .lead,
  .hero .btn-row,
  .hero .badge-row,
  .hero .hero-summary {
    animation: heroIn .7s cubic-bezier(.22,.61,.36,1) backwards;
  }
  .hero .kicker      { animation-delay: .02s }
  .hero h1           { animation-delay: .10s }
  .hero .lead        { animation-delay: .20s }
  .hero .btn-row     { animation-delay: .30s }
  .hero .badge-row   { animation-delay: .38s }
  .hero .hero-summary{ animation-delay: .30s }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px) }
  to   { opacity: 1; transform: none }
}

/* Service-Pills: Pfeil-Indikator beim Hover */
.service-pill { position: relative }
.service-pill strong::after {
  content: " →"; color: var(--accent);
  opacity: 0; margin-left: 2px;
  transition: opacity .2s ease, margin-left .2s ease;
}
.service-pill:hover strong::after { opacity: 1; margin-left: 6px }

/* Stat-Zahlen mit Gradient-Akzent */
.stat-num {
  background: linear-gradient(130deg, var(--accent2), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Icon-Box reagiert dezent beim Card-Hover */
.card:hover .icon-box {
  border-color: rgba(46,168,255,.45);
  box-shadow: 0 0 16px rgba(46,168,255,.14);
}

/* ── 27. Print ─────────────────────────────────── */
@media print {
  body { background: #fff; color: #000 }
  .header, .footer, .nav-toggle { display: none !important }
  .card { border: 1px solid #ccc; background: #fff; box-shadow: none }
  .btn { display: none }
  a { color: #000; text-decoration: none }
  p, li, td, th, .help, .small, .help-text, .muted, .note, .legal-content {
    color: #000 !important;
  }
}
