/* ==========================================================================
   DIE KLARA-KINDER – Stylesheet (Redesign 2, Farbpalette 2026)
   Palette: Honey Bronze #EDAE49 · Amaranth #D1495B · Stormy Teal #00798C
            Baltic Blue #30638E · Yale Blue #003D5B
   Keine externen Ressourcen: nur System-Schriften, keine Webfonts, kein CDN.
   Alle Text-/Hintergrund-Paare erfüllen mindestens WCAG AA (Werte in den Kommentaren).
   ========================================================================== */

/* ---------- 1. Farben & Maße ------------------------------------------- */
:root {
  /* Palette */
  --honig:         #EDAE49;   /* Honey Bronze – nur Fläche, nie Text auf Hell   */
  --amaranth:      #D1495B;   /* Amaranth – Akzente, große Überschriften (≥3:1)  */
  --tuerkis:       #00798C;   /* Stormy Teal – 5,1:1 auf Weiß                    */
  --baltisch:      #30638E;   /* Baltic Blue – Schriftzug, Links, 6,0:1 auf Grund */
  --yale:          #003D5B;   /* Yale Blue – Text 10,8:1 auf Grund               */

  /* Rollen (die Namen bleiben wie in Redesign 1, damit das Layout gleich bleibt) */
  --blau:          var(--baltisch);
  --blau-dunkel:   var(--yale);
  --gelb:          var(--honig);
  --gelb-hell:     #FCEFD6;   /* Honig-Hell – Yale darauf 10,2:1, Baltic 5,6:1   */

  --grund:         #F3F7F8;   /* kühles, helles Grau-Türkis                       */
  --flaeche:       #FFFFFF;
  --tinte:         var(--yale);
  --tinte-leise:   #3E5B6E;   /* 6,7:1 auf Grund, 6,3:1 auf Honig-Hell            */
  --linie:         #DCE6EA;
  --schatten:      0 1px 2px rgb(0 61 91 / .06), 0 10px 26px -10px rgb(0 61 91 / .22);

  --fuss-grund:    var(--yale);
  --fuss-text:     #F4EFE6;   /* 10,1:1 auf Yale                                  */
  --fokus:         var(--tuerkis);
  --fokus-fuss:    var(--honig);
  --auf-gelb:      var(--yale);   /* Text auf Honig – 5,9:1                       */

  /* Kita-Farben: eine Farbe pro Haus (Überschrift ist 20 px fett = große Schrift) */
  --kita-1:        var(--amaranth);  /* 4,4:1 auf Weiß                            */
  --kita-1-text:   var(--amaranth);
  --kita-2:        var(--tuerkis);
  --kita-2-text:   var(--tuerkis);   /* 5,1:1                                     */
  --kita-3:        var(--honig);
  --kita-3-text:   var(--baltisch);  /* 6,4:1                                     */

  /* Farbband aus allen fünf Palettenfarben */
  --band: linear-gradient(90deg,
            var(--honig) 0 20%, var(--amaranth) 20% 40%, var(--tuerkis) 40% 60%,
            var(--baltisch) 60% 80%, var(--yale) 80% 100%);

  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-rund: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --breite: 1100px;
  --rand: clamp(1rem, 4vw, 2rem);
  --radius: 18px;
  --radius-klein: 10px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blau:        #A9C6E3;   /* helles Baltic – 8,3:1 auf Grund, 6,8:1 auf Fläche */
    --blau-dunkel: #C9D6DF;
    --gelb:        #EDAE49;
    --gelb-hell:   #3A2E17;   /* dunkler Honig – Text darauf 11,6:1                */

    --grund:       #0A2B3D;   /* abgedunkeltes Yale                                */
    --flaeche:     #103A52;
    --tinte:       #F4EFE6;   /* 12,9:1 auf Grund, 10,5:1 auf Fläche               */
    --tinte-leise: #C9D6DF;   /* 8,1:1 auf Fläche                                  */
    --linie:       #22506A;
    --schatten:    0 1px 2px rgb(0 0 0 / .3), 0 10px 26px -10px rgb(0 0 0 / .55);

    --fuss-grund:  #06202E;
    --fuss-text:   #F4EFE6;
    --fokus:       #EDAE49;
    --fokus-fuss:  #EDAE49;
    --auf-gelb:    #003D5B;

    --kita-1-text: #F0A3AE;   /* helles Amaranth – 6,0:1 auf Fläche */
    --kita-2-text: #7FC8D4;   /* helles Teal – 6,4:1                */
    --kita-3-text: #EDAE49;   /* Honig – 6,2:1                      */

    color-scheme: dark;
  }
}

