/* =========================================================
   Deutsche Akademie für Digitalisierung — Designsystem
   Kategorie-Anmutung: deutsche Verwaltungssoftware
   Navy + Weiß, Teal-CTA, dezenter Gold-Akzent (Garantie)
   ========================================================= */

/* Lokale Inter-Schrift (DSGVO-konform, keine externen Aufrufe) */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/inter-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/inter-latin-500-normal.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/inter-latin-600-normal.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/inter-latin-700-normal.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/inter-latin-800-normal.woff2") format("woff2");}

:root {
  /* Farben */
  --navy:        #0a2540;
  --navy-2:      #103a63;
  --navy-soft:   #1b4a78;
  --blue:        #0066cc;
  --teal:        #0e7c7b;
  --teal-dark:   #0a605f;
  --gold:        #c19a2e;
  --gold-soft:   #f3ecd6;

  --bg:          #ffffff;
  --bg-alt:      #f4f7fa;
  --bg-navy:     #0a2540;
  --border:      #e2e8f0;
  --border-2:    #cfd9e4;

  --text:        #1f2d3d;
  --text-muted:  #5a6b7b;
  --text-invert: #eaf2fb;
  --text-invert-muted: #a9c0d8;

  /* Typografie */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --container-narrow: 820px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10,37,64,.08), 0 1px 2px rgba(10,37,64,.06);
  --shadow:    0 6px 24px rgba(10,37,64,.10);
  --shadow-lg: 0 18px 50px rgba(10,37,64,.16);

  --space-sec: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; color: var(--navy); font-weight: 800; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: .35rem 0; }
