/* Ergänzungen 2026 (Kirby-5-Relaunch) – style.css bleibt unverändert */

/* H1 statt bisher H2 in den Bühnen: gleiche Optik wie vorher */
.stage-detail h1, .stage-editorial h1 { font-size: 2.25em; text-align: center; }
@media screen and (min-width: 768px) {
  .stage-detail h1, .stage-editorial h1 { font-size: 6vw; }
}

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

/* Formular-Fehler */
.form-errors { color: #B36184; padding-bottom: 16px; }

/* Karte: Platzhalter bis zur Zustimmung */
.googlemaps .consent-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 24px; background: #F3F1EA;
}
.googlemaps .consent-placeholder p { font-size: 18px; line-height: 26px; max-width: 32em; }

/* Consent-Banner (ersetzt das alte, zu große Cookie-Banner) */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 560px; margin-left: auto;
  background: #fff; color: #5D6B9D; box-shadow: 0 8px 32px rgba(0,0,0,.18);
  font-size: 16px; line-height: 24px;
}
.consent[hidden] { display: none; }
.consent-inner { padding: 20px 24px; }
.consent p { font-size: 16px; line-height: 24px; padding-bottom: 12px; }
.consent-options { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 12px; }
.consent-options label { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; }
.consent-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-buttons .button { font-size: 16px; line-height: 24px; padding: 6px 14px; cursor: pointer; background: none; border: 2px solid currentColor; }
.consent-buttons .button[data-consent-action="all"] { background: #5D6B9D; color: #fff; border-color: #5D6B9D; }
.consent-buttons .button { margin: 0; }

/* Bilder: Seitenverhältnis erhalten (width/height-Attribute nur gegen Layout-Springen) */
.image-single img, .image-group-of-two img, .teaser-small .visual img { height: auto; }

/* Lange Seitentitel (z. B. „Online-/Einzelmappenberatung“) auf dem Handy umbrechen statt überstehen */
.stage-detail h1, .stage-editorial h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media screen and (max-width: 767px) {
  .stage-detail h1.is-long, .stage-editorial h1.is-long { font-size: min(1.75em, 8.5vw); letter-spacing: .03em; }
}

/* Mobile Kopfzeile: lange Seitentitel kürzen, damit „Menu“ in der Zeile bleibt */
@media screen and (max-width: 959px) {
  .menu a.logo { max-width: calc(100% - 96px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* #### im Text wird zu h3.headline-4 (gleiche Optik wie vorher h4) */
.headline-4 { font-size: 20px; }

/* Text im Eyecatcher der Startseite linksbündig (### wird jetzt als h2 ausgegeben) */
.stage-brand .eyecatcher h2 { text-align: left; }
