/* fernstudien.de - Modernes Magazin- & Vergleichsportal
 * Typografie (lokal, OFL):
 *   - Barlow Semi Condensed (Display-Headlines, Wortmarke, Kennzahlen)
 *   - Newsreader (Leads, Magazin-Teaser - sparsam, nicht innerhalb von Sans-Headlines)
 *   - Asap (Fliesstext, Navigation, Formulare, Tabellen mit tabular-nums)
 * Farbsystem ("Schiefer & Sand"):
 *   - Weiss #FFFFFF / Papier #F8F9F8 / Nebel #ECEFED
 *   - Schiefer #294850 / Tiefband #1B2A2F / Footer #131E22
 *   - Gegenakzent Eiche/Ton #A86D4A / Sand #E6CFC0 (sparsam)
 */

/* --- Barlow Semi Condensed (OFL) --- */
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/barlowsc-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/barlowsc-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/barlowsc-600-latin-ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/barlowsc-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/barlowsc-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/barlowsc-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Asap Variable (OFL) --- */
@font-face {
  font-family: "Asap";
  src: url("fonts/asap-400-700-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Asap";
  src: url("fonts/asap-400-700-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Newsreader Variable (OFL) - nur Leads & Magazin-Teaser --- */
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-400-500-latin-ext.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-400-500-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Farbprofil: "Schiefer & Sand" (ruhig, analog, auf beide Tageslicht-Fotos abgestimmt) */
  --bg: #FFFFFF;
  --canvas: #F8F9F8;
  --mist: #ECEFED;
  --mist-line: #CDD4D1;

  --ink: #182124;
  --ink-2: #323D41;
  --muted: #505E62;

  --line: #CFD6D5;
  --line-soft: #E5E9E8;
  --line-strong: #929FA2;
  --select-line: #C2CCCA;

  --petrol: #294850;
  --petrol-hover: #1D353B;
  --petrol-tint: #E6ECEE;
  --anchor-bg: #F1F4F3;
  --anchor-hover: #E9EEEC;

  --deep: #1B2A2F;
  --deep-panel: #23363C;
  --deep-line: #364D54;
  --deep-line-strong: #4F6B74;
  --deep-ink: #D5DFE1;
  --deep-muted: #A9B8BC;
  --deep-track: #2D434A;
  --deep-hagen: #7FAAB2;
  --footer-bg: #131E22;
  --footer-line: #26383E;
  --footer-tld: #99BAC0;

  --copper: #A86D4A;
  --copper-ink: #8D5535;
  --copper-tint: #F7F0EA;
  --copper-line: #E0CBB9;
  --apricot: #E6CFC0;

  --zfu-ink: #8D5535;
  --zfu-tint: #F7F0EA;
  --zfu-line: #E0CBB9;

  --chart-state: #294850;
  --chart-state-2: #466B74;
  --chart-priv: #627176;
  --chart-zfu: #A86D4A;
  --dur-bg: #DCE2E1;

  --ok: #256046;

  --font-display: "Barlow Semi Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Asap", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-editorial: "Newsreader", Georgia, serif;

  --max-w: 1240px;
  --r: 3px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--petrol-hover);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: #FFFFFF;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  z-index: 900;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.2vw, 2.5rem);
}

.num {
  font-variant-numeric: tabular-nums;
}

section[id], div[id], tr[id] {
  scroll-margin-top: 5rem;
}

/* ===== Preview-Streifen (nur noindex-Vorschau) ===== */
.preview-bar {
  background: var(--footer-bg);
  color: var(--deep-ink);
  font-size: 0.74rem;
  line-height: 1.35;
}

.preview-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding-block: 0.36rem;
}

.preview-bar strong {
  color: var(--apricot);
  font-weight: 600;
}

/* ===== Header (64px, ruhig, 5 klare Eintraege) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 64px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand:hover { color: var(--ink); }

.brand__dot {
  color: var(--copper);
  font-weight: 700;
}

.brand__tld {
  color: var(--petrol);
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.45rem 0.78rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--r);
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.nav-item:hover {
  color: var(--ink);
  background: var(--mist);
}

.nav-item[aria-current="page"] {
  color: var(--petrol);
  font-weight: 600;
}

.nav-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.78rem;
  right: 0.78rem;
  bottom: 0.16rem;
  height: 2px;
  background: var(--copper);
}

/* Desktop Dropdown */
.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop__caret { font-size: 0.68rem; color: var(--muted); }
.nav-drop[open] .nav-drop__caret { transform: rotate(180deg); display: inline-block; }

.nav-drop__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 274px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 14px 36px rgba(18, 22, 26, 0.12);
  padding: 0.5rem;
  z-index: 300;
}

