/* ==========================================================
   Sorglos GbR – Wohngruppe Fedelhören
   Gemeinsames Stylesheet für alle Seiten

   Aufbau:
   1. Design-Tokens        6. Abschnitte & Raster
   2. Grundlagen           7. Listen, Tabellen, Hinweise
   3. Kopfbereich & Menü   8. Galerie
   4. Titelbild            9. Formular
   5. Schaltflächen       10. Fußbereich
                          11. Handy / Tablet / Druck
   ========================================================== */


/* ---------- 1. Design-Tokens ------------------------------ */

:root {
  /* Farben – Marke */
  --blau:         #2b3f66;
  --blau-dunkel:  #1e2d4a;
  --blau-hell:    #4a628f;

  /* Farben – Flächen */
  --sand:         #f4f2ed;
  --sand-tief:    #e8e4db;
  --weiss:        #ffffff;

  /* Farben – Text */
  --text:         #2a2a2a;
  --text-leise:   #5c5c5c;
  --fehler:       #a5322b;

  /* Akzent: getrennt nach Verwendung.
     -dekor  nur für Symbole und Linien ohne Textbedeutung
     -text   überall, wo Text darauf oder darin steht (Kontrast 5,0:1) */
  --akzent-dekor: #b8925a;
  --akzent-text:  #8a6a34;

  /* Rahmen: -leise rein dekorativ, -kraeftig für Bedienelemente (3,1:1) */
  --rand-leise:    #d9d5cc;
  --rand-kraeftig: #9c9285;

  /* Abstandsskala */
  --raum-1:  0.25rem;
  --raum-2:  0.5rem;
  --raum-3:  0.75rem;
  --raum-4:  1rem;
  --raum-5:  1.5rem;
  --raum-6:  2rem;
  --raum-7:  2.75rem;
  --raum-8:  4rem;

  /* Schriftskala */
  --schrift-xs:  0.85rem;
  --schrift-s:   0.95rem;
  --schrift-m:   1rem;
  --schrift-l:   1.15rem;
  --schrift-xl:  1.35rem;
  --schrift-2xl: 1.9rem;
  --schrift-3xl: 2.5rem;
  --schrift-4xl: 3rem;

  /* Radien */
  --radius-klein: 4px;
  --radius-gross: 6px;

  /* Sonstiges */
  --schatten: 0 2px 16px rgba(30, 45, 74, .10);
  --breite:   1120px;
  --fokus:    3px solid #4a628f;
}


/* ---------- 2. Grundlagen --------------------------------- */

* { box-sizing: border-box; }

html {
  font-size: 100%;          /* respektiert die Schriftgröße im Browser */
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1875rem;     /* 19px bei Standardeinstellung, skaliert mit */
  line-height: 1.7;
  color: var(--text);
  background: var(--weiss);
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--blau); }
a:hover { color: var(--blau-hell); }

/* Sichtbarer Fokus für alle Bedienelemente – nie entfernen */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: var(--fokus);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Auf dunklem Grund braucht der Fokus eine helle Farbe */
header.kopf a:focus-visible,
footer.fuss a:focus-visible,
.titelbild a:focus-visible,
.banner-frei a:focus-visible {
  outline: 3px solid #ffffff;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  color: var(--blau);
  line-height: 1.25;
  margin-top: 0;
  text-wrap: balance;
}

h1 { font-size: var(--schrift-3xl); margin-bottom: .5em; }
h2 { font-size: var(--schrift-2xl); margin-bottom: .6em; }
h3 { font-size: 1.3rem;             margin-bottom: .4em; }

.inhalt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--raum-5);
}

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


/* ---------- 3. Kopfbereich & Menü ------------------------- */

.sprungmarke {
  position: absolute;
  left: -9999px;
  background: var(--blau);
  color: #fff;
  padding: var(--raum-3) var(--raum-5);
  z-index: 200;
}
.sprungmarke:focus { left: 12px; top: 12px; }

