/* =====================================================================
   one warm meal – öffentliche Website.
   DESIGN-VARIABLEN: Beim Anpassen der Gestaltung nur diesen Block ändern.
   --------------------------------------------------------------------- */
:root {
  --grau-900: #1f1e1c;
  --grau-700: #4a4742;
  --grau-500: #6f6b64;
  --grau-300: #d4cfc6;
  --grau-150: #ebe6dc;
  --grau-50:  #f7f4ee;
  --weiss:    #ffffff;

  /* Logo-Gold. NUR für Linien, Balken, Ränder und Flächen.
     NIE als Textfarbe auf Weiß (Kontrast zu gering). */
  --akzent: #c8a85c;

  --farbe-text: var(--grau-900);
  --farbe-text-leise: var(--grau-700);
  --farbe-hinweis: var(--grau-500);
  --farbe-hintergrund: var(--weiss);
  --farbe-flaeche: var(--grau-50);
  --farbe-linie: var(--grau-300);
  --farbe-dunkel: var(--grau-900);
  --farbe-auf-dunkel: var(--weiss);
  --farbe-button: var(--grau-900);
  --farbe-button-text: var(--weiss);
  --farbe-akzent-flaeche: color-mix(in srgb, var(--akzent) 18%, var(--weiss));
  --farbe-link: var(--grau-900);

  --schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-titel: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  --gewicht-titel: 700;

  --groesse-h1: clamp(2.15rem, 1.35rem + 3.6vw, 4.15rem);
  --groesse-h2: clamp(1.7rem, 1.3rem + 1.8vw, 2.85rem);
  --groesse-h3: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  --groesse-lead: clamp(1.08rem, 1rem + 0.4vw, 1.28rem);
  --groesse-text: 1.0625rem;
  --groesse-klein: 0.875rem;
  --groesse-zahl: clamp(2.4rem, 1.7rem + 3vw, 3.75rem);

  --abstand-xs: 0.5rem;
  --abstand-s: 1rem;
  --abstand-m: 1.5rem;
  --abstand-l: 2.5rem;
  --abstand-xl: clamp(3.5rem, 2.6rem + 4vw, 7rem);
  --breite-inhalt: 72rem;
  --breite-text: 42rem;

  --radius-s: 2px;
  --radius-m: 4px;
  --linie: 1px solid var(--farbe-linie);

  --kopf-hoehe: 4.75rem;
  --logo-hoehe: 3.15rem;
  --logo-max-breite: 13.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { margin: 0; font-family: var(--schrift-text); font-size: var(--groesse-text); line-height: 1.65; color: var(--farbe-text); background: var(--farbe-hintergrund); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; font-family: var(--schrift-titel); line-height: 1.12; margin: 0 0 var(--abstand-s); letter-spacing: -0.02em; overflow-wrap: break-word; }
h1 { font-size: var(--groesse-h1); font-weight: var(--gewicht-titel); }
h2 { font-size: var(--groesse-h2); font-weight: var(--gewicht-titel); }
h3 { font-family: var(--schrift-text); font-size: var(--groesse-h3); font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 var(--abstand-s); }
a { color: var(--farbe-link); text-underline-offset: 0.2em; text-decoration-color: var(--grau-500); }
:focus-visible { outline: 3px solid var(--grau-900); outline-offset: 3px; box-shadow: 0 0 0 6px var(--akzent); }

.huelle { width: 100%; max-width: var(--breite-inhalt); margin: 0 auto; padding: 0 var(--abstand-m); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprunglink { position: absolute; left: -999px; top: 0; background: var(--farbe-dunkel); color: var(--farbe-auf-dunkel); padding: var(--abstand-xs) var(--abstand-s); z-index: 100; }
.sprunglink:focus { left: var(--abstand-s); }

/* --- Kopfzeile -------------------------------------------------------- */
.kopf { position: relative; z-index: 50; background: var(--farbe-hintergrund); border-bottom: var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: var(--abstand-s); min-height: var(--kopf-hoehe); }
.logo { display: flex; align-items: center; height: var(--logo-hoehe); flex: 0 1 auto; }
.logo img { height: var(--logo-hoehe); width: auto; max-width: var(--logo-max-breite); object-fit: contain; object-position: left center; background: var(--weiss); }
.menue-knopf { display: inline-flex; align-items: center; gap: 0.5rem; font: inherit; font-weight: 600; background: none; border: var(--linie); border-radius: var(--radius-m); padding: 0.5rem 0.85rem; color: var(--farbe-text); cursor: pointer; }
.menue-knopf-strich, .menue-knopf-strich::before, .menue-knopf-strich::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; content: ""; }
.menue-knopf-strich::before { position: absolute; top: -6px; }
.menue-knopf-strich::after { position: absolute; top: 6px; }
.navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--farbe-hintergrund); border-bottom: var(--linie); padding: var(--abstand-s) var(--abstand-m) var(--abstand-m); }
.navigation.offen-nav { display: block; }
.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.navigation a { display: block; padding: 0.6rem 0; color: var(--farbe-text); text-decoration: none; font-weight: 550; }
.navigation a:hover { text-decoration: underline; text-decoration-color: var(--akzent); text-decoration-thickness: 3px; }
.navigation .nav-cta { margin-top: var(--abstand-xs); }
.kein-js .navigation { display: block; position: static; border: 0; padding: 0 0 var(--abstand-s); }
.kein-js .menue-knopf { display: none; }