.nav-drop__group {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.48rem 0.65rem 0.18rem;
}

.nav-drop__menu a {
  display: block;
  padding: 0.44rem 0.65rem;
  font-size: 0.89rem;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--r);
}

.nav-drop__menu a:hover,
.nav-drop__menu a[aria-current="page"] {
  background: var(--mist);
  color: var(--petrol);
  font-weight: 600;
}

.nav-drop__sep {
  height: 1px;
  background: var(--line-soft);
  margin: 0.35rem 0.25rem;
}

/* Mobile Header */
.mobile-controls {
  display: none;
  align-items: center;
  gap: 0.45rem;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.76rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
}

.menu-btn[aria-expanded="true"] {
  background: var(--deep);
  border-color: var(--deep);
  color: #FFFFFF;
}

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-block: 0.7rem 1rem;
}

.mobile-drawer__list {
  display: grid;
  gap: 0.1rem;
}

.mobile-drawer__group {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.7rem 0.45rem 0.2rem;
}

.mobile-drawer a {
  display: block;
  padding: 0.54rem 0.45rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r);
}

.mobile-drawer a:hover,
.mobile-drawer a[aria-current="page"] {
  background: var(--mist);
  color: var(--petrol);
  font-weight: 600;
}

@media (max-width: 820px) {
  .header-row { height: 56px; }
  .desktop-nav { display: none; }
  .mobile-controls { display: inline-flex; }
}

/* ===== Typografie-Hierarchie (starke Groessenspannung!) ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.2rem, 4.55vw, 4.05rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}

h3 {
  font-size: clamp(1.28rem, 1.7vw, 1.56rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

p {
  margin-top: 0;
  margin-bottom: 0.95rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--copper-ink);
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
}

.eyebrow--petrol { color: var(--petrol); }
.eyebrow--light { color: var(--apricot); }

.editorial-lead {
  font-family: var(--font-editorial);
  font-optical-sizing: auto;
  font-size: clamp(1.14rem, 1.65vw, 1.36rem);
  font-weight: 400;
  line-height: 1.48;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 1.8rem;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--petrol); text-decoration: underline; }

@media (max-width: 500px) {
  h1, h2, h3 { hyphens: auto; }
}

/* ===== Buttons (scharf, max 3px Radius, keine Schatten) ===== */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.64rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.btn--primary {
  background: var(--petrol);
  color: #FFFFFF;
  border-color: var(--petrol);
}

.btn--primary:hover {
  background: var(--petrol-hover);
  border-color: var(--petrol-hover);
  color: #FFFFFF;
}

.btn--light {
  background: #FFFFFF;
  color: var(--deep);
  border-color: #FFFFFF;
}

.btn--light:hover {
  background: var(--apricot);
  border-color: var(--apricot);
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--petrol);
  color: var(--petrol);
  background: var(--mist);
}

.btn--sm {
  padding: 0.42rem 0.78rem;
  font-size: 0.82rem;
}

.btn--link {
  background: transparent;
  border: none;
  color: var(--petrol);
  padding: 0.18rem 0;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--link:hover { color: var(--petrol-hover); }

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--petrol);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.text-arrow:hover {
  color: var(--petrol-hover);
  border-bottom-color: var(--copper);
}

/* ===== BAND 1: Magazin-Hero (7 / 5 Raster, luftig, kein Info-Overload) ===== */
.hero {
  background: var(--canvas);
  padding-block: clamp(2.4rem, 5vw, 4.4rem) clamp(2.8rem, 5.5vw, 4.8rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4.7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.95rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.4;
}

.hero-meta__rule {
  width: 22px;
  height: 2px;
  margin-top: 0.62em;
  background: var(--copper);
  display: inline-block;
  flex-shrink: 0;
}

/* Satz-Formular ("Ich suche [Bachelor] im Bereich [Wirtschaft] ->") */
.sentence-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 2px solid var(--petrol);
  border-radius: var(--r);
  padding: 1.05rem 1.2rem;
  max-width: 610px;
}

.sentence-form__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.55rem;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.5;
}

.inline-select {
  appearance: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--petrol);
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23323D41' stroke-width='1.7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.62rem center;
  border: 1px solid var(--select-line);
  border-radius: var(--r);
  padding: 0.4rem 1.95rem 0.4rem 0.68rem;
  cursor: pointer;
  max-width: 100%;
}

.inline-select:hover {
  border-color: var(--petrol);
}

.sentence-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
}

.hero-sublinks {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-sublinks a {
  color: var(--ink-2);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.hero-sublinks a:hover {
  color: var(--petrol);
  border-bottom-color: var(--petrol);
}

.hero-figure {
  margin: 0;
}

.hero-figure__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--mist);
}