header.kopf {
  background: var(--blau);
  color: var(--weiss);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}

.kopf-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: var(--raum-3) var(--raum-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--raum-5);
  flex-wrap: wrap;
}

.marke { display: flex; align-items: center; gap: var(--raum-4); text-decoration: none; color: var(--weiss); }
.marke img { width: 200px; height: auto; }
.marke-text {
  display: flex; flex-direction: column; line-height: 1.2;
  padding-left: var(--raum-4);
  border-left: 1px solid rgba(255,255,255,.32);
}
.marke-name { font-family: Georgia, serif; font-size: var(--schrift-xl); }
.marke-zusatz { font-size: var(--schrift-xs); opacity: .9; letter-spacing: .04em; text-transform: uppercase; }

/* Knopf, der auf dem Handy das Menü aufklappt */
.menue-knopf {
  display: none;
  align-items: center;
  gap: var(--raum-2);
  background: rgba(255,255,255,.12);
  color: var(--weiss);
  border: 2px solid rgba(255,255,255,.55);
  border-radius: var(--radius-klein);
  padding: var(--raum-3) var(--raum-4);
  font: inherit;
  font-size: var(--schrift-m);
  cursor: pointer;
  min-height: 48px;
}
.menue-knopf:hover { background: rgba(255,255,255,.22); }
.menue-strich {
  display: inline-block;
  width: 22px; height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
}
.menue-knopf[aria-expanded="true"] .menue-strich { box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor; }

nav.hauptmenue ul {
  list-style: none;
  display: flex;
  gap: var(--raum-1);
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.hauptmenue a {
  display: block;
  color: var(--weiss);
  text-decoration: none;
  padding: var(--raum-3) var(--raum-4);
  border-radius: var(--radius-klein);
  font-size: var(--schrift-m);
  min-height: 44px;                  /* gut treffbar mit dem Finger */
  display: flex;
  align-items: center;
}
nav.hauptmenue a:hover { background: rgba(255,255,255,.20); color: var(--weiss); }
nav.hauptmenue a[aria-current="page"] { background: var(--weiss); color: var(--blau); font-weight: bold; }

.kopf-telefon { font-size: var(--schrift-s); white-space: nowrap; margin: 0; }
.kopf-telefon a { color: var(--weiss); text-decoration: none; font-weight: bold; font-size: var(--schrift-l); }
.kopf-telefon a:hover { text-decoration: underline; }


/* ---------- 4. Titelbild ---------------------------------- */

.titelbild {
  position: relative;
  background: var(--blau-dunkel);
  color: var(--weiss);
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.titelbild img.hintergrund {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .40;
}
.titelbild .inhalt { position: relative; padding-top: var(--raum-8); padding-bottom: var(--raum-8); }
.titelbild h1 {
  color: var(--weiss);
  font-size: var(--schrift-4xl);
  margin-bottom: .3em;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.titelbild p.unterzeile {
  font-size: var(--schrift-xl);
  max-width: 40ch;
  text-shadow: 0 2px 12px rgba(0,0,0,.65);
  margin-bottom: var(--raum-6);
}

.titelbild-klein { min-height: 230px; }
.titelbild-klein h1 { font-size: var(--schrift-3xl); margin-bottom: 0; }
.titelbild-klein p.unterzeile { font-size: var(--schrift-l); margin: .6em 0 0; }


/* ---------- 5. Schaltflächen ------------------------------ */

.knopf {
  display: inline-block;
  background: var(--weiss);
  color: var(--blau);
  padding: var(--raum-4) var(--raum-6);
  border-radius: var(--radius-klein);
  text-decoration: none;
  font-weight: bold;
  font-size: var(--schrift-l);
  border: 2px solid var(--weiss);
  min-height: 48px;
  transition: background .15s, color .15s;
}
.knopf:hover { background: transparent; color: var(--weiss); }
.knopf:active { transform: translateY(1px); }

.knopf-blau { background: var(--blau); color: var(--weiss); border-color: var(--blau); }
.knopf-blau:hover { background: var(--blau-hell); border-color: var(--blau-hell); color: var(--weiss); }

.knopf-gruppe { display: flex; gap: var(--raum-3); flex-wrap: wrap; }


/* ---------- 6. Abschnitte & Raster ------------------------ */

section { padding: var(--raum-8) 0; }
section.sand { background: var(--sand); }

.abschnitt-kopf { max-width: 60ch; margin-bottom: var(--raum-7); }
.abschnitt-kopf p { font-size: var(--schrift-l); color: var(--text-leise); }

.zwei-spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--raum-8);
  align-items: center;
}
.zwei-spalten img { border-radius: var(--radius-gross); box-shadow: var(--schatten); }

/* Grundrisse und Pläne: heller Untergrund, deshalb ein feiner Rahmen
   statt Schatten, damit die Kante sichtbar bleibt. */
.zwei-spalten img.plan {
  border: 1px solid var(--rand-leise);
  background: var(--weiss);
  box-shadow: 0 1px 8px rgba(30, 45, 74, .07);
}

/* Gibt der Bildspalte deutlich mehr Gewicht als dem Text.
   Je nachdem, ob das Bild links oder rechts steht. */
.zwei-spalten.bild-links  { grid-template-columns: 1.75fr 1fr; gap: var(--raum-7); }
.zwei-spalten.bild-rechts { grid-template-columns: 1fr 1.75fr; gap: var(--raum-7); }

/* Etwas breiterer Inhaltsbereich – nur für Abschnitte mit großem Bild. */
.inhalt-breit { max-width: 1320px; }

.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--raum-6); }
.karte {
  background: var(--weiss);
  border: 1px solid var(--rand-leise);
  border-radius: var(--radius-gross);
  padding: var(--raum-6);
  box-shadow: var(--schatten);
}
.karte .zeichen { font-size: 2rem; line-height: 1; margin-bottom: var(--raum-3); }
.karte h3 { margin-bottom: .3em; }
.karte p { margin: 0 0 var(--raum-3); color: var(--text-leise); font-size: var(--schrift-m); }
.karte p:last-child { margin-bottom: 0; }


