/* ==================================================================
 * MUT-Tankstelle · mut.css
 *
 * Gebaut nach dem Auftrag „Umbau mut-tankstelle.de" vom 4. 11. 2026.
 * Terrakotta trägt. Rot erscheint nur, wo die Seite antwortet:
 * genau ein roter Knopf auf der Seite, plus Hover und Tastaturfokus.
 *
 *  1  Farben, Maße, Grundlagen
 *  2  Schrift und Fließtext
 *  3  Knöpfe und Marken
 *  4  Kopfzeile und Navigation
 *  5  Abschnitte und Lesespalte
 *  6  Einstieg mit den zwei Hinweisen
 *  7  Die sechs Räume
 *  8  Band „Für Teams und Unternehmen"
 *  9  Termine und Anmeldeformular
 * 10  MUT verschenken
 * 11  Fragen
 * 12  Kontakt und Fußzeile
 * 13  Bilder, Platzhalter, Hilfsmittel
 * ================================================================== */


/* === 1  Farben, Maße, Grundlagen ================================= */

:root {
  /* Tragende Farbe: Name, Flächen, Links, umrandete Knöpfe, Linien */
  --terrakotta:      #A14A14;   /* 5,99 : 1 auf Weiß */
  --terrakotta-tief: #8A3F11;   /* nur für Flächen und Hover auf Sand */

  /* Interaktion und der eine Hauptknopf */
  --signalrot:       #B40235;   /* 7,00 : 1 */

  /* Seitenwechsel zu imke-lohmann.de */
  --blaugrau:        #486774;   /* 6,06 : 1 */

  --tinte:           #292824;   /* Fließtext, 14,75 : 1 */
  --dunkelgrau:      #646464;   /* ruhiger Text, 5,92 : 1 */

  --sand:            #F5F0E8;   /* abgesetzte Flächen */
  --sand-hell:       #FAF8F4;   /* Seitengrund */
  --weiss:           #FFFFFF;

  --linie:           rgba(161, 74, 20, .22);
  --linie-leise:     rgba(41, 40, 36, .12);
  --schatten:        0 2px 14px rgba(41, 40, 36, .10);

  /* Maße */
  --lesespalte: 38rem;   /* rund 65 Zeichen */
  --breite:     72rem;
  --rand:       1.25rem;
  --kopfhoehe:  4.75rem;

  --luft-klein: 1.5rem;
  --luft:       3rem;
  --luft-gross: 6rem;
}

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

html {
  scroll-behavior: smooth;
  /* Die Kopfzeile klebt oben — Sprungziele dürfen nicht darunter landen. */
  scroll-padding-top: calc(var(--kopfhoehe) + 1rem);
}

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

body {
  margin: 0;
  background: var(--sand-hell);
  color: var(--tinte);
  font-family: 'PlusJakartaSans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: var(--stufe-text);
  line-height: var(--zeile-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Sprunglink: erst sichtbar, wenn er mit der Tastatur erreicht wird */
.sprunglink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: .75rem 1.25rem;
  background: var(--signalrot);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.sprunglink:focus {
  left: .5rem;
  top: .5rem;
}

/* Der Fokus muss gut sichtbar sein — überall gleich. */
:focus-visible {
  outline: 3px solid var(--signalrot);
  outline-offset: 2px;
}


/* === 2  Schrift und Fließtext ==================================== */

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--terrakotta);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  letter-spacing: -.01em;
}
h2 {
  font-size: clamp(1.625rem, 3.6vw, 2.25rem);
  margin-top: 0;
}
h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
}

p {
  margin: 0 0 1.1em;
  max-width: var(--lesespalte);
}

