/*
Theme Name: Schlittschuhspaß Überseeinsel
Description: Theme für schlittschuhspass-ueberseeinsel.de (Bremen 1860). Inhalte, Öffnungszeiten und Preise werden unter „Eisbahn“ im Admin gepflegt.
Author: Bremen 1860
Version: 1.0.0
Requires PHP: 8.1
Text Domain: schlittschuhspass
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h4 {
    font-size: 22px;
}

body {
    background: url("assets/img/eisbahn-hintergrund.jpg") center center / cover no-repeat fixed #00024F;
    color: white;
    font-family: Oxygen, Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.header {
    height: min(75vh, 120vw);
    background: url("assets/img/header-sm.jpg") center center / cover no-repeat #00024F;
    padding-top: 1px;
    margin-bottom: 40px;
}

@media screen and (min-width: 1000px) {
    .header {
        background-image: url("assets/img/header-xl.jpg");
    }
}

/* Startseite ab Tablet: Bild füllt das Fenster bis zur Info-Leiste
   (--infobar-h setzt site.js aus der tatsächlichen Höhe der Leiste) */
@media screen and (min-width: 701px) {
    .header:not(.header--compact) {
        position: relative;
        height: calc(100vh - var(--infobar-h, 64px));
        height: calc(100svh - var(--infobar-h, 64px));
        min-height: 480px;
        margin-bottom: 0;
    }

    .admin-bar .header:not(.header--compact) {
        height: calc(100vh - var(--infobar-h, 64px) - 32px);
        height: calc(100svh - var(--infobar-h, 64px) - 32px);
    }

    .header:not(.header--compact) + main { padding-top: 40px; }
}

/* Pfeil „Zum Inhalt“ am unteren Bildrand */
.header .header__scroll {
    display: none;
}

@media screen and (min-width: 701px) {
    .header .header__scroll {
        position: absolute;
        left: 50%;
        bottom: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        margin-left: -26px;
        border: 2px solid rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        color: white;
        transition: background 0.2s, border-color 0.2s;
        animation: ssp-nudge 2.4s ease-in-out infinite;
    }

    .header .header__scroll:hover,
    .header .header__scroll:focus-visible {
        background: rgba(255, 255, 255, 0.15);
        border-color: white;
        outline: none;
    }

    .header .header__scroll span {
        display: block;
        width: 14px;
        height: 14px;
        margin-top: -6px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }
}

@keyframes ssp-nudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
    .header .header__scroll { animation: none; }
}

.content {
    max-width: 800px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto;
}

.white-bg {
    padding: 24px 0;
    background: white;
    color: #00024F;
    margin-bottom: 24px;
}

.logo {
    max-width: 450px;
    display: block;
    margin: 40px auto;
}

p {
    margin-bottom: 20px;
}

p a {
    color: inherit;
}

.info-liste {
    margin-bottom: 20px;
}

.info-liste dt {
    float: left;
    width: 240px;
}

@media screen and (max-width: 480px) {
    .info-liste.large dt {
        width: 100%;
    }

    .info-liste.large dd {
        margin-bottom: 10px;
    }
}

.button {
    border-radius: 2px;
    background: aliceblue;
    color: #060d32;
    padding: 6px 16px;
    font-size: 16px;
    letter-spacing: 0.5px;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    margin: 40px auto;
    display: block;
    width: 20em;
    text-align: center;
    transition: transform 0.3s linear;
}

.button.dark {
    background-color: #060d32;
    color: white;

}

.button:hover {
    transform: scale(1.05);
}

.button:active {
    transform: translateY(4px);
}

.button.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.info-bar {
    font-size: 16px;
    position: sticky;
    z-index: 100;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px 1px;
    color: #060d32;
    border-top: 1px solid;
    text-align: center;
}

@media screen and (max-width: 540px) {

    .info-bar {
        font-size: 12px;
    }
}

.small {
    font-size: 0.8rem;
}

.special {
    margin-bottom: 20px;
    background: white;
    color: #060d32;
    padding: 18px 20px;
    font-size: 16px;
    text-align: justify;
}