.hero-figure__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}

.hero-figure__cap {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.65rem;
  padding-left: 0.7rem;
  border-left: 2px solid var(--copper);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-figure__img {
    aspect-ratio: 4 / 3;
    object-position: center 24%;
  }
  .sentence-form { max-width: none; }
}

@media (max-width: 500px) {
  .hero { padding-block: 1.6rem 2.2rem; }
  .hero h1 { font-size: 2.15rem; }
  .sentence-form__foot .btn { width: 100%; }
}

/* ===== Generelle Baender (grosszuegiger Agentur-Rhythmus) ===== */
.band {
  padding-block: clamp(3.3rem, 6.4vw, 5.6rem);
}

.band--white { background: var(--bg); }
.band--canvas { background: var(--canvas); }
.band--mist { background: var(--mist); }
.band--deep { background: var(--deep); color: var(--deep-ink); }

.band--rule {
  border-top: 1px solid var(--line-soft);
}

.band-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem 2rem;
  margin-bottom: clamp(1.8rem, 3.2vw, 2.7rem);
}

.band-head__intro {
  max-width: 58ch;
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

/* ===== Unterseiten-Kopf (Nebelpetrol, magazin-artig) ===== */
.sub-hero {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 4vw, 3.2rem);
}

.sub-hero h1 {
  font-size: clamp(2.05rem, 3.8vw, 3.15rem);
  line-height: 1.04;
  margin-bottom: 0.75rem;
}

.sub-hero__lead {
  font-family: var(--font-editorial);
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0;
}

/* ===== BAND 2: Drei Bildungswege (offene Spalten, Haarlinien, KEINE Karten!) ===== */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--mist-line);
}

.path-col {
  padding: 1.8rem 2rem 0.4rem 0;
  display: flex;
  flex-direction: column;
}

.path-col + .path-col {
  border-left: 1px solid var(--mist-line);
  padding-left: 2rem;
}

.path-col:last-child {
  padding-right: 0;
}

.path-col__type {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 0.5rem;
}

.path-col__type--copper {
  color: var(--zfu-ink);
}

.path-col__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.35rem;
}

.path-col__sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.05rem;
}

.path-col__copy {
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.58;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

@media (max-width: 860px) {
  .paths-grid { grid-template-columns: 1fr; }
  .path-col,
  .path-col + .path-col {
    border-left: none;
    border-bottom: 1px solid var(--mist-line);
    padding: 1.45rem 0;
  }
  .path-col:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ===== BAND 3: Magazin-Strecke (8 / 4 asymmetrisch) ===== */
.mag-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.lead-story {
  text-decoration: none;
  color: inherit;
  display: block;
}

.lead-story__media {
  overflow: hidden;
  border-radius: var(--r);
  background: var(--mist);
  margin-bottom: 1.25rem;
}

.lead-story__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.lead-story:hover .lead-story__img {
  transform: scale(1.02);
}

.lead-story__meta {
  font-size: 0.81rem;
  color: var(--copper-ink);
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: block;
}

.lead-story h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.08;
  margin-bottom: 0.65rem;
  transition: color 0.14s ease;
}

.lead-story:hover h3 {
  color: var(--petrol);
}

.story-lead {
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  line-height: 1.52;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 0.8rem;
}

.side-stories {
  border-top: 2px solid var(--ink);
}

.side-story {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.side-story__meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.38rem;
}

.side-story__tag {
  color: var(--petrol);
  font-weight: 600;
}

.side-story__title {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  line-height: 1.16;
  color: var(--ink);
  display: block;
  margin-bottom: 0.38rem;
}

.side-story:hover .side-story__title {
  color: var(--petrol);
}

.side-story__excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.52;
  margin: 0;
}

@media (max-width: 900px) {
  .mag-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ===== BAND 4: Anbieter-Vergleich (luftig, nur horizontale Haarlinien!) ===== */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-bottom: 1.1rem;
  margin-bottom: 0.35rem;
  border-bottom: 2px solid var(--ink);
}

.filter-bar__primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
}

.seg-group {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  max-width: 100%;
}

.seg-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.48rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  border-right: 1px solid var(--line);
}

.seg-btn:last-child { border-right: none; }
.seg-btn:hover { background: var(--mist); color: var(--ink); }
.seg-btn[aria-pressed="true"] {
  background: var(--deep);
  color: #FFFFFF;
  font-weight: 600;
}

.ctl-select,
.field-input,
.field-select {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 0.47rem 0.7rem;
  line-height: 1.3;
}

.filter-bar__secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.3rem;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  white-space: nowrap;
}

