/* ==========================================================================
   janinekawlath.at – Stylesheet
   --------------------------------------------------------------------------
   Aufbau dieser Datei:
   1. Farben, Schriften, Abstände (Variablen)
   2. Grundlagen (Text, Links, Überschriften)
   3. Seitenrahmen (Kopfzeile, Navigation, Fußzeile)
   4. Bausteine (Buttons, Icons, Fotos, Karten, Formular …)
   5. Anpassungen für kleine Bildschirme
   ========================================================================== */


/* 1. VARIABLEN ------------------------------------------------------------
   Layout-Konzept: ruhige, helle Flächen in Warmgrau und Weiß,
   Salbei und Altrosa als große Farbflächen, Schiefer für alles Klickbare.
   Alle Farben sind auf Barrierefreiheit geprüft (Kontrast mind. 4,5 : 1 für Text). */

:root {
  /* Farben */
  --schiefer:       #34504F;   /* Buttons, Icons, Links (Weiß darauf 8,7 : 1) */
  --schiefer-tief:  #263B3A;   /* Fußzeile */
  --salbei:         #B3C0AF;   /* große Farbflächen (dunkler Text darauf 6,6 : 1) */
  --salbei-hell:    #E3E9E0;   /* Foto-Platzhalter, zarte Flächen */
  --salbei-linie:   #8FA08C;   /* dekorative Linien */
  --rose:           #C9A49B;   /* Altrosa-Fläche (dunkler Text darauf 5,6 : 1) */
  --rose-hell:      #F2E6E2;   /* zarte Hinterlegung */
  --rose-tief:      #8A5A50;   /* Überzeilen, Akzente (auf Weiß 5,7 : 1) */
  --grau:           #F3F1EE;   /* Warmgrau, Seitenhintergrund */
  --weiss:          #FFFFFF;
  --text:           #2B3330;   /* Fließtext (auf Warmgrau 11,5 : 1) */
  --text-leise:     #56605B;   /* Nebentexte (auf Warmgrau 5,6 : 1) */
  --linie:          #DDD7CF;   /* Trennlinien und Rahmen */

  /* Schriften (Dateien liegen im Ordner /fonts, siehe schriften.css) */
  --schrift:        "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --schrift-akzent: var(--schrift);   /* Akzente jetzt ebenfalls in Jost */
  --akzent-stil:    normal;
  --akzent-groesse: 1em;       /* Akzentwörter gleich groß wie die Überschrift */
  --logo-groesse:   1.7rem;

  /* Maße */
  --breite: 72rem;
  --radius: 4px;

  color-scheme: light;
}


/* 2. GRUNDLAGEN ----------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--grau);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  hyphens: manual;
  overflow-wrap: break-word;
}
p, li, dd { text-wrap: pretty; }   /* vermeidet einzelne Wörter in der letzten Zeile */

/* Fläche über der Kopfzeile auf Handys mit "Notch" */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--weiss);
}

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

h1, h2, h3 {
  font-family: var(--schrift);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
  hyphens: manual;          /* trennt nur an den gesetzten weichen Trennstellen */
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 500; }

p, ul, ol, dl, figure { margin: 0; }

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

:focus-visible { outline: 3px solid var(--rose-tief); outline-offset: 3px; border-radius: 2px; }

strong { font-weight: 600; }

/* Akzent für einzelne Wörter und das Logo */
.akzent {
  font-family: var(--schrift-akzent);
  font-style: var(--akzent-stil, normal);
  font-size: var(--akzent-groesse, 1.55em);
  line-height: 0.8;
  letter-spacing: 0;
  color: inherit;
  padding-inline: 0.05em;
}

/* Leitsätze und Zitate in der Akzentschrift */
.zitat {
  font-family: var(--schrift-akzent);
  font-weight: 400;
  letter-spacing: 0;
}

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


/* 3. SEITENRAHMEN --------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.springen {
  position: absolute; left: 1rem; top: -4rem; z-index: 40;
  background: var(--schiefer); color: var(--weiss);
  padding: 0.6rem 1rem;
}
.springen:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); color: var(--weiss); }

/* Kopfzeile */
.kopf {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.kopf__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  position: relative;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  width: max-content;
  text-decoration: none;
  color: var(--text);
}
.logo__name {
  font-family: var(--schrift-akzent);
  font-style: var(--akzent-stil, normal);
  font-size: var(--logo-groesse, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.06em;   /* etwas breiter laufender Name */
  line-height: 1;
  white-space: nowrap;
}
/* Der Untertitel wird per Script (js/main.js) genau auf die Breite des Namens gesetzt */
.logo__zusatz {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--rose-tief);
}
.logo:hover { color: var(--text); }

.nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
}
.nav a:not(.knopf) {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-block: 0.4rem;
}
.nav a:not(.knopf):hover { color: var(--schiefer); box-shadow: inset 0 -1px 0 var(--schiefer); }
.nav a[aria-current="page"] { color: var(--schiefer); box-shadow: inset 0 -2px 0 var(--rose); }

.menue-knopf {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--schiefer);
  background: transparent;
  border: 1px solid var(--schiefer);
  padding: 0.55rem 1rem;
  cursor: pointer;
}

/* Fußzeile */
.fuss {
  background: var(--schiefer-tief);
  color: #EEF1EC;
  font-size: 1rem;
  padding-block: 4rem 2rem;
}
.fuss a { color: #EEF1EC; }
.fuss__raster {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}
.fuss__raster > * { min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.fuss .logo { color: #FFFFFF; }
.fuss .logo__zusatz { color: #E3CBC4; }
.fuss__titel {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E3CBC4;
}
.fuss ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.fuss__unten {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 241, 236, 0.2);
  font-size: 0.9rem;
}


/* 4. BAUSTEINE ------------------------------------------------------------ */

/* Abschnitte und ihre Hintergründe */
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--salbei { background: var(--salbei-hell); }

.abschnitt-kopf {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.abschnitt-kopf--mitte { margin-inline: auto; text-align: center; align-items: center; }

/* Kleine Überzeile über Überschriften */
.ueberzeile {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-tief);
}

/* Überschrift mittig zwischen zwei feinen Linien */
.titel-linien {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.titel-linien::before, .titel-linien::after { content: ""; flex: 1; height: 1px; background: var(--linie); min-width: 1.5rem; }

.einleitung { font-size: 1.22rem; color: var(--text-leise); max-width: 38em; }
.fliesstext { display: flex; flex-direction: column; gap: 1.1rem; max-width: 40rem; }
.fliesstext p { color: var(--text); }

/* Buttons */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--schiefer);
  color: var(--weiss);
  font: inherit;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border: 1px solid var(--schiefer);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.knopf:hover { background: var(--schiefer-tief); border-color: var(--schiefer-tief); color: var(--weiss); text-decoration: none; }
.knopf .icon { width: 1.1rem; height: 1.1rem; }
.knopf--klein { font-size: 0.78rem; padding: 0.75rem 1.1rem; }
.knopf--rahmen { background: transparent; color: var(--schiefer); }
.knopf--rahmen:hover { background: var(--schiefer); color: var(--weiss); }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1rem; }

/* Icons */
.icon {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-kreis {
  width: 3.4rem;
  height: 3.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--schiefer);
  color: var(--weiss);
  display: grid;
  place-items: center;
}
.icon-kreis .icon { width: 1.55rem; height: 1.55rem; }
.icon-kreis--hell { background: var(--weiss); color: var(--schiefer); box-shadow: inset 0 0 0 1px var(--linie); }

/* Foto-Platzhalter: werden später durch echte Bilder ersetzt */
.foto {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: var(--format, 4 / 3);
  background: var(--salbei-hell);
  color: var(--schiefer);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.5rem;
  text-align: center;
  overflow: hidden;
  border-radius: var(--radius);
}
.foto::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--salbei-linie);
  border-radius: inherit;
  pointer-events: none;
}
.foto .icon { width: 2rem; height: 2rem; stroke-width: 1.3; }
.foto strong { font-weight: 500; font-size: 1.02rem; color: var(--text); }
.foto small { font-size: 0.85rem; color: var(--text-leise); line-height: 1.4; }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.foto:has(img)::after { display: none; }
/* Grüner Rahmen um ein Foto */
.foto--rand { border: 10px solid var(--salbei); background: var(--salbei); }
.foto--bogen { border-radius: 999px 999px var(--radius) var(--radius); }
.foto--bogen::after { border-radius: 999px 999px 0 0; }
.foto--hoch { --format: 4 / 5; }
.foto--rund { --format: 1 / 1; border-radius: 50%; }
.foto--rund::after { border-radius: 50%; }
.foto--quer { --format: 3 / 2; }