@media screen and (min-width: 480px) {
    .info-bar {
        text-align: center;
    }
}

.preise-ueberschrift {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    text-transform: uppercase;
    margin: 12px 0 24px;
}

@media screen and (min-width: 600px) {
    .preise-ueberschrift .anchor:after {
        position: absolute;
        content: "";
        height: 75px;
        width: 75px;
        left: 100%;
        top: 6%;
        background: url("assets/img/schuh.svg") center center no-repeat;
        background-size: contain;
        transform: rotateZ(-35deg);
    }
}

.konditionen-liste > li {
    list-style-type: none;
}

.tarife,
.zahlung,
.zeiten,
.groessen,
.verfuegbarkeit,
.pfand
{
    padding-left: 70px;
    background: url("assets/img/zeiten.svg") top left / 50px auto no-repeat
}

.tarife {background-image: url("assets/img/tarife.svg")}
.zahlung {background-image: url("assets/img/zahlung.svg")}
.groessen {background-image: url("assets/img/groessen.svg")}
.verfuegbarkeit {background-image: url("assets/img/verfuegbarkeit.svg")}
.pfand {background-image: url("assets/img/pfand.svg")}

.tarife-liste {
    border: none
}

.tarife-liste td {
    padding: 2px 6px;
    vertical-align: top;
}

.tarife-liste .info{
    font-size: 0.8em;
    padding-top: 5px;
}

.tarife-liste .preis {text-align: right}

@media screen and (max-width: 520px) {

    .tarife-liste tr,
    .tarife-liste {
        display: block;
    }

    .tarife-liste tr {
        margin: 4px 0;
        border-bottom: 1px solid;
    }

    .tarife-liste td {
        float: left;
    }

    .tarife-liste td.preis {
        float: right;
    }

    .tarife-liste td.info {
        float: none;
        clear: both;
        display: block;
        font-style: italic;
    }
}

.tipp {
    margin: 60px auto;
    display: block;
    max-width: 500px;
    border-radius: 6px;
    border: 4px solid black;
    padding: 12px 24px;
    text-align: center;
}

.tipp > * { z-index: 1 }
.tipp p:last-child { margin-bottom: 0 }

.tipp:after {
    content: "";
    position: absolute;
    top: -30px;
    left: -33px;
    height: 60px;
    width: 60px;
    background: url("assets/img/tipp.png") center / contain;
}

@media screen and (min-width: 800px) {
    .tipp {
        padding: 24px 48px;
        margin: 90px auto;
    }

    .tipp:after {
        top: -60px;
        left: -66px;
        height: 120px;
        width: 120px;
    }
}

.gallery {
    flex-direction: column;
    display: flex;
    margin: 16px 0;
}

.gallery-img {
    margin-bottom: 24px;
    border: 4px solid white;
    object-fit: cover;
    max-height: 30vh;
}

@media screen and (min-width: 800px) {
    .gallery {
        flex-direction: row;
        justify-content: space-between;
    }
    .gallery-img {
        width: 45%;
        object-fit: initial;
        max-height: unset;
    }
}

.footer:after {
    content: "";
    display: table;
    clear: both;
}

.logo-1860 {
    float: right;
    margin-left: 20px;
    max-width: 120px;
}

.ice-disco {
    background: white;
    color:#00024F;
    border: 3px solid #00024F;
    box-shadow: 0 0 0 2px white;
    padding: 12px;
    max-width: 620px;
    margin: 50px auto;
}

/* ------------------------------------------------------------------
   WordPress-Ergänzungen
   ------------------------------------------------------------------ */

.special p:last-child { margin-bottom: 0; }

.header a { display: block; }

.page-title {
    font-size: 32px;
    margin-bottom: 24px;
}

.page-content { margin-bottom: 40px; }
.page-content h2, .page-content h3 { margin: 24px 0 12px; }
.page-content ul, .page-content ol { margin: 0 0 20px 24px; }