/* --- Buttons ---------------------------------------------------------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1.35rem; font: inherit; font-weight: 650; line-height: 1.25; text-align: center; text-decoration: none; border-radius: var(--radius-m); border: 2px solid var(--farbe-button); background: var(--farbe-button); color: var(--farbe-button-text); cursor: pointer; }
.button:hover { background: var(--farbe-dunkel); border-color: var(--farbe-dunkel); }
.button.sekundaer { background: transparent; color: var(--farbe-text); border-color: var(--farbe-text); }
.button.sekundaer:hover { background: var(--farbe-text); color: var(--farbe-hintergrund); }
.button.klein { min-height: 2.6rem; padding: 0.55rem 1rem; font-size: 0.95rem; }
.button-reihe { display: flex; flex-wrap: wrap; gap: var(--abstand-s); align-items: flex-start; }
.cta-hinweis { margin: 0; font-size: var(--groesse-klein); line-height: 1.45; color: var(--farbe-text-leise); }

/* --- Abschnitte ------------------------------------------------------- */
.abschnitt { padding: var(--abstand-xl) 0; }
.abschnitt.flaeche { background: var(--farbe-flaeche); }
.abschnitt.dunkel { background: var(--farbe-dunkel); color: var(--farbe-auf-dunkel); }
.abschnitt.dunkel a:not(.button) { color: var(--farbe-auf-dunkel); }
.kicker { display: flex; align-items: center; gap: 0.75rem; font-size: var(--groesse-klein); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--farbe-text-leise); margin-bottom: var(--abstand-s); }
.kicker::before { content: ""; width: 2.5rem; height: 3px; background: var(--akzent); flex: none; }
.dunkel .kicker { color: var(--grau-300); }
.kopf-text { max-width: var(--breite-text); margin-bottom: var(--abstand-l); }
.lead { font-size: var(--groesse-lead); color: var(--farbe-text-leise); line-height: 1.55; }
.dunkel .lead { color: var(--grau-300); }
.fliess { max-width: var(--breite-text); }

/* --- Hero ------------------------------------------------------------- */
.hero { padding: var(--abstand-l) 0 var(--abstand-xl); }
.hero .huelle { display: grid; gap: var(--abstand-l); }
.hero .lead { max-width: 40rem; }
.hero-bild { margin: 0; }
.hero-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; border-radius: var(--radius-m); }
.bildquelle { font-size: 0.75rem; color: var(--farbe-hinweis); margin: 0.4rem 0 0; }

