/* ==========================================================================
   Salenberghof – main.css
   Bootstrap 5.3.8 (fertiges CSS) + Anpassungen über CSS Custom Properties.
   Schriftgrößen und Abstände in px.

   Inhalt
   01 Design-Tokens & Bootstrap-Variablen
   02 Basis & Typografie
   03 Header & Logo
   04 Navigation Desktop (ab 992 px)
   05 Navigation Mobil (Offcanvas)
   06 Kopfbild / Kopfslider
   07 Inhaltsbereich, Brotkrumen, Rahmen & Abstände
   08 Container (EXT:container)
   09 Content Blocks
   10 Fluid Styled Content
   11 Formulare (EXT:form + bw_captcha)
   12 2-Klick-Lösung (TwoClickPrivacy)
   13 Footer
   14 Modals (Start-Popup, iFrame-Popup)
   15 Hilfsklassen (auch im RTE verfügbar)
   16 Bewegung reduzieren
   ========================================================================== */


/* 01 Design-Tokens & Bootstrap-Variablen
   ========================================================================== */
:root {
    /* Markenfarben (aus salenberghof.de übernommen) */
    --sh-green: #8a9f34;          /* Hauptgrün – dekorativ (Linien, Bögen, Akzente) */
    --sh-green-strong: #64771b;   /* Grün für Flächen mit weißer Schrift (Kontrast 5:1) */
    --sh-green-dark: #596c0d;     /* Dunkelgrün – Links, Text */
    --sh-green-deep: #4a5a0b;     /* Navigation auf Hellgrün */
    --sh-green-light: #d6e19e;    /* Hellgrün – Navigationsleiste, Hover */
    --sh-cream: #fbf1e6;          /* Creme – Inhaltsfläche */
    --sh-brown: #664622;          /* Braun aus den Bögen */
    --sh-brown-warm: #8b572a;     /* Braun – Überschriften der runden Bilder */
    --sh-text: #2b2b2b;
    --sh-white: #ffffff;

    --sh-font-base: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --sh-font-script: 'Allura', 'Brush Script MT', cursive;

    --sh-radius: 12px;
    --sh-radius-sm: 8px;
    --sh-shadow: 0 6px 24px rgba(43, 43, 43, .10);
    --sh-shadow-hover: 0 12px 32px rgba(43, 43, 43, .16);

    --sh-header-bar: 8px;
    --sh-header-nav: 56px;
    --sh-header-height: calc(var(--sh-header-bar) + var(--sh-header-nav));

    /* Bootstrap */
    --bs-body-font-family: var(--sh-font-base);
    --bs-body-font-size: 18px;
    --bs-body-line-height: 1.7;
    --bs-body-color: var(--sh-text);
    --bs-body-color-rgb: 43, 43, 43;
    --bs-body-bg: var(--sh-white);
    --bs-primary: var(--sh-green-strong);
    --bs-primary-rgb: 100, 119, 27;
    --bs-link-color: var(--sh-green-dark);
    --bs-link-color-rgb: 89, 108, 13;
    --bs-link-hover-color: var(--sh-green-deep);
    --bs-link-hover-color-rgb: 74, 90, 11;
    --bs-link-decoration: underline;
    --bs-heading-color: var(--sh-green-strong);
    --bs-border-radius: var(--sh-radius-sm);
    --bs-border-radius-lg: var(--sh-radius);
    --bs-focus-ring-color: rgba(100, 119, 27, .35);
    --bs-emphasis-color: var(--sh-text);
}


/* 02 Basis & Typografie
   ========================================================================== */
html {
    scroll-padding-top: calc(var(--sh-header-height) + 16px);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

p,
ul,
ol {
    margin-bottom: 20px;
}

a {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 3px solid var(--sh-green-strong);
    outline-offset: 2px;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
    font-weight: 600;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 16px;
}

h1, .h1 { font-size: 30px; }
h2, .h2 { font-size: 26px; }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 19px; }

.lead {
    font-size: 21px;
    font-weight: 300;
}

blockquote {
    margin: 0 0 20px;
    padding-left: 20px;
    border-left: 4px solid var(--sh-green);
    font-style: italic;
}

@media (max-width: 575.98px) {
    :root {
        --bs-body-font-size: 17px;
    }
}

