/* =========================================================
   angelfischerpruefung.de – Zentrales Stylesheet
   Modernes, schnelles Design (keine externen Fonts/Frameworks)
   Farbwelt: Wasser-Teal + frisches Grün
   ========================================================= */

:root {
  --primary: #0e6b7a;
  --primary-dark: #0a4d58;
  --primary-light: #e6f4f6;
  --accent: #2ea86b;
  --accent-dark: #1f7d4e;
  --ink: #12232a;
  --body: #3a4a52;
  --muted: #6b7a82;
  --line: #e2e8ea;
  --bg: #ffffff;
  --bg-soft: #f5f9fa;
  --bg-softer: #eef4f5;
  --head-top: #d9eef1;
  --head-mid: #e6f5ec;
  --warn-bg: #fff8e6;
  --warn-line: #f0d78a;
  --ok-bg: #eafaf1;
  --ok-line: #b6e6cb;
  --shadow-sm: 0 1px 3px rgba(16, 40, 48, .08);
  --shadow-md: 0 6px 20px rgba(16, 40, 48, .10);
  --shadow-lg: 0 16px 44px rgba(16, 40, 48, .16);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 800; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-top: 1.4em; }
h3 { font-size: 1.28rem; margin-top: 1.3em; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1.1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin: .35em 0; }
strong { color: var(--ink); }
hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
small { font-size: .86rem; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }
section { padding: 0; }
.section-pad { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-softer { background: var(--bg-softer); }
.text-center { text-align: center; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); font-size: 1.04rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.brand small { display: block; font-weight: 600; color: var(--muted); font-size: .68rem; letter-spacing: .02em; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: .92rem; padding: 8px 10px; border-radius: 8px; display: block; white-space: nowrap; }
.main-nav a:hover { background: var(--primary-light); text-decoration: none; }
.has-dropdown { position: relative; }
.dropdown-toggle::after { content: "▾"; margin-left: 5px; font-size: .8em; color: var(--muted); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; min-width: 240px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
  list-style: none; margin: 0;
}
.dropdown.dropdown-wide { min-width: 460px; columns: 2; column-gap: 6px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { font-weight: 500; font-size: .92rem; padding: 8px 11px; }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 9px 15px !important;
  border-radius: 999px; font-weight: 700 !important; box-shadow: var(--shadow-sm);
}
.main-nav a.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; text-decoration: none !important; }

