/* =====================================================================
   inverda.css — Design-System v2
   Mobile-first. Kein Build-Schritt. Kein Framework.
   ===================================================================== */

/* ── 1. Reset & Box-Sizing ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }

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

/* ── 2. Design-Tokens ───────────────────────────────────────────────── */
:root {
  /* Farben */
  --green:      #1d4a37;   /* Primär: Überschriften, Header, Fließtext-Akzent */
  --green-deep: #16382b;   /* Footer, dunkelste Stufe                         */
  --accent:     #3fa873;   /* Akzent: Icons, Ränder, Badges — nicht für Lesetext */
  --accent-lt:  #6fce9c;   /* Heller Akzent auf dunklem Grund                 */
  --green-soft: #e9f1ec;   /* Hintergrund Ergebnis-Bereich, Icon-BG           */
  --paper:      #f7f4ee;   /* Seiten-Hintergrund (warm)                       */
  --card:       #ffffff;   /* Box-Hintergrund                                 */
  --ink:        #1f2620;   /* Fließtext (Kontrast ≥ 4,5:1 auf --paper)        */
  --muted:      #5e635b;   /* Sekundärtext                                    */
  --line:       #e7e1d6;   /* Ränder, Trennlinien                             */

  /* Abstände */
  --radius:    18px;
  --radius-sm: 12px;
  --pad:       22px;

  /* Schriften */
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Schatten */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);

  /* Header-Höhe (für scroll-margin) */
  --header-h: 84px;
}

/* ── 3. Globale Typografie ──────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }
h3 { font-size: 1.125rem; font-weight: 600; }

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

a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* Fokus-Ring für Tastaturnavigation — nie entfernen */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Anker-Ziele unter sticky Header freihalten */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ── 4. Layout — Container (geteilt von Header, Main, Footer) ──────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 900px) {
  .container { padding-left: 48px; padding-right: 48px; }
}

/* ── 4b. Layout — Skip-Link ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 9999;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* ── 5. Layout — Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--header-h);
  background: #fff;
  /* Höhe auch in --header-h definiert, damit scroll-margin-top stimmt */
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  /* Breite/Zentrierung/Padding über .container */
}

/* ── 6. Layout — Logo ───────────────────────────────────────────────── */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.site-logo:hover, .site-logo:focus { text-decoration: none; }
.site-logo:focus-visible { border-radius: 6px; }

.site-logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}

.site-logo__wordmark {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -.02em;
  line-height: 1;
}

/* ── 7. Layout — Desktop-Navigation ────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  margin-left: 2.75rem;  /* fester Abstand zum Logo, kein auto-Push nach rechts */
  height: 100%;
}

.site-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  gap: 2px;
}

.site-nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Einfacher Nav-Link */
.site-nav__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 .8rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color .15s;
}
.site-nav__link:hover { color: var(--green); text-decoration: none; }
.site-nav__link:focus-visible { border-radius: 0; outline-offset: -3px; }
.site-nav__link--active { color: var(--green); font-weight: 600; }
.site-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .875rem;
  right: .875rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

/* Dropdown-Trigger-Button */
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 .8rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color .15s;
}
.site-nav__trigger:hover { color: var(--green); }
.site-nav__trigger:focus-visible { border-radius: 0; outline-offset: -3px; }
.site-nav__trigger--active { color: var(--green); font-weight: 600; }
.site-nav__trigger--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .875rem;
  right: .875rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

/* Chevron-Icon */
.nav-chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  transition: transform .2s ease;
  pointer-events: none;
}
.site-nav__trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* ── 8. Layout — Dropdown-Panel ─────────────────────────────────────── */
.site-nav__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .5rem;
  z-index: 600;
}

/* hidden-Attribut: versteckt das Panel */
.site-nav__dropdown[hidden] { display: none; }

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .625rem .75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s;
}
.dropdown-item + .dropdown-item { margin-top: 2px; }
.dropdown-item:hover { background: var(--green-soft); text-decoration: none; color: var(--ink); }
.dropdown-item:focus-visible { border-radius: 8px; }