/* --- Zahlen / Lage ---------------------------------------------------- */
.zahlen { list-style: none; margin: 0 0 var(--abstand-l); padding: 0; display: grid; gap: var(--abstand-m); }
.zahl-karte { background: var(--weiss); border: var(--linie); border-top: 3px solid var(--akzent); border-radius: var(--radius-m); padding: var(--abstand-m); display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.zahl-karte .zahl { margin: 0; font-family: var(--schrift-titel); font-size: var(--groesse-zahl); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.zahl-karte h3 { margin: 0.35rem 0 0; }
.zahl-karte p { margin: 0; }
.quelle { font-size: 0.8rem; color: var(--farbe-text-leise); line-height: 1.45; margin-top: auto; padding-top: var(--abstand-s); }
.einordnung { max-width: 48rem; border-left: 3px solid var(--akzent); padding: var(--abstand-s) 0 var(--abstand-s) var(--abstand-m); background: transparent; }
.einordnung p:last-child { margin-bottom: 0; }
.zitat { margin: var(--abstand-l) 0 0; max-width: 44rem; padding: 0; }
.zitat p { font-size: var(--groesse-lead); line-height: 1.5; font-family: var(--schrift-titel); }
.zitat footer { font-size: var(--groesse-klein); color: var(--farbe-text-leise); font-style: normal; }
.lage-raster { display: grid; gap: var(--abstand-l); }

/* --- Schritte --------------------------------------------------------- */
.schritte { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--akzent); max-width: 52rem; }
.schritte li { display: grid; gap: var(--abstand-xs); padding: var(--abstand-m) 0; border-bottom: var(--linie); }
.schritte .nr { font-family: var(--schrift-titel); font-size: 1.5rem; font-weight: 700; color: var(--farbe-text-leise); }
.schritte h3 { margin: 0; }
.schritte p:last-child { margin-bottom: 0; }

/* --- Mitmachen -------------------------------------------------------- */
.hinweis-kasten { max-width: var(--breite-text); border: var(--linie); border-radius: var(--radius-m); padding: var(--abstand-m); background: var(--farbe-flaeche); }
.hinweis-kasten p:last-child { margin-bottom: 0; }
.dunkel .hinweis-kasten { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.2); }
.dunkel .cta-hinweis { color: var(--grau-300); }

/* --- Quellenliste ----------------------------------------------------- */
.quellen-liste { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.quellen-liste li { padding: 0.7rem 0; border-bottom: var(--linie); font-size: var(--groesse-klein); line-height: 1.5; }
.quellen-liste li:first-child { border-top: var(--linie); }

/* --- Unterseiten ------------------------------------------------------ */
.unterseite h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); }
.weiter { margin-top: var(--abstand-l); }

/* --- Fußzeile --------------------------------------------------------- */
.fuss { border-top: var(--linie); padding: var(--abstand-l) 0; font-size: var(--groesse-klein); color: var(--farbe-text-leise); }
.fuss .huelle { display: grid; gap: var(--abstand-m); }
.fuss-marke { font-weight: 700; color: var(--farbe-text); font-size: 1rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--abstand-xs) var(--abstand-m); }
.fuss a { color: var(--farbe-text); }

/* --- Rechtstext ------------------------------------------------------- */
.rechtstext { max-width: 46rem; }
.rechtstext h1 { text-wrap: wrap; overflow-wrap: normal; font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.4rem); }
.rechtstext h2 { margin-top: var(--abstand-l); }
.rechtstext h3 { font-size: 1.15rem; letter-spacing: 0; margin-top: var(--abstand-m); }
.rechtstext p { margin: 0 0 0.9em; }
.rechtstext ul { margin: 0 0 1em; padding-left: 1.25rem; }
.rechtstext li { margin: 0.4em 0; }
.rechtstext .index { list-style: none; padding-left: 0; margin-bottom: var(--abstand-l); }
.rechtstext .index li { margin: 0.25em 0; }
.rechtstext .seal { margin-top: var(--abstand-l); }