.inline-check input {
  accent-color: var(--petrol);
  width: 0.98rem;
  height: 0.98rem;
  margin: 0;
}

.filter-more-btn {
  display: none;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--petrol);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 0.42rem 0.68rem;
  cursor: pointer;
}

.filter-reset { margin-left: auto; font-size: 0.82rem; }

.status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.3rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding-block: 0.6rem;
}

.status-strip strong { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  .seg-group { width: 100%; }
  .seg-btn { flex: 1 1 0; padding: 0.44rem 0.3rem; font-size: 0.79rem; text-align: center; }
  .filter-bar__field { flex: 1 1 150px; min-width: 0; }
  .filter-bar__sort { display: none; }
  .filter-more-btn { display: inline-flex; }
  .filter-bar__secondary[data-collapsed="true"] { display: none; }
  .filter-bar__sort-mobile { display: flex; width: 100%; align-items: center; gap: 0.5rem; }
}

@media (min-width: 721px) {
  .filter-bar__sort { margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: var(--muted); }
  .filter-bar__sort-mobile { display: none; }
}

/* Luftige Tabelle OHNE Aussenkaefig, NUR horizontale Haarlinien */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
}

.cmp-table thead th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.cmp-table thead th:first-child,
.cmp-table tr.p-row td:first-child { padding-left: 0.45rem; }

.cmp-table thead th:last-child,
.cmp-table tr.p-row td:last-child { padding-right: 0.45rem; }

.cmp-table th.is-right,
.cmp-table td.is-right { text-align: right; }

.cmp-table tr.p-row td {
  padding: 1.05rem 0.65rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 0.91rem;
  transition: background 0.12s ease;
}

.cmp-table tr.p-row:hover td {
  background: var(--anchor-bg);
}

.cmp-table tr.p-row--anchor td {
  background: var(--anchor-bg);
}

.cmp-table tr.p-row--anchor:hover td {
  background: var(--anchor-hover);
}

.prov-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.prov-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.prov-badge--state { background: var(--deep); color: #FFFFFF; }
.prov-badge--priv { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.prov-badge--zfu { background: var(--zfu-tint); color: var(--zfu-ink); border: 1px solid var(--zfu-line); }

.prov-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.15;
  color: var(--ink);
  display: block;
}

.prov-meta {
  font-size: 0.79rem;
  color: var(--muted);
  display: block;
  margin-top: 0.14rem;
}

.state-pill {
  display: inline-block;
  background: var(--copper-tint);
  color: var(--copper-ink);
  border: 1px solid var(--copper-line);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.04rem 0.36rem;
  border-radius: 2px;
  margin-left: 0.25rem;
  vertical-align: middle;
  line-height: 1.35;
}

.prog-title {
  font-weight: 500;
  color: var(--ink);
  display: block;
  line-height: 1.28;
}

.prog-sub {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
  margin-top: 0.12rem;
}

.prog-sub--zfu { color: var(--zfu-ink); font-weight: 500; }

.dur-text {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: block;
  white-space: nowrap;
}

.dur-track {
  display: block;
  width: 78px;
  height: 4px;
  background: var(--dur-bg);
  border-radius: 1px;
  overflow: hidden;
  margin: 0.28rem 0 0.22rem;
}

.dur-track > i { display: block; height: 100%; background: var(--chart-priv); }
.dur-track--state > i { background: var(--chart-state); }
.dur-track--zfu > i { background: var(--chart-zfu); }

.fee-ok { color: var(--muted); font-weight: 500; font-size: 0.81rem; display: block; white-space: nowrap; }
.fee-warn { color: var(--copper-ink); font-weight: 600; font-size: 0.81rem; display: block; white-space: nowrap; }

.price-total {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: block;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.cmp-table .btn--outline {
  border-color: var(--line);
  color: var(--ink-2);
}

.cmp-table .cmp-toggle {
  border-color: var(--line);
}

.price-rate {
  font-size: 0.79rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: block;
  margin-top: 0.12rem;
}

.act-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.34rem;
}

.act-top {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

/* Vergleichs-Toggle */
.cmp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.36rem 0.56rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--bg);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  min-height: 2rem;
}

.cmp-toggle:hover { border-color: var(--petrol); color: var(--petrol); }
.cmp-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.cmp-toggle__box {
  width: 0.92rem;
  height: 0.92rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  color: transparent;
  flex-shrink: 0;
}