.dropdown-item__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  border-radius: 7px;
  color: var(--green);
  font-size: .8rem;
  transition: background .15s;
}
.dropdown-item:hover .dropdown-item__icon { background: rgba(63,168,115,.25); }

.dropdown-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}
.dropdown-item__name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.25;
}
.dropdown-item__desc {
  font-size: .775rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── 9. Layout — Burger-Button ──────────────────────────────────────── */
.site-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.site-burger__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.site-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 10. Layout — Mobilmenü ─────────────────────────────────────────── */
.mobile-menu {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.mobile-menu[hidden] { display: none; }

.mobile-nav__group {
  border-bottom: 1px solid var(--line);
}

.mobile-nav__accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .875rem 1.5rem;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  min-height: 48px;
}
.mobile-nav__accordion:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.mobile-nav__accordion[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.mobile-nav__sub { background: var(--paper); }
.mobile-nav__sub[hidden] { display: none; }

.mobile-nav__sub-link {
  display: flex;
  align-items: center;
  padding: .75rem 1.5rem .75rem 2rem;
  font-size: .9375rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
}
.mobile-nav__sub-link:last-child { border-bottom: none; }
.mobile-nav__sub-link:hover { color: var(--green); background: var(--green-soft); }

.mobile-nav__link {
  display: flex;
  align-items: center;
  padding: .875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
}
.mobile-nav__link:last-child { border-bottom: none; }
.mobile-nav__link:hover { color: var(--green); }
.mobile-nav__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ── 11. Breakpoint 900 px ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav  { display: none; }
  .site-burger { display: flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ── 12. Layout — Hauptinhalt & Footer ──────────────────────────────── */
.site-main { min-height: 60vh; outline: none; }
.site-main__inner {
  /* Breite/Zentrierung/Horizontales-Padding über .container */
  padding-top: 40px;
  padding-bottom: 4rem;
}

.site-footer {
  background: var(--green-deep);
  padding: 2.5rem 0;   /* kein horizontales Padding hier – kommt aus .container */
}
.site-footer__inner {
  /* Breite/Zentrierung/Padding über .container */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 2rem;
}
.site-footer__tagline {
  flex: 0 0 100%;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  margin: 0 0 .25rem;
}
.site-footer__copy {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.site-footer__links {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.site-footer__links a {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.site-footer__links a:hover { color: #fff; }
.site-footer__links span { color: rgba(255,255,255,.25); }

/* =====================================================================
   KOMPONENTEN
   ===================================================================== */

/* ── .tile — Navigations-Kachel (nur zum Verlinken) ─────────────────── */
.tile {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--pad);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.tile:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
}
.tile:focus-visible { border-radius: var(--radius-sm); }

.tile__icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: .6em;
  display: block;
  line-height: 1;
}
.tile__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 .3em;
  line-height: 1.3;
  display: block;
}
.tile__desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  display: block;
}

.tile--featured { padding: calc(var(--pad) * 1.2); }
.tile--featured .tile__title { font-size: 1.125rem; }
.tile--featured .tile__icon { font-size: 1.75rem; }

/* ── .tool-panel — Interaktiver Arbeitsbereich ──────────────────────── */
.tool-panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tool-panel__head {
  background: var(--green);
  padding: .875rem var(--pad);
}
.tool-panel__head h2,
.tool-panel__head h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  font-family: var(--font-head);
}

.tool-panel__body { padding: var(--pad); }

.tool-panel__result {
  background: var(--green-soft);
  border-top: 1px solid var(--line);
  padding: var(--pad);
}
.tool-panel__result strong { color: var(--green); font-size: 1.125rem; }

/* Formulare im Tool-Panel */
.tool-panel label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--green);
  margin: 1rem 0 .3rem;
}
.tool-panel label:first-child { margin-top: 0; }