a {
  color: var(--terrakotta);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
a:hover,
a:focus-visible {
  color: var(--signalrot);
}

/* Der Weg zu Imke Lohmann ist ein Seitenwechsel und trägt deshalb Blaugrau. */
.seitenwechsel {
  color: var(--blaugrau);
}
.seitenwechsel:hover,
.seitenwechsel:focus-visible {
  color: var(--signalrot);
}

strong, b {
  font-weight: 600;
}

.leise {
  color: var(--dunkelgrau);
  font-size: .9375rem;
}

.kursiv {
  font-style: italic;
}

blockquote {
  margin: var(--luft-klein) 0 0;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--linie);
  max-width: var(--lesespalte);
  color: var(--tinte);
  font-size: 1rem;
}
blockquote p {
  font-style: italic;
}
blockquote cite {
  display: block;
  margin-top: .4rem;
  color: var(--dunkelgrau);
  font-size: .875rem;
  font-style: normal;
}


/* === 3  Knöpfe und Marken ======================================== */

/*
 * Grundform: Terrakotta umrandet, nie gefüllt. Davon gibt es viele.
 * Gefüllt und rot ist genau einer: .knopf-rot, die Anmeldung.
 */
.knopf {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border: 2px solid var(--terrakotta);
  border-radius: 999px;
  background: transparent;
  color: var(--terrakotta);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.knopf:hover,
.knopf:focus-visible {
  border-color: var(--signalrot);
  color: var(--signalrot);
  background: transparent;
}

.knopf-rot {
  border-color: var(--signalrot);
  background: var(--signalrot);
  color: #fff;
}
.knopf-rot:hover,
.knopf-rot:focus-visible {
  border-color: var(--terrakotta-tief);
  background: var(--terrakotta-tief);
  color: #fff;
}

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin: var(--luft-klein) 0 0;
  max-width: none;
}

/* Die kleinen Marken unter jedem Raum — Pillen, Terrakotta auf Weiß. */
.marken {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
  margin: var(--luft-klein) 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.marken li {
  padding: .25rem .7rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--weiss);
  color: var(--terrakotta);
  font-size: var(--stufe-fein);
  font-weight: 600;
  line-height: 1.5;
}
.marken a {
  color: inherit;
  text-decoration: none;
}
.marken li:has(a):hover,
.marken li:has(a:focus-visible) {
  border-color: var(--signalrot);
  color: var(--signalrot);
}

/* Die Schlusszeile mit Pfeil unter jedem Raum. */
.schlusszeile {
  margin: var(--luft-klein) 0 0;
  color: var(--terrakotta);
  font-weight: 500;
}


/* === 4  Kopfzeile und Navigation ================================= */

#kopf {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--sand-hell);
  border-bottom: 1px solid var(--linie);
}

.kopf-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--breite);
  min-height: var(--kopfhoehe);
  margin: 0 auto;
  padding: .5rem var(--rand);
}

.marke {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.1;
}
.marke b {
  display: block;
  color: var(--terrakotta);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.marke span {
  display: block;
  color: var(--dunkelgrau);
}
.marke:hover b,
.marke:focus-visible b {
  color: var(--signalrot);
}

.hauptmenue ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hauptmenue a {
  color: var(--terrakotta);
  font-weight: 500;
  text-decoration: none;
  padding: .35rem 0;
  white-space: nowrap;
}
.hauptmenue a:not(.knopf) {
  border-bottom: 2px solid transparent;
}
.hauptmenue a:not(.knopf):hover,
.hauptmenue a:not(.knopf):focus-visible {
  color: var(--signalrot);
  border-bottom-color: var(--signalrot);
}
.hauptmenue a.seitenwechsel {
  color: var(--blaugrau);
}
/* Kontakt ist ein Knopf, Terrakotta umrandet — nicht rot.
   Rechts etwas Luft, sonst klebt die Rundung am Fensterrand. */
.hauptmenue .knopf {
  padding: .45rem 1.1rem;
  font-size: .9375rem;
  border: 2px solid var(--terrakotta);
  margin-right: .75rem;
}

.menue-schalter {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--terrakotta);
  cursor: pointer;
}
.menue-schalter svg {
  width: 1.75rem;
  height: 1.75rem;
}
.menue-schalter:hover {
  color: var(--signalrot);
}