/* --- Ab Tablet -------------------------------------------------------- */
@media (min-width: 48rem) {
  .huelle { padding: 0 var(--abstand-l); }
  .zahlen { grid-template-columns: repeat(2, 1fr); }
  .fuss .huelle { grid-template-columns: 1fr auto; align-items: end; }
  .lage-raster { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .schritte li { grid-template-columns: 3.5rem 1fr; gap: var(--abstand-m); align-items: start; }
}

/* --- Ab Desktop ------------------------------------------------------- */
@media (min-width: 64rem) {
  .menue-knopf { display: none; }
  .navigation, .kein-js .navigation { display: block; position: static; border: 0; padding: 0; background: none; }
  .navigation ul { flex-direction: row; align-items: center; gap: var(--abstand-m); }
  .navigation a { padding: 0.25rem 0; font-size: 0.95rem; }
  .navigation .nav-cta { margin: 0 0 0 var(--abstand-xs); }
  .navigation .nav-cta a { padding: 0.5rem 0.95rem; color: var(--farbe-button-text); }
  .navigation .nav-cta a:hover { text-decoration: none; }
  .hero { padding-top: var(--abstand-xl); }
  .hero .huelle { grid-template-columns: 1.35fr 1fr; align-items: center; gap: var(--abstand-xl); }
  .zahlen { grid-template-columns: repeat(3, 1fr); }
  :root { --kopf-hoehe: 5.5rem; --logo-hoehe: 3.6rem; --logo-max-breite: 15.5rem; }
}

.kopf-text.ohne-unten { margin-bottom: 0; }
.extern { font-weight: 600; }
.extern a::after { content: " ↗"; }

.abschnitt.dunkel .button {
  background: var(--weiss);
  color: var(--grau-900);
  border-color: var(--weiss);
}
.abschnitt.dunkel .button:hover {
  background: var(--grau-50);
  border-color: var(--grau-50);
  color: var(--grau-900);
}

.lage-weiter { margin-top: var(--abstand-l); }
.lage-weiter .quelle { margin-bottom: var(--abstand-s); }

.hero-bild.infografik { max-width: 26rem; justify-self: center; }
.hero-bild.infografik img { aspect-ratio: auto; object-fit: contain; height: auto; }

.intro-text p { max-width: 40rem; }
.intro-frage { font-weight: 700; font-size: 1.2rem; }
.intro-signatur { font-weight: 700; font-style: italic; }
.hero-rechts { display: flex; flex-direction: column; gap: var(--abstand-m, 1.5rem); }
.hero-rechts .hero-bild.infografik { max-width: none; }
.hero-rechts .hero-bild img { aspect-ratio: auto; height: auto; }
.hero-rechts .fuell img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 40%; }
.hero-bild.hochkant { background: var(--farbe-flaeche, #f6f2ea); border-radius: var(--radius-m); display: flex; flex-direction: column; justify-content: center; }
.hero-bild.hochkant img { aspect-ratio: 1 / 1; object-fit: contain; height: auto; }
.lage-raster, #projekt .lage-raster { align-items: start; }
#projekt .hero-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .hero .huelle { align-items: stretch; }
  .hero-rechts { height: 100%; }
  .hero-rechts .fuell { flex: 1 1 0; min-height: 14rem; display: flex; flex-direction: column; }
  .hero-rechts .fuell img { flex: 1 1 0; min-height: 0; height: 100%; aspect-ratio: auto; }
}

.block-breit { grid-template-columns: 1fr !important; }
.block-breit .einordnung, .block-breit .kopf-text, #lage .lage-weiter, #lage .lage-weiter p, #lage .zitat { max-width: none; }
#projekt .kopf-text, #projekt .kopf-text p { max-width: none; }
.video-block { background: linear-gradient(135deg, #2a2723, #4a4239); border-radius: var(--radius-m); padding: var(--abstand-m); color: #f6f2ea; display: grid; gap: var(--abstand-m); }
.video-block h2 { color: #f6f2ea; margin-bottom: 0; }
.video-block .kicker { color: var(--akzent); }
.yt-zwei-klick { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; background: #1d1b18; border: 1px solid var(--akzent); }
.yt-zwei-klick iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-vorschau { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.6rem; padding: var(--abstand-m); background: radial-gradient(circle at 50% 40%, #4a4239, #1d1b18 75%); }
.yt-titel { font-family: var(--schrift-titel); font-size: clamp(1.1rem, 2.4vw, 1.9rem); margin: 0; max-width: 34rem; color: #f6f2ea; }
.yt-meta { margin: 0; color: var(--akzent); font-size: var(--groesse-klein); letter-spacing: 0.06em; text-transform: uppercase; }
.yt-start { display: inline-flex; align-items: center; gap: 0.7rem; font: inherit; font-weight: 600; color: #1d1b18; background: #f6f2ea; border: 0; border-radius: 999px; padding: 0.55rem 1.2rem 0.55rem 0.55rem; cursor: pointer; margin-top: 0.4rem; }
.yt-start .video-symbol { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--akzent); color: #1d1b18; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; padding-left: 0.15rem; }
.yt-hinweis { margin: 0.3rem 0 0; font-size: 0.78rem; max-width: 30rem; color: #d9d2c5; }
.yt-hinweis a { color: #f6f2ea; }
.video-quelle { color: #d9d2c5; margin: 0; }
.video-quelle a { color: #f6f2ea; }
@media (max-width: 600px) { .yt-zwei-klick { aspect-ratio: 4 / 5; } }
@media (min-width: 900px) { .video-block { padding: var(--abstand-l); } }