/* Foto mit versetzter Fläche dahinter */
.versatz { position: relative; isolation: isolate; padding: 0 1.75rem 1.75rem 0; }
.versatz::before {
  content: "";
  position: absolute;
  inset: 1.75rem 0 0 1.75rem;
  background: var(--rose-hell);
  z-index: -1;
}
.versatz--salbei::before { background: var(--salbei); }

/* Startseite: oberer Bereich */
.hero { background: var(--weiss); padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero__raster, .seitenkopf__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; }
.hero .foto, .seitenkopf .foto--rund { max-width: 25rem; justify-self: end; }
.hero .foto { align-self: start; margin-top: clamp(0rem, 3vw, 2.5rem); }

/* Kurzfakten im oberen Bereich */
.fakten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--linie);
}
.fakten div { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.fakten .icon { color: var(--rose-tief); width: 1.5rem; height: 1.5rem; }
.fakten dt { display: flex; align-items: center; gap: 0.55rem; font-size: 1.2rem; font-weight: 500; color: var(--text); }
.fakten dd { margin: 0; font-size: 0.95rem; color: var(--text-leise); line-height: 1.45; }

/* Unterseiten: oberer Bereich */
.seitenkopf { background: var(--weiss); padding-block: clamp(3rem, 6vw, 5rem); }
.seitenkopf__text { display: flex; flex-direction: column; gap: 1.4rem; max-width: 46rem; min-width: 0; }

/* Gerahmte Altrosa-Fläche mit Bogen-Ornament */
.rahmen {
  background: var(--rose);
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.rahmen__innen {
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: clamp(2.25rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.rahmen__innen::after {
  content: "";
  display: block;
  width: 4rem;
  height: 2rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.rahmen h2 { max-width: 30rem; color: var(--text); }
.rahmen p { max-width: 36rem; color: var(--text); }
.rahmen .ueberzeile { color: var(--text); }

/* Zwei Angebote auf der Startseite */
.angebote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.angebot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
}
.angebot .foto { border-radius: 0; }
.angebot__inhalt { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.6rem, 3.5vw, 2.4rem); flex: 1; }
.angebot__kopf { display: flex; align-items: center; gap: 1rem; }
.angebot h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 400; }
.angebot__fuss { margin-top: auto; padding-top: 0.5rem; }

/* Etikett, z. B. "Ausbildungstarif" */
.etikett {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--rose-hell);
  border: 1px solid var(--rose);
  padding: 0.3rem 0.75rem;
}

/* Liste mit Haken */
.hakenliste { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.hakenliste li { display: flex; gap: 0.7rem; align-items: flex-start; }
.hakenliste .icon { color: var(--rose-tief); width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; stroke-width: 2; }

/* Salbei-Säulen mit Icons ("Warum mit mir") */
.saeulen {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--salbei);
}
.saeule {
  background: var(--salbei);
  padding: clamp(1.75rem, 3vw, 2.5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  min-width: 0;
}
.saeule h3 {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.saeule p { font-size: 1rem; color: var(--text); line-height: 1.6; }

/* Ablauf in drei Schritten (echte Reihenfolge, daher nummeriert) */
.ablauf {
  list-style: none;
  padding: 0;
  counter-reset: schritt;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.ablauf li { counter-increment: schritt; display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.ablauf__kopf { display: flex; align-items: center; gap: 1rem; }
.ablauf__nummer::before {
  content: counter(schritt);
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--rose-tief);
  border-radius: 50%;
  color: var(--rose-tief);
  font-weight: 500;
}
.ablauf p { color: var(--text-leise); font-size: 1.02rem; }

/* Karten (Themen, Zielgruppen, Beiträge) */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.karte {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  padding: 1.9rem 1.7rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
}
.abschnitt--weiss .karte { background: var(--grau); border-color: transparent; }
.karte p { color: var(--text-leise); font-size: 1.02rem; }
.karte h3 { font-size: 1.2rem; }

a.karte { text-decoration: none; color: inherit; transition: border-color 0.15s ease; }
a.karte:hover { border-color: var(--schiefer); color: inherit; }
.karte__quelle { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-tief); }
.karte__mehr { margin-top: auto; padding-top: 0.4rem; display: flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--schiefer); font-size: 0.95rem; }
.karte .foto { margin-bottom: 0.4rem; }

/* Zwei Spalten */
.zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.zweispaltig--oben { align-items: start; }
.zweispaltig > * { min-width: 0; }
.zweispaltig .abschnitt-kopf { margin-bottom: 0; }
.zweispaltig > div > .abschnitt-kopf { margin-bottom: 1.75rem; }

/* Formate mit Icons */
.formate { list-style: none; padding: 0; display: flex; flex-direction: column; }
.formate li { display: flex; gap: 1.1rem; align-items: flex-start; padding-block: 1.25rem; border-bottom: 1px solid var(--linie); }
.formate li:first-child { padding-top: 0; }
.formate li > div { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.formate strong { font-weight: 500; font-size: 1.18rem; color: var(--text); }
.formate span { color: var(--text-leise); font-size: 1.02rem; }

/* Orte (vor Ort, online, Raum) */
.orte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.ort-kachel { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.1rem; background: var(--weiss); border: 1px solid var(--linie); min-width: 0; }
.abschnitt--weiss .ort-kachel { background: var(--grau); border-color: transparent; }
.ort-kachel span { font-weight: 500; line-height: 1.35; }

/* Die vier Seiten einer Nachricht (Schulz von Thun) */
.nachricht {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--salbei-hell);
  border-radius: var(--radius);
}
.nachricht__satz { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--text); text-align: center; }
.nachricht__raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--salbei-linie);
  border: 1px solid var(--salbei-linie);
}
.nachricht__raster div { background: var(--weiss); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.nachricht__raster b { overflow-wrap: break-word; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose-tief); }
.nachricht__raster span { font-size: 1rem; }
.nachricht figcaption { font-size: 0.95rem; color: var(--text-leise); }