/* ---------- 2. Grundlagen ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;            /* 17 px */
  line-height: 1.6;
  color: var(--tinte);
  background-color: var(--grund);
  /* ganz sanfte Farbtupfer aus Blau und Gelb – rein dekorativ */
  background-image:
    radial-gradient(38rem 26rem at 105% -5%, rgb(237 174 73 / .16), transparent 70%),
    radial-gradient(34rem 24rem at -10% 40%, rgb(0 121 140 / .08), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
}

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

a { color: var(--blau); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--blau-dunkel); text-decoration-thickness: .14em; }

h1, h2, h3, h4 {
  font-family: var(--schrift-rund);
  color: var(--tinte);
  line-height: 1.25;
  margin: 0 0 .6em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 700; }
h2 { font-size: clamp(1.2rem, 1.05rem + .8vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1em; }

address { font-style: normal; }

/* ---------- 3. Barrierefreiheit ---------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus-visible { outline: none; }

.skip-link {
  position: absolute;
  left: .75rem;
  top: -4rem;
  z-index: 2000;
  padding: .75rem 1.1rem;
  background: var(--tinte);
  color: var(--grund);
  font-weight: 600;
  border-radius: var(--radius-klein);
  text-decoration: none;
}
.skip-link:focus, .skip-link:focus-visible { top: .75rem; color: var(--grund); }

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

/* ---------- 4. Seitenrahmen -------------------------------------------- */
.main-container {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--rand) clamp(2.5rem, 6vw, 4.5rem);
}

/* ---------- 5. Kopf & Navigation --------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--grund) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.navbar::after {                      /* Farbband aus der Palette */
  content: "";
  display: block;
  height: 4px;
  background: var(--band);
}

.nav-container {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: .5rem var(--rand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.nav-header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 1 1 auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 48px;
  text-decoration: none;
  color: var(--blau);
  border-radius: 12px;
}
.nav-brand:hover { color: var(--blau); }

.nav-hand {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #FFFFFF;             /* Logo-GIF hat weißen Hintergrund */
  box-shadow: 0 0 0 3px var(--gelb), var(--schatten);
  overflow: hidden;
}
.nav-hand img { width: 82%; height: auto; }

.nav_klarakinder {
  font-family: var(--schrift-rund);
  font-weight: 800;
  font-size: clamp(1.45rem, 1.05rem + 1.9vw, 2.25rem);
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--blau);
  white-space: nowrap;
}

/* Menü-Knopf (nur Handy, nur mit JavaScript) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0 1rem;
  font: inherit;
  font-weight: 600;
  color: var(--tinte);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 999px;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; flex: none; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top:  6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem 1rem;
  border-radius: 999px;
  color: var(--tinte);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav-menu a:hover { background: var(--gelb-hell); color: var(--tinte); }
.nav-menu a[aria-current="page"] {
  background: var(--gelb);
  color: var(--auf-gelb);
}

/* Handy: aufklappbares Menü */
@media (max-width: 51.99rem) {
  .js .nav-toggle { display: inline-flex; }
  .nav-hand { width: 2.75rem; height: 2.75rem; }

  .nav-menu { width: 100%; }
  .js .nav-menu {
    display: none;
    flex-direction: column;
    gap: .25rem;
    padding: .25rem 0 .75rem;
  }
  .js .navbar.nav-open .nav-menu { display: flex; }
  .js .nav-menu a {
    min-height: 48px;
    padding: .5rem 1rem;
    border-radius: var(--radius-klein);
    font-size: 1.1rem;
  }
  /* ohne JavaScript: Menü bleibt sichtbar und bricht um */
  .no-js .nav-menu a { padding: .35rem .8rem; }
}

@media (max-width: 25rem) {
  .nav-header { gap: .5rem; }
  .nav-brand { gap: .55rem; }
  .nav_klarakinder { font-size: 1.25rem; }
  .nav-toggle { padding: 0 .8rem; gap: .45rem; }
}

/* ---------- 6. Startseite: Slideshow ----------------------------------- */
.slideshow { margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }

.slideshow-container {
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 72vh;
  width: 100%;
  margin-inline: auto;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--linie);
  box-shadow: var(--schatten);
}
@supports not (aspect-ratio: 3 / 2) {
  .slideshow-container { height: 0; padding-bottom: 66.666%; }
}

.mySlides {
  display: none;
  position: absolute;
  inset: 0;
}
.mySlides.is-active  { display: block; z-index: 2; animation: kk-einblenden .8s ease both; }
.mySlides.is-leaving { display: block; z-index: 1; }
.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes kk-einblenden { from { opacity: 0; } to { opacity: 1; } }

