/* ==========================================================================
   Runder Tisch Trauer – Pforzheim & Enzkreis
   Farben aus dem Labyrinth-Logo, Schrift: Alegreya / Alegreya Sans (SIL OFL)
   ========================================================================== */

@font-face {
  font-family: "Alegreya";
  src: url("../fonts/alegreya-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("../fonts/alegreya-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/alegreya-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/alegreya-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/alegreya-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("../fonts/alegreya-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Grundfarben */
  --papier: #f6f7f2;
  --papier-tief: #eceee6;
  --weiss: #ffffff;
  --tinte: #2e241c;
  --tinte-weich: #5b4f45;
  --rost: #96461c;
  --rost-tief: #7a3613;
  --linie: #d9dbd0;

  /* Die vier Felder des Labyrinths */
  --gelb: #f8ebb6;
  --gelb-mark: #85600a;
  --rose: #f8d5dc;
  --rose-mark: #9a3b50;
  --salbei: #d5ecce;
  --salbei-mark: #3b6e32;
  --blau: #d3e2f4;
  --blau-mark: #36628f;
  --grau: #e4e3dc;
  --grau-mark: #5b4f45;

  /* Schrift */
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;

  /* Typografische Skala (klassisch: 16 · 19 · 24 · 30 · 36 · 48 · 60 · 72) */
  --t-klein: 1.0625rem;
  --t-text: 1.1875rem;
  --t-gross: 1.375rem;
  --t-h3: 1.5rem;
  --t-h2: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --t-h1: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);

  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 3rem + 5vw, 7.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: var(--t-text);
  line-height: 1.55;
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums proportional-nums;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  font-variant-numeric: lining-nums;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--rost);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--rost-tief);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--rost);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Zeilenumbruch, der nur auf schmalen Bildschirmen gilt */
br.nur-mobil {
  display: none;
}

.visuell-versteckt {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprunglink {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--tinte);
  color: var(--weiss);
  padding: 0.6rem 1rem;
  border-radius: 6px;
}
.sprunglink:focus {
  top: 1rem;
  color: var(--weiss);
}

.rahmen {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* --------------------------------------------------------------------------
   Kopf
   -------------------------------------------------------------------------- */

/* Kopf bleibt beim Scrollen oben stehen, auf allen Bildschirmgrößen */
.kopf {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-block: 0.9rem;
  background: var(--papier-tief);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kopf.ist-gescrollt {
  border-bottom-color: var(--linie);
  box-shadow: 0 4px 16px rgb(46 36 28 / 0.06);
}
.kopf .rahmen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.marke {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--tinte);
  text-decoration: none;
}
.marke:hover {
  color: var(--tinte);
}
.marke img {
  width: 3.25rem;
  mix-blend-mode: multiply;
}
.marke-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.1;
  display: block;
}
.marke-ort {
  display: block;
  font-size: var(--t-klein);
  color: var(--tinte-weich);
  line-height: 1.2;
}

.hauptnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.hauptnav a {
  color: var(--tinte);
  text-decoration: none;
  font-weight: 500;
  padding-block: 0.4rem;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.hauptnav a:hover {
  border-bottom-color: var(--rost);
}

/* Menü-Knopf: nur auf schmalen Bildschirmen sichtbar */
.menue-knopf {
  display: none;
  align-items: center;
  gap: 0.55rem;
  flex: none;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--linie);
  border-radius: 999px;
  background: var(--weiss);
  color: var(--tinte);
  font: inherit;
  font-weight: 500;
  font-size: 1.0625rem;
  cursor: pointer;
}
.menue-knopf:hover {
  border-color: var(--rost);
}
.menue-strich {
  position: relative;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.15s ease;
}
.menue-strich::before,
.menue-strich::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.menue-strich::before {
  transform: translateY(-6px);
}
.menue-strich::after {
  transform: translateY(6px);
}
.menue-knopf[aria-expanded="true"] .menue-strich {
  background-color: transparent;
}
.menue-knopf[aria-expanded="true"] .menue-strich::before {
  transform: rotate(45deg);
}
.menue-knopf[aria-expanded="true"] .menue-strich::after {
  transform: rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .menue-strich,
  .menue-strich::before,
  .menue-strich::after {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Einstieg
   -------------------------------------------------------------------------- */

/* Einstieg auf ruhigem Grundton, der Wegweiser darunter auf Weiß */
.einstieg {
  padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--papier-tief);
}
.einstieg .rahmen {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.einstieg h1 {
  font-size: var(--t-h1);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin-bottom: 0.45em;
}
.einstieg-text {
  font-size: var(--t-gross);
  line-height: 1.5;
  color: var(--tinte-weich);
  max-width: 34em;
}
.einstieg-text strong {
  color: var(--tinte);
  font-weight: 500;
}

.einstieg-bild {
  margin: 0;
}
.einstieg-bild img {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  mix-blend-mode: multiply;
}

.akut-kurz {
  margin-top: 1.75rem;
  font-size: var(--t-klein);
  color: var(--tinte-weich);
  border-left: 3px solid var(--rost);
  padding-left: 0.9rem;
  max-width: 32em;
}
.akut-kurz p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Wegweiser: die vier Felder des Labyrinths
   -------------------------------------------------------------------------- */

.wegweiser {
  padding-block: var(--abstand);
  background: var(--weiss);
}
.wegweiser-kopf {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3rem);
}
.wegweiser h2 {
  font-size: var(--t-h2);
  margin-bottom: 0.6rem;
}
.wegweiser-kopf p {
  margin: 0;
  font-size: var(--t-gross);
  color: var(--tinte-weich);
}

.felder {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 56rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 0.6rem;
}

/* Jedes Feld ist ein Viertel einer Ellipse. Der Text sitzt an der inneren
   Ecke, also an der Mitte des Labyrinths, und bleibt so sicher in der Form. */
.feld a {
  display: grid;
  min-height: 18rem;
  height: 100%;
  padding: 1.75rem;
  color: var(--tinte);
  text-decoration: none;
  border-radius: 10px;
  background: var(--feld-ton);
  position: relative;
  transition: filter 0.15s ease;
}
.feld-inhalt {
  display: flex;
  flex-direction: column;
  width: 64%;
}
.feld:nth-child(1) .feld-inhalt {
  justify-self: end;
  align-self: end;
}
.feld:nth-child(2) .feld-inhalt {
  justify-self: start;
  align-self: end;
}
.feld:nth-child(3) .feld-inhalt {
  justify-self: end;
  align-self: start;
}
.feld:nth-child(4) .feld-inhalt {
  justify-self: start;
  align-self: start;
}
.feld a:hover {
  filter: saturate(1.25) brightness(0.98);
}
.feld a:hover .feld-titel {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
  text-decoration-color: var(--feld-mark);
}

/* Die Außenecken bilden zusammen die Ellipse des Labyrinths */
.feld:nth-child(1) a {
  border-top-left-radius: 100% 100%;
}
.feld:nth-child(2) a {
  border-top-right-radius: 100% 100%;
}
.feld:nth-child(3) a {
  border-bottom-left-radius: 100% 100%;
}
.feld:nth-child(4) a {
  border-bottom-right-radius: 100% 100%;
}

.feld-titel {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.feld-text {
  color: var(--tinte-weich);
  line-height: 1.45;
}
.feld-zahl {
  margin-top: 0.75rem;
  font-size: var(--t-klein);
  font-weight: 500;
  color: var(--feld-mark);
}

/* Farbzuordnung, gilt für Wegweiser und Abschnitte */
.ton-gelb {
  --feld-ton: var(--gelb);
  --feld-mark: var(--gelb-mark);
}
.ton-rose {
  --feld-ton: var(--rose);
  --feld-mark: var(--rose-mark);
}
.ton-salbei {
  --feld-ton: var(--salbei);
  --feld-mark: var(--salbei-mark);
}
.ton-blau {
  --feld-ton: var(--blau);
  --feld-mark: var(--blau-mark);
}
/* Grau wie das fünfte, neutrale Feld im Logo: weitere Angebote */
.ton-grau {
  --feld-ton: var(--grau);
  --feld-mark: var(--grau-mark);
}

/* --------------------------------------------------------------------------
   Abschnitte mit Angeboten
   -------------------------------------------------------------------------- */

/* Jeder Bereich liegt auf einer eigenen Fläche in seiner Labyrinth-Farbe */
.bereich {
  padding-block: var(--abstand);
  background: color-mix(in srgb, var(--feld-ton) 48%, var(--papier));
}

.bereich-kopf {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: start;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-width: 50rem;
}
.bereich-zeichen {
  width: 3.25rem;
  height: 3.25rem;
  margin-top: 0.35rem;
  background: var(--feld-ton);
  border: 2px solid var(--feld-mark);
}
.ton-gelb .bereich-zeichen {
  border-top-left-radius: 100%;
}
.ton-rose .bereich-zeichen {
  border-top-right-radius: 100%;
}
.ton-salbei .bereich-zeichen {
  border-bottom-left-radius: 100%;
}
.ton-blau .bereich-zeichen {
  border-bottom-right-radius: 100%;
}
.ton-grau .bereich-zeichen {
  border-radius: 50%;
}

.bereich h2 {
  font-size: var(--t-h2);
  margin-bottom: 0.5rem;
}
.bereich-intro {
  color: var(--tinte-weich);
  font-size: var(--t-gross);
  line-height: 1.5;
  margin: 0;
  max-width: 36em;
}

/* Angebote stehen einzeln untereinander: eine Karte pro Angebot */
.angebote {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.25rem);
}

.angebot {
  background: var(--weiss);
  border-top: 4px solid var(--feld-mark);
  border-radius: 4px 4px 12px 12px;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
}
.angebot-info > :last-child {
  margin-bottom: 1.25rem;
}

/* Breite Bildschirme: links worum es geht, rechts der Kontakt */
@media (min-width: 60.01rem) {
  .angebot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
  .angebot-info > :last-child {
    margin-bottom: 0;
  }
  /* Karten ohne eigenen Kontakt nutzen die volle Breite */
  .angebot:not(:has(> .kontakt)) {
    display: block;
  }
  /* Regionskarte: Kopf wie eine Angebotskarte, links Region, rechts Kontakt */
  .region-kopf {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
  .region-kopf .kontakt {
    margin-top: 0;
  }
  /* Angebote in der Regionskarte: links Name, rechts Details */
  .region-angebot {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.angebot:not(:has(> .kontakt)) .angebot-info > :last-child {
  margin-bottom: 0;
}

/* Regionen (Erwachsene): je eine weiße Karte wie alle anderen Angebote */
.region {
  background: var(--weiss);
  border-top: 4px solid var(--feld-mark);
  border-radius: 4px 4px 12px 12px;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
}
.region + .region {
  margin-top: clamp(1.25rem, 2vw, 1.5rem);
}
.region-titel {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.region-info p {
  margin: 0;
  color: var(--tinte-weich);
}

.region-angebote {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--linie);
}
.region-angebot {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--linie);
}
.region-angebot:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.region-angebot h4 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.region-details > * {
  margin-bottom: 0.75rem;
}
.region-details > :last-child {
  margin-bottom: 0;
}
.region-details .angaben {
  margin-top: 0;
}

@media (max-width: 60rem) {
  .region + .region {
    margin-top: 2rem;
  }
  .region-kopf .kontakt {
    margin-top: 1rem;
  }
}

/* Hinweis auf weitere Angebote unter dem Wegweiser */
.weitere-hinweis {
  max-width: 56rem;
  margin: 1.75rem auto 0;
  text-align: center;
}
.weitere-hinweis a {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--papier-tief);
  border: 1.5px solid var(--linie);
  color: var(--tinte);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
}
.weitere-hinweis a:hover {
  border-color: var(--rost);
  color: var(--tinte);
}
.angebot h3,
.angebot h4 {
  font-family: var(--serif);
  font-size: var(--t-h3);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.angebot-traeger {
  color: var(--feld-mark);
  font-weight: 500;
  margin: 0 0 0.75rem;
}
.angebot-text {
  margin-bottom: 1rem;
  max-width: 34em;
}

.angaben {
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem 1rem;
}
.angaben dt {
  font-weight: 700;
  color: var(--tinte-weich);
}
.angaben dd {
  margin: 0;
}

.kontakt {
  background: var(--weiss);
  border: 1px solid color-mix(in srgb, var(--feld-mark) 28%, var(--linie));
  border-radius: 10px;
  padding: 1rem;
}
.person + .person {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linie);
}
.kontakt-wege a {
  background: var(--weiss);
}
.kontakt-name {
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.kontakt-wege {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.kontakt-wege a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--feld-mark);
  color: var(--tinte);
  text-decoration: none;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  word-break: break-word;
}
.kontakt-wege a:hover {
  background: var(--feld-ton);
  color: var(--tinte);
}
.kontakt-wege svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  color: var(--feld-mark);
}

.bereich-fuss {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: 1.25rem 1.5rem;
  background: rgb(255 255 255 / 0.55);
  border-radius: 12px;
  color: var(--tinte);
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}
.bereich-fuss p:last-child {
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   Termine
   -------------------------------------------------------------------------- */

.termine {
  padding-block: var(--abstand);
  background: var(--weiss);
}
.termine h2 {
  font-size: var(--t-h2);
  margin-bottom: 0.5rem;
}
.termine-intro {
  color: var(--tinte-weich);
  font-size: var(--t-gross);
  max-width: 36em;
  margin-bottom: 2.5rem;
}

.terminliste {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 52rem;
}
.termin {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--linie);
}
.termin:last-child {
  border-bottom: 1px solid var(--linie);
}
.termin-datum {
  font-family: var(--serif);
  line-height: 1.1;
  font-variant-numeric: lining-nums;
}
.termin-tag {
  display: block;
  font-size: 3rem;
  font-weight: 500;
  color: var(--feld-mark);
}
.termin-monat {
  display: block;
  font-size: 1.125rem;
}
.termin-wochentag {
  display: block;
  font-family: var(--sans);
  font-size: var(--t-klein);
  color: var(--tinte-weich);
  margin-top: 0.25rem;
}
.termin h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.termin p {
  margin: 0;
  color: var(--tinte-weich);
}
.termin-zeit {
  color: var(--tinte) !important;
  font-weight: 500;
}

.regelmaessig {
  margin-top: 3rem;
  max-width: 52rem;
}
.regelmaessig h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.regelmaessig ul {
  margin: 0;
  padding-left: 1.2rem;
}
.regelmaessig li {
  margin-bottom: 0.5rem;
}
.regelmaessig li::marker {
  color: var(--rost);
}

/* --------------------------------------------------------------------------
   Akute Hilfe
   -------------------------------------------------------------------------- */

.akut {
  padding-top: var(--abstand);
}
.akut-kasten {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 2px solid var(--rost);
  border-radius: 12px;
}
.akut h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  margin-bottom: 0.6rem;
}
.akut p {
  margin: 0;
  color: var(--tinte-weich);
}
.akut-nummern {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.akut-nummern a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.85rem 1.15rem;
  background: var(--weiss);
  border-radius: 8px;
  border: 1px solid var(--linie);
  color: var(--tinte);
  text-decoration: none;
}
.akut-nummern a:hover {
  border-color: var(--rost);
}
.akut-nummern strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}
.akut-nummern span {
  color: var(--tinte-weich);
  font-size: var(--t-klein);
}