.tool-panel input[type="number"],
.tool-panel input[type="text"],
.tool-panel input[type="email"],
.tool-panel select,
.tool-panel textarea {
  width: 100%;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--card);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.tool-panel input:focus,
.tool-panel select:focus,
.tool-panel textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63,168,115,.18);
}

.tool-panel button[type="submit"],
.tool-panel .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: .65rem 1.5rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: background .15s;
  /* Überschreibt ggf. Legacy-Stile */
  text-decoration: none;
}
.tool-panel button[type="submit"]:hover,
.tool-panel .btn-primary:hover { background: var(--green-deep); }
.tool-panel button[type="submit"]:focus-visible,
.tool-panel .btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── .info-box — Erklärung / Methodik ───────────────────────────────── */
.info-box {
  background: var(--card);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  padding: var(--pad);
}
.info-box h2, .info-box h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 .6em;
}
.info-box p, .info-box li { font-size: .9375rem; color: var(--ink); }

/* ── .hinweis-box — Betonter Hinweis ────────────────────────────────── */
.hinweis-box {
  background: var(--green);
  border-radius: var(--radius);
  padding: var(--pad);
}
.hinweis-box h2, .hinweis-box h3 { color: #fff; font-size: 1rem; margin: 0 0 .5em; }
.hinweis-box p,
.hinweis-box li,
.hinweis-box strong,
.hinweis-box em { color: #fff; font-size: .875rem; line-height: 1.6; }
.hinweis-box a { color: var(--accent-lt); }
.hinweis-box a:hover { color: #fff; }

/* ── .badge ──────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 2px 9px;
  border-radius: 20px;
  font-family: var(--font-body);
  line-height: 1.6;
}
.badge--green { background: rgba(63,168,115,.15); color: var(--green); }
.badge--gray  { background: rgba(94,99,91,.1);    color: var(--muted); }
.badge--soon  { background: var(--green-soft);    color: var(--green); }

/* ── Utilities ───────────────────────────────────────────────────────── */
/* .measure — Formular-Tools (Zinseszins, IBAN, Brutto-Netto, ETF) */
.measure { max-width: 720px; }

/* Eingabezeile: Input + Button nebeneinander */
.input-row {
  display: flex;
  gap: .5rem;
  margin-top: .4rem;
  align-items: flex-start;
}
.input-row input { flex: 1; margin-top: 0; }
.input-row button { flex-shrink: 0; margin-top: 0; min-width: 90px; }

/* Checkbox + Label inline */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
}
.checkbox-row input[type="checkbox"] { width: auto; flex-shrink: 0; accent-color: var(--green); }
.checkbox-row label { margin: 0; font-weight: 600; color: var(--green); font-size: .875rem; }

/* Ergebnis-Tabellen */
.result-table { width: 100%; border-collapse: collapse; margin-top: .25rem; }
.result-table th,
.result-table td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
.result-table th { color: var(--muted); font-weight: 500; width: 55%; }
.result-table td { color: var(--ink); font-weight: 500; }
.result-table .row--section th {
  color: var(--muted); font-size: .75rem; text-transform: uppercase;
  letter-spacing: .05em; padding-top: 1rem; font-weight: 600; border-bottom: none;
}
.result-table .row--total th,
.result-table .row--total td { border-top: 2px solid var(--line); font-weight: 600; padding-top: .75rem; }
.result-table .row--highlight th,
.result-table .row--highlight td {
  color: var(--green);
  font-family: var(--font-body);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Fehler-Ergebnis */
.tool-panel__result--error { background: #fff5f5; border-top: 1px solid #fca5a5; padding: var(--pad); }
.tool-panel__result--error p { color: #b91c1c; margin: 0; font-weight: 500; }

/* News */
.news-list { max-width: 720px; }
.news-item { border-top: 1px solid var(--line); padding: 1.75rem 0; }
.news-item:first-child { border-top: none; padding-top: 0; }
.news-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: .6rem; }
.news-category { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--green); }
.news-date, .news-author { font-size: .8rem; color: var(--muted); }
.news-item h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.news-item h2 a { color: var(--green); text-decoration: none; }
.news-item h2 a:hover { color: var(--accent); }
.news-teaser { color: var(--muted); font-size: .9375rem; margin-bottom: 1rem; }
.news-read-more { font-size: .875rem; font-weight: 600; color: var(--green); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.news-read-more:hover { color: var(--accent); }
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { display: inline-block; padding: .35rem .9rem; font-size: .8rem; font-weight: 600; border-radius: 20px; text-decoration: none; transition: background .15s, color .15s; border: 1px solid var(--line); color: var(--muted); background: var(--card); }
.filter-btn:hover, .filter-btn--active { background: var(--green); color: #fff; border-color: var(--green); text-decoration: none; }

/* Artikel-Detail */
.article-header { margin-bottom: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.article-body { max-width: 680px; line-height: 1.8; }
.article-body h2 { font-size: 1.375rem; margin-top: 2rem; }
.article-body h3 { font-size: 1.125rem; margin-top: 1.5rem; }
.back-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .875rem; font-weight: 600; color: var(--muted); text-decoration: none; margin-top: 2.5rem; }
.back-link:hover { color: var(--green); }
.tool-version { font-size: .7rem; color: #aaa; margin-top: 1.5rem; text-align: left; }
.page-lead { max-width: 680px; margin-bottom: 24px; }
.page-lead h1 { color: var(--green); margin-bottom: 8px; }
.page-lead p  { font-size: 1.0625rem; color: var(--muted); line-height: 1.7; }

/* =====================================================================
   STARTSEITE
   ===================================================================== */

/* Hero */
.home-hero {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}
.home-hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
  margin: 0 0 .9rem;
}
.home-hero__h1-accent {
  color: var(--accent);
  font-style: normal;
  display: block;
}
.home-hero__slogan {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 2rem;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .home-hero__slogan { white-space: normal; max-width: 100%; }
}
.home-cta {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.75rem;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  min-height: 44px;
  transition: background .15s;
}
.home-cta:hover { background: var(--green-deep); color: #fff; text-decoration: none; }
.home-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Abschnitt-Label */
.home-section { margin-bottom: 3rem; }
.home-section__label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 .9rem;
}

/* Prinzipien — 3-spaltige Icon-Kacheln */
.home-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.home-principles__item {
  /* Kein Rahmen, kein Hover — kein klickbares Element */
  background: var(--green-soft);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-principles__icon {
  width: 52px;
  height: 52px;
  /* Weißer Kreis hebt sich vom grünen Hintergrund ab */
  background: rgba(255,255,255,.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.home-principles__label {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 .4em;
}

.home-principles__text {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 620px) {
  .home-principles { grid-template-columns: 1fr; gap: .875rem; }
}

/* Tool-Gitter */
.home-checks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
}
@media (max-width: 520px) {
  .home-checks-grid, .home-tools-grid { grid-template-columns: 1fr; }
}

/* Note / Zitat-Panel */
.home-note {
  background: var(--green);
  border-radius: var(--radius);
  padding: calc(var(--pad) * 1.5) var(--pad);
  margin-bottom: 3rem;
}
.home-note__head {
  color: var(--accent-lt);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin: 0 0 .75rem;
}
.home-note blockquote {
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: normal;
  line-height: 1.6;
  margin: 0 0 1.1rem;
  padding: 0;
  border: none;
}
.home-note cite { color: var(--accent-lt); font-size: .875rem; font-style: normal; display: block; }

/* Knowledge Hub */
.home-hub__header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.home-hub__header h2 { margin: 0; font-size: 1.125rem; }
.home-hub__desc { font-size: .9375rem; color: var(--muted); margin: 0 0 1.25rem; }
.home-hub-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .875rem;
}
.home-hub-article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--pad);
  opacity: .5;
  user-select: none;
}
.home-hub-article__cat {
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: block;
  margin-bottom: .4em;
}
.home-hub-article__title {
  font-family: var(--font-head);
  font-size: .875rem;
  color: var(--green);
  font-weight: 600;
  margin: 0;
}

/* ── Gemeinsames weißes Blatt (Blog, News, Kommentare) ───────────────── */
.content-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  overflow: hidden;
  margin-top: 2rem;
}

.content-card__body { padding: 2.5rem 3rem; }

.content-card + .content-card { margin-top: 1.5rem; }

@media (max-width: 640px) {
  .content-card { border-radius: 0; }
  .content-card__body { padding: 1.5rem 1.25rem; }
}

/* ── Kommentarsektion ────────────────────────────────────────────────── */
#kommentare h2 { color: #1d4a37; margin-bottom: 1.5rem; }
#kommentare h3 { color: #1d4a37; margin-bottom: 1rem; }

.comments-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  color: #1d4a37;
  margin-bottom: 1.5rem;
}

.comments-count {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  color: #6b7280;
  font-weight: 400;
}

.comments-empty {
  color: #6b7280;
  font-style: italic;
  margin-bottom: 2rem;
}

/* Kommentarkarten */
.comment {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #3fa873;
  margin-bottom: 1rem;
}
.comment__header {
  display: flex;
  align-items: baseline;
  margin-bottom: .4rem;
}
.comment__author { font-weight: 600; color: #1d4a37; }
.comment__date   { font-size: .85rem; color: #6b7280; margin-left: .75rem; }
.comment__body p { margin-top: .5rem; color: #374151; line-height: 1.7; }
.comment-empty   { color: #6b7280; font-style: italic; }

/* Formular-Wrapper */
.comment-form-wrapper {
  border-top: 2px solid #e5e0d8;
  margin-top: 2rem;
  padding-top: 2rem;
}
.privacy-note,
.moderation-note { font-size: .8rem; color: #6b7280; font-style: italic; }

.comment-form-wrapper .form-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: 1.1rem;
}
.comment-form-wrapper .form-field:first-child { margin-top: 0; }
.comment-form-wrapper label { font-size: .875rem; font-weight: 600; color: #1d4a37; }

.comment-form-wrapper input[type="text"],
.comment-form-wrapper input[type="email"],
.comment-form-wrapper input[type="number"],
.comment-form-wrapper textarea {
  width: 100%;
  padding: .6rem .875rem;
  border: 1px solid #d1cdc5;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #ffffff;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.comment-form-wrapper input:focus,
.comment-form-wrapper textarea:focus {
  outline: none;
  border-color: #1d4a37;
  box-shadow: 0 0 0 3px rgba(29,74,55,.12);
}
.comment-form-wrapper .form-field--error input,
.comment-form-wrapper .form-field--error textarea { border-color: #b91c1c; }
.form-error { color: #b91c1c; font-size: .8125rem; font-weight: 600; }

.comment-form-wrapper .form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1.25rem;
}
.comment-form-wrapper .form-field--checkbox input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: .2rem;
  accent-color: #1d4a37;
}
.comment-form-wrapper .form-field--checkbox label {
  font-weight: 400;
  color: var(--ink);
  font-size: .875rem;
  margin: 0;
}

.comment-form-wrapper .btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: .7rem 1.5rem;
  background: #1d4a37;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: background .15s;
  text-decoration: none;
}
.comment-form-wrapper .btn--primary:hover { background: #163d2d; }
.comment-form-wrapper .btn--primary:focus-visible {
  outline: 2px solid #3fa873;
  outline-offset: 2px;
}

/* Status-Meldungen */
.comment-message--success {
  background: #ffffff;
  border-left: 4px solid #3fa873;
  border-radius: 8px;
  padding: .875rem 1.25rem;
  color: #1f2620;
  margin-bottom: 1.5rem;
}
.comment-message--error {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: .875rem 1.25rem;
  color: #b91c1c;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Mobile */
@media (max-width: 639px) {
  .comment { padding: 1rem; }
}

/* =====================================================================
   ÜBER INVERDA — Zeitlinie & Roadmap
   ===================================================================== */

/* ── Seitenabschnitte ───────────────────────────────────────────────── */
.about-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.about-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.about-section__heading {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  color: var(--green);
  margin: 0 0 1.75rem;
  padding-bottom: .625rem;
  border-bottom: 2px solid var(--accent);
}
.about-richtext { max-width: 720px; }
.about-richtext p { color: var(--ink); }

/* ── Zeitlinie ──────────────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; max-width: 720px; }

.timeline__entry {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.timeline__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 1.125rem;
  padding-top: .25rem;
}

.timeline__dot {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 2px solid var(--card);
  flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
  animation: timeline-pulse 2.5s ease-in-out infinite;
}
.timeline__dot--milestone {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline__dot--feature {
  background: var(--muted);
  box-shadow: 0 0 0 2px var(--muted);
  animation: none;
}

@keyframes timeline-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 0 rgba(63,168,115,.4); }
  50%       { box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px rgba(63,168,115,0); }
}

.timeline__line {
  flex: 1;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 4px;
  min-height: 2rem;
}
.timeline__entry:last-child .timeline__line { display: none; }

.timeline__body { padding-bottom: 2rem; flex: 1; }
.timeline__entry:last-child .timeline__body { padding-bottom: 0; }

.timeline__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: .35rem;
}
.timeline__date {
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 600;
}
.timeline__title {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  color: var(--green);
  margin: 0 0 .4rem;
}
.timeline__desc { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.timeline__desc p { margin: 0; color: var(--muted); }

/* Timeline type badges */
.timeline__badge--launch    { background: rgba(63,168,115,.15); color: var(--green); }
.timeline__badge--feature   { background: rgba(94,99,91,.1);    color: var(--muted); }
.timeline__badge--milestone { background: var(--green-soft);    color: var(--green); }

/* ── Roadmap ────────────────────────────────────────────────────────── */
.roadmap-quarter { margin-bottom: 2.25rem; }

.roadmap-quarter__label {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-family: var(--font-head);
  font-size: 1.125rem;
  color: var(--green);
  margin: 0 0 1rem;
}
.roadmap-quarter__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  border-radius: 1px;
}

.roadmap-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: .875rem;
}
@media (min-width: 640px) {
  .roadmap-items { grid-template-columns: repeat(2, 1fr); }
}

.roadmap-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: box-shadow .18s;
}
.roadmap-item:hover { box-shadow: var(--shadow-sm); }

.roadmap-item__badges { display: flex; flex-wrap: wrap; gap: .35rem; }

.roadmap-item__title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--green);
  margin: 0;
}
.roadmap-item__desc { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.roadmap-item__desc p { margin: 0; color: var(--muted); }

/* Roadmap type badges */
.roadmap-badge--type-improvement   { background: rgba(63,168,115,.15); color: var(--green); }
.roadmap-badge--type-new_feature   { background: var(--green-soft);    color: var(--green); }
.roadmap-badge--type-major_project { background: rgba(29,74,55,.12);   color: var(--green-deep); }

/* Roadmap status badges */
.roadmap-badge--status-planned     { background: rgba(94,99,91,.1);    color: var(--muted); }
.roadmap-badge--status-in_progress { background: rgba(63,168,115,.15); color: var(--green); }
.roadmap-badge--status-in_review   { background: rgba(29,74,55,.1);    color: var(--green); }
.roadmap-badge--status-completed   { background: var(--green-soft);    color: var(--green); }
.roadmap-badge--status-postponed   { background: rgba(94,99,91,.07);   color: var(--muted); }

/* Roadmap priority badges */
.roadmap-badge--priority-high   { background: rgba(29,74,55,.2);  color: var(--green-deep); font-weight: 700; }
.roadmap-badge--priority-medium { background: rgba(94,99,91,.1);  color: var(--muted); }
.roadmap-badge--priority-low    { background: rgba(94,99,91,.06); color: var(--muted); }