.cmp-toggle[data-active="true"] {
  border-color: var(--petrol);
  background: var(--petrol-tint);
  color: var(--petrol);
  font-weight: 600;
}
.cmp-toggle[data-active="true"] .cmp-toggle__box { background: var(--petrol); border-color: var(--petrol); color: #FFFFFF; }

.cmp-toggle[data-slot="2"] { border-color: var(--copper-ink); background: var(--copper-tint); color: var(--copper-ink); }
.cmp-toggle[data-slot="2"] .cmp-toggle__box { background: var(--copper); border-color: var(--copper); }

.cmp-toggle[data-slot="3"] { border-color: var(--deep); background: var(--mist); color: var(--deep); }
.cmp-toggle[data-slot="3"] .cmp-toggle__box { background: var(--deep); border-color: var(--deep); }

/* Detailzeile */
.p-drawer td {
  background: var(--bg);
  border-bottom: 1px solid var(--line-strong);
  padding: 1.25rem 1rem 1.35rem;
}

.drawer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1.2rem 2rem;
  font-size: 0.88rem;
}

.drawer-grid h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.must-know {
  background: var(--copper-tint);
  border-left: 2px solid var(--copper);
  padding: 0.6rem 0.85rem;
  font-size: 0.84rem;
  margin-top: 0.65rem;
  color: var(--ink);
}

.fact-dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.34rem 0.9rem;
  font-size: 0.85rem;
}

.fact-dl dt { color: var(--muted); white-space: nowrap; }
.fact-dl dd { margin: 0; color: var(--ink); font-weight: 500; }

.drawer-foot {
  margin-top: 0.95rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.show-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 1.35rem;
}

.empty-state {
  padding: 1.6rem 1.25rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 1120px) and (min-width: 861px) {
  .cmp-table { table-layout: fixed; }
  .cmp-table thead th,
  .cmp-table tr.p-row td { padding: 0.8rem 0.4rem; font-size: 0.82rem; }
  .prov-badge { width: 30px; height: 30px; font-size: 0.8rem; }
  .price-total { white-space: normal; font-size: 1rem; }
  .dur-track { width: 58px; }
  .fee-ok, .fee-warn { white-space: normal; }
  .act-top { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 860px) {
  .cmp-table thead { display: none; }
  .cmp-table, .cmp-table tbody { display: block; width: 100%; }
  .cmp-table tr.p-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.42rem 0.75rem;
    padding: 1.1rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .cmp-table tr.p-row--anchor {
    background: var(--anchor-bg);
    padding-inline: 0.75rem;
  }
  .cmp-table tr.p-row td {
    display: block;
    padding: 0 !important;
    border: none;
    background: transparent !important;
    text-align: left !important;
  }
  .cmp-table tr.p-row td.col-prov { grid-column: 1 / -1; }
  .cmp-table tr.p-row td.col-prog { grid-column: 1 / -1; }
  .cmp-table tr.p-row td.col-dur { grid-column: 1 / 2; }
  .dur-track { display: none; }
  .cmp-table tr.p-row td.col-fee { grid-column: 2 / 3; text-align: right !important; }
  .cmp-table tr.p-row td.col-price {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.15rem 0.7rem;
    padding-top: 0.45rem !important;
    border-top: 1px solid var(--line-soft);
  }
  .cmp-table tr.p-row td.col-act { grid-column: 1 / -1; padding-top: 0.3rem !important; }
  .act-stack { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  .act-top { order: 2; }
  .p-detail-btn { order: 1; }
  .cmp-table tr.p-drawer, .cmp-table tr.p-drawer td { display: block; width: 100%; }
  .drawer-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 360px) {
  .act-stack { flex-wrap: wrap; }
  .cmp-toggle { font-size: 0.74rem; padding: 0.3rem 0.42rem; }
  .btn--sm { padding: 0.36rem 0.56rem; font-size: 0.77rem; }
}

/* ===== BAND 5: Live-Kostencheck auf Tiefband (#1B2A2F) ===== */
.deep-calc {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5.5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.band--deep h2 {
  color: #FFFFFF;
}

.deep-lead {
  color: var(--deep-ink);
  max-width: 48ch;
  margin-bottom: 1.6rem;
  font-size: 0.98rem;
}

.deep-field {
  margin-bottom: 1.15rem;
}

.deep-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 600;
  color: #F2F4F4;
  margin-bottom: 0.38rem;
}

.deep-label strong {
  color: var(--apricot);
  font-variant-numeric: tabular-nums;
}

.deep-select {
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: #FFFFFF;
  background: var(--deep-panel);
  border: 1px solid var(--deep-line);
  border-radius: var(--r);
  padding: 0.62rem 0.8rem;
}

.deep-select option,
.deep-select optgroup {
  background: var(--deep);
  color: #FFFFFF;
}

.deep-range {
  width: 100%;
  accent-color: var(--apricot);
  cursor: pointer;
}

.deep-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.86rem;
  color: var(--deep-ink);
  margin-top: 0.4rem;
}

.deep-checks input {
  accent-color: var(--apricot);
}

.deep-readout {
  background: var(--deep-panel);
  border: 1px solid var(--deep-line);
  border-top: 3px solid var(--copper);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3.2vw, 2.35rem);
}