/* Buttons aus dem Block-Editor sehen aus wie .button */
.wp-block-buttons { margin: 40px 0; }
.wp-block-button__link,
.wp-block-button__link:visited {
    border-radius: 2px;
    background: aliceblue;
    color: #060d32;
    padding: 6px 16px;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    min-width: 20em;
    text-align: center;
    transition: transform 0.3s linear;
}
.wp-block-button__link:hover { transform: scale(1.05); color: #060d32; }
.wp-block-button__link:active { transform: translateY(4px); }

/* Galerien wie bisher: weißer Rahmen, mobil untereinander */
.wp-block-gallery.has-nested-images {
    margin: 16px 0 40px;
    gap: 24px 10%;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
    border: 4px solid white;
}
.wp-block-image img { height: auto; max-width: 100%; }

@media screen and (max-width: 799px) {
    body .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        width: 100%;
    }
    body .wp-block-gallery.has-nested-images figure.wp-block-image img {
        max-height: 30vh;
        object-fit: cover;
    }
}
@media screen and (min-width: 800px) {
    body .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        width: 45%;
    }
}

/* Block-Stil „Hinweis-Box“ für Gruppen (z. B. Ice Disco) */
.wp-block-group.is-style-hinweis {
    background: white;
    color: #00024F;
    border: 3px solid #00024F;
    box-shadow: 0 0 0 2px white;
    padding: 12px;
    max-width: 620px;
    margin: 50px auto;
}
.wp-block-group.is-style-hinweis p:last-child { margin-bottom: 0; }

.footer-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    margin-bottom: 20px;
}
.footer-menu a { color: inherit; }

.info-bar p { margin-bottom: 20px; }


/* ------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------ */

.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    padding: 48px 32px;
}

.site-nav.is-open { z-index: 150; }

/* Eingeloggt: unter der WordPress-Werkzeugleiste, damit der Button auf Höhe des Sprachumschalters bleibt */
.admin-bar .site-nav { top: 32px; }

@media screen and (max-width: 782px) {
    .admin-bar .site-nav { top: 46px; }
}

/* Menü-Button: nur die drei Striche, geöffnet ein × */
.site-nav__toggle {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 2px solid #00024F;
    border-radius: 50%;
    background: white;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    color: #00024F;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.site-nav__toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.site-nav__toggle:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

.site-nav__burger,
.site-nav__burger::before,
.site-nav__burger::after {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s, background 0.25s;
}

.site-nav__burger { position: relative; }

.site-nav__burger::before,
.site-nav__burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.site-nav__burger::before { top: -8px; }
.site-nav__burger::after { top: 8px; }

.site-nav.is-open .site-nav__burger { background: transparent; }
.site-nav.is-open .site-nav__burger::before { transform: translateY(8px) rotate(45deg); }
.site-nav.is-open .site-nav__burger::after { transform: translateY(-8px) rotate(-45deg); }

/* Großes Vollbild-Menü */
.site-nav__menu,
.site-nav__menu .sub-menu {
    list-style: none;
    margin: 0;
}

.site-nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    gap: 2px;
    padding: 128px 24px 56px;
    overflow-y: auto;
    text-align: center;
    background:
        linear-gradient(rgba(0, 2, 79, 0.9), rgba(0, 2, 79, 0.96)),
        url("assets/img/eisbahn-hintergrund.jpg") center / cover #00024F;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s 0.3s;
}

.site-nav.is-open .site-nav__menu {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s;
}

.site-nav__menu > li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s, transform 0.4s;
}

.site-nav.is-open .site-nav__menu > li { opacity: 1; transform: none; }
.site-nav.is-open .site-nav__menu > li:nth-child(2) { transition-delay: 0.04s; }
.site-nav.is-open .site-nav__menu > li:nth-child(3) { transition-delay: 0.08s; }
.site-nav.is-open .site-nav__menu > li:nth-child(4) { transition-delay: 0.12s; }
.site-nav.is-open .site-nav__menu > li:nth-child(5) { transition-delay: 0.16s; }
.site-nav.is-open .site-nav__menu > li:nth-child(6) { transition-delay: 0.2s; }
.site-nav.is-open .site-nav__menu > li:nth-child(7) { transition-delay: 0.24s; }
.site-nav.is-open .site-nav__menu > li:nth-child(n+8) { transition-delay: 0.28s; }

