.holpe-readbox button:focus-visible,
.holpe-overlay button:focus-visible,
.map-guard button:focus-visible,
.hatp-audio-expand:focus-visible,
.hatp-transcript-inline-toggle:focus-visible,
.hatp-audio-transcript-controls button:focus-visible,
.hatp-audio-transcript-viewport:focus-visible,
.hatp-tour-button:focus-visible,
[id^="station-video-overlay"]:focus-visible,
.n2-ss-slider [tabindex]:focus-visible,
.n2-ss-slider button:focus-visible,
.n2-ss-slider a:focus-visible {
    outline: 3px solid #005fcc !important;
    outline-offset: 3px !important;
}

.holpe-btn,
.hatp-tour-button {
    box-sizing: border-box;
    min-height: 48px;
}

.hatp-tour-button,
.nextend-arrow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.nextend-arrow {
    min-width: 44px;
    min-height: 44px;
}

/* Behutsames Rework nur auf den Audiotour-Seiten, auf denen diese Datei geladen wird. */
#wrapper {
    --hatp-red: #a92a20;
    --hatp-green: #236345;
    --hatp-ink: #202923;
    --hatp-muted: #617068;
    --hatp-line: #dce4df;
    --hatp-soft: #f4f7f5;
}

#top-head {
    padding-bottom: 16px !important;
}

#inner-header {
    padding-bottom: 12px !important;
}

#access {
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(25, 37, 30, .10);
    overflow: hidden;
}

