/* Gemeinsames Design für Unterseiten (Impulse, Kurse) – passt zur Startseite */
@font-face { font-family: "Graduate"; src: url("/assets/fonts/graduate-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --gruen: #1F3D33;
  --gruen-hell: #2E5446;
  --creme: #F3EEE3;
  --creme-hell: #FAF7F0;
  --tinte: #1A2420;
  --tinte-leise: #4A5A53;
  --linie: #D9D1BF;
  --breite: 1120px;
  --display: "Graduate", "Rockwell", "Courier New", serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--creme); color: var(--tinte); font-family: var(--text); font-size: 1.125rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gruen-hell); outline-offset: 3px; border-radius: 2px; }
.dunkel :focus-visible { outline-color: var(--creme); }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.schmal { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.abschnitt { padding: 88px 0; }
.dunkel { background: var(--gruen); color: var(--creme); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
p { margin: 0 0 1em; }
.einleitung { font-size: 1.25rem; color: var(--tinte-leise); max-width: 36em; margin-top: 16px; }
.dunkel .einleitung { color: #C9D3CC; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 14px 28px; border-radius: 4px; font-family: var(--text); font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid var(--gruen); transition: background .2s, color .2s; cursor: pointer; }
.knopf-voll { background: var(--gruen); color: var(--creme); }
.knopf-voll:hover { background: var(--gruen-hell); border-color: var(--gruen-hell); }
.knopf-rand { background: transparent; color: var(--gruen); }
.knopf-rand:hover { background: var(--gruen); color: var(--creme); }
.dunkel .knopf-voll { background: var(--creme); color: var(--gruen); border-color: var(--creme); }
.dunkel .knopf-voll:hover { background: #fff; border-color: #fff; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 14px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(243,238,227,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke img { width: 44px; }
.marke-name { font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; line-height: 1.05; color: var(--gruen); }
.marke-name small { display: block; font-family: var(--text); font-size: .8rem; letter-spacing: .02em; color: var(--tinte-leise); font-weight: 500; }
.navi { display: flex; align-items: center; gap: 28px; }
.navi a { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--tinte); }
.navi a:hover, .navi a[aria-current] { color: var(--gruen-hell); text-decoration: underline; text-underline-offset: 6px; }
.navi .knopf { min-height: 44px; padding: 8px 20px; font-size: 1rem; color: var(--creme); }
.navi .knopf:hover { color: var(--creme); text-decoration: none; }
@media (max-width: 860px) { .navi a:not(.knopf) { display: none; } }

/* Seitenkopf */
.seitenkopf { padding: 72px 0 40px; }
.seitenkopf h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--gruen); }
.zurueck { display: inline-block; font-weight: 600; color: var(--gruen); text-underline-offset: 4px; margin-bottom: 28px; }

/* Artikelliste (wie Startseite) */
.artikel-liste { border-top: 2px solid var(--gruen); }
.artikel { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
.artikel-thema { font-weight: 600; color: var(--gruen-hell); padding-top: 4px; }
.artikel-thema time { display: block; font-weight: 400; color: var(--tinte-leise); font-size: .95rem; margin-top: 2px; }
.artikel h2, .artikel h3 { font-family: var(--text); font-weight: 600; font-size: 1.35rem; letter-spacing: 0; line-height: 1.3; color: var(--gruen); margin-bottom: 6px; }
.artikel p { margin: 0; color: var(--tinte-leise); }
.artikel:hover h2, .artikel:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) { .artikel { grid-template-columns: 1fr; gap: 6px; } }

/* Einzelner Artikel */
.beitrag-kopf { padding: 64px 0 8px; }
.themen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.themen span { font-weight: 600; font-size: .92rem; color: var(--gruen); border: 1.5px solid var(--gruen); border-radius: 999px; padding: 3px 12px; }
.beitrag-kopf h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); color: var(--gruen); }
.autor { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); font-size: 1rem; color: var(--tinte-leise); }
.autor img { width: 44px; }
.autor strong { display: block; color: var(--tinte); font-weight: 600; }
.text { padding: 40px 0 16px; font-size: 1.2rem; line-height: 1.75; }
.text p { margin-bottom: 1.3em; }
.text h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); color: var(--gruen); margin: 1.8em 0 .6em; }
.text blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--gruen); font-size: 1.35rem; line-height: 1.5; font-style: italic; color: var(--gruen); }
.skala { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 1.6em 0; }
.skala span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-weight: 600; font-size: 1rem; border: 1.5px solid var(--gruen); color: var(--gruen); }
.skala span:nth-child(n+4) { background: rgba(31,61,51,.12); }
.skala span:nth-child(n+6) { background: rgba(31,61,51,.28); }
.skala span:nth-child(n+8) { background: var(--gruen-hell); color: var(--creme); }
.skala span:nth-child(10) { background: var(--gruen); }

.aufruf { margin: 48px 0 0; padding: 40px 36px; border-radius: 6px; }
.aufruf h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 12px; }
.aufruf p { color: #C9D3CC; margin-bottom: 24px; }
@media (max-width: 600px) { .aufruf { padding: 32px 22px; } }

.weitere { padding: 72px 0 96px; }
.weitere-titel { font-family: var(--display); font-size: 1.5rem; color: var(--gruen); margin-bottom: 20px; }

/* Fuß */
.fuss { background: #18322A; color: #AEBBB3; padding: 40px 0; font-size: .98rem; }
.fuss .innen { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.fuss nav { display: flex; gap: 22px; flex-wrap: wrap; }
.fuss a, .fuss button { color: #DCE3DE; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.fuss a:hover, .fuss button:hover { text-decoration: underline; }

/* Cookie-Hinweis */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 760px; margin: 0 auto; background: var(--creme-hell); color: var(--tinte); border: 2px solid var(--gruen); border-radius: 6px; padding: 22px 24px; display: none; box-shadow: 0 12px 40px rgba(31,61,51,.25); }
.cookie.sichtbar { display: block; }
.cookie h2 { font-family: var(--text); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; margin-bottom: 6px; }
.cookie p { font-size: 1rem; color: var(--tinte-leise); margin-bottom: 16px; }
.cookie .knopfreihe { gap: 10px; }
.cookie .knopf { min-height: 44px; padding: 8px 18px; font-size: .98rem; }