strong { color: var(--navy); font-weight: 700; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--container-narrow); }
.section { padding: var(--space-sec) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--bg-navy); color: var(--text-invert); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: var(--text-invert-muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .9rem;
}
.section--navy .eyebrow { color: #5ec8c6; }
.lead { font-size: 1.18rem; color: var(--text-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  font-family: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
  padding: 15px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-dark); color:#fff; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--navy); }
.section--navy .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--navy .btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 18px 38px; font-size: 1.08rem; }
.btn-arrow::after { content: "→"; font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
}
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text small { font-weight: 500; font-size: .68rem; color: var(--text-muted); letter-spacing: .04em; }
.nav-spacer { display: none; }
.nav-links { display: flex; flex: 1 1 auto; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 600; font-size: .96rem; line-height: 1; display: inline-flex; align-items: center; }
.nav-links .has-dropdown { order: 2; margin-left: auto; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }

/* Dropdown (Themen) */
.has-dropdown { position: relative; }
.dropdown-toggle { background: none; border: 0; font: inherit; font-size: .96rem; line-height: 1; font-weight: 600; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.dropdown-toggle::after { content: "▾"; font-size: .8em; color: var(--text-muted); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(620px, 86vw); background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: .16s ease; z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 11px 13px; border-radius: 8px; color: var(--navy); }
.dropdown a:hover { background: var(--bg-alt); text-decoration: none; }
.dropdown a span { display: block; font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.dropdown a strong { font-size: .98rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: 84px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(14,124,123,.10), transparent 60%),
    radial-gradient(760px 460px at 8% 110%, rgba(16,58,99,.08), transparent 55%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .55em; }
.hero .lead { font-size: 1.2rem; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-micro { margin-top: 16px; font-size: .92rem; color: var(--text-muted); display:flex; align-items:center; gap:.5rem; }
.hero-micro::before { content:"✓"; color: var(--teal); font-weight: 800; }
.hl { background: linear-gradient(180deg, transparent 62%, rgba(193,154,46,.32) 62%); padding: 0 .05em; }

/* Hero stat card */
.statcard {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 34px 32px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.statcard::after { content:""; position:absolute; right:-40px; top:-40px; width:160px; height:160px; border-radius:50%; background: rgba(14,124,123,.25); }
.statcard .big { font-size: 4.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; }
.statcard .big small { font-size: 1.6rem; vertical-align: super; }
.statcard p { color: var(--text-invert-muted); margin: 14px 0 0; position: relative; z-index:1; }
.statcard .src { font-size: .78rem; color: var(--text-invert-muted); margin-top: 18px; }
.statcard .src a { color: #8fd3d1; }

/* ---------- Logos / trust strip ---------- */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-muted); font-weight: 600; font-size: .92rem; }
.trust-item svg { flex: none; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 11px; background: var(--gold-soft); color: var(--gold); display:grid; place-items:center; margin-bottom: 16px; font-size: 1.4rem; }
.card.teal .ico { background: #e2f1f1; color: var(--teal); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-muted); margin: 0; font-size: .98rem; }

/* number-step cards */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color:#fff;
  display:grid; place-items:center; font-weight:800; font-size:1.15rem; margin-bottom: 16px;
}
.section--navy .step .num { background: var(--teal); }

/* ---------- Stats row ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); column-gap: 24px; row-gap: 36px; text-align: center; }
.stat .val { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 12px; }
.section--navy .stat .val { color: #fff; }
.stat .lbl { color: var(--text-muted); font-size: .95rem; line-height: 1.35; margin-top: 0; }
.section--navy .stat .lbl { color: var(--text-invert-muted); }
.stat .src { font-size: .72rem; color: var(--text-muted); line-height: 1.3; margin-top: 10px; }
.section--navy .stat .src { color: #7f9bb8; }

/* ---------- Compare (PowerHaus gap) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .col { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--border); background: #fff; }
.compare .col.have { background: var(--bg-alt); }
.compare .col.gap { background: linear-gradient(180deg, #fff, #fffdf6); border-color: var(--gold); box-shadow: 0 8px 30px rgba(193,154,46,.12); }
.compare h3 { display:flex; align-items:center; gap:.6rem; }
.compare ul { list-style: none; padding: 0; margin: 14px 0 0; }
.compare li { padding-left: 30px; position: relative; color: var(--text); }
.compare .have li::before { content:"✓"; position:absolute; left:0; color: var(--teal); font-weight:800; }
.compare .gap li::before  { content:"✗"; position:absolute; left:0; color: var(--gold); font-weight:800; }
.tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border-radius:999px; }
.tag-soft { background: var(--bg-alt); color: var(--text-muted); }
.tag-gap  { background: var(--gold-soft); color: #8a6d16; }

/* ---------- Guarantee block ---------- */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color:#fff; border-radius: var(--radius-lg); padding: 40px; }
.guarantee .seal {
  flex:none; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  width: 168px; min-height: 168px; padding: 24px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #fbf6e4, var(--gold-soft)); color: var(--navy);
  border: 1px solid rgba(193,154,46,.45);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.6);
  font-weight: 800; font-size: 1.5rem; line-height: 1.12; letter-spacing: -.01em;
}
.guarantee .seal small {
  display:block; margin-top: 12px; padding-top: 11px; width: 100%;
  border-top: 1px solid rgba(193,154,46,.35);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--gold);
}
.guarantee h2 { color:#fff; }
.guarantee p { color: var(--text-invert-muted); margin-bottom:0; }

/* ---------- Calculator ---------- */
.calc { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.calc-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items:center; }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; font-size:.92rem; margin-bottom:6px; color: var(--navy); }
.field input[type="range"] { width:100%; accent-color: var(--teal); }
.field .rowv { display:flex; justify-content:space-between; align-items:baseline; }
.field .rowv b { font-size:1.15rem; color: var(--navy); }
.calc-out { background: var(--navy); color:#fff; border-radius: var(--radius); padding: 26px; text-align:center; }
.calc-out .res { font-size: 2.8rem; font-weight:800; line-height:1; letter-spacing:-.02em; }
.calc-out .res-sub { color: var(--text-invert-muted); margin-top:8px; font-size:.95rem; }
.calc-out .divider { height:1px; background: rgba(255,255,255,.15); margin:18px 0; }
.calc-note { font-size:.82rem; color: var(--text-muted); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 36px 16px 4px; position: relative; list-style: none; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; position:absolute; right:8px; top:14px; font-size:1.4rem; color: var(--teal); font-weight:600; transition:.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 16px; color: var(--text-muted); margin:0; }

/* ---------- People ---------- */
.people { display:grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.person { display:flex; gap:20px; align-items:flex-start; background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.person .avatar { width:64px; height:64px; border-radius:50%; flex:none; overflow:hidden; background: linear-gradient(135deg, var(--navy), var(--teal)); color:#fff; display:grid; place-items:center; font-weight:800; font-size:1.3rem; }
.person .avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.person h3 { margin:0 0 2px; }
.person .role { color: var(--teal); font-weight:700; font-size:.9rem; margin-bottom:8px; }
.person p { color: var(--text-muted); font-size:.95rem; margin:0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color:#fff; text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0 auto 26px; }
.cta-band .btn-primary { background:#fff; color: var(--teal-dark); }
.cta-band .btn-primary:hover { background: #f0fffe; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--text-invert-muted); padding: 56px 0 28px; font-size: .94rem; }
.footer a { color: var(--text-invert-muted); }
.footer a:hover { color:#fff; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer h4 { color:#fff; font-size: .98rem; margin-bottom: 14px; }
.footer ul { list-style:none; padding:0; margin:0; }
.footer .brand { color:#fff; margin-bottom: 12px; }
.footer .brand .brand-text small { color: var(--text-invert-muted); }
.footer-bottom { padding-top: 22px; display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; font-size:.85rem; }
.footnote { font-size:.82rem; color: var(--text-muted); }
.section--navy .footnote, .footer .footnote { color: #84a0bd; }

/* ---------- Breadcrumb (subpages) ---------- */
.breadcrumb { font-size:.88rem; color: var(--text-muted); padding-top: 22px; }
.breadcrumb a { color: var(--text-muted); }
.subhero { background: var(--bg-alt); padding: 30px 0 56px; border-bottom:1px solid var(--border); }
.subhero h1 { max-width: 20ch; }
.subhero .lead { max-width: 60ch; }
.prose h2 { margin-top: 1.8em; }
.prose ul li { color: var(--text); }
.pill-row { display:flex; flex-wrap:wrap; gap:10px; margin-top: 18px; }
.pill { background:#fff; border:1px solid var(--border); border-radius:999px; padding:7px 15px; font-size:.85rem; color: var(--text-muted); font-weight:600; }

/* ---------- Utilities ---------- */
.callout { border-left: 4px solid var(--teal); background: var(--bg-alt); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.callout.gold { border-color: var(--gold); background: #fffdf6; }
.sr-only { position:absolute; width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --space-sec: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .lead { max-width: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .compare, .calc-grid, .people, .footer-grid { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align:center; justify-items:center; }
  .stats-row { grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 40px; }
  .nav-links { position: fixed; inset: 70px 0 auto 0; background:#fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0; border-bottom:1px solid var(--border); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links .has-dropdown { order: 0; margin-left: 0; }
  .nav-links > li > a, .nav-links .dropdown-toggle { display:block; padding: 14px 24px; width:100%; text-align:left; }
  .has-dropdown .dropdown { position: static; transform: none; opacity:1; visibility:visible; box-shadow:none; border:0;
    grid-template-columns: 1fr; width: 100%; padding: 0 12px 10px; }
  .has-dropdown:not(.open) .dropdown { display:none; }
  .nav-toggle { display: block; }
  .nav .btn { display:none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 36px; }
  .statcard .big { font-size: 3.6rem; }
  .section { padding: 52px 0; }
}

/* ============ Politur & Interaktivität ============ */

/* Scroll-Einblendung — nur aktiv, wenn JS läuft (ohne JS bleibt alles sichtbar) */
.js .reveal { opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* FAQ — Inhalt sanft einblenden beim Aufklappen */
.faq details[open] > *:not(summary) { animation: faqReveal .26s ease both; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Themen-Karten (verlinkt): kompakt, interaktiv, klare Affordanz */
a.card { position: relative; border-top: 3px solid transparent;
  color: inherit; text-decoration: none; overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover, a.card:focus-visible { text-decoration: none; }
/* Kartentext erbt dunkle Textfarbe, niemals Link-Blau oder Unterstreichung */
a.card h3, a.card p, a.card .ico { text-decoration: none; }
a.card h3 { color: var(--navy); margin-bottom: .3rem; font-size: 1.12rem;
  overflow-wrap: break-word; word-break: break-word; hyphens: auto; transition: color .15s ease; }
a.card p { color: var(--text-muted); margin-bottom: 0; }
a.card .ico { margin-bottom: 12px; transition: transform .2s ease; }
a.card::after { content: "Mehr erfahren →"; display: block; margin-top: 12px;
  font-size: .82rem; font-weight: 700; color: var(--teal); text-decoration: none;
  opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
a.card:hover { border-top-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
a.card:hover h3 { color: var(--teal); }
a.card:hover p { color: var(--text-muted); }
a.card:hover::after { opacity: 1; transform: none; }
a.card:hover .ico { transform: scale(1.06); }
/* Tastatur-Fokus: gleicher dezenter Akzent wie beim Hover */
a.card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px;
  border-top-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
a.card:focus-visible h3 { color: var(--teal); }
a.card:focus-visible::after { opacity: 1; transform: none; }
a.card:focus-visible .ico { transform: scale(1.06); }

/* Personen-Karten: Schwerpunkt-Pills etwas Luft geben */
.person .pill-row { margin-top: 14px; }
.person .pill { font-size: .8rem; }

/* ---------- Header-CTA „Standortbestimmung" sanft ein-/ausblenden ----------
   Der CTA im Sticky-Header tritt gediegen zurück, sobald ein In-Content-CTA
   sichtbar ist, und kehrt sanft zurück, sobald keiner mehr im Viewport steht. */
.site-header .nav a.btn-primary {
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.site-header.cta-tucked .nav a.btn-primary {
  opacity: 0;
  transform: translateY(-8px) scale(.96);
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .site-header.cta-tucked .nav a.btn-primary { transform: none; }
}

/* ---------- Quellen (aufklappbar) ----------
   Wiederverwendbare Komponente, die die schlichte Titel-Liste ablöst.
   Markup: <details class="sources"><summary>Quellen</summary>
             <ul class="sources-list"><li><a href="…" target="_blank" rel="noopener">…</a></li></ul>
           </details> */
.sources {
  margin: 28px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  overflow: hidden;
}
.sources > summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 14px 44px 14px 18px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  color: var(--navy);
  user-select: none;
  transition: background .18s ease, color .18s ease;
}
.sources > summary::-webkit-details-marker { display: none; }
.sources > summary:hover { background: rgba(10,37,64,.04); color: var(--teal); }
.sources > summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}
/* Indikator: ▸ (zu) klappt beim Öffnen zu ▾ (auf) */
.sources > summary::after {
  content: "▸";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  line-height: 1;
  color: var(--teal);
  transition: color .18s ease;
}
.sources[open] > summary { color: var(--navy); }
.sources[open] > summary::after { content: "▾"; }

/* Linkliste — erscheint beim Aufklappen */
.sources-list {
  list-style: none;
  margin: 0;
  padding: 4px 18px 16px;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  line-height: 1.5;
}
.sources-list li {
  padding: 7px 0;
  color: var(--text-muted);
}
.sources-list li + li { border-top: 1px solid rgba(226,232,240,.7); }
.sources-list a {
  color: var(--blue);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .15s ease;
}
.sources-list a:hover,
.sources-list a:focus-visible { color: var(--teal); text-decoration: underline; }

/* Inhalt sanft einblenden beim Aufklappen */
.sources[open] > .sources-list { animation: sourcesReveal .24s ease both; }
@keyframes sourcesReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .sources > summary::after { transition: none; }
  .sources[open] > .sources-list { animation: none; }
}