@media (max-width: 940px) {
  .menue-schalter {
    display: inline-flex;
  }
  /* Das aufklappende Menüfeld bekommt Sand als Grund, nicht Rot.
     Rot markiert darin nur den Punkt, auf dem man steht. */
  .hauptmenue {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--sand);
    border-bottom: 1px solid var(--linie);
    box-shadow: var(--schatten);
  }
  .hauptmenue.offen {
    display: block;
  }
  .hauptmenue ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--rand) 1rem;
    max-width: var(--breite);
    margin-inline: auto;
  }
  .hauptmenue li + li {
    border-top: 1px solid var(--linie-leise);
  }
  .hauptmenue a {
    display: block;
    padding: .85rem 0;
  }
  .hauptmenue .knopf {
    display: inline-flex;
    margin: .85rem 0 0;
  }
}


/* === 5  Abschnitte und Lesespalte ================================ */

main {
  display: block;
}

.abschnitt {
  padding: var(--luft-gross) 0;
}
.abschnitt.sand {
  background: var(--sand);
}
/* Der Einstieg rückt näher an die Kopfzeile, damit die beiden Hinweise
   auf dem Handy noch im ersten Bildschirm stehen. */
main > .abschnitt:first-child {
  padding-top: var(--luft);
}

.spalte {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}
.spalte-schmal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--rand);
}

/* Text und Bild nebeneinander, auf dem Handy untereinander.
   Standard: Bild zuerst. .text-zuerst dreht das um. */
.zweispalter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--luft);
  align-items: center;
}
.zweispalter-text {
  min-width: 0;
}
.zweispalter-bild {
  margin: 0;
  min-width: 0;
}
/* Text und Bild stehen nebeneinander. Damit ein hohes Format die Reihe
   nicht auseinanderzieht, wird die Höhe gedeckelt — beschnitten wird nie.
   Die Gutscheinkarte bleibt ausgenommen, sie füllt ihre Spalte. */
.zweispalter-bild img:not(.karte-seite) {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 34rem;
  margin-inline: auto;
  border-radius: 2px;
}
.zweispalter-bild figcaption {
  margin-top: .5rem;
  color: var(--dunkelgrau);
  font-size: .8125rem;
}
/* Jeder zweite Raum dreht die Seiten. */
.zweispalter.wechsel .zweispalter-text { order: 2; }
.zweispalter.wechsel .zweispalter-bild { order: 1; }

@media (max-width: 860px) {
  .zweispalter {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--luft-klein);
  }
  /* Auf dem Handy steht das Bild über dem Raum — außer im Einstieg. */
  .zweispalter .zweispalter-bild { order: 1; }
  .zweispalter .zweispalter-text { order: 2; }
  .zweispalter.text-zuerst .zweispalter-text { order: 1; }
  .zweispalter.text-zuerst .zweispalter-bild { order: 2; }
}


/* === 6  Einstieg mit den zwei Hinweisen ========================== */

.einstieg-klaim {
  margin: 0 0 1.1em;
  max-width: var(--lesespalte);
  color: var(--terrakotta);
  font-size: 1.25rem;
  font-weight: 600;
}

/*
 * Die beiden schmalen Hinweise stehen noch im ersten Bildschirm —
 * auch auf dem Handy. Deshalb sind sie klein und brechen früh um.
 */
.hinweise {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  margin: var(--luft-klein) 0 0;
  padding: .7rem 0 0;
  border-top: 1px solid var(--linie);
  max-width: none;
  color: var(--dunkelgrau);
  font-size: .9375rem;
  line-height: 1.5;
}
.hinweise b {
  color: var(--tinte);
  font-weight: 600;
}


/* === 7  Die sechs Räume ========================================== */

.raum {
  padding: var(--luft) 0;
  border-top: 1px solid var(--linie-leise);
  scroll-margin-top: calc(var(--kopfhoehe) + 1rem);
}
.raum:first-of-type {
  border-top: 0;
}