/* Menüpunkte zwischen Logo und Button zentrieren (nur Desktop-Navigation) */
@media (min-width: 1081px) {
  .main-nav { flex: 1 1 auto; }
  .main-nav > ul { flex: 1 1 auto; }
  .main-nav > ul > li:first-child { margin-left: auto; }
  .main-nav > ul > li:last-child { margin-left: auto; }
}

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, #12889a 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, #fff 0, transparent 45%), radial-gradient(circle at 85% 80%, #fff 0, transparent 40%);
}
.hero .container { position: relative; z-index: 1; padding-top: 68px; padding-bottom: 68px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lead { font-size: 1.22rem; color: #dff1f4; max-width: 60ch; margin-bottom: 1.6em; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: #9fe3d4; margin-bottom: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 700; font-size: 1rem; padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; transition: .16s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: #eef7f8; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-ghost { background: var(--primary-light); color: var(--primary-dark); }
.btn-ghost:hover { background: #d5ebee; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .86rem; color: rgba(255,255,255,.85); background: linear-gradient(90deg, var(--primary), var(--accent)); padding: 13px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #fff; opacity: .6; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li:last-child { color: rgba(255,255,255,.92); }

/* ---------- Page intro ---------- */
.page-head { background: linear-gradient(90deg, var(--primary), var(--accent)); border-bottom: 0; position: relative; overflow: hidden; }
.page-head .container { padding-top: 26px; padding-bottom: 44px; position: relative; z-index: 1; }
.page-head h1 { margin-top: 6px; color: #fff; }
.page-head .lead { font-size: 1.16rem; color: rgba(255,255,255,.92); max-width: 68ch; }
.page-head a { color: #fff; text-decoration: underline; }
/* Hero-Foto Startseite (rechts) */
.home-hero-photo {
  position: absolute;
  top: 64%;
  right: -24px;
  transform: translateY(-50%);
  width: 500px;
  height: 617px;
  object-fit: cover;
  border-radius: 18px;
  z-index: 1;
}
@media (min-width: 981px) { .hero .container { padding-right: 505px; } }
@media (max-width: 980px) { .home-hero-photo { display: none; } }

/* Hero-Foto rechts (z. B. Jugendfischereischein) */
.page-head--photo { min-height: 448px; }
.page-head--photo .container { padding-right: 300px; }
.hero-photo {
  position: absolute; top: 50%; right: 24px; transform: translateY(-50%);
  width: 260px; height: 400px; object-fit: cover; border-radius: 16px; z-index: 1;
}
@media (max-width: 900px) {
  .page-head--photo { min-height: 0; }
  .page-head--photo .container { padding-right: 20px; }
  .hero-photo { display: none; }
}

/* Autor-Byline im Hero */
.hero-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.hero-author-img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.hero-author-text { color: rgba(255,255,255,.92); font-size: .92rem; line-height: 1.45; }
.hero-author-text strong { color: #fff; font-weight: 800; display: block; }
.hero-author-role { display: block; }
/* Content startet einheitlich 42px unter dem Hero (Autorenbox ist jetzt im Hero) */
.page-head + section.section-pad { padding-top: 42px; }

/* Bundesland-Karte im Hero rechts oben */
.page-head--map .container { padding-right: 255px; }
.region-map { position: absolute; top: 50%; right: 20px; transform: translateY(-50%); height: 300px; width: auto; z-index: 1; }
.region-map .rm-state { fill: rgba(255,255,255,.15); stroke: rgba(255,255,255,.5); stroke-width: .8px; vector-effect: non-scaling-stroke; }
.region-map .rm-state.is-active { fill: #0e6b7a; stroke: #ffffff; stroke-width: 1.4px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.3)); }
@media (max-width: 900px) {
  .page-head--map .container { padding-right: 20px; }
  .region-map { display: none; }
}

/* ---------- Lesefortschritt-Balken ---------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .08s linear; }

/* ---------- Sticky Scroll-Spy-Inhaltsverzeichnis (Sidebar) ---------- */
.toc-spy { padding-bottom: 8px; }
.toc-spy ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc-spy li { margin: 0; }
.toc-spy li a {
  display: block; padding: 6px 0 6px 14px; margin-left: -2px;
  border-left: 2px solid transparent; color: var(--muted); font-size: .9rem;
  line-height: 1.3; text-decoration: none; transition: color .15s ease, border-color .15s ease;
}
.toc-spy li a:hover { color: var(--primary); }
.toc-spy li.is-active a { color: var(--accent-dark); font-weight: 700; border-left-color: var(--accent); }
@media (max-width: 960px) { .toc-spy { display: none; } }
/* Übrige Sidebar-Inhalte auf die Schriftgröße des Inhaltsverzeichnisses angleichen */
.sidebar .card p,
.sidebar .card ul li,
.sidebar .card ul li a { font-size: .9rem; line-height: 1.5; }

/* ---------- Autorenbox (E-E-A-T / Trust) ---------- */
.author-band { padding: 42px 0 0; }
.author-band:not(.author-band--home) + section.section-pad { padding-top: 42px; }
.author-box {
  display: flex; gap: 16px; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-sm);
  margin: 0 0 30px;
}
.author-photo {
  width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent);
}
.author-main { flex: 1; min-width: 0; }
.author-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.author-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 700; color: var(--muted); display: block; }
.author-name { font-size: 1.06rem; font-weight: 800; color: var(--ink); margin: 1px 0 0; line-height: 1.2; }
.author-role { color: var(--primary); font-weight: 700; font-size: .84rem; margin: 0 0 6px; }
.author-badge { flex: 0 0 auto; background: #dff3e8; color: var(--accent-dark); font-weight: 700; font-size: .74rem; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.author-bio { font-size: .9rem; margin: 0; color: var(--body); line-height: 1.55; }
@media (max-width: 600px) {
  .author-box { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .author-head { flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
  .author-photo { width: 56px; height: 56px; }
}

/* Startseite: Autorenzeile ohne Karte, in den Seitenfluss integriert */
.author-band--home { padding: 22px 0; border-bottom: 1px solid var(--line); }
.author-box--plain {
  background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0;
}
.author-box--plain .author-photo { box-shadow: 0 0 0 2px var(--bg-soft), 0 0 0 4px var(--accent); }

/* ---------- Interaktive Deutschlandkarte ---------- */
.de-map-wrap { display: flex; flex-direction: column; align-items: center; margin: 0 auto 34px; }
.de-map { width: 100%; max-width: 360px; height: auto; display: block; }
.de-map .de-state { cursor: pointer; outline: none; }
.de-map .de-state path {
  fill: #cfe6ea; stroke: #ffffff; stroke-width: 1.3;
  transition: fill .15s ease; vector-effect: non-scaling-stroke;
}
.de-map .de-state:hover path,
.de-map .de-state:focus-visible path { fill: var(--accent); }
.de-map .de-state:focus-visible path { stroke: var(--primary-dark); stroke-width: 2; }
.de-map-hint {
  font-weight: 700; color: var(--primary-dark); margin: 16px 0 0;
  min-height: 1.4em; text-align: center; font-size: 1.02rem;
}

/* ---------- Content typography ---------- */
.prose { font-size: 1.06rem; overflow-wrap: break-word; }
body { overflow-x: hidden; }
.prose h2 { padding-top: .2em; }
.prose h2::after {
  content: ""; display: block; width: 100%; height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); margin-top: 14px;
}
.prose ul li::marker { color: var(--accent); }
.prose a { text-decoration: underline; text-underline-offset: 2px; transition: color .14s ease; }
.prose a:hover { color: var(--accent-dark); text-decoration: underline; }
.sidebar a:not(.btn):hover { color: var(--accent-dark); text-decoration: underline; }

/* ---------- Cards / grids ---------- */
.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); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: .18s ease;
}
.card.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe3e6; }
.card h3 { margin-top: 0; }
.card .ico { font-size: 1.8rem; margin-bottom: 6px; display: block; }
.card p:last-child { margin-bottom: 0; }
a.card { color: inherit; }
a.card:hover { text-decoration: none; }

/* State grid */
.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.state-grid a {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font-weight: 600; color: var(--ink); display: flex;
  align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm);
}
.state-grid a:hover { text-decoration: none; border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.state-grid a::after { content: "→"; color: var(--muted); }

/* ---------- Callout boxes ---------- */
.box { border-radius: var(--radius); padding: 20px 22px; margin: 1.6em 0; border: 1px solid var(--line); background: var(--bg-soft); }
.box-info { background: var(--primary-light); border-color: #c5e3e7; }
.box-ok { background: var(--ok-bg); border-color: var(--ok-line); }
.box-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.box .box-title { font-weight: 800; color: var(--ink); display: block; margin-bottom: 4px; }
.box p:last-child { margin-bottom: 0; }

/* Fact list (Schnellüberblick) */
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts li:last-child { border-bottom: 0; }
.facts .fk { display: block; font-weight: 700; color: var(--ink); font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.facts .fv { display: block; color: var(--body); font-size: .9rem; line-height: 1.45; }

/* Schnellüberblick-Box im Content (unter dem Inhaltsverzeichnis) */
.facts-card { margin: 0 0 1.7em; }
.facts-card h3 { margin-top: 0; margin-bottom: 6px; }
.facts-card .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 32px; }
.facts-card .facts li { border-bottom: 1px solid var(--line); padding: 9px 0; }
.facts-card .facts .fv { font-size: .95rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
thead th { background: var(--primary-dark); color: #fff; font-size: .9rem; letter-spacing: .01em; border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--bg-soft); }
tbody tr:hover { background: var(--primary-light); }
td .yes { color: var(--accent-dark); font-weight: 700; }
td .no { color: #c0392b; font-weight: 700; }
/* Anbieter-Vergleichstabelle */
.compare-table { min-width: 560px; }
.compare-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); background: var(--bg-soft); }
.compare-table thead th, .compare-table thead .ct-corner { background: #fff; color: var(--ink); text-align: center; vertical-align: bottom; border-bottom: 2px solid var(--line); }
.compare-table td { text-align: center; vertical-align: middle; }
.compare-table .ct-logo { display: flex; align-items: center; justify-content: center; height: 40px; margin-bottom: 8px; }
.compare-table .ct-logo img { max-height: 40px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.compare-table .ct-name { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); }
.compare-table .ct-stars { display: block; color: #f4a300; font-size: .85rem; margin-top: 2px; }
.compare-table .ct-save { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.compare-table .ct-cta th, .compare-table .ct-cta td { border-bottom: 0; }
.compare-table .ct-cta .btn { width: 100%; }

/* ---------- Provider comparison ---------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.8em 0; }
.provider {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 22px; position: relative; display: flex; flex-direction: column;
}
.provider.is-top { border-color: var(--accent); box-shadow: var(--shadow-md); }
/* Anbieter-Logo oben in der Karte */
.p-logo { height: 48px; display: flex; align-items: center; justify-content: center; margin: 2px 0 14px; }
.p-logo-img { max-height: 48px; max-width: 80%; width: auto; height: auto; object-fit: contain; }
/* Markenname bleibt für Screenreader/SEO erhalten, visuell ersetzt durch das Logo */
.provider .p-name { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Link zum Erfahrungsbericht */
.p-review { align-self: center; margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.p-review:hover { color: var(--accent-dark); text-decoration: underline; }
.provider .p-sub { color: var(--ink); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.provider .p-rating { color: #f4a300; font-weight: 700; margin-bottom: 12px; font-size: .95rem; }
.provider ul.p-feat { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.provider ul.p-feat li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: .88rem; border-bottom: 1px solid var(--line); }
.provider ul.p-feat li:last-child { border-bottom: 0; }
.provider ul.p-feat .feat-k { color: var(--muted); }
.provider ul.p-feat .feat-v { font-weight: 600; text-align: right; }
/* Preise & Gutscheine */
.provider .p-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.p-old { text-decoration: line-through; color: var(--muted); font-weight: 600; font-size: 1rem; }
.p-new { color: var(--accent-dark); font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; }
.p-save { display: inline-block; align-self: flex-start; background: #dff3e8; color: var(--accent-dark); font-weight: 700; font-size: .8rem; padding: 3px 11px; border-radius: 999px; margin: 0 0 14px; }
.coupon { display: flex; align-items: stretch; margin-bottom: 16px; border: 1.5px dashed var(--accent); border-radius: 10px; overflow: hidden; background: #f3fbf6; }
.coupon-code { flex: 1; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 800; letter-spacing: .08em; color: var(--ink); padding: 10px 12px; font-size: 1rem; }
.coupon-copy { flex: 0 0 auto; border: 0; cursor: pointer; background: var(--accent); color: #fff; font-weight: 700; padding: 0 16px; font-size: .85rem; transition: background .15s ease; font-family: inherit; }
.coupon-copy:hover { background: var(--accent-dark); }
.coupon-copy.copied { background: var(--primary-dark); }
.coupon-copy--sm { border-radius: 8px; padding: 7px 13px; white-space: nowrap; }
.t-old { text-decoration: line-through; color: var(--muted); font-size: .9rem; margin-right: 4px; }
.t-new { color: var(--accent-dark); font-weight: 800; }

/* ---------- FAQ accordion ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400; flex: 0 0 auto; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { background: var(--bg-soft); }
.faq .faq-body { padding: 0 22px 20px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark)); color: #fff; border-radius: 18px; padding: 40px; text-align: center; margin: 2em 0; box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band h2::before { display: none; }
.cta-band p { color: #e3f3ef; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- TOC ---------- */
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 1.6em; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ul { columns: 2; column-gap: 30px; list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { font-size: .95rem; color: var(--primary); transition: color .14s ease; }
.toc a::before { content: counter(toc) ". "; font-weight: 800; color: var(--accent); }
.toc a:hover { color: var(--accent-dark); text-decoration: underline; }
/* Content-Inhaltsverzeichnis auf Desktop ausblenden (dort übernimmt das Sticky-TOC in der Sidebar);
   auf Mobil bleibt es sichtbar, da die Sidebar-Variante dort ausgeblendet ist. */
@media (min-width: 961px) { .layout .toc { display: none; } }

/* ---------- Layout with sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; align-items: start; }
.layout > * { min-width: 0; }
.sidebar { position: sticky; top: 88px; display: grid; gap: 20px; }
.sidebar .card { padding: 20px; }
.sidebar h3 { font-size: 1.05rem; margin-top: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; }
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--primary); display: block; }
.stat .lbl { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3d0d5; padding: 54px 0 26px; margin-top: 60px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 2fr 1.1fr 0.9fr; gap: 34px; }
.site-footer a { color: #c3d0d5; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .5em 0; }
.footer-states { columns: 2; column-gap: 24px; }
.footer-states li { break-inside: avoid; margin-top: 0; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand small { color: #8ea1a8; }
.footer-brand p { color: #9fb0b6; font-size: .92rem; }
.footer-bottom { border-top: 1px solid #2a3a41; margin-top: 34px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #8ea1a8; font-size: .86rem; }
.footer-bottom .disclaimer { max-width: 100%; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.lead { font-size: 1.14rem; color: var(--muted); }
.badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-weight: 700; font-size: .78rem; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em; }
.badge-accent { background: #dff3e8; color: var(--accent-dark); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  /* Auf Tablet & Mobile die Sidebar-Kästen (CTA "Anbieter vergleichen" &
     "Passende Themen") ausblenden; das Inline-Inhaltsverzeichnis im Artikel bleibt. */
  .sidebar { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .state-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .compare { grid-template-columns: 1fr; }
  .provider.is-top { order: -1; }
}
/* Navigation: rechtzeitig auf Mobil-Menü umstellen, damit die Desktop-Leiste
   nie umbricht oder abgeschnitten wird */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 12px 20px 20px; display: none; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 13px 6px; white-space: normal; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .dropdown.dropdown-wide { columns: 1; }
  .nav-cta { display: inline-block; margin-top: 10px; text-align: center; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .toc ul { columns: 1; }
  .cta-band { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts .fk { flex-basis: 46%; }
}
@media (max-width: 420px) {
  .state-grid { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { font-size: 12pt; }
}
