/* WordPress-Fassung: Ergänzungen zum Design-Bundle (niedrige Spezifität, nur Grundwerte) */

/* Grundwerte gegen Stile von Theme/Plugins absichern */
:where(.gh) :is(h1, h2, h3, h4, h5, h6) { padding-bottom: 0; color: inherit; }
:where(.gh) p { padding-bottom: 0; }
:where(.gh) :is(ul, ol) { padding-bottom: 0; }
:where(.gh) a { text-decoration: underline; }
:where(.gh) button { cursor: pointer; }
:where(.gh) img { height: auto; }
#inhalt { display: block; }

/* WordPress-Werkzeugleiste (nur angemeldet) */
body.admin-bar .gs-kopfwrap { top: 32px; }
body.admin-bar .gh-raumnav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .gs-kopfwrap, body.admin-bar .gh-raumnav { top: 0; }
}

/* Spamschutz-Feld unsichtbar */
.gs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Senden-Knopf als <button> */
.gh button.gh-btn { font: 500 14px/1 var(--font-text); letter-spacing: .14em; }
.gh button.gh-btn[disabled] { opacity: .6; cursor: progress; }

/* Datei-Upload im Look des Buttons */
.gs-datei { position: relative; cursor: pointer; }
.gs-datei input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.gs-datei:focus-within { outline: 2px solid var(--fokus); outline-offset: 3px; }

/* Pflichtfeld-Hinweise */
.gs-fehlertext { display: block; margin-top: 6px; font-size: 14px; color: var(--fehler); }
.gs-fehlertext::before { content: "! "; font-weight: 700; }
.gh .ist-fehler { border-bottom-color: var(--fehler); box-shadow: inset 0 -1px 0 var(--fehler); }

/* Google Maps im Borlabs-Content-Blocker */
.gh-karte > * { position: static; max-width: none; }
.gh-karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.gh-karte:has(iframe)::before { display: none; }
.gh-karte .gh-karte-blocker { position: relative; z-index: 1; max-width: 420px; text-align: left; }
.gh-karte .gh-karte-blocker h3 { font-family: var(--font-display); font-size: 36px; font-weight: 600; margin: 8px 0 0; line-height: 1; }
.gh-karte .gh-karte-blocker p { color: var(--leise); font-size: 15px; margin: 12px 0 24px; }
.gh-karte .gh-karte-blocker__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Abschnittskopf mit nur einem Label */
.gh-kopfzeile > :first-child:last-child { color: inherit; }

/* Gastro: kleines Foto darf den Text nicht verdecken */
@media (min-width: 861px) {
  .gh-gastro__text blockquote, .gh-gastro__text .gh-liste2 { max-width: calc(100% - 72px); }
}

/* Eventkalender: Termin mit Grafik und Status */
.gh-termin--bild { grid-template-columns: 140px 72px minmax(0, 1fr) 200px 160px 150px; }
.gh-termin__bild { width: 72px; aspect-ratio: 1; }
.gh-termin__bild img { width: 100%; height: 100%; object-fit: cover; }
.gh-termin__status { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--champagner-text); }
.gs-monat + .gs-monat .gh-monat { margin-top: 72px; }
@media (max-width: 1100px) {
  .gh-termin--bild { grid-template-columns: 110px 56px minmax(0, 1fr) 150px; }
  .gh-termin--bild .gh-termin__bild { width: 56px; }
}
@media (max-width: 860px) {
  .gh-termin--bild { grid-template-columns: 80px 48px minmax(0, 1fr); }
  .gh-termin--bild .gh-termin__bild { width: 48px; }
  .gh-termin--bild .gh-termin__aktion { grid-column: 3; }
}
@media (max-width: 860px) {
  .gs-drei { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 861px) {
  .gs-kontakt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Unterseiten-Kopf: Überschrift bleibt in der dunklen Spalte und überlappt das Foto nicht. */
@media (min-width: 861px) {
  .gh-s-hero__text { grid-column: 2 / 3; padding-right: 40px; container-type: inline-size; }
  .gh-s-hero h1 { font-size: min(19cqi, 181px) !important; }
}