/* Häufige Fragen (aufklappbar) */
.fragen { display: flex; flex-direction: column; background: var(--weiss); padding: clamp(1.25rem, 3vw, 2.25rem); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.05rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--text);
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary .icon { color: var(--schiefer); transition: transform 0.2s ease; }
.frage[open] summary .icon { transform: rotate(180deg); }
.frage summary:hover { color: var(--schiefer); }
.frage p { padding-bottom: 1.2rem; color: var(--text-leise); font-size: 1.02rem; max-width: 40rem; }

/* Hinweis-Kasten (Ausbildungstarif) */
.hinweis__aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 0.5rem; }

/* Zeitleiste (Werdegang) */
.zeitleiste {
  list-style: none;
  padding: 0 0 0 1.75rem;
  margin-left: 0.4rem;
  border-left: 1px solid var(--salbei-linie);
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.zeitleiste li { position: relative; display: flex; flex-direction: column; gap: 0.3rem; }
.zeitleiste li::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 0.4rem - 0.5px);
  top: 0.4rem;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--weiss);
  border: 1px solid var(--rose-tief);
}
.zeitleiste li:first-child::before { background: var(--rose-tief); }
.zeitleiste time { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose-tief); font-variant-numeric: tabular-nums; }
.zeitleiste h3 { font-size: 1.22rem; }
.zeitleiste .ort { font-weight: 500; color: var(--text); }
.zeitleiste p { color: var(--text-leise); font-size: 1.02rem; max-width: 40rem; }

/* Ausbildungs-Blöcke */
.bloecke { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.bloecke > div { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.block__kopf { display: flex; align-items: center; gap: 0.9rem; }
.bloecke h3 { font-size: 1.15rem; }

/* Platzhalter-Markierung für den Entwurf */
.platzhalter {
  display: inline-block;
  background: #FFF3C4;
  color: #5A4A00;
  border: 1px dashed #C9A800;
  padding: 0.05rem 0.45rem;
  font-size: 0.85em;
  font-weight: 500;
}
.platzhalter-text { background: #FFF8DD; border: 1px dashed #C9A800; padding: 1rem 1.2rem; color: #5A4A00; }

/* Kontaktformular */
.kontakt__raster {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.kontakt__raster > * { min-width: 0; }
.formular {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--weiss);
  border: 1px solid var(--linie);
}
.feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.feld { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.feld label, .auswahl legend { font-weight: 500; font-size: 1rem; color: var(--text); }
.pflicht { color: #A1392F; }
.feld input, .feld textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--grau);
  border: 1px solid #B9B2A8;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
}
.feld textarea { resize: vertical; min-height: 9rem; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--schiefer); box-shadow: 0 0 0 3px var(--salbei-hell); }
.hilfe { font-size: 0.92rem; color: var(--text-leise); }

.auswahl { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.auswahl__optionen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--grau);
  border: 1px solid #B9B2A8;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
}
.option:has(input:checked) { border-color: var(--schiefer); background: var(--salbei-hell); }
.option input, .einwilligung input { width: 1.15rem; height: 1.15rem; accent-color: var(--schiefer); flex-shrink: 0; }

.einwilligung { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.98rem; line-height: 1.5; cursor: pointer; }
.einwilligung input { margin-top: 0.2rem; }

.falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.kontaktweg { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--weiss); border: 1px solid var(--linie); }
.kontaktweg > div { display: flex; flex-direction: column; min-width: 0; }
.kontaktweg span { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-tief); }
.kontaktweg a { overflow-wrap: anywhere; }