.raum-nummer {
  display: block;
  margin-bottom: .1rem;
  color: var(--dunkelgrau);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.raum h3 {
  margin-bottom: .35rem;
}

/* Die MUT-Wort-Zeile: klein, Dunkelgrau, das MUT-Wort in Terrakotta. */
.mutwort {
  margin: 0 0 .2rem;
  color: var(--dunkelgrau);
  font-size: .9375rem;
}
.mutwort b {
  color: var(--terrakotta);
  font-weight: 600;
}

/* Die Fakten-Unterzeile. */
.unterzeile {
  margin: 0 0 .9rem;
  color: var(--dunkelgrau);
  font-size: .9375rem;
}

/* Die eine kursive Zeile je Raum. */
.raum-kursiv {
  margin: 0 0 1.1em;
  font-style: italic;
  font-size: 1.0625rem;
}


/* === 8  Band „Für Teams und Unternehmen" ========================= */

.band {
  border-top: 3px solid var(--terrakotta);
  background: var(--sand);
  padding: var(--luft) 0;
  scroll-margin-top: calc(var(--kopfhoehe) + 1rem);
}
.band h2 {
  margin-bottom: .8rem;
  color: var(--terrakotta);
  font-size: var(--stufe-klein);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}


/* === 9  Termine und Anmeldeformular ============================== */

.termine {
  margin: 0 0 var(--luft-klein);
  padding: 0;
  list-style: none;
  max-width: var(--lesespalte);
}
.termine li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--linie-leise);
}
.termine b {
  color: var(--terrakotta);
}

.formularblock {
  margin: var(--luft) 0 0;
  padding: var(--luft-klein);
  border: 1px solid var(--linie);
  border-radius: 4px;
  background: var(--weiss);
  max-width: 34rem;
}
.feld {
  margin: 0 0 1rem;
}
.feld label {
  display: block;
  margin-bottom: .3rem;
  font-weight: 500;
  font-size: .9375rem;
}
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--linie-leise);
  border-radius: 3px;
  background: var(--sand-hell);
  color: var(--tinte);
  font: inherit;
  font-size: 1rem;
}
.feld textarea {
  min-height: 7rem;
  resize: vertical;
}
/* Die Einträge der Auswahlliste erben die Schrift des Feldes;
   sonst setzt der Browser seine eigenen 16 px. */
.feld select option {
  font: inherit;
}
.feld input:hover,
.feld select:hover,
.feld textarea:hover,
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  border-color: var(--signalrot);
  outline: none;
}
.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
  outline: 3px solid var(--signalrot);
  outline-offset: 1px;
}
.pflicht {
  color: var(--dunkelgrau);
}

/* Das Häkchen steht neben seinem Text, nicht darüber. */
.haken {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0 0 1.25rem;
  font-size: .9375rem;
}
.haken input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .3rem;
  flex: 0 0 auto;
  accent-color: var(--signalrot);
}

/* Der Beitrag erscheint nur, wenn ein MUT-Oase-Termin gewählt ist. */
.nur-oase[hidden] {
  display: none;
}
.beitrag {
  margin: 0 0 1rem;
  padding: .8rem .9rem;
  border: 1px solid var(--linie);
  border-radius: 3px;
  background: var(--sand-hell);
}
.beitrag legend {
  padding: 0 .3rem;
  font-weight: 500;
  font-size: .9375rem;
}
.beitrag label {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .3rem 0;
  font-size: .9375rem;
}
.beitrag input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--signalrot);
}
.beitrag-fest {
  margin: 0 0 1rem;
  color: var(--dunkelgrau);
  font-size: .9375rem;
}

/* Der Honeypot: für Menschen unsichtbar, für Maschinen verlockend. */
.falle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Die Antwort erscheint an Ort und Stelle. */
.antwort {
  margin: 0 0 var(--luft-klein);
  padding: .9rem 1rem;
  border-left: 4px solid var(--terrakotta);
  background: var(--sand);
  font-weight: 500;
}
.antwort.fehler {
  border-left-color: var(--signalrot);
}


/* === 10  MUT verschenken ========================================= */