.site-nav__menu a {
    display: inline-block;
    padding: 6px 0;
    color: white;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
}

.site-nav__menu a:hover,
.site-nav__menu a:focus-visible,
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_parent > a {
    border-bottom-color: currentColor;
    outline: none;
}

/* Unterseiten: klein in einer Zeile unter dem Hauptpunkt */
.site-nav__menu .sub-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 20px;
    padding: 0 0 6px;
}

.site-nav__menu .sub-menu a {
    padding: 2px 0;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0.3px;
    text-transform: none;
    opacity: 0.8;
    border-bottom-width: 1px;
}

.site-nav__menu .sub-menu a:hover,
.site-nav__menu .sub-menu a:focus-visible { opacity: 1; }

/* Seite dahinter nicht mitscrollen; Sprachumschalter bleibt sichtbar */
html.menu-open { overflow: hidden; }
html.menu-open .lang-switch { z-index: 160; }

@media screen and (max-width: 700px) {
    .site-nav { padding: 24px 16px; }
    .site-nav__toggle { width: 52px; height: 52px; }
    /* Logo unter Sprachumschalter und Menü-Button */
    .header:not(.header--compact) .logo { margin-top: 96px; max-width: min(450px, calc(100% - 48px)); }
}

@media (prefers-reduced-motion: reduce) {
    .site-nav__toggle,
    .site-nav__menu,
    .site-nav__menu > li,
    .site-nav__burger,
    .site-nav__burger::before,
    .site-nav__burger::after { transition: none !important; }
}

/* Kompakter Header auf Unterseiten */
.header--compact {
    height: auto;
    padding: 56px 0 8px;
}

.header--compact .logo {
    max-width: 280px;
    margin: 24px auto;
}

.logo-link { display: block; }

/* ------------------------------------------------------------------
   Seiten & Beiträge
   ------------------------------------------------------------------ */

.page-content { padding-bottom: 40px; }

.entry-content h2 { font-size: 26px; margin: 32px 0 12px; }
.entry-content h3 { font-size: 22px; margin: 28px 0 10px; }
.entry-content h4 { margin: 24px 0 8px; }
.entry-content ul,
.entry-content ol { margin: 0 0 20px 24px; }
.entry-content li { margin-bottom: 4px; }
.entry-content a:not(.wp-block-button__link) { color: inherit; }
.entry-content .wp-block-image img { border: 4px solid white; }
.entry-content blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 20px;
    border-left: 4px solid white;
    font-style: italic;
}
.entry-content figure { margin: 24px 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figcaption { font-size: 14px; opacity: 0.8; margin-top: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.entry-content th,
.entry-content td { padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); text-align: left; }
.entry-content hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); margin: 32px 0; }

.entry-meta {
    margin-bottom: 4px;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.85;
}
.entry-meta a { color: inherit; }

.entry-image { margin: 0 0 28px; }
.entry-image img { width: 100%; height: auto; border: 4px solid white; display: block; }

.entry-back { margin-top: 40px; }
.entry-back a,
.news__all a {
    color: inherit;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid;
}

/* Beitragskarten */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.post-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    color: #00024F;
    text-decoration: none;
    border: 4px solid white;
    transition: transform 0.3s linear;
}

.post-card__link:hover,
.post-card__link:focus-visible { transform: scale(1.03); outline: none; }

.post-card__img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; display: block; }
.post-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.post-card__date { font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.7; }
.post-card__title { font-size: 20px; font-weight: bold; line-height: 1.3; }
.post-card__excerpt { font-size: 16px; }
.post-card__more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; }

.news { margin: 48px 0; }
.news h4 { margin-bottom: 16px; }