/* ---------- 7. Listen, Tabellen, Hinweise ----------------- */

ul.haken { list-style: none; padding: 0; margin: 0; }
ul.haken li { position: relative; padding-left: var(--raum-7); margin-bottom: var(--raum-3); }
ul.haken li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 20px; height: 11px;
  border-left: 3px solid var(--akzent-text);
  border-bottom: 3px solid var(--akzent-text);
  transform: rotate(-45deg);
}

table.preise {
  width: 100%;
  border-collapse: collapse;
  background: var(--weiss);
  box-shadow: var(--schatten);
  border-radius: var(--radius-gross);
  overflow: hidden;
}
table.preise caption {
  caption-side: top;
  text-align: left;
  padding-bottom: var(--raum-3);
  color: var(--text-leise);
  font-size: var(--schrift-s);
}
table.preise th, table.preise td {
  padding: var(--raum-4) var(--raum-5);
  text-align: left;
  border-bottom: 1px solid var(--rand-leise);
}
table.preise thead th { background: var(--blau); color: var(--weiss); font-weight: normal; font-family: Georgia, serif; }
table.preise thead th:last-child { text-align: right; }
table.preise td.betrag { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.preise tr.summe td { background: var(--sand-tief); font-weight: bold; font-size: var(--schrift-l); }
table.preise tbody tr:last-child td { border-bottom: none; }
.tabelle-hilfe {
  display: block;
  margin-top: var(--raum-1);
  font-size: var(--schrift-s);
  font-weight: normal;
  color: var(--text-leise);
}

.hinweis {
  background: var(--sand);
  border-left: 5px solid var(--akzent-text);
  padding: var(--raum-5) var(--raum-6);
  border-radius: 0 var(--radius-klein) var(--radius-klein) 0;
  margin: var(--raum-6) 0;
}
.hinweis > :last-child { margin-bottom: 0; }
.hinweis h3, .hinweis .hinweis-titel {
  margin: 0 0 .35em;
  font-size: var(--schrift-l);
  font-family: Georgia, serif;
  color: var(--blau);
}


/* ---------- 8. Galerie ------------------------------------ */

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--raum-5); }
.galerie figure { margin: 0; }
.galerie img {
  border-radius: var(--radius-gross);
  box-shadow: var(--schatten);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.galerie figcaption { font-size: var(--schrift-s); color: var(--text-leise); margin-top: var(--raum-2); }
.galerie .breit { grid-column: span 3; }
.galerie .breit img { aspect-ratio: 21 / 9; }


/* ---------- 9. Kontakt & Formular ------------------------- */

.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: var(--raum-8); align-items: start; }