.geschenke {
  margin: 0 0 var(--luft-klein);
  padding: 0;
  list-style: none;
  max-width: var(--lesespalte);
}
.geschenke li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--linie-leise);
}
.geschenke b {
  color: var(--terrakotta);
}

/* Die Gutscheinkarte wendet sich bei Klick — wie auf der heutigen Seite. */
.karte {
  margin: 0;
}
.karte-wender {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  cursor: pointer;
}
.karte-wender:hover,
.karte-wender:focus-visible {
  background: none;
}
.karte-seite {
  display: block;
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--schatten);
}
.karte-hinten {
  display: none;
}
.karte-wender[aria-expanded="true"] .karte-vorn  { display: none; }
.karte-wender[aria-expanded="true"] .karte-hinten { display: block; }
.karte-hinweis {
  display: block;
  margin-top: .5rem;
  color: var(--terrakotta);
  font-size: .875rem;
  font-weight: 600;
}
.karte figcaption {
  margin-top: .4rem;
  color: var(--dunkelgrau);
  font-size: .8125rem;
}


/* === 11  Fragen ================================================== */

.aufklapp {
  border-bottom: 1px solid var(--linie-leise);
  max-width: var(--lesespalte);
}
.aufklapp summary {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .9rem 0;
  color: var(--terrakotta);
  font-weight: 500;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.aufklapp summary::-webkit-details-marker {
  display: none;
}
.aufklapp summary::before {
  content: "+";
  flex: 0 0 auto;
  font-weight: 600;
}
.aufklapp[open] summary::before {
  content: "–";
}
.aufklapp summary:hover,
.aufklapp summary:focus-visible {
  color: var(--signalrot);
}
.aufklapp > div {
  padding: 0 0 1rem 1.3rem;
}
.aufklapp p:last-child {
  margin-bottom: 0;
}


/* === 12  Kontakt und Fußzeile ==================================== */

.kontaktzeile {
  margin: var(--luft-klein) 0 0;
  color: var(--dunkelgrau);
}
.kontaktzeile a {
  color: var(--terrakotta);
}

#fuss {
  padding: var(--luft) 0;
  border-top: 1px solid var(--linie);
  background: var(--sand);
  color: var(--dunkelgrau);
  font-size: .9375rem;
}
#fuss .spalte {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem var(--luft);
  justify-content: space-between;
}
#fuss p {
  margin: 0;
  max-width: none;
}
#fuss b {
  color: var(--tinte);
}
#fuss ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#fuss a {
  color: var(--terrakotta);
  text-decoration: none;
}
#fuss a:hover,
#fuss a:focus-visible {
  color: var(--signalrot);
  text-decoration: underline;
}


/* === 13  Bilder, Platzhalter, Hilfsmittel ======================== */

/* Solange ein Foto fehlt, steht hier ein sichtbarer Platzhalter. */
.bild-fehlt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 13rem;
  padding: 1.25rem;
  border: 2px dashed var(--linie);
  border-radius: 2px;
  background: var(--sand);
  color: var(--terrakotta);
  font-size: .9375rem;
  text-align: center;
}
.bild-fehlt b {
  font-weight: 600;
}
.bild-fehlt span {
  color: var(--dunkelgrau);
  font-size: .875rem;
  max-width: 22rem;
}

/* Der Audio-Spieler zur MUT-Oase, sichtbar wie verlangt. */
.audio {
  margin: var(--luft-klein) 0 0;
  max-width: var(--lesespalte);
}
.audio audio {
  width: 100%;
}
.audio figcaption {
  margin-top: .35rem;
  color: var(--dunkelgrau);
  font-size: .8125rem;
}

/* Nur für Vorleseprogramme. */
.nur-vorlesen {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Rechtstexte: lange Wörter dürfen umbrechen, sonst schiebt sich
   „Universalschlichtungsstelle" auf dem Handy aus dem Bild. */
.rechtstext h2,
.rechtstext h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}
.rechtstext p {
  max-width: none;
}