@media (min-width: 992px) {
    h1, .h1 { font-size: 38px; }
    h2, .h2 { font-size: 30px; }
    h3, .h3 { font-size: 24px; }
    h4, .h4 { font-size: 20px; }
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--sh-white);
    color: var(--sh-green-deep);
    font-weight: 600;
    border-radius: var(--sh-radius-sm);
    box-shadow: var(--sh-shadow);
}


/* 03 Header & Logo
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.site-header__bar {
    height: var(--sh-header-bar);
    background: var(--sh-green);
}

.site-header__nav {
    height: var(--sh-header-nav);
    background: var(--sh-green-light);
    box-shadow: 0 2px 8px rgba(43, 43, 43, .12);
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.site-logo {
    position: absolute;
    top: 8px;
    left: 12px;
    z-index: 2;
    display: block;
    width: 180px;
    transition: width .3s ease, top .3s ease;
    filter: drop-shadow(0 4px 10px rgba(43, 43, 43, .25));
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .site-logo {
        top: 14px;
        width: 300px;
    }

    .site-header.is-scrolled .site-logo {
        top: 6px;
        width: 180px;
    }
}

/* Burger-Button (unter 992 px) */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 14px;
    border: 0;
    border-radius: var(--sh-radius-sm);
    background: var(--sh-green-strong);
    color: var(--sh-white);
    font-size: 16px;
    font-weight: 600;
}

.nav-toggle .bi {
    font-size: 26px;
    line-height: 1;
}


/* 04 Navigation Desktop (ab 992 px)
   ========================================================================== */
.main-nav__list {
    display: flex;
    align-items: stretch;
    gap: 4px;
    height: var(--sh-header-nav);
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.main-nav__link {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: var(--sh-green-deep);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}

.main-nav__item.has-children .main-nav__link {
    padding-right: 4px;
}

.main-nav__toggle {
    display: flex;
    align-items: center;
    padding: 0 12px 0 4px;
    border: 0;
    background: transparent;
    color: var(--sh-green-deep);
    font-size: 12px;
    transition: background-color .2s ease, color .2s ease;
}

.main-nav__toggle .bi {
    transition: transform .2s ease;
}

.main-nav__item:hover > .main-nav__link,
.main-nav__item:hover > .main-nav__toggle,
.main-nav__item.is-open > .main-nav__link,
.main-nav__item.is-open > .main-nav__toggle,
.main-nav__item.is-active > .main-nav__link,
.main-nav__item.is-active > .main-nav__toggle {
    background: var(--sh-green-strong);
    color: var(--sh-white);
}

.main-nav__item.is-open > .main-nav__toggle .bi {
    transform: rotate(180deg);
}

.main-nav__link:focus-visible,
.main-nav__toggle:focus-visible {
    outline-offset: -3px;
    outline-color: var(--sh-white);
    background: var(--sh-green-strong);
    color: var(--sh-white);
}

.main-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--sh-green-strong);
    border-radius: 0 0 var(--sh-radius) var(--sh-radius);
    box-shadow: var(--sh-shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.main-nav__item:last-child .main-nav__dropdown {
    left: auto;
    right: 0;
}

.main-nav__item.is-open > .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
}

@media (hover: hover) {
    .main-nav__item:hover > .main-nav__dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .2s ease, transform .2s ease, visibility 0s;
    }
}

.main-nav__dropdown-level3 {
    margin: 0;
    padding: 0 0 4px;
    list-style: none;
}

.main-nav__sublink {
    display: block;
    padding: 10px 24px;
    color: var(--sh-white);
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.main-nav__sublink--level3 {
    padding-left: 40px;
    font-size: 15px;
}

.main-nav__sublink:hover,
.main-nav__sublink:focus-visible,
.main-nav__subitem.is-active > .main-nav__sublink {
    background: var(--sh-green-light);
    color: var(--sh-green-deep);
}

.main-nav__sublink:focus-visible {
    outline-offset: -3px;
    outline-color: var(--sh-green-deep);
}

/* Platz für das große Logo links */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-nav__link {
        padding: 0 10px;
        font-size: 15px;
    }

    .main-nav {
        margin-left: 200px;
    }
}


/* 05 Navigation Mobil (Offcanvas)
   ========================================================================== */
.offcanvas-nav {
    --bs-offcanvas-width: 340px;
    --bs-offcanvas-bg: var(--sh-cream);
    --bs-offcanvas-padding-x: 0;
    --bs-offcanvas-padding-y: 0;
}

.offcanvas-nav .offcanvas-header {
    padding: 16px 20px;
    background: var(--sh-green-light);
    border-top: var(--sh-header-bar) solid var(--sh-green);
}