.deep-readout__kicker {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--apricot);
  display: block;
}

.deep-readout__num {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 6vw, 4.9rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  margin-block: 0.35rem 0.55rem;
}

.deep-readout__sub {
  font-size: 0.9rem;
  color: var(--deep-ink);
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--deep-line);
}

.deep-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.25rem;
  margin: 0 0 1.45rem;
}

.deep-metrics dt {
  font-size: 0.76rem;
  color: var(--deep-muted);
}

.deep-metrics dd {
  margin: 0.1rem 0 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.deep-note {
  font-size: 0.76rem;
  color: var(--deep-muted);
  margin: 0.9rem 0 0;
  line-height: 1.45;
}

@media (max-width: 880px) {
  .deep-calc { grid-template-columns: 1fr; }
}

/* ===== BAND 6: Fachindex & Getrenntes Diagramm (5 / 7 Raster) ===== */
.index-split {
  display: grid;
  grid-template-columns: minmax(0, 4.8fr) minmax(0, 7.2fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.link-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.link-list li {
  border-bottom: 1px solid var(--line);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 0.15s ease;
}

.link-list a:hover {
  padding-left: 0.4rem;
}

.link-list a:hover .link-list__title {
  color: var(--petrol);
}

.link-list__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  line-height: 1.15;
  display: block;
}

.link-list__sub {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-top: 0.16rem;
}

.link-list__meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--copper-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.chart-wrap {
  margin: 0;
  background: var(--canvas);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: clamp(1rem, 2.2vw, 1.45rem) clamp(0.85rem, 2vw, 1.35rem);
}

.chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line-soft);
}

.chart-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.chart-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.85rem;
  font-size: 0.77rem;
  color: var(--muted);
}

.chart-legend span { display: inline-flex; align-items: center; gap: 0.3rem; }
.chart-legend i { width: 0.65rem; height: 0.65rem; border-radius: 1px; display: inline-block; }

.chart-svg { width: 100%; height: auto; display: block; }

.chart-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.65rem 0 0;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .index-split { grid-template-columns: 1fr; }
}

/* ===== BAND 7: FAQ (zweispaltig Magazin-Raster) ===== */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
  gap: 1.5rem clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--mist-line);
}

.faq-item summary {
  list-style: none;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--copper-ink);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "-"; }

.faq-item__body {
  padding: 0 0 1.05rem;
  font-size: 0.94rem;
  color: var(--ink-2);
  max-width: 64ch;
}

@media (max-width: 820px) {
  .faq-split { grid-template-columns: 1fr; }
}

/* ===== Sticky Vergleichs-Dock & Modal ===== */
.cmp-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 340;
  background: var(--deep);
  color: #FFFFFF;
  border-top: 2px solid var(--copper);
  padding-block: 0.68rem;
}

.cmp-dock__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
}

.cmp-dock__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }

.dock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.24rem 0.52rem;
  border-radius: var(--r);
  font-size: 0.8rem;
}

.dock-chip__num {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--petrol);
  color: #FFFFFF;
}

.dock-chip[data-slot="2"] .dock-chip__num { background: var(--copper); }
.dock-chip[data-slot="3"] .dock-chip__num { background: var(--muted); }

.dock-chip__rm {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--deep-ink);
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1;
  padding: 0 0.1rem;
}

.cmp-dock__btns { display: flex; gap: 0.45rem; }
.btn--dock-go { background: #FFFFFF; color: var(--deep); border-color: #FFFFFF; }
.btn--dock-go:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--dock-clear { background: transparent; color: var(--deep-ink); border-color: rgba(255, 255, 255, 0.28); }
.has-dock { padding-bottom: 4.8rem; }

.cmp-modal {
  position: fixed;
  inset: 0;
  z-index: 460;
  background: rgba(16, 20, 24, 0.62);
  display: grid;
  place-items: center;
  padding: clamp(0.5rem, 2vw, 1.5rem);
}

.cmp-modal__panel {
  background: var(--bg);
  border-top: 3px solid var(--copper);
  border-radius: var(--r);
  box-shadow: 0 20px 60px rgba(16, 20, 24, 0.28);
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(0.95rem, 2.4vw, 1.65rem);
}

.cmp-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.9rem;
}

.cmp-modal__head h2 { margin: 0; font-size: 1.7rem; }