.slideshow-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}
.slideshow-controls[hidden] { display: none; }

.ss-btn {
  min-height: 44px;
  min-width: 44px;
  padding: .4rem 1.1rem;
  font: inherit;
  font-weight: 600;
  color: var(--tinte);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.ss-btn:hover { background: var(--gelb-hell); border-color: var(--gelb); }
.ss-toggle { min-width: 7.5rem; }
.ss-toggle[aria-pressed="true"] { background: var(--gelb); border-color: var(--gelb); color: var(--auf-gelb); }

.numbertext {
  margin: 0 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: var(--tinte-leise);
  font-weight: 600;
}

@media (max-width: 26rem) {
  .slideshow-controls { justify-content: space-between; }
  .ss-btn { padding: .4rem .8rem; }
  .ss-toggle { min-width: 6.5rem; }
  .numbertext { width: 100%; text-align: center; margin: .25rem 0 0; }
}

/* Einleitungstext unter der Slideshow */
.intro {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2.25rem);
  background: var(--gelb-hell);
  border-radius: var(--radius);
  font-size: 1.125rem;
}
.intro::before {                   /* gelber Akzentstrich */
  content: "";
  position: absolute;
  left: 0; top: 1.25rem; bottom: 1.25rem;
  width: 5px;
  border-radius: 0 5px 5px 0;
  background: var(--amaranth);
}
.intro p:first-child {
  font-family: var(--schrift-rund);
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--tinte);
}
.intro p:last-child { margin-bottom: 0; }

/* ---------- 7. Kitas ---------------------------------------------------- */
.kitas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: stretch;
}

.kita-location {
  display: flex;
  flex-direction: column;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  overflow: hidden;
}
.kita-content { display: contents; }

.kita-image { order: -1; }
.kita-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.kita-location { --kita: var(--kita-1); --kita-text: var(--kita-1-text); }
.kita-location:nth-child(2) { --kita: var(--kita-2); --kita-text: var(--kita-2-text); }
.kita-location:nth-child(3) { --kita: var(--kita-3); --kita-text: var(--kita-3-text); }

.kita-header {
  margin: 0;
  padding: 1.25rem 1.4rem .25rem;
  font-size: 1.25rem;
  color: var(--kita-text);
  border-top: 6px solid var(--kita);
}

.kita-info { flex: 1; padding: .5rem 1.4rem 1.5rem; }

.standorte h3 {
  margin: 1.1rem 0 .2rem;
  font-family: var(--schrift);
  font-size: .95rem;
  font-weight: 700;
  color: var(--tinte-leise);
}
.standorte h3:first-child { margin-top: .5rem; }
.standorte address { font-weight: 600; }
.standorte ul { list-style: none; margin: 0; padding: 0; }
.standorte li { padding: .15rem 0; }
.standorte li + li { border-top: 1px dashed var(--linie); }
.standorte ul { border-left: 3px solid var(--kita); padding-left: .75rem; }

/* ---------- 8. Kontakt -------------------------------------------------- */
.kontakt-container {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.kontakt-top {
  display: grid;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: stretch;
}
@media (min-width: 48rem) {
  .kontakt-top { grid-template-columns: 1fr 1fr; }
}

.kontakt-image img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  background: var(--gelb-hell);
  border-radius: var(--radius);
  border-top: 6px solid var(--gelb);
  font-size: 1.1rem;
  line-height: 1.55;
}
.kontakt-namen { font-family: var(--schrift-rund); font-weight: 700; font-size: 1.3rem; color: var(--tinte); }
.kontakt-wege  { display: grid; gap: .5rem; margin-top: .25rem; }
.kontakt-weg   { display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; }
.kontakt-label { color: var(--tinte-leise); font-weight: 600; min-width: 5.6rem; }
.kontakt-weg a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.35rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.kontakt-bottom {
  max-width: 46rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.kontakt-bottom h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); margin-bottom: 1rem; }
@media (min-width: 56rem) {
  .kontakt-bottom {
    max-width: none;
    display: grid;
    grid-template-columns: 13rem minmax(0, 46rem);
    gap: 2rem;
  }
  .kontakt-bottom h3 { margin: .1rem 0 0; }
}

.vormerk-schritte {
  list-style: none;
  counter-reset: schritt;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.vormerk-schritte li {
  counter-increment: schritt;
  position: relative;
  padding-left: 3rem;
  min-height: 2.2rem;
}
.vormerk-schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0; top: 0;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gelb);
  color: var(--auf-gelb);
  font-weight: 800;
  font-family: var(--schrift-rund);
}
.vormerk-schritte li + li::after {  /* Verbindungslinie zwischen den Schritten */
  content: "";
  position: absolute;
  left: 1.05rem; top: -1rem;
  width: 2px; height: 1rem;
  background: var(--gelb);
  opacity: .6;
}
.vormerk-schritte p { margin: 0; padding-top: .2rem; }