.kontakt-block { margin-bottom: var(--raum-6); }
.kontakt-block h3 { margin-bottom: .2em; }
.kontakt-block p { margin: 0 0 var(--raum-1); }
.kontakt-block a.gross { font-size: 1.5rem; font-family: Georgia, serif; text-decoration: none; font-weight: bold; }

form.anfrage label { display: block; font-weight: bold; margin-bottom: var(--raum-2); font-size: var(--schrift-m); }
form.anfrage input,
form.anfrage textarea,
form.anfrage select {
  width: 100%;
  padding: var(--raum-3) var(--raum-4);
  font-size: var(--schrift-m);
  font-family: inherit;
  color: var(--text);
  border: 2px solid var(--rand-kraeftig);
  border-radius: var(--radius-klein);
  margin-bottom: var(--raum-5);
  background: var(--weiss);
  min-height: 48px;
}
form.anfrage input:focus-visible,
form.anfrage textarea:focus-visible,
form.anfrage select:focus-visible {
  border-color: var(--blau);
  outline: var(--fokus);
  outline-offset: 1px;
}
form.anfrage textarea { min-height: 140px; resize: vertical; }
form.anfrage .pflicht { color: var(--fehler); font-weight: bold; }
form.anfrage .datenschutz-zeile {
  display: flex; gap: var(--raum-3); align-items: flex-start;
  font-size: var(--schrift-s); color: var(--text-leise); margin-bottom: var(--raum-5);
}
form.anfrage .datenschutz-zeile input {
  width: 24px; height: 24px; min-height: 24px;
  margin: 4px 0 0; flex-shrink: 0;
  accent-color: var(--blau);
}
form.anfrage button { font: inherit; cursor: pointer; }
.formular-fuss { font-size: var(--schrift-s); color: var(--text-leise); margin-top: 1em; }


/* ---------- 10. Fußbereich -------------------------------- */

footer.fuss {
  background: var(--blau-dunkel);
  color: #dfe2e6;
  padding: var(--raum-8) 0 var(--raum-6);
  font-size: var(--schrift-m);
}
footer.fuss h3 { color: var(--weiss); font-size: var(--schrift-l); margin-bottom: .5em; }
footer.fuss a { color: var(--weiss); }
.fuss-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--raum-7); margin-bottom: var(--raum-7); }
.fuss-raster ul { list-style: none; padding: 0; margin: 0; }
.fuss-raster li { margin-bottom: var(--raum-2); }
.fuss-unten {
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: var(--raum-5);
  display: flex; justify-content: space-between; gap: var(--raum-5);
  flex-wrap: wrap;
  font-size: var(--schrift-s);
}


/* ---------- Banner „freie Appartements“ ------------------- */