.cmp-matrix {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.85rem;
}

.cmp-matrix th, .cmp-matrix td {
  border-bottom: 1px solid var(--line-soft);
  padding: 0.56rem 0.5rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.cmp-matrix thead th {
  background: var(--mist);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.cmp-matrix tbody th {
  width: 24%;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--canvas);
}

@media (max-width: 520px) {
  .cmp-matrix { font-size: 0.72rem; }
  .cmp-matrix th, .cmp-matrix td { padding: 0.38rem 0.22rem; }
  .cmp-matrix tbody th { width: 27%; font-size: 0.67rem; }
  .cmp-matrix .btn--sm {
    display: block;
    white-space: normal;
    text-align: center;
    padding: 0.28rem 0.24rem;
    font-size: 0.66rem;
  }
}

/* ===== Unterseiten: Tabellen, Prosa, Finder, Detail-Rechner ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.91rem;
  margin-block: 1rem 1.25rem;
}

.info-table th, .info-table td {
  padding: 0.74rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.info-table thead th {
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--canvas);
}

@media (max-width: 560px) {
  .info-table { font-size: 0.8rem; table-layout: fixed; }
  .info-table th, .info-table td { padding: 0.46rem 0.36rem; hyphens: auto; }
}

.prose {
  font-size: 1.02rem;
  line-height: 1.66;
}

.prose > h2,
.prose > h3,
.prose > p,
.prose > ul,
.prose > ol,
.prose > .notice,
.prose > .actions {
  max-width: 74ch;
}

.prose h2 { margin-top: 2.2rem; font-size: clamp(1.55rem, 2.3vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.45rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.42rem; }

.notice {
  background: var(--copper-tint);
  border-left: 3px solid var(--copper);
  padding: 0.85rem 1.05rem;
  font-size: 0.89rem;
  color: var(--ink);
  margin-block: 1rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem clamp(2rem, 4vw, 3.2rem);
}

@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }

/* Kostenrechner (/kostenrechner/) */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(1.5rem, 3.5vw, 2.8rem);
  align-items: start;
}

.panel {
  background: var(--bg);
  border-top: 2px solid var(--ink);
  padding-top: 1.25rem;
}

.two-col > .panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--petrol);
  border-radius: var(--r);
}

.two-col > .panel h3 { margin-bottom: 0.7rem; }
.two-col > .panel ul { flex: 1 1 auto; margin-bottom: 1.35rem; }
.two-col > .panel li + li { margin-top: 0.38rem; }

.panel--result {
  position: sticky;
  top: 5.2rem;
  background: var(--deep);
  color: var(--deep-ink);
  border-top: 3px solid var(--copper);
  border-radius: var(--r);
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
}

.panel-h {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 0.48rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.field-group { margin-bottom: 0.98rem; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.field-label small { font-weight: 400; color: var(--muted); font-size: 0.75rem; }
.field-input, .field-select { width: 100%; padding: 0.52rem 0.7rem; font-size: 0.94rem; }
.field-hint { font-size: 0.78rem; color: var(--muted); margin: 0.28rem 0 0; line-height: 1.46; }

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.74rem 0.88rem;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 0.86rem;
  cursor: pointer;
  margin-bottom: 0.68rem;
}

.check-card input { margin-top: 0.16rem; accent-color: var(--petrol); width: 1rem; height: 1rem; flex-shrink: 0; }
.check-card strong { display: block; color: var(--ink); }
.check-card span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; }

.tax-box { border-left: 2px solid var(--copper); padding: 0.5rem 0 0.15rem 0.9rem; margin: 0.35rem 0 0.8rem; }
.range-input { width: 100%; accent-color: var(--petrol); }

.panel--result .res-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--apricot);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.panel--result .res-big {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.02;
  font-variant-numeric: tabular-nums;
  margin-top: 0.2rem;
}

.panel--result .res-sub { font-size: 0.85rem; color: var(--deep-ink); margin-top: 0.28rem; }

.res-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  margin-block: 1rem;
  border-top: 1px solid var(--deep-line);
}

.res-table th, .res-table td { padding: 0.48rem 0; border-bottom: 1px solid var(--deep-line); }
.res-table th { text-align: left; font-weight: 400; color: var(--deep-ink); }
.res-table td { text-align: right; font-weight: 600; color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-table tr.is-minus td { color: var(--apricot); }
.res-table tr.is-total th, .res-table tr.is-total td {
  border-top: 1px solid var(--deep-line-strong);
  border-bottom: 1px solid var(--deep-line-strong);
  font-weight: 700;
  color: #FFFFFF;
}

.delta-bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.18rem 0.65rem; margin-bottom: 0.55rem; font-size: 0.82rem; color: var(--deep-ink); }
.delta-track { grid-column: 1 / -1; height: 6px; background: var(--deep-track); border-radius: 1px; overflow: hidden; }
.delta-track > i { display: block; height: 100%; background: var(--apricot); }
.delta-track--hagen > i { background: var(--deep-hagen); }