/* Seitennummerierung */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
    min-width: 40px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    text-align: center;
    text-decoration: none;
}
.pagination .page-numbers.current { background: white; color: #00024F; }

/* FAQ (Details-Block) */
.wp-block-details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 0;
}
.wp-block-details summary {
    cursor: pointer;
    padding: 10px 32px 10px 0;
    font-weight: bold;
    list-style: none;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: normal;
    transition: transform 0.2s;
}
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details summary:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.wp-block-details > p { padding-bottom: 6px; }

/* Spalten */
.entry-content .wp-block-columns { gap: 32px; margin: 8px 0 20px; }
.entry-content .wp-block-column h3:first-child { margin-top: 8px; }

/* Besondere Öffnungszeiten (angekündigte Sondertage) */
.special-hours {
    margin: 0 0 24px;
    padding: 18px 22px 6px;
    border: 2px solid white;
}
.special-hours__title { font-size: 18px; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px; }
.special-hours__list { display: grid; grid-template-columns: max-content 1fr; gap: 4px 24px; margin-bottom: 12px; }
.special-hours__list dt { font-weight: bold; white-space: nowrap; }
.special-hours__list dd { margin: 0; }

/* Info-Leiste: Text in einem div */
.info-bar__text { margin-bottom: 20px; }

/* Buchungslinks */
.info-bar__book,
.special-hours__book {
    color: inherit;
    font-weight: bold;
    white-space: nowrap;
}
.special-hours__book { margin-left: 8px; }

/* Buchungsseite: eingebetteter Yolawo-Kalender, etwas breiter als der Text */
.ssp-booking {
    width: min(1040px, calc(100vw - 48px));
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 24px;
}
.ssp-booking__today {
    padding: 14px 20px;
    background: white;
    color: #060d32;
}
.ssp-booking__frame {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    background: white;
}
.ssp-booking__fallback { margin-top: 12px; font-size: 14px; opacity: 0.85; }
.ssp-booking__lang { margin: 0 0 12px; font-size: 15px; text-align: center; }
@media screen and (max-width: 540px) {
    .ssp-booking { width: calc(100vw - 32px); }
}


/* ------------------------------------------------------------------
   Barrierefreiheit & Sprachen
   ------------------------------------------------------------------ */

/* Nur für Screenreader sichtbar (z. B. Hauptüberschrift der Startseite) */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Überschriften, die wie bisher aussehen, aber richtig verschachtelt sind */
.section-title,
.en-h { font-size: 22px; }
.konditionen-liste h3 { font-size: 22px; }
.footer__title { font-size: 0.83em; margin: 0 0 4px; }

/* Sichtbarer Tastatur-Fokus */
a:focus-visible,
button:focus-visible,
.button:focus-visible,
.wp-block-button__link:focus-visible {
    outline: 3px solid #9EC3FF;
    outline-offset: 3px;
}

/* Sprachumschalter */
.lang-switch {
    position: absolute;
    top: 63px;
    left: 32px;
    z-index: 60;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
}
.lang-switch:hover { background: rgba(255, 255, 255, 0.15); }
@media screen and (max-width: 700px) {
    .lang-switch { left: 16px; top: 36px; }
}

.en-note { font-size: 14px; text-align: center; opacity: 0.85; margin-top: -28px; }

/* „Zum Inhalt springen“ – erscheint beim ersten Tab */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: white;
    color: #00024F;
    font-weight: bold;
    text-decoration: none;
}
.skip-link:focus { top: 16px; }
main { display: block; }

/* Galerie und Button-Ausrichtung auch ohne geladene Block-Styles (z. B. englische Seite) */
.wp-block-gallery.has-nested-images { display: flex; flex-wrap: wrap; justify-content: space-between; }
.wp-block-buttons.is-content-justification-center { display: flex; justify-content: center; }

/* Sprungmarken nicht unter der Navigation verstecken */
[id="opening-hours"], [id="prices"], [id="getting-here"], [id="news"], [id="oeffnungszeiten"], [id="preise"], [id="aktuelles"] { scroll-margin-top: 24px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
