/* ============================================================
   Energiegenossenschaft Kappel — WBCE Template
   styles.css — Variante A (Bürgernah Editorial)
   Gemeinsames Stylesheet für Startseite + alle Unterseiten.
   Lokale Fonts via fonts.css. Keine externen Frameworks.
============================================================ */

  :root {
    /* Palette */
    --bg:        #fdf9f0;     /* Sand */
    --bg-alt:    #f4ecd8;     /* Sand dunkler */
    --ink:       #1d1b14;     /* fast-schwarz, warm */
    --ink-soft:  #4a4538;
    --muted:     #7a7460;
    --line:      #e2d8be;
    --accent:    #3a5f0b;     /* Forst-Grün */
    --accent-deep:#2a4408;
    --gold:      #d4a017;     /* Senf */
    --gold-soft: #f3d97a;
    --brown:     #5c4a2a;
    --white:     #ffffff;

    /* Type */
    --serif: 'Kappel Serif', 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
    --sans:  'Kappel Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* Spacing scale */
    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
    --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
    --s-9: 96px; --s-10:128px;

    /* Radii */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-xl: 24px;

    --container: 1200px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  img { max-width: 100%; display: block; }
  a { color: var(--accent); text-decoration: none; }
  a:hover { text-decoration: underline; text-underline-offset: 3px; }

  h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-wrap: balance;
  }

  /* ---------- Layout primitives ---------- */
  .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--s-5);
  }
  .section { padding: var(--s-9) 0; }
  .section-tight { padding: var(--s-7) 0; }

  /* ============================================================
     TOP BAR
     ============================================================ */
  .topbar {
    background: var(--accent-deep);
    color: #f3eccd;
    font-size: 14px;
  }
  .topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px var(--s-5);
    max-width: var(--container);
    margin: 0 auto;
    gap: var(--s-5);
  }
  .topbar a { color: #f3eccd; }
  .topbar-info { display: flex; gap: var(--s-5); flex-wrap: wrap; }
  .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
  .topbar-info svg { width: 14px; height: 14px; opacity: .8; }

  /* ============================================================
     HEADER / NAV
     ============================================================ */
  header.site {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-4) var(--s-5);
    max-width: var(--container);
    margin: 0 auto;
    gap: var(--s-4);
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: var(--s-3);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    text-decoration: none;
    color: var(--ink);
  }
  .brand-mark {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
    color: var(--gold-soft);
    flex-shrink: 0;
  }
  .brand-text {
    line-height: 1.1;
  }
  .brand-text strong {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    display: block;
    color: var(--ink);
  }
  .brand-text span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  nav.menu ul {
    list-style: none;
    display: flex;
    gap: 2px;
    align-items: center;
  }
  nav.menu a {
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
  }
  nav.menu a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
  /* .active = statische Mockups · .menu-current/.menu-parent = von show_menu2 (WBCE) erzeugt */
  nav.menu a.active,
  nav.menu a.menu-current,
  nav.menu a.menu-parent { color: var(--accent); }
  nav.menu a.active::after,
  nav.menu a.menu-current::after,
  nav.menu a.menu-parent::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--gold);
    margin-top: 4px;
    border-radius: 2px;
  }

  /* Hamburger toggle (CSS-only via versteckte Checkbox) */
  .nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .nav-toggle:focus-visible ~ .nav-actions .nav-burger {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  .nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--bg);
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
  }
  .nav-burger:hover { background: var(--bg-alt); }
  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .22s ease, opacity .15s ease;
  }
  .nav-toggle:checked ~ .nav-actions .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-actions .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-actions .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all .15s;
    line-height: 1;
  }
  .btn-primary {
    background: var(--accent);
    color: #fdf9f0;
  }
  .btn-primary:hover { background: var(--accent-deep); text-decoration: none; }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
  }
  .btn-ghost:hover { background: var(--bg-alt); text-decoration: none; }
  .btn-gold {
    background: var(--gold);
    color: var(--ink);
  }
  .btn-gold:hover { background: #b8870e; color: var(--bg); text-decoration: none; }

  /* ============================================================
     HERO
     ============================================================ */
  .hero {
    padding: var(--s-9) 0 var(--s-8);
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--s-8);
    align-items: center;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--s-5);
  }
  .eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
  }
  .hero h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.05;
    margin-bottom: var(--s-5);
  }
  .hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
  }
  .hero .lede {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 50ch;
    margin-bottom: var(--s-6);
    line-height: 1.55;
  }
  .hero-cta {
    display: flex;
    gap: var(--s-3);
    flex-wrap: wrap;
  }
  .hero-image {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-alt);
  }
  .hero-image .placeholder {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(58,95,11,.9), rgba(42,68,8,.85)),
      radial-gradient(circle at 30% 30%, var(--gold-soft) 0%, transparent 60%);
    display: grid;
    place-items: center;
    color: var(--gold-soft);
  }
  .hero-image .ph-icon {
    width: 80px; height: 80px;
    opacity: 0.6;
  }
  .hero-image .ph-label {
    position: absolute;
    bottom: var(--s-4);
    left: var(--s-4);
    right: var(--s-4);
    font-size: 13px;
    color: var(--gold-soft);
    background: rgba(0,0,0,.4);
    padding: 8px 12px;
    border-radius: var(--r-sm);
    backdrop-filter: blur(6px);
  }

  /* ---------- Stats strip ---------- */
  .stats {
    background: var(--accent);
    color: var(--bg);
    padding: var(--s-7) 0;
    margin-top: var(--s-8);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
  }
  .stats::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
    opacity: .15;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
    padding: 0 var(--s-7);
    position: relative;
  }
  .stat .num {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 600;
    line-height: 1;
    color: var(--gold-soft);
    margin-bottom: var(--s-2);
    letter-spacing: -0.02em;
  }
  .stat .num small { font-size: 0.5em; font-weight: 400; opacity: .7; margin-left: 4px; }
  .stat .label {
    font-size: 14px;
    color: rgba(253,249,240,.85);
    line-height: 1.4;
  }

  /* ============================================================
     FEATURE CARDS
     ============================================================ */
  .lead-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--s-7);
    align-items: end;
    margin-bottom: var(--s-7);
  }
  .lead-row h2 {
    font-size: clamp(32px, 3.5vw, 44px);
  }
  .lead-row .lede {
    font-size: 17px;
    color: var(--ink-soft);
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
  }
  .card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    transition: all .2s;
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
  }
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(29,27,20,.08);
    border-color: var(--gold);
  }
  .card-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .card h3 {
    font-size: 22px;
    line-height: 1.25;
  }
  .card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
    flex: 1;
  }
  .card .more {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .card .more::after {
    content: '→';
    transition: transform .15s;
  }
  .card:hover .more::after { transform: translateX(4px); }

  /* ============================================================
     NEWS / AKTUELLES
     ============================================================ */
  .news {
    background: var(--bg-alt);
  }
  .news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--s-6);
  }
  .news-feature {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: grid;
    grid-template-rows: 280px 1fr;
  }
  .news-img {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    position: relative;
    display: grid;
    place-items: center;
    color: var(--gold-soft);
  }
  .news-img .ph-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 12px;
    background: rgba(0,0,0,.5);
    padding: 4px 10px;
    border-radius: var(--r-sm);
  }
  .news-body {
    padding: var(--s-6);
  }
  .news-meta {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--s-3);
  }
  .news-feature h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: var(--s-3);
  }
  .news-feature p {
    color: var(--ink-soft);
    margin-bottom: var(--s-4);
  }

  .news-side {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
  }
  .news-item {
    background: var(--white);
    padding: var(--s-5);
    border-radius: var(--r-md);
    border-left: 3px solid var(--gold);
  }
  .news-item .news-meta { margin-bottom: var(--s-2); }
  .news-item h4 {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: var(--s-2);
    font-weight: 600;
  }
  .news-item p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
  }

  /* ============================================================
     MITGLIED WERDEN — CTA Block
     ============================================================ */
  .join {
    padding: var(--s-9) 0;
  }
  .join-inner {
    background: linear-gradient(135deg, #2a4408 0%, #3a5f0b 60%, #4a7012 100%);
    color: var(--bg);
    border-radius: var(--r-xl);
    padding: var(--s-8) var(--s-7);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
    position: relative;
    overflow: hidden;
  }
  .join-inner::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 65%);
    opacity: 0.18;
    top: -200px;
    right: -150px;
  }
  .join-inner h2 {
    font-size: clamp(32px, 3.5vw, 48px);
    color: var(--bg);
    margin-bottom: var(--s-4);
  }
  .join-inner h2 em {
    font-style: italic;
    color: var(--gold-soft);
  }
  .join-inner p {
    color: rgba(253,249,240,.85);
    font-size: 17px;
    margin-bottom: var(--s-5);
    max-width: 45ch;
  }
  .join-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
  }
  .join-bullets li {
    display: flex;
    gap: var(--s-3);
    align-items: flex-start;
    color: rgba(253,249,240,.95);
    font-size: 15px;
  }
  .join-bullets svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold-soft);
  }
  .join-card {
    background: rgba(253,249,240,.07);
    border: 1px solid rgba(253,249,240,.15);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
  }
  .join-card .price {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 600;
    color: var(--gold-soft);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .join-card .price small {
    font-size: 18px;
    color: rgba(253,249,240,.7);
    font-weight: 400;
    margin-left: 6px;
  }
  .join-card .price-label {
    font-size: 14px;
    color: rgba(253,249,240,.7);
    margin-top: var(--s-2);
    margin-bottom: var(--s-5);
  }
  .join-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    padding: var(--s-5) 0;
    border-top: 1px solid rgba(253,249,240,.15);
    margin-bottom: var(--s-5);
  }
  .join-card-list li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(253,249,240,.85);
  }
  .join-card-list li strong {
    color: var(--bg);
    font-weight: 500;
  }

  /* ============================================================
     DOWNLOADS
     ============================================================ */
  .downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-3);
  }
  .download {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-5);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: all .15s;
    color: var(--ink);
  }
  .download:hover {
    border-color: var(--accent);
    background: var(--bg-alt);
    text-decoration: none;
  }
  .dl-icon {
    width: 40px; height: 50px;
    background: var(--bg-alt);
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    color: var(--accent);
    flex-shrink: 0;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid var(--line);
  }
  .dl-meta {
    flex: 1;
    min-width: 0;
  }
  .dl-meta strong {
    display: block;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 2px;
  }
  .dl-meta span {
    font-size: 13px;
    color: var(--muted);
  }
  .dl-arrow {
    color: var(--muted);
    transition: transform .15s, color .15s;
  }
  .download:hover .dl-arrow {
    transform: translate(2px, -2px);
    color: var(--accent);
  }

  /* ============================================================
     FOOTER
     ============================================================ */
  footer.site {
    background: var(--ink);
    color: rgba(253,249,240,.7);
    padding: var(--s-8) 0 var(--s-5);
    margin-top: var(--s-8);
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--s-7);
    padding-bottom: var(--s-7);
    border-bottom: 1px solid rgba(253,249,240,.1);
  }
  footer.site h5 {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--bg);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: var(--s-4);
  }
  footer.site ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  footer.site a {
    color: rgba(253,249,240,.7);
    font-size: 14px;
  }
  footer.site a:hover { color: var(--gold-soft); }
  footer .brand-mark { background: var(--accent); }
  footer .brand-text strong { color: var(--bg); }
  footer .brand-text span { color: var(--muted); }
  .foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--s-5);
    font-size: 13px;
    color: rgba(253,249,240,.5);
    flex-wrap: wrap;
    gap: var(--s-3);
  }
  .foot-funding {
    display: flex;
    align-items: center;
    gap: var(--s-4);
  }
  .funding-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(253,249,240,.05);
    border-radius: var(--r-sm);
    font-size: 12px;
    color: rgba(253,249,240,.6);
  }
  .funding-badge::before {
    content: '★';
    color: var(--gold);
    font-size: 14px;
  }

  /* ============================================================
     INNER PAGES — Seitenkopf, Breadcrumb, Prosa
     ============================================================ */
  .page-hero {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: var(--s-7) 0 var(--s-8);
  }
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--s-5);
    flex-wrap: wrap;
  }
  .breadcrumb a { color: var(--muted); }
  .breadcrumb a:hover { color: var(--accent); }
  .breadcrumb .sep { opacity: .5; }
  .breadcrumb span[aria-current] { color: var(--ink-soft); }
  .page-hero h1 {
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.05;
    margin-bottom: var(--s-4);
    max-width: 20ch;
  }
  .page-hero .lede {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 60ch;
    line-height: 1.55;
  }

  /* Two-column inner layout: content + aside */
  .page-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--s-8);
    align-items: start;
  }
  .page-layout.single { grid-template-columns: minmax(0, 760px); justify-content: center; }

  /* Prose / editor content */
  .prose { font-size: 17px; color: var(--ink-soft); line-height: 1.7; }
  .prose > * + * { margin-top: var(--s-4); }
  .prose h2 {
    font-size: clamp(26px, 3vw, 34px);
    color: var(--ink);
    margin-top: var(--s-7);
    margin-bottom: var(--s-2);
  }
  .prose h2:first-child { margin-top: 0; }
  .prose h3 {
    font-size: 22px;
    color: var(--ink);
    margin-top: var(--s-6);
    margin-bottom: var(--s-1);
  }
  .prose p { max-width: 68ch; }
  .prose strong { color: var(--ink); font-weight: 600; }
  .prose ul, .prose ol { padding-left: 1.3em; max-width: 66ch; }
  .prose li + li { margin-top: var(--s-2); }
  .prose li::marker { color: var(--accent); }
  .prose a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
  .prose blockquote {
    border-left: 3px solid var(--gold);
    padding: var(--s-2) 0 var(--s-2) var(--s-5);
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.4;
  }
  .prose blockquote cite {
    display: block;
    font-family: var(--sans);
    font-size: 14px;
    font-style: normal;
    color: var(--muted);
    margin-top: var(--s-3);
  }
  .prose figure { margin: var(--s-6) 0; }
  .prose figcaption { font-size: 13px; color: var(--muted); margin-top: var(--s-2); }
  .prose hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

  /* Image placeholder (für echte Fotos zu ersetzen) */
  .img-ph {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    display: grid;
    place-items: center;
    color: var(--gold-soft);
    aspect-ratio: 16/9;
  }
  .img-ph svg { width: 56px; height: 56px; opacity: .5; }
  .img-ph .ph-label {
    position: absolute;
    bottom: var(--s-3);
    left: var(--s-3);
    font-size: 12px;
    background: rgba(0,0,0,.45);
    padding: 5px 11px;
    border-radius: var(--r-sm);
    backdrop-filter: blur(6px);
  }

  /* Aside boxes */
  .aside-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-5);
  }
  .aside-box + .aside-box { margin-top: var(--s-4); }
  .aside-box h4 {
    font-family: var(--serif);
    font-size: 18px;
    margin-bottom: var(--s-3);
  }
  .aside-box.accent {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
  }
  .aside-box.accent h4 { color: var(--bg); }
  .aside-box.accent p { color: rgba(253,249,240,.85); }
  .fact-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); }
  .fact-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    font-size: 14px;
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--line);
  }
  .fact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
  .fact-list .k { color: var(--muted); }
  .fact-list .v { color: var(--ink); font-weight: 600; font-family: var(--serif); text-align: right; }

  /* Timeline (Umsetzung) */
  .timeline { list-style: none; position: relative; padding-left: var(--s-7); }
  .timeline::before {
    content: '';
    position: absolute;
    left: 11px; top: 6px; bottom: 6px;
    width: 2px;
    background: var(--line);
  }
  .timeline li { position: relative; padding-bottom: var(--s-6); }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--s-7) + 4px);
    top: 4px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--accent);
  }
  .timeline .year {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
    margin-bottom: var(--s-1);
  }
  .timeline h3 { font-size: 20px; margin-bottom: var(--s-2); }
  .timeline p { font-size: 15px; color: var(--ink-soft); max-width: 60ch; }

  /* Team grid (Genossenschaft) */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
  }
  .team-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  .team-photo {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-alt), #e8dcc0);
    display: grid;
    place-items: center;
    color: var(--brown);
  }
  .team-photo svg { width: 48px; height: 48px; opacity: .4; }
  .team-body { padding: var(--s-5); }
  .team-body .role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--s-2);
  }
  .team-body h3 { font-size: 20px; margin-bottom: var(--s-1); }
  .team-body .contact { font-size: 14px; color: var(--muted); margin-top: var(--s-2); }

  /* Big data figures (Zahlen & Fakten) */
  .figure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
  }
  .figure-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-6);
  }
  .figure-card .big {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-2);
  }
  .figure-card .big small { font-size: 0.4em; color: var(--muted); font-weight: 400; }
  .figure-card .cap { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }

  /* Contact / CTA strip on inner pages */
  .cta-strip {
    background: var(--accent);
    color: var(--bg);
    border-radius: var(--r-xl);
    padding: var(--s-7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-6);
    flex-wrap: wrap;
  }
  .cta-strip h3 { color: var(--bg); font-size: 28px; margin-bottom: var(--s-2); }
  .cta-strip p { color: rgba(253,249,240,.85); font-size: 16px; max-width: 48ch; }

  /* ============================================================
     Responsive
     ============================================================ */
  @media (max-width: 960px) {
    .hero-grid, .lead-row, .news-grid, .join-inner, .foot-grid, .downloads-grid,
    .page-layout {
      grid-template-columns: 1fr;
    }
    .cards, .team-grid, .figure-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 0 var(--s-5); }
    .section { padding: var(--s-7) 0; }
    .hero { padding: var(--s-7) 0; }
  }

  /* Nav schaltet früher auf Hamburger um, bevor die Links zu eng werden */
  @media (max-width: 1140px) {
    .nav-burger { display: flex; }
    nav.menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 16px 32px rgba(29,27,20,.10);
      padding: var(--s-3) var(--s-5) var(--s-5);
      max-height: calc(100vh - 120px);
      overflow-y: auto;
    }
    .nav-toggle:checked ~ nav.menu { display: block; }
    nav.menu ul {
      flex-direction: column;
      align-items: stretch;
      gap: 2px;
      max-width: var(--container);
      margin: 0 auto;
    }
    nav.menu a {
      font-size: 16px;
      padding: 13px 14px;
      border-radius: var(--r-md);
    }
    nav.menu a.active,
    nav.menu a.menu-current,
    nav.menu a.menu-parent { background: var(--bg-alt); }
    nav.menu a.active::after,
    nav.menu a.menu-current::after,
    nav.menu a.menu-parent::after { display: none; }
  }
  @media (max-width: 640px) {
    .topbar-info span:nth-child(2) { display: none; }
  }