.workload-box {
  background: var(--deep-panel);
  border: 1px solid var(--deep-line);
  border-radius: var(--r);
  padding: 0.78rem 0.92rem;
  font-size: 0.83rem;
  color: var(--deep-ink);
  margin-top: 0.85rem;
}

.panel--result .field-hint,
.panel--result .chart-note { color: var(--deep-muted); }
.panel--result a { color: var(--apricot); }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .panel--result { position: static; }
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Anbieter-Finder (/finder/) */
.finder-grid {
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.8rem);
  align-items: start;
}

.finder-side {
  background: var(--canvas);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 1.1rem;
}

.f-block { padding-bottom: 0.85rem; margin-bottom: 0.85rem; border-bottom: 1px solid var(--line); }
.f-block:last-of-type { border-bottom: none; margin-bottom: 0.35rem; padding-bottom: 0; }
.f-block fieldset { border: none; margin: 0; padding: 0; }
.f-block legend {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  padding: 0;
}

.radio-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; padding: 0.22rem 0; cursor: pointer; color: var(--ink-2); }
.radio-row input { accent-color: var(--petrol); }

.finder-list { border-top: 2px solid var(--ink); }

.f-row {
  padding: 1.25rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.f-row--state {
  background: var(--anchor-bg);
  padding-inline: 1rem;
}

.f-row__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.f-row__why { font-size: 0.81rem; color: var(--petrol); font-weight: 600; margin: 0.22rem 0 0; }

.f-row__specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.83rem;
  margin: 0.65rem 0;
}

.f-row__specs dt { color: var(--muted); font-size: 0.74rem; }
.f-row__specs dd { margin: 0.06rem 0 0; font-weight: 500; color: var(--ink); }

.f-row__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

@media (max-width: 880px) { .finder-grid { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .f-row__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Footer (#131E22, hochwertig & ruhig) ===== */
.site-footer {
  background: var(--footer-bg);
  color: var(--deep-muted);
  padding-block: clamp(2.8rem, 5vw, 4rem) 1.8rem;
  font-size: 0.86rem;
}

.site-footer a { color: var(--deep-ink); text-decoration: none; }
.site-footer a:hover { color: var(--apricot); text-decoration: underline; }

.site-footer .brand { color: #FFFFFF; margin-bottom: 0.6rem; }
.site-footer .brand__tld { color: var(--footer-tld); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 0.85fr));
  gap: 1.8rem 2.4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--footer-line);
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--apricot);
  margin-bottom: 0.65rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.38rem; }

.footer-bottom {
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 1.5rem;
  font-size: 0.78rem;
  color: var(--deep-muted);
}

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.prog-fields {
  color: var(--ink-2);
  margin-top: 0.22rem;
  line-height: 1.35;
}

@media print {
  .preview-bar,
  .site-header,
  .site-footer,
  .cmp-dock,
  .cmp-modal,
  .skip-link,
  .no-print,
  .actions {
    display: none !important;
  }

  body {
    background: #FFFFFF !important;
    color: #182124 !important;
    font-size: 11pt;
  }

  .sub-hero,
  .band {
    background: #FFFFFF !important;
    border: none !important;
    padding-block: 0.6rem !important;
  }

  .wrap {
    max-width: none !important;
    padding-inline: 0 !important;
  }

  .calc-layout {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.2rem !important;
  }

  .panel--result {
    position: static !important;
    background: #FFFFFF !important;
    color: #182124 !important;
    border: 1px solid #929FA2 !important;
    border-top: 3px solid #182124 !important;
    break-inside: avoid;
  }

  .panel--result .res-label,
  .panel--result .res-big,
  .panel--result .res-sub,
  .panel--result .res-table th,
  .panel--result .res-table td,
  .panel--result .delta-bar-row,
  .panel--result .delta-bar-row *,
  .panel--result .field-hint,
  .panel--result .chart-note,
  .panel--result .workload-box,
  .panel--result a {
    color: #182124 !important;
  }

  .panel--result [style*="deep-muted"] {
    color: #505E62 !important;
  }

  .panel--result .res-table,
  .panel--result .res-table tr,
  .panel--result .workload-box {
    border-color: #CFD6D5 !important;
    background: transparent !important;
  }

  .delta-track {
    background: #E5E9E8 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