.offcanvas-nav .offcanvas-title {
    margin: 0;
    color: var(--sh-green-deep);
    font-size: 20px;
}

.mobile-nav,
.mobile-nav__sub {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav__item {
    border-bottom: 1px solid rgba(89, 108, 13, .18);
}

.mobile-nav__sub .mobile-nav__item:last-child {
    border-bottom: 0;
}

.mobile-nav__row {
    display: flex;
    align-items: stretch;
}

.mobile-nav__link {
    flex: 1 1 auto;
    display: block;
    padding: 12px 20px;
    color: var(--sh-green-deep);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.mobile-nav__item--level2 .mobile-nav__link {
    padding-left: 36px;
    font-size: 17px;
    font-weight: 400;
}

.mobile-nav__item--level3 .mobile-nav__link {
    padding-left: 52px;
    font-size: 16px;
    font-weight: 400;
}

.mobile-nav__link[aria-current="page"] {
    background: var(--sh-green-strong);
    color: var(--sh-white);
}

.mobile-nav__sub {
    background: rgba(214, 225, 158, .45);
}

.mobile-nav__toggle {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid rgba(89, 108, 13, .18);
    background: transparent;
    color: var(--sh-green-deep);
    font-size: 16px;
}

.mobile-nav__toggle .bi {
    transition: transform .2s ease;
}

.mobile-nav__toggle:not(.collapsed) .bi {
    transform: rotate(180deg);
}


/* 06 Kopfbild / Kopfslider
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    height: 62svh;
    min-height: 360px;
    max-height: 640px;
    background: var(--sh-green-light);
}

@media (min-width: 992px) {
    .hero {
        height: calc(100svh - 140px);
        min-height: 520px;
        max-height: 1000px;
    }
}

.hero .carousel-inner,
.hero .carousel-item,
.hero picture {
    height: 100%;
}

.hero picture {
    display: block;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero--empty {
    height: 200px;
    min-height: 0;
    background: var(--sh-green-light);
}

.hero__arch {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 2;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.hero__control {
    z-index: 3;
    width: 72px;
    opacity: .85;
}

.hero__control .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(43, 43, 43, .35);
    color: var(--sh-white);
    font-size: 26px;
}

.hero__control:hover .bi,
.hero__control:focus-visible .bi {
    background: var(--sh-green-strong);
}

.hero__pause {
    position: absolute;
    top: calc(var(--sh-header-height) + 16px);
    right: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(43, 43, 43, .35);
    color: var(--sh-white);
    font-size: 22px;
}

.hero__pause:hover,
.hero__pause:focus-visible {
    background: var(--sh-green-strong);
}

@media (max-width: 767.98px) {
    .hero__control {
        display: none;
    }
}


/* 07 Inhaltsbereich, Brotkrumen, Rahmen & Abstände
   ========================================================================== */
.site-main {
    position: relative;
    background: var(--sh-cream);
}

.site-main:focus {
    outline: 0;
}

.site-main__inner {
    padding: 16px 0 48px;
}

@media (min-width: 992px) {
    .site-main__inner {
        padding: 8px 0 72px;
    }
}

.breadcrumb-nav {
    margin-bottom: 24px;
}

.breadcrumb {
    --bs-breadcrumb-divider-color: var(--sh-green-dark);
    --bs-breadcrumb-item-active-color: var(--sh-text);
    margin: 0;
    font-size: 15px;
}

.breadcrumb a {
    color: var(--sh-green-dark);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Abstand zwischen Inhaltselementen */
.frame {
    margin-bottom: 32px;
}

.frame:last-child,
.frame > :last-child,
.frame-weiss > .ct > :last-child {
    margin-bottom: 0;
}

/* Rahmen "Weißer Kasten" (ersetzt die weißen Gridelemente) */
.frame-weiss {
    padding: 24px;
    background: var(--sh-white);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
}

@media (min-width: 768px) {
    .frame-weiss {
        padding: 32px 40px;
    }
}

/* Abstände vor/nach (Feld "Abstand vor/nach" im Element) */
.frame-space-before-extra-small { margin-top: 8px; }
.frame-space-before-small { margin-top: 16px; }
.frame-space-before-medium { margin-top: 32px; }
.frame-space-before-large { margin-top: 48px; }
.frame-space-before-extra-large { margin-top: 80px; }
.frame-space-after-extra-small { margin-bottom: 8px; }
.frame-space-after-small { margin-bottom: 16px; }
.frame-space-after-medium { margin-bottom: 48px; }
.frame-space-after-large { margin-bottom: 64px; }
.frame-space-after-extra-large { margin-bottom: 96px; }


/* 08 Container (EXT:container)
   ========================================================================== */
.ct > [class*="col"] > .frame:last-child {
    margin-bottom: 0;
}

/* Kinder in Spalten füllen die Höhe (Boxen gleich hoch) */
.ct-3cols > [class*="col"],
.ct-4cols > [class*="col"],
.ct-2cols > [class*="col"] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ct-3cols > [class*="col"] > .frame,
.ct-4cols > [class*="col"] > .frame {
    margin-bottom: 0;
}

.ct-3cols > [class*="col"] > .frame:only-child,
.ct-4cols > [class*="col"] > .frame:only-child {
    flex: 1 1 auto;
}

/* 4 Spalten "versetzt" (ehem. links-mitte / rechts mit margin-top 15 %) */
@media (min-width: 992px) {
    .ct-4cols--staggered > :nth-child(2n) {
        margin-top: 64px;
    }
}

/* Slider (ehem. slick) */
.ct-slider {
    position: relative;
}

.ct-slider__controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}

.ct-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--sh-green-strong);
    border-radius: 50%;
    background: var(--sh-white);
    color: var(--sh-green-strong);
    font-size: 18px;
    transition: background-color .2s ease, color .2s ease;
}