.banner-frei {
  background: var(--akzent-text);
  color: #fff;
  text-align: center;
  padding: var(--raum-3) var(--raum-5);
  font-size: var(--schrift-m);
  margin: 0;
}
.banner-frei a { color: #fff; font-weight: bold; }


/* ---------- 11. Handy / Tablet / Druck -------------------- */

@media (max-width: 1000px) {
  .menue-knopf { display: flex; }

  .kopf-innen {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "marke knopf" "telefon telefon" "menue menue";
    gap: var(--raum-3);
    align-items: center;
  }
  .marke        { grid-area: marke; min-width: 0; }
  .marke img    { max-width: 100%; }
  .menue-knopf  { grid-area: knopf; flex-shrink: 0; }
  .kopf-telefon { grid-area: telefon; white-space: normal; }
  nav.hauptmenue { grid-area: menue; }

  nav.hauptmenue[hidden] { display: none; }
  nav.hauptmenue ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.28);
    padding-top: var(--raum-2);
  }
  nav.hauptmenue li { border-bottom: 1px solid rgba(255,255,255,.14); }
  nav.hauptmenue li:last-child { border-bottom: none; }
  nav.hauptmenue a { min-height: 52px; border-radius: 0; padding-left: 0; }
  nav.hauptmenue a[aria-current="page"] { padding-left: var(--raum-4); }
}

/* Ohne JavaScript bleibt das Menü immer sichtbar */
html.kein-js nav.hauptmenue { display: block !important; }
html.kein-js .menue-knopf   { display: none !important; }