/* --------------------------------------------------------------------------
   Über die Initiative
   -------------------------------------------------------------------------- */

.initiative {
  margin-top: var(--abstand);
  padding-block: var(--abstand);
  position: relative;
  overflow: hidden;
  background: var(--papier-tief);
}
.initiative .rahmen {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  position: relative;
}
.initiative::before {
  content: "";
  position: absolute;
  right: -12rem;
  bottom: -6rem;
  width: 42rem;
  aspect-ratio: 900 / 632;
  background: url("../img/labyrinth-linien.jpg") center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.12;
  pointer-events: none;
}
.initiative h2 {
  font-size: var(--t-h2);
  margin-bottom: 1rem;
}
.initiative-text {
  max-width: 34em;
}
.initiative-text p:first-of-type {
  font-size: var(--t-gross);
  line-height: 1.5;
}

.labyrinth-deutung {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.5;
  border-left: 3px solid var(--rost);
  padding-left: 1.25rem;
  margin: 2rem 0;
}

.verantwortlich {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 10px;
  padding: 1.5rem;
  align-self: start;
}
.verantwortlich h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.verantwortlich p {
  margin-bottom: 0.75rem;
}
.verantwortlich .kontakt-wege a {
  --feld-mark: var(--rost);
  --feld-ton: var(--papier-tief);
}

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.6rem 1.3rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--rost);
  color: var(--weiss);
  font-weight: 500;
  text-decoration: none;
}
.knopf:hover {
  background: var(--rost-tief);
  color: var(--weiss);
}
.knopf svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* --------------------------------------------------------------------------
   Fuß
   -------------------------------------------------------------------------- */