.ct-slider__btn:hover,
.ct-slider__btn:focus-visible {
    background: var(--sh-green-strong);
    color: var(--sh-white);
}

.ct-slider__btn:disabled {
    opacity: .4;
}

.ct-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 4px 16px;
    margin: -4px -4px 0;
}

.ct-slider__track::-webkit-scrollbar {
    display: none;
}

.ct-slider__slide {
    scroll-snap-align: start;
    display: flex;
}

.ct-slider__slide > .frame {
    flex: 1 1 auto;
    margin-bottom: 0;
}

@media (min-width: 576px) {
    .ct-slider__track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

@media (min-width: 992px) {
    .ct-slider__track {
        grid-auto-columns: calc((100% - 48px) / 3);
    }
}

/* Footer-Container */
.ct-footer__logo img {
    max-width: 160px;
}

.ct-footer__bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(89, 108, 13, .2);
    text-align: center;
    font-size: 15px;
}

.ct-footer__bottom ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-footer__bottom a {
    color: var(--sh-green-dark);
}


/* 09 Content Blocks
   ========================================================================== */

/* Info-Box & Wohnungs-Box (ersetzt .info-box / .box-wohnung aus TYPO3 7) */
.info-box {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--sh-white);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.info-box:has(.stretched-link):hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-shadow-hover);
}

.info-box:has(.stretched-link:focus-visible) {
    outline: 3px solid var(--sh-green-strong);
    outline-offset: 3px;
}

.info-box__title {
    margin: 0;
    padding: 14px 16px;
    background: var(--sh-green-strong);
    color: var(--sh-white);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.info-box__link {
    color: inherit;
    text-decoration: none;
}

.info-box__link:focus-visible {
    outline: 0;
}

.info-box__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.info-box__text {
    flex: 1 1 auto;
    padding: 16px 20px;
    font-size: 17px;
}

.info-box__text > :last-child {
    margin-bottom: 0;
}

.info-box__text ul {
    padding-left: 20px;
}

.info-box__more,
.info-box__price {
    margin: 0;
    padding: 12px 20px;
    background: var(--sh-green-strong);
    color: var(--sh-white);
    font-size: 17px;
    font-weight: 600;
}

.info-box__more {
    text-align: center;
}

.info-box__price {
    text-align: right;
}

/* Sterne */
.stars {
    display: inline-flex;
    gap: 2px;
    margin-left: 8px;
    color: #f4c20d;
    font-size: 16px;
    vertical-align: 2px;
    white-space: nowrap;
}

.heading-stars .stars {
    color: #e0ac00;
}

/* Rundes Bild (ersetzt .dce-bild-rund und .edelweiss) */
.round-teaser {
    position: relative;
    margin: 0;
    text-align: center;
}

.round-teaser__media {
    position: relative;
    margin: 0 auto;
}

.round-teaser__image {
    width: 200px;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 4px 6px 12px rgba(43, 43, 43, .45);
}

.round-teaser__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.round-teaser--zoom:hover .round-teaser__image img,
.round-teaser--zoom:focus-within .round-teaser__image img {
    transform: scale(1.12);
}

.round-teaser__title {
    margin: 16px 0 0;
    color: var(--sh-brown-warm);
    font-size: 26px;
    font-weight: 600;
    text-shadow: 0 0 6px var(--sh-white), 0 0 3px var(--sh-white);
}

.round-teaser__link {
    color: inherit;
    text-decoration: none;
}

.round-teaser__link:hover {
    text-decoration: underline;
}

/* Variante Edelweiß: Bild sitzt in der Blütenmitte */
.round-teaser--edelweiss .round-teaser__media {
    max-width: 326px;
}

.round-teaser__frame {
    display: block;
    width: 100%;
    height: auto;
}

.round-teaser--edelweiss .round-teaser__image {
    position: absolute;
    top: 22%;
    left: 27%;
    width: 46%;
}

.round-teaser--edelweiss .round-teaser__title {
    margin-top: 4px;
}

/* Bildergalerie */
.gallery__item {
    margin: 0;
}

.gallery__link {
    display: block;
    overflow: hidden;
    border-radius: var(--sh-radius-sm);
}

.gallery__link img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}