.entry-header .entry-title {
    color: var(--hatp-ink, #202923);
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 0 0 1.25rem;
}

.entry-content {
    color: var(--hatp-ink, #202923);
    font-size: 16px;
    line-height: 1.7;
}

.entry-content > nav[aria-label="Stationsnavigation"],
.entry-content > .hatp-bottom-station-nav {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin: 0 0 1.5rem;
    padding: 0;
}

.entry-content > .hatp-bottom-station-nav {
    margin: 2rem 0 .75rem;
}

.entry-content > .hatp-bottom-station-nav.has-next-only {
    justify-content: flex-end;
}

.entry-content > .hatp-bottom-station-nav.has-prev-only {
    justify-content: flex-start;
}

.entry-content .hatp-tour-button {
    background: #fff !important;
    border: 1.5px solid var(--hatp-green, #236345) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 10px rgba(35, 99, 69, .13) !important;
    color: var(--hatp-ink, #202923) !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    gap: .48em;
    letter-spacing: .005em;
    line-height: 1.2 !important;
    padding: .72em 1.05em !important;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.entry-content .hatp-tour-button:hover,
.entry-content .hatp-tour-button:focus-visible {
    background: var(--hatp-green, #236345) !important;
    box-shadow: 0 7px 16px rgba(35, 99, 69, .23) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.entry-content .hatp-tour-button:active {
    box-shadow: 0 2px 5px rgba(35, 99, 69, .16) !important;
    transform: translateY(0);
}

.page-id-511 .entry-content > nav[aria-label="Stationsnavigation"] .hatp-tour-button,
.page-id-511 .entry-content > .hatp-overview-bottom-nav .hatp-tour-button,
.page-id-689 .entry-content > nav[aria-label="Stationsnavigation"] .hatp-tour-button,
.page-id-689 .entry-content > .hatp-sources-bottom-nav .hatp-tour-button {
    flex: 0 1 230px;
    max-width: calc(50% - .375rem);
    text-align: center;
    width: 230px;
}

.page-id-511 .entry-content > nav[aria-label="Stationsnavigation"],
.page-id-511 .entry-content > .hatp-overview-bottom-nav,
.page-id-689 .entry-content > nav[aria-label="Stationsnavigation"],
.page-id-689 .entry-content > .hatp-sources-bottom-nav {
    align-items: stretch;
}

.hatp-button-label {
    display: inline-block;
}

.hatp-button-icon {
    align-items: center;
    background: #edf5f0;
    border: 1px solid rgba(35, 99, 69, .30);
    border-radius: 50%;
    box-sizing: border-box;
    color: var(--hatp-green, #236345);
    display: inline-flex;
    flex: 0 0 26px;
    height: 26px;
    justify-content: center;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    width: 26px;
}

.hatp-button-icon svg {
    display: block;
    fill: none;
    height: 14px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 14px;
}

.hatp-tour-button:hover .hatp-button-icon,
.hatp-tour-button:focus-visible .hatp-button-icon {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .48);
    color: #fff;
}

.hatp-tour-button.is-backward:hover .hatp-button-icon,
.hatp-tour-button.is-backward:focus-visible .hatp-button-icon {
    transform: translateX(-1px);
}

.hatp-tour-button.is-forward:hover .hatp-button-icon,
.hatp-tour-button.is-forward:focus-visible .hatp-button-icon {
    transform: translateX(1px);
}

.entry-content > .hatp-overview-return {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: .75rem 0 2rem !important;
}

.holpe-audio-card {
    background: linear-gradient(135deg, #ffffff 0%, #f2f7f4 100%) !important;
    border: 1px solid rgba(35, 99, 69, .28) !important;
    border-left: 5px solid var(--hatp-green, #236345) !important;
    border-radius: 16px !important;
    box-shadow: 0 7px 18px rgba(35, 99, 69, .10);
    box-sizing: border-box;
    margin: 1.25rem 0 1.7rem !important;
    padding: 1rem 1.1rem !important;
    text-align: left !important;
}

.holpe-audio-card.is-primary-audio {
    padding: 1.15rem 1.2rem !important;
}

.holpe-audio-card.is-secondary-audio {
    background: #fafcfb !important;
    border-left-width: 4px !important;
    margin: .85rem 0 !important;
    padding: .85rem 1rem !important;
}

.holpe-audio-card.is-primary-audio .hatp-audio-note {
    align-items: flex-start;
    background: rgba(35, 99, 69, .075) !important;
    border: 1px solid rgba(35, 99, 69, .18);
    border-radius: 12px;
    color: #31463a !important;
    display: flex;
    font-size: .96rem !important;
    font-weight: 650 !important;
    gap: .65rem;
    line-height: 1.5 !important;
    margin: .85rem 0 0 !important;
    padding: .72rem .82rem !important;
    text-align: left !important;
}

.holpe-audio-card.is-primary-audio .hatp-audio-note::before {
    align-items: center;
    background: var(--hatp-green, #236345);
    border-radius: 50%;
    color: #fff;
    content: "i";
    display: inline-flex;
    flex: 0 0 24px;
    font-size: .82rem;
    font-weight: 900;
    height: 24px;
    justify-content: center;
    line-height: 1;
    margin-top: .05rem;
}

.hatp-music-section {
    background: linear-gradient(145deg, #f7fbf8 0%, #edf5f0 100%) !important;
    border: 1px solid rgba(35, 99, 69, .28) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 22px rgba(35, 99, 69, .10);
    box-sizing: border-box;
    display: grid !important;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    margin: 1.5rem 0 !important;
    max-width: 100% !important;
    padding: 1.15rem !important;
    width: 100% !important;
}

.hatp-music-section .hatp-music-heading {
    align-items: center;
    color: var(--hatp-ink, #202923) !important;
    display: flex;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem) !important;
    font-weight: 900 !important;
    gap: .75rem;
    grid-column: 1 / -1;
    line-height: 1.25 !important;
    margin: 0 !important;
    text-align: left !important;
}

.hatp-music-icon {
    align-items: center;
    background: var(--hatp-green, #236345);
    border-radius: 50%;
    box-shadow: 0 3px 9px rgba(35, 99, 69, .20);
    color: #fff;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 1.25rem;
    height: 38px;
    justify-content: center;
    line-height: 1;
}

.hatp-music-section .hatp-music-credit {
    color: #405348 !important;
    font-size: .98rem !important;
    font-weight: 700 !important;
    grid-column: 1 / -1;
    line-height: 1.5 !important;
    margin: -.2rem 0 .1rem !important;
    padding-left: calc(38px + .75rem) !important;
    text-align: left !important;
}

.hatp-music-section > .holpe-audio-card.is-secondary-audio {
    align-self: stretch;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(35, 99, 69, .18) !important;
    box-shadow: none;
    margin: 0 !important;
    min-width: 0;
    padding: 1rem 0 0 !important;
}

.hatp-music-section-single > .holpe-audio-card.is-secondary-audio {
    grid-column: 1;
}

.hatp-music-section .hatp-audio-expand {
    display: none !important;
}

.hatp-music-section .is-secondary-audio .hatp-audio-title::before {
    align-items: center;
    background: rgba(35, 99, 69, .12);
    border-radius: 50%;
    color: var(--hatp-green, #236345);
    content: "♪";
    display: inline-flex;
    flex: 0 0 28px;
    font-size: .95rem;
    height: 28px;
    justify-content: center;
    line-height: 1;
}

.holpe-audio-card .hatp-audio-title {
    align-items: center;
    color: var(--hatp-ink, #202923) !important;
    display: flex;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem) !important;
    font-weight: 800 !important;
    gap: .7rem;
    letter-spacing: .005em !important;
    line-height: 1.3 !important;
    margin: 0 0 .78rem !important;
    text-align: left !important;
}

.holpe-audio-card.is-secondary-audio .hatp-audio-title {
    font-size: 1rem !important;
    margin-bottom: .55rem !important;
}

.holpe-audio-card.is-primary-audio .hatp-audio-title::before {
    background:
        linear-gradient(#fff, #fff) 9px 11px / 2px 8px no-repeat,
        linear-gradient(#fff, #fff) 14px 7px / 2px 16px no-repeat,
        linear-gradient(#fff, #fff) 19px 10px / 2px 10px no-repeat,
        var(--hatp-green, #236345);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(35, 99, 69, .20);
    content: "";
    flex: 0 0 30px;
    height: 30px;
}

.holpe-audio-card audio {
    accent-color: var(--hatp-green, #236345);
    background: #eaf2ed !important;
    border: 1px solid rgba(35, 99, 69, .28) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .80), 0 4px 11px rgba(35, 99, 69, .10);
    color-scheme: light;
    display: block !important;
    height: 54px !important;
    margin: 0 !important;
    max-height: 54px;
    min-height: 54px !important;
    vertical-align: middle;
    width: 100% !important;
}

.holpe-audio-card audio::-webkit-media-controls-enclosure,
.holpe-audio-card audio::-webkit-media-controls-panel {
    align-items: center;
    background-color: #eaf2ed;
    border-radius: 999px;
    height: 100%;
}

/* Der Mitlesetext lebt vollständig in der Höransicht; die Gutenberg-Quelle
   bleibt unsichtbar im DOM, damit Pflege und Text-Vollansicht weiterarbeiten. */
.page-id-511 .holpe-readbox,
.parent-pageid-511 .holpe-readbox,
.parent-pageid-511 .entry-content > .holpe-content,
.hatp-source-readbox,
.hatp-source-transcript {
    display: none !important;
}

.holpe-audio-card audio::-webkit-media-controls-play-button {
    background-color: rgba(35, 99, 69, .14);
    border-radius: 50%;
}

.hatp-audio-expand {
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--hatp-green, #236345);
    border-radius: 999px;
    color: var(--hatp-ink, #202923);
    cursor: pointer;
    display: none;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    justify-content: center;
    margin: .75rem 0 0;
    min-height: 48px;
    padding: .65em 1em;
    width: 100%;
}

.hatp-transcript-inline-bar,
.hatp-transcript-inline-toggle {
    display: none;
}

.hatp-audio-expand::before {
    content: "↗";
    font-size: 1.05em;
    margin-right: .5em;
}

.hatp-audio-expanded .hatp-audio-expand::before {
    content: "×";
    font-size: 1.35em;
    line-height: 1;
}

body.hatp-audio-player-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.hatp-audio-player-open .holpe-overlay {
    z-index: 100010 !important;
}

.holpe-audio-card.hatp-audio-expanded {
    align-content: stretch;
    align-items: stretch;
    background: #f2f7f4 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    display: grid;
    gap: .75rem;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    height: 100%;
    height: 100dvh;
    inset: 0;
    justify-content: stretch;
    justify-items: center;
    margin: 0 !important;
    max-width: none !important;
    padding: max(1.25rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)) !important;
    max-height: 100dvh;
    min-height: 100svh;
    overflow: hidden !important;
    overscroll-behavior: contain;
    position: fixed;
    width: auto !important;
    z-index: 100002;
}

.holpe-audio-card.hatp-audio-expanded .hatp-audio-title,
.holpe-audio-card.hatp-audio-expanded audio,
.holpe-audio-card.hatp-audio-expanded .hatp-audio-transcript,
.holpe-audio-card.hatp-audio-expanded .hatp-audio-expand {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 760px;
    width: 100% !important;
}

.holpe-audio-card.hatp-audio-expanded .hatp-audio-title {
    font-size: clamp(1.25rem, 5vw, 1.8rem) !important;
    grid-row: 1;
    justify-content: center;
    margin-bottom: 0 !important;
    text-align: center;
}

.holpe-audio-card.hatp-audio-expanded audio {
    align-self: center;
    grid-row: 2;
    height: 58px !important;
    max-height: 58px;
    max-width: 680px !important;
    min-height: 58px !important;
}

.holpe-audio-card.hatp-audio-expanded audio::-webkit-media-controls-panel {
    align-items: center;
}

.holpe-audio-card.hatp-audio-expanded .hatp-audio-expand {
    display: flex;
    flex-shrink: 0;
    grid-row: 4;
    margin-top: 0;
    max-width: 680px;
}

.hatp-audio-transcript {
    background: #fff;
    border: 1px solid rgba(35, 99, 69, .30);
    border-radius: 14px;
    box-shadow: 0 5px 14px rgba(35, 99, 69, .08);
    display: none;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* Auf Desktop ersetzt ein kompakter Aufklapper die bildschirmfüllende
   Höransicht. Mobil bleibt die ablenkungsfreie Höransicht erhalten. */
@media (min-width: 701px) and (min-height: 601px) {
    .hatp-transcript-inline-bar {
        align-items: center;
        background: #fff;
        border: 1.5px solid var(--hatp-green, #236345);
        border-radius: 14px;
        box-sizing: border-box;
        display: flex;
        gap: .35rem;
        margin: .75rem 0 0;
        min-height: 52px;
        padding: .25rem .35rem .25rem 0;
        width: 100%;
    }

    .hatp-transcript-inline-toggle {
        align-items: center;
        align-self: stretch;
        background: transparent;
        border: 0;
        border-radius: 12px;
        color: var(--hatp-ink, #202923);
        cursor: pointer;
        display: flex;
        flex: 1 1 auto;
        font: inherit;
        font-size: 16px;
        font-weight: 800;
        gap: .35rem;
        justify-content: flex-start;
        min-height: 48px;
        min-width: 0;
        padding: .65rem .85rem;
        text-align: left;
    }

    .hatp-transcript-inline-label {
        font-weight: 900;
    }

    .hatp-transcript-inline-state {
        color: #526159;
        font-size: .92em;
        font-weight: 650;
    }

    .hatp-transcript-inline-toggle::after {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        content: "";
        flex: 0 0 auto;
        height: 9px;
        margin: -.25rem 0 0 .25rem;
        transform: rotate(45deg);
        transition: transform .18s ease;
        width: 9px;
    }

    .hatp-transcript-inline-toggle[aria-expanded="true"]::after {
        margin-top: .25rem;
        transform: rotate(225deg);
    }

    .hatp-transcript-inline-bar .hatp-transcript-inline-controls {
        display: none;
        padding-right: .1rem;
    }

    .holpe-audio-card.hatp-transcript-inline-open .hatp-transcript-inline-bar {
        border-bottom-color: rgba(35, 99, 69, .18);
        border-radius: 14px 14px 0 0;
    }

    .holpe-audio-card.hatp-transcript-inline-open .hatp-transcript-inline-controls {
        display: flex;
    }

    .holpe-audio-card.hatp-transcript-inline-open .hatp-audio-transcript {
        border-radius: 0 0 14px 14px;
        border-top: 0;
        box-sizing: border-box;
        display: flex;
        height: clamp(300px, 48vh, 460px);
        margin-top: 0;
        width: 100%;
    }

    .holpe-audio-card.hatp-transcript-inline-open .hatp-audio-transcript-header {
        display: none;
    }
}

.holpe-audio-card.hatp-audio-expanded .hatp-audio-transcript {
    display: flex;
    grid-row: 3;
}

.hatp-audio-transcript-header {
    align-items: center;
    border-bottom: 1px solid rgba(35, 99, 69, .18);
    display: flex;
    flex: 0 0 auto;
    gap: .65rem;
    justify-content: space-between;
    padding: .65rem .75rem;
}

.hatp-audio-transcript-title {
    color: var(--hatp-ink, #202923);
    font-size: 16px;
    font-weight: 900;
    flex: 1 1 auto;
    line-height: 1.2;
    text-align: left;
}

.hatp-audio-transcript-controls {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: .35rem;
}

.hatp-audio-transcript-controls .hatp-transcript-control {
    align-items: center;
    background: #fff;
    border: 1px solid #cbd7d0;
    border-radius: 12px;
    color: var(--hatp-ink, #202923);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 44px;
    min-width: 44px;
    padding: .45em .6em;
}

.hatp-audio-transcript-controls .holpe-btn-full {
    font-size: 20px;
    min-width: 52px;
}

.hatp-audio-transcript-viewport {
    -webkit-overflow-scrolling: touch;
    color: var(--hatp-ink, #202923);
    flex: 1 1 auto;
    font-size: 18px;
    line-height: 1.65;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .35rem .85rem 1rem;
    scroll-padding-block: 42%;
}

.hatp-audio-transcript-viewport p,
.hatp-audio-transcript-viewport li {
    border-left: 4px solid transparent;
    margin: .5rem 0;
    padding: .25rem .55rem;
    transition: background-color .18s ease, border-color .18s ease;
}

.n2-section-smartslider {
    border-radius: 18px;
    box-shadow: none;
    margin: 0 0 1.8rem !important;
    overflow: hidden;
}

.station-text,
.overview-intro {
    background: transparent !important;
    border: 0 !important;
    border-left: 5px solid var(--hatp-green, #236345) !important;
    border-radius: 0;
    box-shadow: none;
    margin: 1.6rem 0 !important;
    padding: .2em 0 .2em 1.25em !important;
}

.station-text p:last-child,
.overview-intro p:last-child {
    margin-bottom: 0;
}

#station-video-wrapper,
.map-guard,
.map-wrapper,
.audiotour-banner {
    border-radius: 18px !important;
    box-shadow: none;
    overflow: hidden;
}

#station-video-wrapper,
.map-guard,
.map-wrapper {
    margin: 1.7rem 0 !important;
}

#station-video-wrapper.hatp-video-preview {
    background: #18211c;
    border: 1px solid rgba(35, 99, 69, .28);
    position: relative;
}

#station-video-wrapper.hatp-video-preview video {
    background: #18211c;
}

#station-video-wrapper.hatp-video-preview:not(.is-video-playing) video {
    filter: blur(3px) saturate(.76);
    transform: scale(1.018);
}

[id^="station-video-overlay"][role="button"] {
    background: rgba(18, 30, 23, .22) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

[id^="station-video-overlay"][role="button"] > div {
    background: rgba(255, 255, 255, .94) !important;
    border: 2px solid rgba(35, 99, 69, .42);
    box-shadow: 0 8px 24px rgba(12, 32, 22, .28) !important;
}

[id^="station-video-overlay"][role="button"] > div > div {
    border-left-color: var(--hatp-green, #236345) !important;
}

.hatp-video-badge {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(35, 99, 69, .35);
    border-radius: 999px;
    color: var(--hatp-ink, #202923);
    font-size: 13px;
    font-weight: 900;
    left: 16px;
    letter-spacing: .08em;
    line-height: 1;
    padding: .58em .85em;
    position: absolute;
    text-transform: uppercase;
    top: 16px;
}

.audiotour-banner {
    margin-bottom: 1.7rem;
}

.holpe-btn {
    border-radius: 10px !important;
}

/* Die Bedienelemente der Text-Vollansicht verwenden dieselbe Typografie
   und dieselben gut erreichbaren Zielgrößen wie der Mitlesetext im Hörmodus. */
.holpe-overlay .holpe-controls,
.holpe-overlay .holpe-btn {
    font-family: inherit !important;
}

.holpe-overlay .holpe-btn {
    align-items: center;
    background: #fff !important;
    border: 1px solid #cbd7d0 !important;
    color: var(--hatp-ink, #202923) !important;
    display: inline-flex;
    font-size: 16px !important;
    font-weight: 800 !important;
    justify-content: center;
    line-height: 1 !important;
    min-height: 48px;
    min-width: 48px;
}

.holpe-overlay .holpe-btn-close {
    font-size: 20px !important;
}

.map-guard.holpe-map-privacy,
.map-wrapper.holpe-map-privacy {
    background: #e5ece8 !important;
    border: 1.5px solid rgba(35, 99, 69, .42) !important;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .58), 0 5px 14px rgba(35, 99, 69, .09) !important;
    box-sizing: border-box;
    min-height: 360px;
    position: relative;
}

.map-guard.holpe-map-privacy .guard-overlay,
.map-wrapper.holpe-map-privacy .guard-overlay {
    align-items: center;
    background: rgba(232, 239, 235, .82) !important;
    border: 0 !important;
    color: var(--hatp-ink, #202923);
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 3;
}

.map-guard.holpe-map-privacy .hatp-map-art,
.map-wrapper.holpe-map-privacy .hatp-map-art {
    background-color: #dfe8e2 !important;
    background-image:
        linear-gradient(28deg, transparent 0 39%, rgba(255, 255, 255, .80) 40% 47%, transparent 48%),
        linear-gradient(108deg, transparent 0 58%, rgba(255, 255, 255, .72) 59% 65%, transparent 66%),
        radial-gradient(ellipse at 20% 25%, rgba(62, 111, 82, .16) 0 16%, transparent 17%),
        radial-gradient(ellipse at 82% 72%, rgba(62, 111, 82, .13) 0 19%, transparent 20%),
        repeating-linear-gradient(90deg, rgba(71, 103, 85, .045) 0 1px, transparent 1px 92px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: blur(3px);
    inset: -8px;
    min-height: 0 !important;
    opacity: .72;
    padding: 0 !important;
    pointer-events: none;
    position: absolute !important;
    transform: scale(1.025);
    width: auto !important;
    z-index: 0 !important;
}

.map-guard.holpe-map-privacy .guard-overlay::after,
.map-wrapper.holpe-map-privacy .guard-overlay::after {
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(35, 99, 69, .22);
    border-radius: 999px;
    color: #52675b;
    content: "Kartenvorschau";
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    left: 18px;
    letter-spacing: .04em;
    padding: .42em .78em;
    position: absolute;
    text-transform: uppercase;
    top: 18px;
}

.map-guard.holpe-map-privacy .guard-overlay::before,
.map-wrapper.holpe-map-privacy .guard-overlay::before {
    align-items: center;
    background: var(--hatp-green, #236345);
    border: 5px solid rgba(255, 255, 255, .94);
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 8px 20px rgba(20, 53, 37, .24);
    color: #fff;
    content: "•";
    display: flex;
    font-size: 34px;
    height: 38px;
    justify-content: center;
    left: 67%;
    line-height: 1;
    opacity: .38;
    position: absolute;
    top: 24%;
    transform: rotate(-45deg);
    width: 38px;
}

.map-guard.holpe-map-privacy .guard-overlay .hatp-map-load,
.map-wrapper.holpe-map-privacy .guard-overlay .hatp-map-load {
    align-items: center;
    background: #fff !important;
    border: 1.5px solid var(--hatp-green, #236345) !important;
    border-radius: 999px;
    box-shadow: 0 5px 13px rgba(35, 99, 69, .18);
    color: var(--hatp-ink, #202923) !important;
    display: inline-flex;
    font-size: 16px;
    font-style: normal !important;
    font-weight: 800 !important;
    justify-content: center;
    min-height: 48px;
    padding: .65em 1.05em;
    position: relative;
    white-space: normal;
    z-index: 2;
}

.map-guard.holpe-map-privacy .guard-overlay small,
.map-wrapper.holpe-map-privacy .guard-overlay small {
    background: rgba(255, 255, 255, .90);
    border-radius: 8px;
    display: block;
    font-size: 14px;
    font-style: normal !important;
    font-weight: 400;
    line-height: 1.45;
    padding: .45em .7em;
    position: relative;
    z-index: 2;
}

.map-guard.holpe-map-privacy .guard-overlay:hover .hatp-map-load,
.map-guard.holpe-map-privacy .guard-overlay:focus-visible .hatp-map-load,
.map-wrapper.holpe-map-privacy .guard-overlay:hover .hatp-map-load,
.map-wrapper.holpe-map-privacy .guard-overlay:focus-visible .hatp-map-load {
    background: var(--hatp-green, #236345) !important;
    color: #fff;
}

/* Auf der Übersicht werden die 14 Stationsziele als eindeutige Bedienelemente sichtbar. */
.hatp-station-grid {
    display: grid;
    gap: .8rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.hatp-station-grid > .hatp-station-card {
    align-items: stretch !important;
    display: flex !important;
    margin: 0 !important;
    min-width: 0;
}

.hatp-station-grid > .hatp-station-card > span {
    display: none !important;
}

.hatp-station-grid .hatp-station-card > a[href*="/station-"] {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(35, 99, 69, .55);
    border-left: 5px solid var(--hatp-green, #236345);
    border-radius: 10px;
    box-sizing: border-box;
    color: var(--hatp-ink, #202923);
    display: flex;
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    justify-content: space-between;
    margin: 0;
    min-height: 72px;
    padding: .7em 1em;
    text-decoration: none;
    transition: background-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.hatp-station-grid .hatp-station-card > a[href*="/station-"]::after {
    color: var(--hatp-green, #236345);
    content: "›";
    font-size: 1.45em;
    line-height: 1;
    margin-left: 1em;
}

.hatp-station-grid .hatp-station-card > a[href*="/station-"]:hover,
.hatp-station-grid .hatp-station-card > a[href*="/station-"]:focus-visible {
    background: #eef5f1;
    box-shadow: 0 5px 13px rgba(35, 99, 69, .14);
    color: #163e2d;
    transform: translateY(-1px);
}

.page-id-511 .entry-content span[style*="width:0.68em"][style*="background:#007c3e"] {
    display: none !important;
}

@media (max-width: 700px) {
    #top-head {
        padding-bottom: 8px !important;
    }

    #inner-header {
        padding-bottom: 8px !important;
    }

    .entry-header .entry-title {
        font-size: clamp(1.8rem, 9vw, 2.45rem);
        letter-spacing: -.025em;
    }

    .entry-content {
        font-size: 16px;
        line-height: 1.65;
    }

    .entry-content > nav[aria-label="Stationsnavigation"],
    .entry-content > .hatp-bottom-station-nav {
        align-items: stretch;
        gap: .45rem;
    }

    .entry-content .hatp-tour-button {
        flex: 1 1 0;
        font-size: 14px !important;
        max-width: calc(50% - .225rem);
        min-width: 0;
        padding: .6em .65em !important;
        text-align: center;
    }

    .entry-content .hatp-tour-button .hatp-button-label {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .entry-content > .hatp-overview-return .hatp-tour-button {
        flex: 0 1 auto;
        max-width: 100%;
    }

    .hatp-button-icon {
        flex-basis: 24px;
        height: 24px;
        width: 24px;
    }

    .hatp-station-grid {
        gap: .65rem;
        grid-template-columns: minmax(0, 1fr);
    }

    .hatp-station-grid .hatp-station-card > a[href*="/station-"] {
        min-height: 82px;
    }

    .holpe-audio-card audio {
        height: 54px !important;
        max-height: 54px;
        min-height: 54px !important;
    }

    .holpe-audio-card audio::-webkit-media-controls-play-button {
        transform: scale(1.25);
    }

    .hatp-audio-expand {
        display: flex;
    }

    .station-text,
    .overview-intro {
        padding: .1em 0 .1em 1em !important;
    }

    .holpe-audio-card,
    .holpe-audio-card.is-primary-audio,
    .holpe-audio-card.is-secondary-audio {
        border-radius: 14px !important;
        padding: .85rem .9rem !important;
    }

    .hatp-music-section {
        gap: .8rem;
        grid-template-columns: minmax(0, 1fr);
        padding: .9rem !important;
    }

    .hatp-music-section .hatp-music-heading,
    .hatp-music-section .hatp-music-credit,
    .hatp-music-section > .holpe-audio-card.is-secondary-audio {
        grid-column: 1;
    }

    .hatp-music-section .hatp-music-credit {
        padding-left: 0 !important;
    }

    .n2-section-smartslider,
    #station-video-wrapper,
    .map-guard,
    .map-wrapper,
    .audiotour-banner {
        border-radius: 14px !important;
    }

    /* Vorschau und freigegebene Karte behalten mobil exakt denselben,
       größeren Bedienraum. Die iframe-Adresse samt Stationszentrum bleibt
       dabei unverändert. */
    .map-guard,
    .map-wrapper,
    .map-guard.holpe-map-privacy,
    .map-wrapper.holpe-map-privacy {
        box-sizing: border-box;
        height: clamp(420px, 52vh, 460px) !important;
        min-height: 420px !important;
        padding-bottom: 0 !important;
    }
}

/* Beim Drehen bleibt die Großansicht vollständig bedienbar und bewusst kompakt. */
@media (orientation: landscape) and (max-height: 600px) {
    .hatp-audio-expand {
        display: flex;
    }

    .holpe-audio-card.hatp-audio-expanded {
        align-content: center;
        gap: .55rem;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        justify-content: stretch;
        padding: max(.6rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(.6rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)) !important;
    }

    .holpe-audio-card.hatp-audio-expanded .hatp-audio-title {
        font-size: clamp(1.05rem, 3.4vw, 1.45rem) !important;
        grid-row: 1;
        justify-self: center;
    }

    .holpe-audio-card.hatp-audio-expanded audio {
        grid-row: 2;
        justify-self: stretch;
        max-width: none !important;
    }

    .holpe-audio-card.hatp-audio-expanded .hatp-audio-transcript {
        display: none;
    }

    .holpe-audio-card.hatp-audio-expanded .hatp-audio-expand {
        grid-row: 3;
        min-height: 46px;
        width: min(680px, 52vw) !important;
    }
}

@media (orientation: landscape) and (max-height: 360px) {
    .holpe-audio-card.hatp-audio-expanded {
        gap: .35rem;
        padding-block: max(.35rem, env(safe-area-inset-top)) max(.35rem, env(safe-area-inset-bottom)) !important;
    }

    .holpe-audio-card.hatp-audio-expanded .hatp-audio-expand {
        min-height: 44px;
    }
}

[id^="station-video-overlay"][role="button"] {
    -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .holpe-overlay *,
    .n2-ss-slider * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .entry-content .hatp-tour-button,
    .hatp-button-icon {
        transition: none !important;
    }
}