/* ---------- 9. Textseiten: Impressum, Datenschutz, Haftung, Presse, Stellen */
.impressum_text {
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 5vw, 3rem);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  overflow-wrap: break-word;
}
.impressum_text h1 {
  padding-bottom: .5em;
  margin-bottom: 1em;
  background: linear-gradient(var(--gelb), var(--gelb)) left bottom / 4rem 5px no-repeat;
}
.impressum_text h1:only-child { margin-bottom: 0; }
.impressum_text h2 {
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--linie);
  color: var(--kita-2-text);
}
.impressum_text h1 + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.impressum_text h3 { margin-top: 1.8em; }
.impressum_text h4 { margin-top: 1.5em; color: var(--tinte-leise); }
.impressum_text h2 + h3,
.impressum_text h3 + h4 { margin-top: .8em; }
.impressum_text p, .impressum_text li { max-width: 70ch; }
.impressum_text ul { padding-left: 1.25rem; }
.impressum_text li { margin-bottom: .5em; }
.impressum_text li::marker { color: var(--gelb); }
.impressum_text address {
  margin: .75rem 0 1.25rem;
  padding: .9rem 1.1rem;
  background: var(--gelb-hell);
  border-left: 5px solid var(--gelb);
  border-radius: 0 var(--radius-klein) var(--radius-klein) 0;
  line-height: 1.7;
}
.impressum_text a { overflow-wrap: anywhere; }
.impressum_text img { border-radius: var(--radius-klein); }

/* ---------- 10. Fußzeile ------------------------------------------------ */
.site-footer {
  background: var(--fuss-grund);
  color: var(--fuss-text);
}
.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--band);
}
.navbar_foot {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 1.25rem var(--rand) .5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.navbar_foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .4rem 1.1rem;
  border-radius: 999px;
  color: var(--fuss-text);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgb(255 255 255 / .18);
}
.navbar_foot a:hover { background: rgb(255 255 255 / .1); color: var(--fuss-text); }
.navbar_foot a[aria-current="page"] { background: var(--gelb); color: var(--auf-gelb); border-color: var(--gelb); }
.navbar_foot a:focus-visible { outline-color: var(--fokus-fuss); }

.copyright {
  text-align: center;
  padding: .75rem var(--rand) 1.5rem;
  font-size: .95rem;
  color: var(--fuss-text);
  opacity: .85;
}

@media (max-width: 26rem) {
  .navbar_foot { flex-direction: column; align-items: stretch; }
}

/* ---------- 11. Weniger Bewegung --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 12. Druck --------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .navbar { position: static; backdrop-filter: none; }
  .nav-toggle, .nav-menu, .slideshow-controls, .skip-link { display: none !important; }
  .impressum_text, .kita-location, .kontakt-bottom { box-shadow: none; border-color: #ccc; }
}

/* ---------- 13. Vorlesen ------------------------------------------------ */
.vorlesen-leiste {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .5rem;
  margin: -0.25rem 0 1rem;
}
.vorlesen-leiste[hidden] { display: none; }
.vorlesen-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .4rem 1.15rem;
  font: inherit;
  font-weight: 700;
  color: var(--tinte);
  background: var(--flaeche);
  border: 2px solid var(--gelb);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--schatten);
}
.vorlesen-btn[hidden] { display: none; }
.vorlesen-start::before {           /* kleiner Lautsprecher aus reinem CSS */
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--lautsprecher) center / contain no-repeat;
  mask: var(--lautsprecher) center / contain no-repeat;
}
:root {
  --lautsprecher: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3z'/%3E%3Cpath d='M16.5 12a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4z'/%3E%3Cpath d='M14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E");
}
.vorlesen-btn:hover { background: var(--gelb-hell); }
.vorlesen-start.ist-aktiv { background: var(--gelb); color: var(--auf-gelb); }

/* aktuell vorgelesener Abschnitt */
.wird-vorgelesen {
  background: var(--gelb-hell);
  box-shadow: 0 0 0 .35rem var(--gelb-hell), -0.35rem 0 0 .35rem var(--gelb);
  border-radius: 4px;
  transition: background-color .2s ease;
}
.intro .wird-vorgelesen,
.kontakt-info.wird-vorgelesen { background: var(--flaeche); box-shadow: 0 0 0 .35rem var(--flaeche), -0.35rem 0 0 .35rem var(--gelb); }

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