.gallery__link:hover img,
.gallery__link:focus-visible img {
    transform: scale(1.05);
}

.gallery__caption {
    margin-top: 6px;
    color: var(--sh-green-dark);
    font-size: 14px;
    line-height: 1.4;
}

/* Panorama */
.panorama {
    margin: 0 0 24px;
}

.panorama__viewport {
    position: relative;
    height: 280px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: var(--sh-radius);
    background: var(--sh-green-light);
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: var(--sh-green-strong) transparent;
    touch-action: pan-x pan-y;
}

.panorama__viewport.is-dragging {
    cursor: grabbing;
}

@media (min-width: 768px) {
    .panorama__viewport {
        height: 420px;
    }
}

.panorama__image {
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
    user-select: none;
}

.panorama__viewport .panorama__hint {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: rgba(43, 43, 43, .45);
    color: var(--sh-white);
    font-size: 26px;
    pointer-events: none;
    transition: opacity .3s ease;
}

.panorama__viewport.is-touched .panorama__hint {
    opacity: 0;
}

.panorama__caption {
    margin-top: 8px;
    font-size: 15px;
}

/* Gästemeinungen */
.reviews {
    padding-bottom: 40px;
}

.review {
    display: grid;
    gap: 24px;
    margin: 0;
    padding: 8px 4px;
}

@media (min-width: 768px) {
    .review--with-image {
        grid-template-columns: 200px 1fr;
        align-items: center;
        gap: 40px;
        padding: 8px 48px;
    }
}

.review__image {
    width: 160px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .review__image {
        width: 200px;
    }
}

.review__image img {
    display: block;
    width: 100%;
    height: auto;
    border: 4px solid var(--sh-green);
    border-radius: 50%;
}

.review__quote {
    position: relative;
    margin: 0;
    padding: 0 0 0 40px;
    border: 0;
    font-size: 20px;
    line-height: 1.6;
}

.review__quote::before {
    content: '\201E';
    position: absolute;
    top: -32px;
    left: 0;
    color: var(--sh-green);
    font-family: Georgia, serif;
    font-size: 64px;
    font-style: normal;
    line-height: 1;
}

.review__quote > :last-child {
    margin-bottom: 0;
}

.review__name {
    margin-top: 16px;
    padding-left: 40px;
    color: var(--sh-green-dark);
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
}

.reviews__indicators {
    bottom: 0;
    margin-bottom: 0;
}

.reviews__indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background-color: var(--sh-green-strong);
}

/* Button */
.btn-block-wrap {
    margin: 8px 0;
}


/* 10 Fluid Styled Content
   ========================================================================== */
.ce-gallery img {
    border-radius: var(--sh-radius-sm);
}

.ce-gallery figcaption,
.image-caption {
    margin-top: 6px;
    color: var(--sh-green-dark);
    font-size: 14px;
    line-height: 1.4;
}

.ce-bodytext > :last-child {
    margin-bottom: 0;
}

.ce-uploads {
    padding-left: 0;
    list-style: none;
}

.frame-type-html iframe,
.ce-bodytext iframe {
    display: block;
    width: 100%;
    border: 0;
}

.table {
    --bs-table-striped-bg: rgba(214, 225, 158, .35);
}

