/* Korrekturen 02.11.2026 (Stefans Durchsicht). Nur Darstellung, Inhalte unverändert. */

/* --- Feiern: Anlass-Rondell. Text steht unter dem Foto statt darauf, Seitenkarten ohne Text. --- */
html[data-abend] body .fx-3d .fx-karte{display:flex!important;flex-direction:column;justify-content:flex-start;background:#1f1d1b!important}
html[data-abend] body .fx-3d .fx-karte img{position:relative!important;inset:auto!important;flex:1 1 auto;min-height:0;height:auto!important;width:100%!important;z-index:0!important}
html[data-abend] body .fx-3d .fx-karte::after{content:none!important}
html[data-abend] body .fx-3d .fx-karte small{position:relative;z-index:1;padding:20px 22px 0!important;text-shadow:none!important}
html[data-abend] body .fx-3d .fx-karten .fx-karte strong{position:relative;z-index:1;min-height:3.6em;padding:8px 70px 22px 22px!important;font-size:clamp(1.2rem,1.6vw,1.45rem)!important;line-height:1.2!important;text-shadow:none!important}
html[data-abend] body .fx-3d .fx-karte .fx-karte-mehr{z-index:2;bottom:20px!important}
html[data-abend] body .fx-3d .fx-karte small,html[data-abend] body .fx-3d .fx-karten .fx-karte strong,html[data-abend] body .fx-3d .fx-karte .fx-karte-mehr{transition:opacity .35s}
html[data-abend] body .fx-3d .fx-karte:not(.ist-vorn) small,html[data-abend] body .fx-3d .fx-karten .fx-karte:not(.ist-vorn) strong,html[data-abend] body .fx-3d .fx-karte:not(.ist-vorn) .fx-karte-mehr{opacity:0}
html[data-abend] body .fx-3d .fx-karte:not(.ist-vorn)::before{content:"";position:absolute;inset:0;z-index:1;background:rgba(20,18,16,.18);pointer-events:none}

/* --- Catering: Servicewahl als gleichmäßige Reihe (Desktop 4, Handy 2×2), ohne gleitende Markierung --- */
html[data-abend] body main .pm-chip-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;max-width:760px}
html[data-abend] body main .pm-chip-grid .pm-chip{justify-content:center;text-align:center;width:100%;padding:0 14px!important}
html[data-abend] body .pm-chip-grid .hw-pille{display:none!important}
html[data-abend] body main .pm-chip-grid.hw-gleiten .pm-chip:has(input:checked){background:var(--ink,#262a2e)!important;border-color:var(--ink,#262a2e)!important;color:#F7F6F2!important}
@media (max-width:640px){html[data-abend] body main .pm-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* --- Startseite: Saison-Karten springen nicht, wenn die freien Abende nachgeladen werden --- */
html[data-abend] body .ab-saison-card [data-feier-abende-kurz][hidden]{display:block!important;visibility:hidden;min-height:1.55em}
@media (min-width:761px){html[data-abend] body .ab-saison-bild{aspect-ratio:16/10!important}html[data-abend] body .ab-saison-bild img{height:100%!important}}

/* --- Bildunterschriften stehen unter dem Foto, nicht darauf (02.11.2026) --- */
/* Galerie-Slider: Foto oben, Unterschrift auf hellem Streifen darunter (Kartenformat bleibt gleich) */
html body .sm-flow .sm-slide{display:flex;flex-direction:column;background:#F4EFE6}
html body .sm-flow .sm-slide img{height:auto!important;flex:1 1 auto;min-height:0}
html body .sm-flow .sm-slide::after{content:none!important}
html body .sm-flow figcaption{position:static!important;flex:none;padding:12px 16px 14px;background:#F4EFE6;color:#262A2E!important;font-size:17px!important;line-height:1.25!important;text-shadow:none!important}
/* Großes Wachs-Foto: Unterschrift unter dem Bild */
html[data-abend] body .ab-wachsen{aspect-ratio:auto!important;overflow:visible!important;border-radius:0!important}
html[data-abend] body .ab-wachsen .ab-wachsen-bild{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:24px}
html[data-abend] body .ab-wachsen figcaption{position:static!important;max-width:none!important;padding:14px clamp(18px,4vw,48px) 0;color:inherit!important;text-shadow:none!important;font-size:clamp(20px,2.2vw,28px)!important}
@media (max-width:760px){html[data-abend] body .ab-wachsen .ab-wachsen-bild{aspect-ratio:4/5}}
html[data-abend] body .ab-wachsen::after{content:none!important}
/* Seitenkarten im Galerie-Slider ohne angeschnittene Unterschrift */
html body .sm-flow.sm-3d .sm-slide:not(.on) figcaption{opacity:0;transition:opacity .3s}
/* Tippflächen mindestens 44 px (02.11.2026) */
html body a.sm-tap{display:inline-flex;align-items:center;min-height:44px}
/* Handy-Leiste ausgeblendet, solange der Kopfbereich sichtbar ist: nicht antippbar (03.11.2026) */
html[data-abend] .ab-dock.ab-hidden{pointer-events:none}
/* Menüleiste größer und ruhiger, einheitliche Hauptüberschrift der Unterseiten (04.11.2026, Soll A nach Vorschau).
   :not(#x) hebt die Regeln über die bestehenden Kopfregeln, ohne sie zu ersetzen.
   Die Glasfläche liegt auf ::before, damit das Handy-Menü weiter den ganzen Bildschirm nutzt. */
html:not(.ab-home) body:not(.harbor-page) main h1:not(#x){font-size:clamp(32px,4.3vw,62px)!important;line-height:1.04!important}
.ab-kopf:not(#x) .brand img{width:108px!important;height:94px!important}
.ab-kopf:not(#x).is-solid .brand img{width:86px!important;height:75px!important}
@media (min-width:981px){
 .ab-kopf:not(#x) nav#menu{gap:clamp(22px,2.4vw,40px)!important}
 .ab-kopf:not(#x) nav#menu > a{font-size:17px!important;font-weight:500!important}
}
.ab-kopf:not(#x) .guest-language-control{font-size:15px!important}
.ab-kopf:not(#x) .header-cta{min-height:50px!important;font-size:16px!important;padding:0 26px!important}
.ab-kopf:not(#x):not(.is-solid) .ab-kopf-row{position:relative;isolation:isolate;margin:12px var(--gut,24px) 6px!important;max-width:none!important;padding:4px 22px!important}
.ab-kopf:not(#x):not(.is-solid) .ab-kopf-row::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:22px;background:rgba(247,246,242,.82);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(38,42,46,.10)}
html.ab-film .ab-kopf:not(#x):not(.is-solid) .ab-kopf-row::before{background:linear-gradient(180deg,rgba(18,20,22,.62),rgba(18,20,22,.38));border-color:rgba(247,246,242,.14)}
@media (max-width:980px){
 .ab-kopf:not(#x) .brand img{width:84px!important;height:73px!important}
 .ab-kopf:not(#x).is-solid .brand img{width:74px!important;height:64px!important}
 .ab-kopf:not(#x):not(.is-solid) .ab-kopf-row{margin:8px 10px 4px!important;padding:4px 10px 4px 12px!important}
 .ab-kopf:not(#x):not(.is-solid) .ab-kopf-row::before{border-radius:18px}
 .ab-kopf:not(#x) .menu-button{position:relative;overflow:visible!important;margin-left:62px}
 .ab-kopf:not(#x) .menu-button::after{content:"Menü";position:absolute;right:calc(100% + 8px);top:50%;transform:translateY(-50%);font:500 16px/1 var(--sans,'DM Sans');color:var(--fg);white-space:nowrap}
 html[lang=en] .ab-kopf:not(#x) .menu-button::after{content:"Menu"}
}

/* --- Abschluss-Audit (07.11.2026) --- */
/* Galerie-Slider: Foto füllt die Karte bis zur Bildunterschrift, keine leere helle Fläche unter Querformat-Fotos */
html body .sm-flow .sm-slide img{flex:1 1 0!important;height:0!important;min-height:0;object-fit:cover}
/* Die vordere Karte trägt aria-hidden="false" (die Klasse .on setzt das Skript nur an den Punkten): ihre Unterschrift bleibt sichtbar */
html body .sm-flow.sm-3d .sm-slide[aria-hidden="false"] figcaption{opacity:1}
/* Pfad (Brotkrumen) im Kopf: Schrägstrich steht vor dem nächsten Eintrag, damit kein Strich allein am Zeilenende hängt */
html.ab-szene-seite[data-abend] .ab-szene .ab-szene-crumb > span[aria-hidden="true"]{display:none!important}
html.ab-szene-seite[data-abend] .ab-szene .ab-szene-crumb > :not(:first-child)::before{content:"/";display:inline-block;margin-right:8px;color:rgba(247,246,242,.6);text-decoration:none}
/* Rechtliches, Impressum, Datenschutz, Kontakt: Inhalt beginnt an derselben Kante wie die Überschrift, weniger Leerraum darüber */
@media (min-width:761px){
 html body main > .story-hero.text-hero + article.editorial.wrap.legal-flow{max-width:1260px;padding-top:24px}
 html body article.editorial.wrap.legal-flow:not(.legal-details) > *{max-width:690px}
 html body article.editorial.wrap.legal-flow.legal-details{grid-template-columns:repeat(2,minmax(0,322px))}
 html body article.editorial.wrap.legal-flow > h2:first-child,html body article.editorial.wrap.legal-flow > section > h2:first-child,html body article.editorial.wrap.legal-flow > :first-child > h2:first-child{margin-top:0}
}