@media (max-width: 900px) {
  /* Untereinander statt nebeneinander. Die Modifier bild-links/bild-rechts
     muessen mit aufgefuehrt werden – sie sind spezifischer und wuerden
     die einfache Regel sonst ueberstimmen. */
  .zwei-spalten,
  .zwei-spalten.bild-links,
  .zwei-spalten.bild-rechts,
  .kontakt-raster { grid-template-columns: 1fr; gap: var(--raum-6); }
  .karten { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie .breit { grid-column: span 2; }
  .fuss-raster { grid-template-columns: 1fr; gap: var(--raum-6); }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .titelbild { min-height: 340px; }
  .titelbild h1 { font-size: 2.1rem; }
  .titelbild p.unterzeile { font-size: var(--schrift-l); }
  .titelbild-klein { min-height: 190px; }
  .titelbild-klein h1 { font-size: 1.9rem; }

  header.kopf { position: static; }   /* mehr Platz auf kleinen Bildschirmen */
}

@media (max-width: 620px) {
  .galerie { grid-template-columns: 1fr; }
  .galerie .breit { grid-column: span 1; }
  section { padding: var(--raum-7) 0; }
  .inhalt { padding: 0 var(--raum-4); }
  .knopf { display: block; text-align: center; }
  .knopf-gruppe { flex-direction: column; }
  /* Auf dem Handy trägt das Logo die Marke allein – der Zusatztext
     würde sonst mit dem Menü-Knopf kollidieren. */
  .marke { gap: 0; min-width: 0; }
  .marke img { width: 165px; }
  .marke-text { display: none; }
  .karte { padding: var(--raum-5); }

  /* Preistabelle wird auf schmalen Bildschirmen untereinander gestapelt,
     damit nichts seitlich hinausläuft. */
  table.preise, table.preise caption, table.preise tbody,
  table.preise tr, table.preise th, table.preise td {
    display: block;
    width: 100%;
  }
  table.preise caption { padding: 0 var(--raum-4) var(--raum-3); }
  table.preise thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  table.preise tbody tr {
    border-bottom: 1px solid var(--rand-leise);
    padding: var(--raum-4);
  }
  table.preise tbody tr:last-child { border-bottom: none; }
  table.preise th, table.preise td { border-bottom: none; padding: 0; }
  table.preise th[scope="row"] { font-weight: bold; margin-bottom: var(--raum-2); }
  table.preise td.betrag {
    text-align: left;
    white-space: normal;
    font-weight: bold;
    color: var(--blau);
  }
  table.preise td.betrag::before {
    content: "Monatlich: ";
    font-weight: normal;
    color: var(--text-leise);
  }
  table.preise tr.summe { background: var(--sand-tief); }
}

@media print {
  header.kopf, nav, .knopf-gruppe, form.anfrage, .banner-frei, .sprungmarke { display: none; }
  body { font-size: 11pt; color: #000; }
  .titelbild { min-height: auto; color: #000; background: none; }
  .titelbild img.hintergrund { display: none; }
  .titelbild h1 { color: #000; text-shadow: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  section { padding: 12pt 0; }
}

/* ==========================================================
   12. Bedienung auf dem Handy
   Groessere Tippflaechen und ein fester Anrufbalken.
   Zielgruppe sind Menschen, die ein Telefon oft nicht mehr
   ruhig halten koennen – 17 Pixel hohe Textlinks reichen da nicht.
   ========================================================== */

/* Standard: kein Balken – auf grossen Bildschirmen nicht noetig */
nav.handy-leiste { display: none; }

@media (max-width: 900px) {

  /* --- Fusszeile: aus Textlinks werden Zeilen zum Antippen --- */
  .fuss-raster ul li { margin-bottom: 0; }
  .fuss-raster ul a,
  footer.fuss li a {
    display: block;
    padding: 12px 0;
    min-height: 46px;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .fuss-raster ul li:last-child a { border-bottom: none; }
  .fuss-unten a { display: inline-block; padding: 10px 4px; min-height: 44px; }

  /* --- Telefon- und E-Mail-Links ueberall gut treffbar --- */
  a[href^="tel:"],
  a[href^="mailto:"] {
    display: inline-block;
    padding: 10px 2px;
    min-height: 44px;
  }
  .kopf-telefon a { padding: 10px 14px; background: rgba(255,255,255,.12); border-radius: var(--radius-klein); }
  .kontakt-block a.gross { padding: 14px 0; min-height: 52px; font-size: 1.6rem; }

  /* --- Verweise im Fließtext bekommen mehr Hoehe --- */
  main p a, .banner-frei a, .karte a {
    display: inline-block;
    padding: 8px 0;
    min-height: 40px;
  }

  /* --- Ankreuzfeld und Kleingedrucktes im Formular --- */
  form.anfrage .datenschutz-zeile input { width: 32px; height: 32px; min-height: 32px; }
  form.anfrage .datenschutz-zeile { font-size: var(--schrift-m); }
  form.anfrage .datenschutz-zeile label a { display: inline-block; padding: 8px 0; min-height: 40px; }
  form.anfrage p { font-size: var(--schrift-m); }

  /* --- Fester Balken unten: anrufen oder schreiben --- */
  nav.handy-leiste {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    background: rgba(255,255,255,.25);
    box-shadow: 0 -2px 14px rgba(0,0,0,.28);
  }
  .handy-leiste a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 62px;
    padding: 10px 8px;
    background: var(--blau);
    color: var(--weiss);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: bold;
  }
  .handy-leiste a.zweit { background: var(--blau-dunkel); }
  .handy-leiste a:active { background: var(--blau-hell); }
  .handy-leiste svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

  /* Platz schaffen, damit der Balken nichts verdeckt */
  body { padding-bottom: 62px; }
  footer.fuss { padding-bottom: calc(var(--raum-6) + 62px); }
}

@media print { .handy-leiste { display: none !important; } }

/* ---------- Honigtopf & Rückmeldungen des Formulars -------- */

/* Für Menschen unsichtbar, für Werbeprogramme sichtbar.
   Nicht display:none – manche Programme erkennen das und lassen es aus. */
.honigtopf {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.meldung {
  border-radius: var(--radius-klein);
  padding: var(--raum-5) var(--raum-6);
  margin: var(--raum-6) 0;
  border-left: 5px solid;
}
.meldung > :first-child { margin-top: 0; }
.meldung > :last-child { margin-bottom: 0; }
.meldung ul { margin: var(--raum-3) 0 0; padding-left: 1.3em; }
.meldung li { margin-bottom: var(--raum-2); }

.meldung-gut    { background: #eef4ec; border-color: #3d6b34; }
.meldung-fehler { background: #f9edec; border-color: var(--fehler); }