.fuss {
  background: var(--tinte);
  color: #e9e4dc;
  padding-block: 3rem;
  font-size: var(--t-klein);
}
.fuss .rahmen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.fuss a {
  color: #f3dccb;
}
.fuss a:hover {
  color: var(--weiss);
}
.fuss p {
  margin: 0 0 0.4rem;
  max-width: 38em;
}
.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.fuss-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--weiss);
}

/* --------------------------------------------------------------------------
   Unterseiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */

.textseite {
  padding-block: clamp(2rem, 5vw, 4rem) var(--abstand);
}
.textseite .rahmen {
  max-width: 46rem;
}
.textseite h1 {
  font-size: var(--t-h2);
  margin-bottom: 1.5rem;
}
.textseite h2 {
  font-size: var(--t-h3);
  font-weight: 600;
  margin: 2.25rem 0 0.6rem;
}
.textseite address {
  font-style: normal;
  margin-bottom: 1em;
}

/* --------------------------------------------------------------------------
   Entwurfs-Hinweise (vor Veröffentlichung entfernen)
   -------------------------------------------------------------------------- */

.todo {
  display: inline;
  background: #fff4c2;
  outline: 1.5px dashed #b07d00;
  outline-offset: 1px;
  border-radius: 3px;
  padding: 0 0.3em;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.9em;
  color: #5a4300;
}
div.todo,
p.todo {
  display: block;
  padding: 0.6rem 0.8rem;
  margin: 0.75rem 0;
}