/* Abschluss-Einladung */
.einladung { position: relative; overflow: hidden; background: var(--weiss); }
.einladung__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; max-width: 40rem; margin-inline: auto; }
.einladung p { color: var(--text-leise); }
.einladung h2 .akzent { color: var(--rose-tief); }
.seitenkopf h1 .akzent { color: var(--rose-tief); }   /* Name auf „Über mich“ */
.zweig {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 13rem;
  height: auto;
  color: var(--salbei-linie);
  pointer-events: none;
}

/* Rechtstexte */
.rechtstext { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; }
.rechtstext h2 { font-size: 1.4rem; margin-top: 1.75rem; font-weight: 500; }
.rechtstext ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
.angaben { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45rem 1.5rem; }
.angaben dt { font-weight: 500; color: var(--text); }
.angaben dd { margin: 0; }


/* 5. KLEINE BILDSCHIRME --------------------------------------------------- */

@media (max-width: 1000px) {
  .saeulen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 16px 24px -20px var(--schiefer-tief);
  }
  .nav.offen { display: block; }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem max(20px, env(safe-area-inset-right, 0px)) 1.5rem max(20px, env(safe-area-inset-left, 0px));
  }
  .nav a:not(.knopf) { display: block; padding-block: 0.95rem; border-bottom: 1px solid var(--linie); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--rose); padding-left: 0.9rem; }
  .nav .knopf { margin-top: 1rem; width: 100%; }

  .hero__raster, .seitenkopf__raster, .zweispaltig, .kontakt__raster, .angebote { grid-template-columns: minmax(0, 1fr); }
  .hero .foto, .seitenkopf .foto--rund { justify-self: center; max-width: 17rem; }
  /* Startseite mobil: Porträt zwischen Überschrift und Text */
  .hero__raster { display: flex; flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .hero__text { display: contents; }
  .hero .ueberzeile { order: 1; margin-bottom: -0.5rem; }
  .hero h1 { order: 2; }
  .hero .foto { order: 3; align-self: center; width: 100%; max-width: 15rem; margin: 0.25rem 0; }
  .hero .einleitung { order: 4; }
  .hero .aktionen { order: 5; }
  .zweispaltig { gap: 2.5rem; }
  .ablauf, .orte { grid-template-columns: minmax(0, 1fr); }
  .zweig { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 1.06rem; }
  h1 { font-size: 2.05rem; }
  .saeulen, .karten, .bloecke, .feld-reihe, .fuss__raster { grid-template-columns: minmax(0, 1fr); }
  .fakten { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .auswahl__optionen { grid-template-columns: minmax(0, 1fr); }
  .angaben { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .angaben dd { margin-bottom: 0.6rem; }
  .aktionen .knopf { width: 100%; }
  h2 { font-size: 1.65rem; }
  .logo__name { font-size: calc(var(--logo-groesse, 2.3rem) * 0.85); }
  .menue-knopf { padding: 0.5rem 0.75rem; letter-spacing: 0.1em; flex-shrink: 0; }
  .kopf__inner { gap: 0.6rem; }
  .ueberzeile { letter-spacing: 0.16em; }
  .knopf { letter-spacing: 0.1em; padding: 0.95rem 1.25rem; text-align: center; text-wrap: balance; }
  .titel-linien { gap: 0.9rem; }
  .nachricht__raster b { letter-spacing: 0.08em; }
  .nachricht__raster div { padding: 0.85rem 0.8rem; }
  .rahmen h2 .akzent, h2 .akzent { font-size: calc(var(--akzent-groesse, 1.55em) * 0.94); }
  .versatz { padding: 0 1rem 1rem 0; }
  .versatz::before { inset: 1rem 0 0 1rem; }
}