/* Buttons */
.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: 24px;
    --bs-btn-padding-y: 10px;
    --bs-btn-font-size: 17px;
    --bs-btn-border-radius: 999px;
}

.btn-lg {
    --bs-btn-padding-x: 32px;
    --bs-btn-padding-y: 14px;
    --bs-btn-font-size: 18px;
}

.btn-primary {
    --bs-btn-bg: var(--sh-green-strong);
    --bs-btn-border-color: var(--sh-green-strong);
    --bs-btn-hover-bg: var(--sh-green-dark);
    --bs-btn-hover-border-color: var(--sh-green-dark);
    --bs-btn-active-bg: var(--sh-green-deep);
    --bs-btn-active-border-color: var(--sh-green-deep);
    --bs-btn-disabled-bg: var(--sh-green);
    --bs-btn-disabled-border-color: var(--sh-green);
    --bs-btn-focus-shadow-rgb: 100, 119, 27;
}

.btn-outline-primary {
    --bs-btn-color: var(--sh-green-dark);
    --bs-btn-border-color: var(--sh-green-strong);
    --bs-btn-hover-bg: var(--sh-green-strong);
    --bs-btn-hover-border-color: var(--sh-green-strong);
    --bs-btn-active-bg: var(--sh-green-deep);
    --bs-btn-focus-shadow-rgb: 100, 119, 27;
}


/* 11 Formulare (EXT:form + bw_captcha)
   ========================================================================== */
.form-control,
.form-select {
    padding: 10px 14px;
    font-size: 17px;
    border-color: #c9c2b4;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--sh-green-strong);
    box-shadow: 0 0 0 4px var(--bs-focus-ring-color);
}

.form-check-input:checked {
    background-color: var(--sh-green-strong);
    border-color: var(--sh-green-strong);
}

.form-label {
    font-weight: 600;
}

.form-element .required {
    color: #b02a37;
    margin-left: 2px;
}

textarea.form-control {
    min-height: 200px;
}

.form-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.captcha img {
    border-radius: var(--sh-radius-sm);
}


/* 12 2-Klick-Lösung (TwoClickPrivacy, unverändertes Script)
   ========================================================================== */
.privacy-msg {
    position: relative;
    min-height: 320px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--sh-radius);
    background: #f3eee5;
}

.privacy-msg > p {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    align-content: center;
    margin: 0;
    padding: 24px;
    overflow: auto;
    background: #f3eee5;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.privacy-msg > p a {
    color: var(--sh-green-dark);
}

.privacy-msg > p a.btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 32px;
    border-radius: 999px;
    background: var(--sh-green-strong);
    color: var(--sh-white);
    font-weight: 600;
    text-decoration: none;
}

.privacy-msg > p a.btn:hover,
.privacy-msg > p a.btn:focus-visible {
    background: var(--sh-green-dark);
}

.privacy-msg iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
}


/* 13 Footer
   ========================================================================== */
.site-footer {
    background: var(--sh-white);
}

.site-footer__arch {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -1px;
    background: var(--sh-cream);
}

.site-footer__content {
    padding-top: 16px;
    padding-bottom: 40px;
    font-size: 16px;
}

.site-footer__content .frame {
    margin-bottom: 0;
}

.site-footer a {
    color: var(--sh-green-dark);
}


/* 14 Modals (Start-Popup, iFrame-Popup)
   ========================================================================== */
.start-popup .modal-content,
.iframe-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: var(--sh-radius);
}

.start-popup .modal-body {
    padding: 0;
}

.start-popup .modal-body .frame {
    margin-bottom: 0;
}

.start-popup__close,
.iframe-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--sh-white);
    background-size: 14px;
    opacity: 1;
    box-shadow: var(--sh-shadow);
}

.iframe-modal .modal-body {
    height: 80vh;
    padding: 0;
}

.iframe-modal iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* 15 Hilfsklassen (auch im RTE verfügbar)
   ========================================================================== */
.text-brown {
    color: var(--sh-brown) !important;
}

.font-script {
    font-family: var(--sh-font-script);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--sh-green-strong);
}

.text-justify {
    text-align: justify;
}

.list-check {
    padding-left: 0;
    list-style: none;
}

.list-check li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 6px;
}

.list-check li::before {
    content: '\F633'; /* bi-check-lg */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sh-green-strong);
    font-family: 'bootstrap-icons';
    font-weight: 700;
}


/* 16 Bewegung reduzieren
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