/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */

@media (max-width: 60rem) {
  .angebote {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .akut-kasten,
  .initiative .rahmen {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 48rem) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .kopf {
    padding-block: 0.6rem;
  }
  .kopf .rahmen {
    flex-wrap: nowrap;
  }

  .js .menue-knopf {
    display: inline-flex;
  }
  .js .hauptnav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--papier-tief);
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 14px 28px rgb(46 36 28 / 0.12);
  }
  .js .hauptnav.ist-offen {
    display: block;
  }
  .js .hauptnav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.25rem var(--rand);
  }
  .js .hauptnav li + li {
    border-top: 1px solid var(--linie);
  }
  .js .hauptnav a {
    display: block;
    padding: 0.95rem 0;
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 500;
    border-bottom: 0;
  }

  .einstieg {
    padding-top: 1.5rem;
  }
  .einstieg .rahmen {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .einstieg-bild {
    order: -1;
  }
  /* Handy: Logo mittig, Überschrift nutzt die volle Breite */
  .einstieg-bild img {
    width: 72%;
    max-width: 18rem;
    margin-inline: auto;
  }
  .einstieg h1 {
    max-width: none;
    text-wrap: wrap;
    font-size: clamp(1.75rem, 8.6vw, 3.25rem);
  }
  br.nur-mobil {
    display: inline;
  }
  .einstieg-text {
    font-size: 1.25rem;
  }

  /* Viertel-Symbol mittig, mit gleichem Abstand nach oben und zur Überschrift */
  .bereich {
    padding-top: 2.5rem;
  }
  .bereich-kopf {
    grid-template-columns: minmax(0, 1fr);
  }
  .bereich-zeichen {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 auto 2.5rem;
  }

  .termin {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 1rem;
  }
  .termin-tag {
    font-size: 2.25rem;
  }
}

/* Wegweiser als Liste, sobald die Ellipse zu schmal für den Text würde */
@media (max-width: 60rem) {
  .felder {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  .feld a,
  .feld:nth-child(n) a {
    min-height: 0;
    padding: 1.25rem 1.25rem 1.25rem 4.25rem;
    border-radius: 10px;
  }
  .feld:nth-child(n) .feld-inhalt {
    width: auto;
    justify-self: stretch;
    align-self: start;
  }
  .feld-titel {
    font-size: 1.5rem;
  }
  /* Ein kleines Viertel zeigt, welches Feld es ist */
  .feld a::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 1.4rem;
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--feld-mark);
    background: color-mix(in srgb, var(--feld-ton) 60%, white);
  }
  .feld:nth-child(1) a::before {
    border-top-left-radius: 100%;
  }
  .feld:nth-child(2) a::before {
    border-top-right-radius: 100%;
  }
  .feld:nth-child(3) a::before {
    border-bottom-left-radius: 100%;
  }
  .feld:nth-child(4) a::before {
    border-bottom-right-radius: 100%;
  }
}

@media (max-width: 30rem) {
  :root {
    --t-text: 1.125rem;
  }
  .marke {
    gap: 0.55rem;
    min-width: 0;
  }
  .marke-name {
    font-size: 1.15rem;
    white-space: nowrap;
  }
  .marke-ort {
    font-size: 0.9375rem;
  }
  .marke img {
    width: 2.6rem;
  }
  .angaben {
    grid-template-columns: minmax(0, 1fr);
  }
  .angaben dd {
    margin-bottom: 0.4rem;
  }
}

@media print {
  .kopf nav,
  .menue-knopf,
  .wegweiser,
  .todo {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .angebot {
    break-inside: avoid;
  }
  .kontakt-wege a {
    border: 0;
    padding: 0;
    min-height: 0;
  }
}

/* Rechte Fußspalte: Rechtliches oben, Stand darunter, bündig rechts */
.fuss .rahmen {
  align-items: flex-end;
}
.fuss-rechts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.fuss-stand {
  margin: 0 !important;
  color: #c9c0b4;
}
@media (max-width: 48rem) {
  .fuss-rechts {
    align-items: flex-start;
  }
}
.fuss .rahmen > div:first-child p:last-child {
  margin-bottom: 0;
}
