
/** fix scroll behaviour */
[id] {
    scroll-margin-top: 110px;
}

/** fix OCE toolbar height */
#i-toolbar-iframe {
  height: 35px !important;
}
body.oce { 
    margin-top: 35px !important; 
}

/** Silbentrennung */
body, p, h1, h2, h3, h4, h5, h6, li, blockquote {
  hyphens: auto;
  overflow-wrap: break-word;
}


main.page-wrapper {
    position: relative;
}

/** overwrite around setting */
.page-wrapper {
    padding-top: 0px;
}
main.page-wrapper[header-mode~="navbar-bg-white"] {
    padding-top: 70px;
}

/** general utility classes */
.hide-i-preview-anchor .i-preview-anchor {
    display: none !important;
    visibility: hidden !important;
}

/** accessibility controls */
.button-nav-fontsize-toggle,
.button-nav-contrast-toggle {
    cursor: pointer;
}

.button-nav-fontsize-toggle svg,
.button-nav-contrast-toggle svg {
    fill: currentColor;
}

.button-nav-fontsize-toggle.is-active,
.button-nav-contrast-toggle.is-active {
    background-color: var(--ar-accent);
    border-color: var(--ar-accent);
    color: var(--ar-accent-text, #fff) !important;
}

.button-nav-fontsize-toggle:focus-visible,
.button-nav-contrast-toggle:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--ar-link-color, #003594);
    outline-offset: 3px;
}

html[data-accessibility-font-size="large"] {
    --ar-root-font-size: 1.125rem;
    --ar-body-font-size: 1.25rem;
}

html[data-accessibility-font-size="x-large"] {
    --ar-root-font-size: 1.25rem;
    --ar-body-font-size: 1.375rem;
}

html[data-accessibility-contrast="high"] {
    --ar-primary: color-mix(in srgb, rgb(var(--ar-primary-rgb)) 40%, black);
    --ar-body-bg: #ffffff;
    --ar-body-bg-rgb: 255, 255, 255;
    --ar-body-color: #111111;
    --ar-body-color-rgb: 17, 17, 17;
    --ar-heading-color: #000000;
    --ar-link-color: var(--ar-primary);
    --ar-link-hover-color: color-mix(in srgb, var(--ar-primary) 75%, black);
    --ar-border-color: #111111;
    --ar-secondary-bg: #ffffff;
    --ar-secondary-bg-rgb: 255, 255, 255;
    --ar-tertiary-bg: #ffffff;
    --ar-tertiary-bg-rgb: 255, 255, 255;
    --ar-accent: var(--ar-primary);
    --ar-accent-hover: color-mix(in srgb, var(--ar-accent) 75%, black);
    --ar-accent-text: #ffffff;
    --ar-accent-50: #f0f0f0;
    --ar-accent-10: #ffffff;
    --ar-accent-30: #f0f0f0;
    --ar-accent-grey: #f0f0f0;
    --ar-navbar-stuck-bg: #ffffff;
    --ar-box-shadow: none;
    --ar-box-shadow-sm: none;
    --ar-box-shadow-lg: none;
}

html[data-accessibility-contrast="high"] body {
    color: var(--ar-body-color);
    background-color: var(--ar-body-bg);
}

html[data-accessibility-contrast="high"] a {
    text-decoration-thickness: 0.14em;
    text-underline-offset: 0.18em;
}

html[data-accessibility-contrast="high"] .btn,
html[data-accessibility-contrast="high"] .card,
html[data-accessibility-contrast="high"] .accordion-item,
html[data-accessibility-contrast="high"] .dropdown-menu,
html[data-accessibility-contrast="high"] .offcanvas,
html[data-accessibility-contrast="high"] .navbar,
html[data-accessibility-contrast="high"] .form-control,
html[data-accessibility-contrast="high"] .form-select,
html[data-accessibility-contrast="high"] .page-link,
html[data-accessibility-contrast="high"] .alert,
html[data-accessibility-contrast="high"] .modal-content {
    background-color: #ffffff !important;
    color: #111111 !important;
    border-color: #111111 !important;
    box-shadow: none !important;
}

html[data-accessibility-contrast="high"] [header-mode~="initially-dark-mode"] header.navbar:not(.navbar-stuck) #logo {
    background-image: var(--inverted-logo) !important;
}

html[data-accessibility-contrast="high"] .navbar-buttons svg {
    fill: var(--ar-accent) !important;
}
html[data-accessibility-contrast="high"] .navbar-buttons a.is-active svg {
    fill: white !important;
}

html[data-accessibility-contrast="high"] [header-mode~="initially-dark-mode"] header.navbar:not(.navbar-stuck) .navbar-toggler {
    color: #111111 !important;
}

html[data-accessibility-contrast="high"] .btn-primary,
html[data-accessibility-contrast="high"] .btn-outline-primary,
html[data-accessibility-contrast="high"] .button-nav-fontsize-toggle.is-active,
html[data-accessibility-contrast="high"] .button-nav-contrast-toggle.is-active {
    background-color: var(--ar-accent) !important;
    color: #ffffff !important;
    border-color: var(--ar-accent) !important;
}

html[data-accessibility-contrast="high"] .btn-outline-secondary,
html[data-accessibility-contrast="high"] .button-nav-fontsize-toggle,
html[data-accessibility-contrast="high"] .button-nav-contrast-toggle {
    border-width: 2px !important;
}

html[data-accessibility-contrast="high"] .breadcrumb-item > a,
html[data-accessibility-contrast="high"] .nav-link {
    color: var(--ar-primary) !important;
}

html[data-accessibility-contrast="high"] .text-muted,
html[data-accessibility-contrast="high"] .text-body-secondary {
    color: var(--ar-gray-800) !important;
}

html[data-accessibility-contrast="high"] .nav-tabs .nav-link.active,
html[data-accessibility-contrast="high"] .nav-tabs .nav-item.show .nav-link {
    background-color: var(--ar-primary) !important;
    color: #ffffff !important;
    border-color: var(--ar-primary) !important;
}

html[data-accessibility-contrast="high"] .bg-accent,
html[data-accessibility-contrast="high"] .bg-accent-cards .card,
html[data-accessibility-contrast="high"] .bg-accent-cards .accordion-item,
html[data-accessibility-contrast="high"] .bg-accent-cards .section-item,
html[data-accessibility-contrast="high"] .bg-accent.accordion-button:not(.collapsed) {
    --ar-body-color: #ffffff;
    --ar-heading-color: #ffffff;
    --ar-link-color: #ffffff;
    background-color: var(--ar-accent) !important;
    color: #ffffff !important;
    border-color: var(--ar-accent) !important;
}

@media (min-width: 768px) {
    .imperia-stepper__item:nth-child(even) .imperia-stepper__image {
        order: 2;
    }

    .imperia-stepper__item:nth-child(even) .imperia-stepper__text {
        order: 1;
    }
}

html[data-accessibility-contrast="high"] .bg-accent-transparent .jarallax-container::after {
    background-color: color-mix(in srgb, var(--ar-accent) 80%, transparent) !important;
}

html[data-accessibility-contrast="high"] .bg-accent-transparent-90 h1,
html[data-accessibility-contrast="high"] .bg-accent-transparent-90 .h2,
html[data-accessibility-contrast="high"] .bg-accent-transparent-90 .h3,
html[data-accessibility-contrast="high"] .bg-accent-transparent-90 .h4,
html[data-accessibility-contrast="high"] .bg-accent-transparent-90 .h5 {
    color: #111111 !important;
}

html[data-accessibility-contrast="high"] .hero-image-color-filter {
    background-color: color-mix(in srgb, rgb(var(--ar-accent-rgb)) 40%, black 60%) !important;
    opacity: var(--ar-hero-image-color-filter-opacity, 0.8);
}

html[data-accessibility-contrast="high"] .footer .background-svg {
    display: none !important;
}

html[data-accessibility-contrast="high"] footer .nav-link {
    color: #ffffff !important;
}

html[data-accessibility-contrast="high"] #event-calendar-days .btn {
    background-color: #ffffff !important;
    color: #111111 !important;
    border-color: #111111 !important;
}

html[data-accessibility-contrast="high"] #event-calendar-days .event-calendar-day--weekend {
    background-color: var(--ar-accent-grey) !important;
}

html[data-accessibility-contrast="high"] #event-calendar-days .event-calendar-day--has-events {
    background-color: var(--ar-accent-30) !important;
}

html[data-accessibility-contrast="high"] #event-calendar-days .event-calendar-day--selected {
    background-color: var(--ar-accent) !important;
    border-color: var(--ar-accent) !important;
}

html[data-accessibility-contrast="high"] #event-calendar-days .event-calendar-day--selected span {
    color: #ffffff !important;
}

html[data-accessibility-contrast="high"] .event-calendar a.border-bottom::after {
    border-bottom: 1px solid var(--ar-accent) !important;
}

@media (prefers-contrast: more) {
    html:not([data-accessibility-contrast]) {
        --ar-primary: color-mix(in srgb, rgb(var(--ar-primary-rgb)) 40%, black);
        --ar-body-bg: #ffffff;
        --ar-body-bg-rgb: 255, 255, 255;
        --ar-body-color: #111111;
        --ar-body-color-rgb: 17, 17, 17;
        --ar-heading-color: #000000;
        --ar-link-color: var(--ar-primary);
        --ar-link-hover-color: color-mix(in srgb, var(--ar-primary) 75%, black);
        --ar-border-color: #111111;
        --ar-secondary-bg: #ffffff;
        --ar-secondary-bg-rgb: 255, 255, 255;
        --ar-tertiary-bg: #ffffff;
        --ar-tertiary-bg-rgb: 255, 255, 255;
        --ar-accent: var(--ar-primary);
        --ar-accent-hover: color-mix(in srgb, var(--ar-accent) 75%, black);
        --ar-accent-text: #ffffff;
        --ar-accent-50: #f0f0f0;
        --ar-accent-10: #ffffff;
        --ar-accent-30: #f0f0f0;
        --ar-accent-grey: #f0f0f0;
        --ar-navbar-stuck-bg: #ffffff;
        --ar-box-shadow: none;
        --ar-box-shadow-sm: none;
        --ar-box-shadow-lg: none;
    }

    html:not([data-accessibility-contrast]) a {
        text-decoration-thickness: 0.14em;
        text-underline-offset: 0.18em;
    }

    html:not([data-accessibility-contrast]) .breadcrumb-item > a,
    html:not([data-accessibility-contrast]) .nav-link {
        color: var(--ar-primary) !important;
    }

    html:not([data-accessibility-contrast]) .text-muted,
    html:not([data-accessibility-contrast]) .text-body-secondary {
        color: var(--ar-gray-800) !important;
    }

    html:not([data-accessibility-contrast]) .nav-tabs .nav-link.active,
    html:not([data-accessibility-contrast]) .nav-tabs .nav-item.show .nav-link {
        background-color: var(--ar-primary) !important;
        color: #ffffff !important;
        border-color: var(--ar-primary) !important;
    }

    html:not([data-accessibility-contrast]) .bg-accent,
    html:not([data-accessibility-contrast]) .bg-accent-cards .card,
    html:not([data-accessibility-contrast]) .bg-accent-cards .accordion-item,
    html:not([data-accessibility-contrast]) .bg-accent-cards .section-item,
    html:not([data-accessibility-contrast]) .bg-accent.accordion-button:not(.collapsed) {
        --ar-body-color: #ffffff;
        --ar-heading-color: #ffffff;
        --ar-link-color: #ffffff;
        background-color: var(--ar-accent) !important;
        color: #ffffff !important;
        border-color: var(--ar-accent) !important;
    }

    html:not([data-accessibility-contrast]) .bg-accent-transparent .jarallax-container::after {
        background-color: color-mix(in srgb, var(--ar-accent) 80%, transparent) !important;
    }

    html:not([data-accessibility-contrast]) .bg-accent-transparent-90 h1,
    html:not([data-accessibility-contrast]) .bg-accent-transparent-90 .h2,
    html:not([data-accessibility-contrast]) .bg-accent-transparent-90 .h3,
    html:not([data-accessibility-contrast]) .bg-accent-transparent-90 .h4,
    html:not([data-accessibility-contrast]) .bg-accent-transparent-90 .h5 {
        color: #111111 !important;
    }

    html:not([data-accessibility-contrast]) .hero-image-color-filter {
        background-color: color-mix(in srgb, rgb(var(--ar-accent-rgb)) 40%, black 60%) !important;
        opacity: var(--ar-hero-image-color-filter-opacity, 0.8);
    }

    html:not([data-accessibility-contrast]) .footer .background-svg {
        display: none !important;
    }

    html:not([data-accessibility-contrast]) footer .nav-link {
        color: #ffffff !important;
    }
}

@media (forced-colors: active) {
    .button-nav-fontsize-toggle,
    .button-nav-contrast-toggle {
        forced-color-adjust: auto;
    }

    .button-nav-fontsize-toggle.is-active,
    .button-nav-contrast-toggle.is-active {
        outline: 2px solid ButtonText;
        outline-offset: 2px;
    }
}

#map-obk .cls-1 {
    fill: var(--ar-accent-50);
}

#map-obk .cls-2 {
    stroke-width: .8px;
}

#map-obk .cls-2,
#map-obk .cls-3 {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
}

#map-obk .cls-4 {
    fill: #fff;
}

#map-obk .area {
    transition: fill .2s ease-out;
}

#map-obk .area:not(.active) {
    pointer-events: none;
}

#map-obk .area .cls-1 {
    fill: var(--ar-accent-50);
    cursor: default;
}

#map-obk .area.active .cls-1 {
    fill: var(--ar-accent);
    transition: filter 0.3s ease;
    cursor: pointer;
}

#map-obk .area.active:hover .cls-1 {
    filter: brightness(90%);
}
html[data-accessibility-contrast="high"] #map-obk .area:not(.active) .cls-4 {
    fill: var(--ar-body-color);
}

.text-hyphenated {
    hyphens: auto;
}

.inlinelink-decoration-none a {
    text-decoration: none;
    color: inherit;
}

.text-rotated-90 {
    transform: scaleX(0.8) rotate(-90deg);
    transform-origin: right top;
}

.text-rotated-90-left {
    transform: scaleX(0.8) rotate(90deg);
    transform-origin: left top;
}

.text-small {
    font-size: clamp(0.6rem, 0.4rem + 1vw, 0.9rem);
}
.nested-margin-0 > p {
    margin: 0;
}

.position-inside-hero {
    top: 100px;
    right: 20px;
}

.position-outside-hero {
    right: 0px;
    top: 50px;
    padding: 10px;
}

.position-outside-hero-left {
    left: 0px;
    top: 50px;
    padding: 10px;
}

@media (min-width: 1200px) {
    .h3-to-h4 h3, .h3-to-h4 .h3 {
        font-size: 1.5rem;
    }
}

.h3-to-h4 h3, .h3-to-h4 .h3 {
    font-size: calc(1.275rem + 0.3vw);
}

.h-5rem {
    height: 5rem;
}

@media (min-width: 993px) { 
    .pb-lg-5rem {
        padding-bottom: 5rem !important;
    } 
}

.h-8rem {
    height: 8rem;
}
.h-min-150px {
    min-height: 150px;
}

.w-1em {
    width: 1em;
}
.w-32px {
    width: 32px;
}
.w-260px {
  width: 260px;  
}
.w-min-20 {
  min-width: 20%;  
}
.w-min-30 {
  min-width: 30%;
}
.w-max-300px {
  max-width: 300px;
}

.fs-56px {
    font-size: 3.5rem;
}

@media (min-width: 1400px) { 
    .h-xxl-8rem {
        height: 8rem;
    } 
}

@media (max-width: 993px) {
    .position-outside-hero {
        top: 0px;
    }
    .position-outside-hero-left {
        top: 0px;
    }
}

/* md ≥ 768px */
@media (min-width: 768px) {
  .w-md-75 {
    max-width: 75%;
  }
}

/* xl ≥ 1200px */
@media (min-width: 1200px) {
  .w-xl-66 {
    max-width: 66.666667%;
  }
}

/* lg ≥ 992px */
@media (min-width: 992px) {
  .w-lg-83 {
    max-width: 83.333333%;
  }
}

/* xxl ≥ 1400px */
@media (min-width: 1400px) {
  .w-xxl-75 {
    max-width: 75%;
  }
}
/*
@media (max-width: 650px) { 
    .position-outside-hero {
        right: -175px;
        top: 20px;
        width: 280px;
    } 
}
@media (max-width: 550px) { 
    .position-outside-hero {
        right: -160px;
        top: 0px;
        width: 280px;
    } 
}
*/
@media (max-width: 450px) {
    .position-outside-hero {
        top: unset;
        transform: rotate(0deg);
        transform-origin: right top;
    }
    .position-outside-hero-left {
        top: unset;
        transform: rotate(0deg);
        transform-origin: left top;
    }
}


/* show grey, if overflow:hidden */
body.overflow-hidden::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(var(--ar-accent-rgb), 0.5); 
  z-index: 1000;
  pointer-events: none;
}

.bg-light-cards .card, .bg-light-cards .accordion-item, .bg-light-cards .section-item  {
    background-color: rgb(var(--ar-light-rgb));
}
.bg-accent, .bg-accent-cards .card, .bg-accent-cards .accordion-item, .bg-accent-cards .section-item,
.bg-accent.accordion-button:not(.collapsed) {
    background-color: var(--ar-accent);
}
button.bg-accent {
    background-color: var(--ar-accent) !important;
}
.bg-accent-10, .bg-accent-10-cards .card, .bg-accent-10-cards .accordion-item, .bg-accent-10-cards .section-item,
.bg-accent-10.accordion-button:not(.collapsed) {
    background-color: var(--ar-accent-10);
}
.bg-accent-30, .bg-accent-30-cards .card, .bg-accent-30-cards .accordion-item, .bg-accent-30-cards .section-item,
.bg-accent-30.accordion-button:not(.collapsed) {
    background-color: var(--ar-accent-30);
}
.bg-accent-grey, .bg-accent-grey-cards .card, .bg-accent-grey-cards .accordion-item, .bg-accent-grey-cards .section-item,
.bg-accent-grey.accordion-button:not(.collapsed) {
    background-color: var(--ar-accent-grey);
}
.bg-accent-transparent {
    background-color: rgba(var(--ar-accent-rgb), var(--ar-accent-opacity, 0.6));
}
.bg-accent-transparent-90 {
    background-color: rgba(var(--ar-accent-rgb), 0.9);
}
.bg-white-transparent {
    background-color: rgba(255, 255, 255, var(--ar-accent-opacity, 0.65));
}
.bg-black-transparent {
    background-color: rgba(0, 0, 0, var(--ar-accent-opacity, 0.3));
}
.bg-transparent {
    background-color: rgba(255,255,255, 0);
}

.hero-image-color-filter {
    background-color: color-mix(
        in srgb,
        rgb(var(--ar-accent-rgb)) 70%,
        black 30%
    );
    opacity: var(--ar-hero-image-color-filter-opacity, 0.4);
}

.bg-accent-transparent .jarallax-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(var(--ar-accent-rgb), var(--ar-accent-opacity, 0.4));
    pointer-events: none;
}


.border-accent {
    border-color: var(--ar-accent);
}
.border-bottom-accordions .accordion-seperator {
    display: block !important;
}

.accordion-item:has(.border-accordion-item) {
  border: var(--ar-border-width) var(--ar-border-style) var(--ar-border-color) !important;
  border-radius: var(--ar-border-radius-xxl) !important;
  overflow: hidden;
}

.bg-light-cards .section-item, .bg-accent-cards .section-item,
.bg-accent-30-cards .section-item, .bg-accent-10-cards .section-item,
.bg-accent-grey-cards .section-item {
        padding: 1rem !important;
        border-radius: var(--ar-border-radius-xxl) !important;
}
@media (min-width: 1200px) {
    .bg-light-cards .section-item, .bg-accent-cards .section-item,
    .bg-accent-30-cards .section-item, .bg-accent-10-cards .section-item,
    .bg-accent-grey-cards .section-item {
        padding: 3rem !important;
    }
}
.bg-light-cards .accordion-item .section-item, .bg-accent-cards .accordion-item .section-item,
.bg-accent-30-cards .accordion-item .section-item, .bg-accent-10-cards .accordion-item .section-item,
.bg-accent-grey-cards .accordion-item .section-item {
        padding: 0 !important;
}

/* */

.row > div.col-card:nth-of-type(1) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.50); }
.row > div.col-card:nth-of-type(2) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.45); }
.row > div.col-card:nth-of-type(3) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.40); }
.row > div.col-card:nth-of-type(4) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.35); }
.row > div.col-card:nth-of-type(5) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.30); }
.row > div.col-card:nth-of-type(6) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.25); }
.row > div.col-card:nth-of-type(7) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.20); }
.row > div.col-card:nth-of-type(8) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.15); }
.row > div.col-card:nth-of-type(9) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.10); }
.row > div.col-card:nth-of-type(10) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.07); }
.row > div.col-card:nth-of-type(11) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.04); }
.row > div.col-card:nth-of-type(n+12) .bg-accent-lighter { background-color: rgba(var(--ar-accent-rgb), 0.01); }




.text-accent,
.text-accent.card-body,
.text-accent h6, .text-accent .h6, .text-accent h5, .text-accent .h5, .text-accent h4, .text-accent .h4, 
.text-accent h3, .text-accent .h3, .text-accent h2, .text-accent .h2, .text-accent h1, .text-accent .h1,
.text-accent-cards .card h6, .text-accent-cards .card .h6, .text-accent-cards .card h5, .text-accent-cards .card .h5, .text-accent-cards .card h4, .text-accent-cards .card .h4, 
.text-accent-cards .card h3, .text-accent-cards .card .h3, .text-accent-cards .card h2, .text-accent-cards .card .h2, .text-accent-cards .card h1, .text-accent-cards .card .h1,
.text-accent .card-text, .text-accent a, .text-accent i, .text-accent ol, .text-accent blockquote, .text-accent .blockquote, .text-accent a:hover, 
.text-accent-cards .card .card-text, .text-accent-cards .card a, .text-accent-cards .card a:hover
{
    color: var(--ar-accent-text, var(--ar-body-color, #576071)) !important;
}
.text-accent .text-muted,
.text-accent .blockquote::before {
    color: var(--ar-accent-30) !important;
}

.text-light,
.text-light.card-body,
.text-light h6, .text-light .h6, .text-light h5, .text-light .h5, .text-light h4, .text-light .h4, 
.text-light h3, .text-light .h3, .text-light h2, .text-light .h2, .text-light h1, .text-light .h1,
.text-light .card-text, .text-light a, .text-light i, .text-light a:hover, .text-light ol,
.text-light-cards .card h6, .text-light-cards .card .h6, .text-light-cards .card h5, .text-light-cards .card .h5, .text-light-cards .card h4, .text-light-cards .card .h4, 
.text-light-cards .card h3, .text-light-cards .card .h3, .text-light-cards .card h2, .text-light-cards .card .h2, .text-light-cards .card h1, .text-light-cards .card .h1,
.text-light-cards .card .card-text, .text-light-cards .card a, .text-light-cards .card ol, .text-light-cards .card i, .text-light-cards .card a:hover  {
    color: rgb(var(--ar-light-rgb, rgb(255, 255, 255))) !important;
}

.text-dark,
.text-dark.card-body,
.text-dark h6, .text-dark .h6, .text-dark h5, .text-dark .h5, .text-dark h4, .text-dark .h4, 
.text-dark h3, .text-dark .h3, .text-dark h2, .text-dark .h2, .text-dark h1, .text-dark .h1,
.text-dark .card-text, .text-dark a, .text-dark i, .text-dark a:hover, .text-dark ol,
.text-dark-cards .card h6, .text-dark-cards .card .h6, .text-dark-cards .card h5, .text-dark-cards .card .h5, .text-dark-cards .card h4, .text-dark-cards .card .h4, 
.text-dark-cards .card h3, .text-dark-cards .card .h3, .text-dark-cards .card h2, .text-dark-cards .card .h2, .text-dark-cards .card h1, .text-dark-cards .card .h1,
.text-dark-cards .card .card-text, .text-dark-cards .card a, .text-dark-cards .card ol, .text-dark-cards .card i, .text-dark-cards .card a:hover  {
    color: var(--ar-body-color, #576071) !important;
}
.text-dark i.btn,
.text-dark a.btn-primary,
.text-dark a.btn-primary i  {
    color: var(--ar-btn-color) !important;
}

.text-primary,
.text-primary.card-body,
.text-primary h6, .text-primary .h6, .text-primary h5, .text-primary .h5, .text-primary h4, .text-primary .h4, 
.text-primary h3, .text-primary .h3, .text-primary h2, .text-primary .h2, .text-primary h1, .text-primary .h1,
.text-primary .card-text, .text-primary a, .text-primary i, .text-primary a:hover, .text-primary ol,
.text-primary-cards .card h6, .text-primary-cards .card .h6, .text-primary-cards .card h5, .text-primary-cards .card .h5, .text-primary-cards .card h4, .text-primary-cards .card .h4, 
.text-primary-cards .card h3, .text-primary-cards .card .h3, .text-primary-cards .card h2, .text-primary-cards .card .h2, .text-primary-cards .card h1, .text-primary-cards .card .h1,
.text-primary-cards .card .card-text, .text-primary-cards .card a, .text-primary-cards .card i, .text-primary-cards .card a:hover  {
    color: var(--ar-primary, #333) !important;
}

.text-black .card-body i,
.text-black.h1, .text-black.h2, .text-black.h3, .text-black.h4, .text-black.h5, .text-black.h6 {
    color: rgb(var(--ar-black-rgb)) !important;
}

.text-dark .text-light, .text-dark .text-accent,
.text-light .text-dark, .text-light .text-accent,
.text-accent .text-dark, .text-accent .text-light {
  /*color: inherit !important;*/
}

.icon-accent .icon {
    color: var(--ar-primary, #333) !important;
}

section.bg-accent + section.service-container.bg-accent-grey,
section.bg-accent-30 + section.service-container.bg-accent-grey,
section.bg-accent-10 + section.service-container.bg-accent-grey {
  margin-top: 0 !important;
}

/* buttons */
.bg-accent .btn-primary {
    --ar-btn-border-color: #d7dde2;
    --ar-btn-hover-border-color: #d7dde2;
    --ar-btn-active-border-color: #d7dde2;
    --ar-btn-disabled-color: #576071;
    --ar-btn-disabled-border-color: #e3e9ef;
}
.bg-accent .btn-primary:hover {
    color: var(--ar-primary);
    background-color: var(--ar-accent-hover);
}

.bg-accent .btn-outline-primary,
.text-dark  .btn-outline-primary {
    color: var(--ar-primary) !important;
}
.bg-accent .btn-outline-primary:hover,
.text-dark  .btn-outline-primary:hover {
    color: #fff !important;
    background-color: var(--ar-accent-hover);
    border-color: #fff;
}

/* odd/even table rows */
.bg-accent-10-odd-table .table-row:nth-of-type(even) {
  background-color: var(--ar-accent-10);
}
.bg-accent-10-odd-table .imperia-around-two-col-table tbody tr:nth-of-type(even) > * {
  background-color: var(--ar-accent-10);
}
.bg-accent-30-odd-table .table-row:nth-of-type(even) {
  background-color: var(--ar-accent-30);
}
.bg-accent-30-odd-table .imperia-around-two-col-table tbody tr:nth-of-type(even) > * {
  background-color: var(--ar-accent-30);
}
.bg-accent-odd-table .table-row:nth-of-type(even) {
  background-color: var(--ar-accent);
  color: rgb(var(--ar-light-rgb));
}
.bg-accent-odd-table .imperia-around-two-col-table tbody tr:nth-of-type(even) > * {
  background-color: var(--ar-accent);
  color: rgb(var(--ar-light-rgb));
}
.bg-accent-grey-odd-table .table-row:nth-of-type(even) {
  background-color: var(--ar-accent-grey);
}
.bg-accent-grey-odd-table .imperia-around-two-col-table tbody tr:nth-of-type(even) > * {
  background-color: var(--ar-accent-grey);
}

.imperia-around-two-col-table {
  width: 100%;
  border-collapse: collapse;
}

.imperia-around-two-col-table th,
.imperia-around-two-col-table td {
  padding: 1rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--ar-border-color);
}

.imperia-around-two-col-table .text-end {
  text-align: right;
}

.border-frame > .border-bottom.no-last-border-bottom:last-of-type  {
    border-bottom: 0 !important;
}

/* extend bg-color to the footer, if this is the last flexmodule  */
main > .bg-accent-10:last-child::after {
  content: "";
  position: absolute;
  bottom: -10rem; /* oder wie tief du unter den Footer willst */
  left: 0;
  width: 100%;
  height: 10rem;
  background-color: var(--ar-accent-10);
  z-index: -1;
}

main > .bg-accent-30:last-child::after {
  content: "";
  position: absolute;
  bottom: -10rem; /* oder wie tief du unter den Footer willst */
  left: 0;
  width: 100%;
  height: 10rem;
  background-color: var(--ar-accent-30);
  z-index: -1;
}


main > .bg-accent-grey:last-child::after {
  content: "";
  position: absolute;
  bottom: -10rem; /* oder wie tief du unter den Footer willst */
  left: 0;
  width: 100%;
  height: 10rem;
  background-color: var(--ar-accent-grey);
  z-index: -1;
}




/** LOGO */
#logo {
    display: inline-block;
    width: 150px;
    height: 55px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: var(--default-logo);
}

/** NAVBAR **/
body.oce header.navbar {
    margin-top: 35px;
}
header.dark-mode #logo {
    background-image: var(--white-logo);
}

header.navbar-stuck #logo,
header.navbar:has(#navbarNav.show) #logo {
    background-image: var(--inverted-logo);
}


/** NAVBAR header with semitransparent bg */
main[header-mode~="navbar-bg-layer"] header.navbar,
header.navbar.navbar-bg-layer {
    background-color: rgba(255, 255, 255, 0.3);
}
main[header-mode~="navbar-bg-layer"] header.navbar.navbar-stuck,
header.navbar.navbar-bg-layer.navbar-stuck {
      background-color: var(--ar-navbar-stuck-bg);
}
header.navbar .navbar-collapse {
    border: none;
}

header.navbar #navbarNav > ul {
    justify-content: center;
    width: 100%;
}

header.navbar .dropdown-toggle {
    white-space: unset;
}

/* the theme hides Bootstrap's JS-driven .show state above the navbar breakpoint on purpose,
   so only :hover reveals a submenu there - but that also means a keyboard user can never see
   (or focus into) a submenu opened via the arrow keys, since a display:none menu can't hold
   focus. Restore .show visibility so keyboard-triggered opens are actually reachable; mouse
   clicks never call Bootstrap's show() in the first place (see nav-dropdown.js), so hover
   remains the only thing driving the menu for mouse users. */
.navbar-expand-sm .dropdown-menu.show,
.navbar-expand-md .dropdown-menu.show,
.navbar-expand-lg .dropdown-menu.show,
.navbar-expand-xl .dropdown-menu.show,
.navbar-expand-xxl .dropdown-menu.show,
.navbar-expand .dropdown-menu.show {
    display: block !important;
}

/* Y-Scrollbar für ein Top-Level-Dropdown NUR, wenn es tatsächlich höher ist als der
   sichtbare Platz unter dem fixed Header - kurze Dropdowns bleiben dadurch unverändert
   (inkl. seitlich ausklappender 2nd-level Untermenüs, siehe ar-theme.css
   ".dropdown .dropdown .dropdown-menu"). Ob ein Dropdown überläuft, kann CSS allein nicht
   entscheiden (max-height+overflow würde IMMER klippen, auch wenn der Inhalt passt) - die
   Klasse "dropdown-menu--scrollable" wird deshalb per JS gesetzt, siehe
   assets/js/features/nav-dropdown.js.
   overflow-x steht explizit auf hidden (nicht "auto"), damit nur eine Y-Scrollbar entsteht -
   sonst berechnet der Browser die unangetastete Achse automatisch auf "auto" um, sobald die
   andere nicht mehr "visible" ist (CSS-Spec-Verhalten), und es erscheint eine zweite,
   waagerechte Scrollbar. */
.navbar .navbar-nav > .nav-item.dropdown > .dropdown-menu.dropdown-menu--scrollable {
  max-height: var(--ar-dropdown-available-height, calc(100vh - var(--ar-header-height, 100px) - 1rem));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain; /* verhindert, dass beim Scrollen im Menü die Seite mitscrollt */
}

/* Nur wenn obige Klasse aktiv ist (echter Overflow-Fall): ein 2nd-level Untermenü fliegt
   normalerweise per CSS seitlich heraus (left: 100%, siehe ar-theme.css
   ".dropdown .dropdown .dropdown-menu"), würde dabei aber vom Y-Scrollbereich des Parents
   abgeschnitten - overflow klippt Nachfahren unabhängig von deren eigenem position-Wert.
   position:fixed entkommt diesem Clipping (containing block ist der Viewport, nicht der
   scrollende Vorfahre); top/left werden dafür per JS aus der Bounding-Box des Parent-Items
   berechnet, siehe updateNestedMenuPosition() in nav-dropdown.js. Betrifft ausdrücklich NICHT
   Dropdowns ohne .dropdown-menu--scrollable - deren 2nd-level Menüs fliegen wie gewohnt per
   CSS seitlich heraus.
   Selektor mit 4 Klassen (statt nur ".dropdown-menu.dropdown-menu--flyout-fixed"), weil
   ar-theme.css unter den navbar-expand-*-Breakpoints ".navbar-expand-<bp> .navbar-nav
   .dropdown-menu { position: absolute; }" mit 3 Klassen definiert - bei gleicher Spezifität
   würde das je nach Bootstrap-Breakpoint gewinnen oder verlieren. */
.navbar .navbar-nav .dropdown-menu.dropdown-menu--flyout-fixed {
  position: fixed;
}

/*
header.navbar > .container {
    flex-wrap: wrap;
}
header.navbar .navbar-logo,
header.navbar .navbar-buttons,
header.navbar #navbarNav {
    flex: 1 1 50%;
}

@media (min-width: 1200px) {
    header.navbar .navbar-logo,
    header.navbar .navbar-buttons,
    header.navbar #navbarNav {
        flex: 1 1 33.33%;
    }
}

@media (max-width: 1400px) {
    header.navbar  .navbar-logo {
              order: 1;
              text-align: left;
    }

    header.navbar  .navbar-buttons {
              order: 2;
              text-align: right;
    }
          
    
    header.navbar  #navbarNav {
              order: 3;
              text-align: center;
    }
}
    */

/** NAVBAR buttons */

.navbar-buttons small {
    font-size: 0.6rem;
    font-weight: 100;
}
.navbar-buttons svg {
    width: 32px;
    height: 28px;
    fill: var(--ar-link-color-rgb);
}

/* NAVBAR menu */
#navbarMenu {
    max-height: calc(100vh - 8rem);
    overflow-y: auto; 
}

#navbarMenu .navbar-nav .dropdown-menu[data-bs-popper] {
    padding-left: 2rem;
    margin-left: 2rem; 
}

@media (max-width: 550px) {
    #navbarMenu .navbar-nav .dropdown-menu[data-bs-popper] {
        padding-left: 1rem;
        margin-left: 1rem;
    }
}

#navbarMenu .dropdown-toggle::after {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
    margin-left: -5px;
}
#navbarMenu .dropdown-toggle.show::after {
    transform: rotate(0deg);
}
#navbarMenu .dropdown-toggle.level-2 {
    margin-bottom: 5px;
}
#navbarMenu .dropdown-toggle.level-2::after {
    margin-left: -1px;
}

/* Chevron-Toggle für Untermenüs im "menu"-Modus (siehe PARAMETERS=menu in
   imperia_around_header__top_navigation.htms): ein eigenständiger Button statt Teil des
   Links, damit Auf-/Zuklappen nicht mit der Navigation zum Linkziel kollidiert (siehe
   isLinkToggle() in nav-dropdown.js). Bewusst neutral/gedämpft statt in der Link-Akzentfarbe
   des Labels eingefärbt, damit er als eigene Bedienfläche erkennbar ist statt wie ein Teil
   des Textes zu wirken - Hover/Focus und offener Zustand heben ihn zusätzlich hervor. */
#navbarMenu .nav-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--ar-gray-700, #495057);
    background-color: var(--ar-white, #fff);
    /* Not the ".border" utility on purpose: it sets the whole shorthand with !important
       (see ar-theme.css), which would permanently win over the border-color changes below. */
    border: var(--ar-border-width, 1px) var(--ar-border-style, solid) var(--ar-border-color);
}
#navbarMenu .nav-submenu-toggle:hover,
#navbarMenu .nav-submenu-toggle:focus-visible {
    color: var(--ar-accent);
    background-color: var(--ar-accent-10);
    border-color: var(--ar-accent);
}
#navbarMenu .nav-submenu-toggle.show {
    color: var(--ar-accent-text, #fff);
    background-color: var(--ar-accent);
    border-color: var(--ar-accent);
}

/* language_switcher.pl: narrower dropdown so it stays flush with the
   globe icon's right edge instead of overflowing the viewport on lg screens */
.language-toggle-menu {
    --ar-dropdown-min-width: 12rem;
}

#navbarMenu .nav-level-1 {
    font-weight: 600;
}

.bg-image-btn {
    flex: 1 1 300px;
    min-width: 250px; /* optional: Mindestbreite */
    max-width: 350px; /* optional: Maximalbreite */
    height: 110px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 1rem 2rem;
    background-size: cover;
    background-position: center;
    text-align: center;
    border: none;
}
/* Button-Text im Vordergrund */
.bg-image-btn span {
    position: relative;
    z-index: 3;
}
.bg-image-brightness-110 {
    filter: brightness(110%);
}
/* Overlay */
.bg-image-accentfilter-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(var(--ar-accent-rgb), 0.7); 
    z-index: 2;
    pointer-events: none;
    transition: background-color 0.3s ease;
    }
.bg-image-btn:hover .bg-image-accentfilter-overlay {
    background-color: rgba(var(--ar-accent-rgb), 0.85); 
}

/** HERO background gradient */
.-mode .bg-custom-gradient,
.light-mode .bg-custom-gradient {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7) 10%, rgba(0, 0, 0, 0) 50%);
}
.dark-mode .bg-custom-gradient {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 10%, rgba(0, 0, 0, 0) 50%);
}
.bg-custom-gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.58) 20%, rgba(0, 0, 0, 0.32) 50%, rgba(0, 0, 0, 0.08) 75%, rgba(0, 0, 0, 0) 100%);
}
.bg-custom-gradient.bg-custom-gradient-darker,
.bg-custom-gradient-darker {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0) 100%);
}
.bg-custom-gradient.bg-custom-gradient-lighter,
.bg-custom-gradient-lighter {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 20%, rgba(0, 0, 0, 0.22) 50%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0) 100%);
}


/** MAIN - SPACING between FLEX */
/** spacing between breadcrumb and first container */
body:not(.type-press-release) #main-content + .container.pt-3.pt-sm-4.pt-lg-5,
body:not(.type-press-release) #main-content + section.pt-3.pt-sm-4.pt-lg-5 {
  padding-top: 1rem !important;
  margin-top: 1rem !important;
}

body:not(.type-press-release) #main-content ~ .container.pt-3.pt-sm-4.pt-lg-5:nth-child(1 of .container),
body:not(.type-press-release) #main-content + a.i-preview-anchor + .container.pt-3.pt-sm-4.pt-lg-5,
body:not(.type-press-release) #main-content + a.i-preview-anchor + a.i-preview-anchor + .container.pt-3.pt-sm-4.pt-lg-5,
body:not(.type-press-release) #main-content + a.i-preview-anchor + section.pt-3.pt-sm-4.pt-lg-5,
body:not(.type-press-release) #main-content + a.i-preview-anchor + a.i-preview-anchor + section.pt-3.pt-sm-4.pt-lg-5 {
  padding-top: 1rem !important;
  margin-top: 1rem !important;
}

.mediacenter.pt-3.pt-sm-4.pt-lg-5 {
    padding-top: 1.5rem !important;
}

body.type-homepage #main-content > .container.pt-3.pt-sm-4.pt-lg-5:nth-child(1 of .container):nth-child(1 of :is(.container, section)) {
  padding-top: 1rem !important;
  margin-top: 1rem !important;
}

/** PRESS RELEASE */
/* ≥ lg (992px): Zielbreite 800px → extra padding-right ~148px */
@media (min-width: 992px) {
  body.type-press-release .container.container-max-width-press-release,
  .container-text-width {
    padding-right: 148px;
  }
}

/* ≥ xl (1200px): Zielbreite 950px → extra padding-right ~178px */
@media (min-width: 1200px) {
  body.type-press-release .container.container-max-width-press-release,
  .container-text-width {
    padding-right: 178px;
  }
}

/* ≥ xxl (1400px): Zielbreite 990px → extra padding-right ~318px */
@media (min-width: 1400px) {
  body.type-press-release .container.container-max-width-press-release,
  .container-text-width {
    padding-right: 318px;
  }
}



/** EVENTS, OFFERS */
.event-profile.bg-, 
.event-profile.bg-on, 
.event-profile.bg-light {
    background-color: var(--ar-footer-bg);
}

.event-profile.bg- svg,
.event-profile.bg-on svg,
.event-profile.bg-light svg {
    fill: var(--ar-heading-color);
}
.event-profile svg#star {
    fill: var(--ar-accent);
}
.offer-profile.bg-, 
.offer-profile.bg-on, 
.offer-profile.bg-light {
    background-color: var(--ar-accent-10);
}
.offer-profile.bg- svg,
.offer-profile.bg-on svg,
.offer-profile.bg-light svg {
    fill: var(--ar-heading-color);
}
.offer-profile svg#star {
    fill: var(--ar-accent);
}

.event-calendar .stretched-text {
    display: inline-block;
    transform: scaleY(2); /* 2 = doppelte Höhe */
    transform-origin: top; /* optional: Skalierung von oben */
}
.ribbon-bg {
    background-color: rgba(255, 0, 0, 0.9);
}
.ribbon-text {
    color: white;
}
.event-calendar .ribbon-text,
.event-profile .ribbon-text,
.offer-profile .ribbon-text {
    background-color: rgba(255, 0, 0, 0.9);
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 5px 0;
    height: 40px;
}
.event-calendar .ribbon,
.event-profile .ribbon,
.offer-profile .ribbon {
    position: absolute;
    bottom: -20px;
    right: 30px;
    width: 300px;
    background-color: rgba(255, 0, 0, 0.9);
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 5px 0 5px 30px;
    height: 40px;
    transform: rotate(90deg);
    transform-origin: right;
}
.event-calendar .ribbon-corner,
.event-profile .ribbon-corner,
.offer-profile .ribbon-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    text-align: center;
    font-weight: bold;
    transform: rotate(45deg);
    transform-origin: 0 0;
    padding: 5px 0;
    margin-top: -110px;
    margin-right: -190px;
    padding-top: 90px;
    height: 130px;
}
.event-calendar .ribbon:empty, 
.event-calendar .ribbon-text:empty, 
.event-calendar .ribbon-corner:empty,
.event-profile .ribbon:empty, 
.event-profile .ribbon-text:empty, 
.event-profile .ribbon-corner:empty,
.offer-profile .ribbon:empty, 
.offer-profile .ribbon-text:empty, 
.offer-profile .ribbon-corner:empty {
    display: none !important;
}

.event-calendar .swiper-slide > .card {
    max-width: 416px;
} 

.event-calendar .card.transition {
  transition: max-height 0.5s ease, opacity 0.5s ease;
  overflow: hidden;
  max-height: 1000px;
  opacity: 1;
}

.event-calendar .card.hidden {
  opacity: 0;
  max-height: 0;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.teaser-card-bg-image.teaser-card-image--contain {
    box-sizing: border-box;
    background-color: var(--ar-body-bg, #fff);
    background-origin: content-box;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain !important;
    padding: 0.5rem;
}

.teaser-card-frame--wide {
    aspect-ratio: 2 / 1;
}

.teaser-card-frame--wide > .zoom-effect-img {
    height: 100%;
}

.zoom-effect-img.teaser-card-image--contain {
    box-sizing: border-box;
    display: block;
    width: 100%;
    background-color: var(--ar-body-bg, #fff);
    object-fit: contain !important;
    object-position: center;
    padding: 0.5rem;
}

.zoom-effect-img.teaser-card-image--square {
    aspect-ratio: 1 / 1;
}

.zoom-effect-img.teaser-card-image--wide {
    aspect-ratio: 2 / 1;
}


.event-calendar .delimiter::before,
.event-profile .delimiter::before,
.offer-profile .delimiter::before {
    content: "\2726"; /* Unicode für &#10022; */
}

.event-calendar .event-calendar-filter-control .dropdown-menu {
    --ar-dropdown-min-width: unset;
    box-shadow: 0 0.4375rem 1.25rem rgba(208, 208, 196, 0.8);
}

@media (min-width: 768px) {
    #event-calendar-type {
        max-width: 60%;   
    }
}
@media (min-width: 1200px) {
    #event-calendar-type {
        max-width: 80%;   
    }
}

#event-calendar-type .btn::after {
    content: "✧"; 
    margin-left: 10px;
}

#event-calendar-type .btn.active::after {
    content: "✦"; 
}

#event-calendar-tags .active {
    background-color: var(--ar-btn-hover-bg);
}
#event-calendar-tags .active::after {
    content: "✖"; 
    margin-left: 10px;
    color: #444;
}

#event-calendar-days .event-calendar-days-inner {
    width: 100%;
    min-width: 0;
}

#event-calendar-days .swiper {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

#event-calendar-days .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

#event-calendar-days .swiper-slide {
    width: calc(100% / 7);
    min-width: calc(100% / 7);
    height: auto;
}

#event-calendar-days .btn {
    white-space: nowrap;
}

#event-calendar-days .event-calendar-day--weekend {
    background-color: var(--ar-accent-grey);
}

#event-calendar-days .event-calendar-day--has-events {
    background-color: var(--ar-accent-30);
}
#event-calendar-days .event-calendar-day--selected {
    background-color: var(--ar-accent); 
}
#event-calendar-days .event-calendar-day--selected > span {
    color: var(--ar-accent-text, var(--ar-body-color, #576071)) !important;
}

@media (max-width: 767.98px) {
    #event-calendar-days {
        width: 100%;
        margin-top: -60px;
        height: 100px;
    }

    .event-calendar-filter-control {
        flex: 0 1 auto;
    }
}

@media (min-width: 768px) {
    #event-calendar-days {
        max-width: 60%;
        margin-left: auto;
        margin-top: -90px;
        height: 140px;
        padding: 20px 20px;
        background-color: #eee !important;
    }
}


@media (max-width: 550px) {
    .event-calendar .swiper-slide > .card {
        max-width: calc(90vw);
    }
}


.status-banner-scroll > span {
  animation: scroll 20s linear infinite; 
  display: inline-block;
  padding: 0 3rem; 
}
.status-banner-scroll > span:before,
.status-banner-scroll > span:after {
    content: " +++ ";
    opacity: 0.5;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/** 2 IMAGES */
.imgpair {
--pair-h: 750px;
}
.imgpair .imgpair__item{ margin:0; }
.imgpair .imgpair__media{ display:flex; align-items:flex-end; }
.imgpair .imgpair__media > img{
    display:block;
    width:100%;
    height:auto;
    max-height: var(--pair-h);
}

/* Ab md (nebeneinander): echtes Downscaling aktivieren */
@media (min-width: 768px){
    .imgpair .imgpair__item {
        margin:0;
        min-width:0;
        flex: 1 1 auto;          /* beide dürfen schrumpfen */
        display:flex;
        flex-direction:column;
    }

    /* Bild-Wrapper */
    .imgpair .imgpair__media{
        display:flex;
        align-items:flex-end;
        max-height:var(--pair-h);
        width:100%;
    }

    /* Bild selbst */
    .imgpair .imgpair__media > img {
        display:block;
        max-height:var(--pair-h);
        max-width:100%;
        width:auto;
        height:auto;
    }
}

/** MAP */
.map-module .interactive-map {
    height: 350px;
}
.map-module-small .interactive-map {
    height: 250px;
}
.geo-map-preview {
    position: absolute;
    inset: 0;
    z-index: 1000;
    background: var(--ar-gray-300, #e9ecef) no-repeat center center;
    background-size: cover;
    padding: 1.5rem;
    gap: 1rem;
}
.geo-map-start-notice {
    max-width: 420px;
    font-size: 13px;
}
.geo-map-start-notice a {
    text-decoration: underline;
}

/** KLARO */
#ar-klaro .cookie-modal .cm-modal.cm-klaro p {
    font-size: clamp(0.75rem, 0.65rem + 0.6vw, 0.875rem);
}
@media (min-width: 993px) {
    .map-module-100w .card-body {
        position: absolute;
        width: 400px;
        background-color: #fff;
        border-radius: var(--ar-border-radius-lg);
        left: 100px;
        bottom: 50px;
        z-index: 2000;
    }
}
.fs-10px {
    font-size: 10px;
}

/** HERO */
.stage-wrapper-60 {
    min-height: 60vh;
}
.stage-wrapper-50 {
    min-height: 50vh;
}
.stage-wrapper-30 {
    min-height: 30vh;
}
body[data-show-warning="true"][data-stage-bg~="bg-danger"] .stage-wrapper .background-svg svg path,
body.stage-bg-danger .stage-wrapper .background-svg svg path {
    fill: rgba(var(--ar-danger-rgb), var(--ar-bg-opacity));
}
body[data-show-warning="true"][data-stage-bg~="bg-warning"] .stage-wrapper .background-svg svg path,
body.stage-bg-warning .stage-wrapper .background-svg svg path {
    fill: rgba(var(--ar-warning-rgb), var(--ar-bg-opacity));
}
body[data-show-warning="true"][data-stage-bg~="bg-accent"] .stage-wrapper .background-svg svg path,
body.stage-bg-accent .stage-wrapper .background-svg svg path {
    fill: rgba(var(--ar-accent-rgb), var(--ar-bg-opacity));
}

@media screen and (max-width: 575px) {
    body.type-homepage #hero .container {
        margin-left: 0.5rem;      
    }
}

#hero #hero-ticker {
    top: clamp(4.5rem, 7vw, 6rem);
}
@media screen and (max-width: 768px) and (orientation: portrait) {
    .stage-wrapper-60 {
        min-height: 45vh;
    }
    .stage-wrapper-50 {
        min-height: 35vh; /* oder ein anderer Wert, z. B. 25vh */
    }
    .stage-wrapper-30 {
        min-height: 25vh;
    }
}

.bg-stage {
    background-color: rgb(var(--ar-stage-bg-rgb));
}
.bg-stage #hero-gradient {
    background: radial-gradient(circle at 90% 60%, rgba(var(--ar-stage-bg-rgb), 0) 40%, rgba(var(--ar-stage-bg-rgb), 1) 60%);
}
.bg-stage #hero-image {
    left: 15%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (min-width: 550px) { 
    .bg-stage #hero-gradient {
        background: radial-gradient(circle at right, rgba(var(--ar-stage-bg-rgb), 0) 40%, rgba(var(--ar-stage-bg-rgb), 1) 55%);
    }
    .bg-stage #hero-image {
        left: 30%;
    }
}
@media (min-width: 1500px) { 
    .bg-stage #hero-gradient {
        background: radial-gradient(circle at 80% 80%, rgba(var(--ar-stage-bg-rgb), 0) 30%, rgba(var(--ar-stage-bg-rgb), 1) 40%);
    }
    .bg-stage #hero-image {
        background-position: 40% 40%;
    }
}

.bg-dark > #hero-gradient {
    background: radial-gradient(circle at 90% 60%, rgba(18, 21, 25, 0) 40%, rgba(18, 21, 25, 1) 60%);
}
.bg-dark > #hero-image {
    left: 15%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (min-width: 550px) { 
    .bg-dark > #hero-gradient {
        background: radial-gradient(circle at right, rgba(18, 21, 25, 0) 40%, rgba(18, 21, 25, 1) 60%);
    }
    .bg-dark > #hero-image {
        left: 30%;
    }
}
@media (min-width: 1500px) { 
    .bg-dark > #hero-gradient {
        background: radial-gradient(circle at 100% 120%, rgba(18, 21, 25, 0) 35%, rgba(18, 21, 25, 1) 55%);
    }
    .bg-dark > #hero-image {
        background-position: 40% 40%;
    }
}


.divider-y > * + * { position: relative; }

.divider-y > * + *::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -1rem;
  height: 1px;
  background-color: var(--ar-accent-30);
}


.quote-sign::before {
position: absolute;
    top: 0;
    left: 0;
    color: var(--ar-accent);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    font-family: around-icons;
    content: "";
    margin: -0.1875rem -0.1875rem 1rem;
    padding: 2rem 2rem 1rem 3rem;
    
}
.question-sign::before {
position: absolute;
    top: 0;
    left: 0;
    color: var(--ar-accent);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    content: "?";
    margin: -0.1875rem -0.1875rem 1rem;
    border: 1px solid;
    padding: 2rem 2rem 1rem 3rem;
    background-color: #fff;
}
.info-sign::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--ar-accent);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    content: "i";
    margin: -0.1875rem -0.1875rem 1rem;
    border: 1px solid;
    padding: 2rem 2rem 1rem 3rem;
    background-color: #fff;
}

.bg-white.quote-sign::before, .bg-white.question-sign::before, .bg-white.info-sign::before,
.bg-accent.quote-sign::before, .bg-accent.question-sign::before, .bg-accent.info-sign::before {
    color: #fff;
    background-color: var(--ar-accent);
}

.card.bg-accent .form-control:hover,
.bg-accent-transparent-90  .form-control:hover {
    background-color: var(--ar-accent-hover);
}
.card.bg-accent .form-control:focus,
.bg-accent-transparent-90  .form-control:focus {
    background-color: var(--ar-secondary);
}
.card.bg-accent .form-control:focus + .ai-search.bg-white,
.bg-accent-transparent-90 .form-control:focus + .ai-search.bg-white  {
    background-color: var(--ar-accent) !important;
    color: #fff !important;
}

/* CARDS */
.card-square-ratio {
    position: relative;
}
.card-square-ratio::before {
    content: "";
    display: block;
    padding-top: 100%; /* Höhe = Breite */
}
.card-square-ratio > .card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.card-4x5-ratio {
    aspect-ratio: 4 / 5;
}
.card-h380min {
    min-height: 380px;
}
.card-body-grid { 
    display: grid;
    grid-template-rows: 45% auto;
    width: 100%;
}
.card-body-grid > i {
    grid-row: 1;
    align-self: end;
}
.card-body-grid > h3 {
    grid-row: 2;
    margin: 0;
}

.card-hover .opacity-0, 
.card-hover .opacity-20, 
.card-hover .opacity-30, 
.card-hover .opacity-40, 
.card-hover .opacity-50, 
.card-hover .opacity-100 {
    transition: opacity .5s ease-in-out;
}
button:hover .opacity-100-hover,
.card-hover:hover .opacity-100-hover {
    opacity: 1 !important;
} 

.card-blur-image img, .card-blur-image .blur-img:not(.opacity-0) {
  filter: blur(5px);
}
.card-blur-image:hover img, .card-blur-image:hover .blur-img {
  filter: blur(0px);
}

.zoom-effect-card-size {
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-effect-card-size:hover {
    transform: scale(1.1); 
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);*/
}

.zoom-effect-icon {
    display: block;
    transition: transform .4s ease-in-out
}

.zoom-effect:hover .zoom-effect-icon {
    transform: scale(1.2)
}

.zoom-effect-darken {
    display: block;
    transition: filter 0.4s ease-in-out;
}

.zoom-effect:hover .zoom-effect-darken {
    filter: brightness(30%);
}

.card-hover .hover-only {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.card-hover:hover .hover-only {
    opacity: 1;
}

.fix-child-h.bg-light-cards > .section-item, 
.fix-child-h.bg-accent-grey-cards > .section-item,
.fix-child-h.bg-light-cards > .card, 
.fix-child-h.bg-accent-grey-cards > .card {
    min-height: 100%;
}

a .rotate-3-hover {
    transform: rotate(-3deg);
    transition: transform 0.4s ease-in-out;
}
a:hover .rotate-3-hover {
    transform: rotate(0deg);
}

.card-reveal-body{
  height: var(--preview-h, 100px);
  overflow: hidden;
  position: relative;
}

/* Gradient im Preview-Zustand auf dem Overlay */
.card-reveal.has-overflow:not(.is-open) .card-reveal-overlay::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:20px;
  pointer-events:none;

  /* Farbe ggf. an Theme anpassen */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,.92)
  );
}

/* Overlay Basis */
.card-reveal-overlay{
  height: var(--overlay-h, 0px);
  background: rgba(255,255,255,.92);
  z-index: 5;

  /* Closed-State (bei Overflow): Overlay sitzt schon im Body-Bereich.
     Nur der "Extra"-Teil (ins Bild) ist nach unten geschoben -> ruhiger Effekt. */
  transform: translateY(var(--shift-y, 0px));
  opacity: 0;
  pointer-events: none;

  transition: transform .25s ease, opacity .15s ease;
}

/* Wenn Overflow: Overlay ist im Closed-State sichtbar (Preview), Body wird unsichtbar */
.card-reveal.has-overflow .card-reveal-overlay{
  opacity: 1;
  pointer-events: auto; /* damit Click im Preview-Bereich funktioniert */
}
.card-reveal.has-overflow .card-reveal-body{
  visibility: hidden; /* Platz bleibt, Overlay füllt ihn optisch */
}

/* Open (Click) -> Overlay fährt nur den Restweg ins Bild */
.card-reveal.has-overflow.is-open .card-reveal-overlay{
  transform: translateY(0);
}

/* Hover nur wenn Overflow */
@media (hover:hover){
  .card-reveal.has-overflow:not(.force-collapsed):hover .card-reveal-overlay{
    transform: translateY(0);
  }
}

/* Visitenkarten: Bildbereich immer quadratisch zuschneiden (unabhängig vom tatsächlichen
   Seitenverhältnis der einzelnen Quelldatei), damit alle Karten nebeneinander die gleiche
   Bild-/Textaufteilung haben. Wird von .card-container-image-left unten für die Bild-links-
   Variante überschrieben. */
.card > .d-block > .position-relative > img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* CARD WRAPPER */
@media (min-width: 576px) {
    .card-container-image-left {
        min-width: 500px;
    }
}
.card-container-image-left .card figure,
.card-container-image-left .card > .d-block {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important; 
    height: 100%;
}

.card-container-image-left .card figure > .position-relative,
.card-container-image-left .card > .d-block > .position-relative {
    flex-shrink: 0;
    width: 150px;
    max-width: 150px;
    display: flex; 
}

.card-container-image-left .card figure img,
.card-container-image-left .card > .d-block img {
    width: 150px; 
    height: 100%; 
    object-fit: cover; 
    display: block;
}

@media (max-width: 575.98px) {
    .card-container-image-left .card figure > .position-relative,
    .card-container-image-left .card > .d-block > .position-relative {
        width: 25%;
        max-width: 150px;
    }

    .card-container-image-left .card figure img,
    .card-container-image-left .card > .d-block img {
        width: 100%;
        max-width: 150px;
    }
}

@media (max-width: 399.98px) {
    .card-container-image-left .card figure > .position-relative,
    .card-container-image-left .card > .d-block > .position-relative {
        display: none;
    }
}

.card-container-image-left .card figure figcaption,
.card-container-image-left .card > .d-block > .py-3,
.card-container-image-left .card > .d-block > .card-body {
    flex: 1;
}

/* CARD WRAPPER - zusätzliche Aufteilung des Textbereichs (Kontakt / Adresse), z.B. Visitenkarten im Layout "1/2 Breite" */
/* Bildgröße bleibt unverändert nach Vorgabe .card-container-image-left .card > .d-block img - hier kein weiteres CSS für das Bild */
.card-container-image-left.card-container-split3 .card-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
}

.card-container-image-left.card-container-split3 .card-heading {
    grid-column: 1 / -1; /* Name/Beschreibung über beide Spalten */
}

.card-container-image-left.card-container-split3 .card-address {
    grid-column: 2;
    align-self: end; /* 2. Textblock (Adresse) unten ausrichten */
}

@media (max-width: 575.98px) {
    .card-container-image-left.card-container-split3 .card-layout {
        grid-template-columns: 1fr;
    }

    .card-container-image-left.card-container-split3 .card-heading {
        grid-column: 1;
    }

    .card-container-image-left.card-container-split3 .card-address {
        grid-column: 1;
        align-self: auto;
    }
}

/** show layout of h4 for all card-title in a family container */
.family-container .card h3.card-title {
    font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
    .family-container .card h3.card-title {
    font-size: 1.5rem;
    }
}

.btn-xs {
    --ar-btn-padding-y: 0.4rem;
    --ar-btn-padding-x: 0.8rem;
    --ar-btn-font-size: calc(var(--ar-body-font-size) * 0.60);
    --ar-btn-border-radius: var(--ar-border-radius-sm);
}

/* Swiper Slides: variable Breite zulassen */
.flex-img-swiper .swiper-slide{
  width: auto !important;
}

.flex-img-swiper__img{
  height: clamp( var(--flex-img-h-min, 160px), 20vw,  var(--flex-img-h-max, 320px));
  width: auto;
  display: block;
}
/* Overlays */
.flex-img-swiper::before,
.flex-img-swiper::after{
  content: "";
  position: absolute;
  top: 0;
  height: clamp( var(--flex-img-h-min, 160px), 20vw,  var(--flex-img-h-max, 320px));
  width: 40px;              /* Stärke der Kante */
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity .2s ease;
}

/* links: Schatten nach innen */
.flex-img-swiper::before{
  left: 0;
  box-shadow: inset 20px 0 18px -18px rgba(0,0,0,.35);
}

/* rechts: Schatten nach innen */
.flex-img-swiper::after{
  right: 0;
  box-shadow: inset -20px 0 18px -18px rgba(0,0,0,.35);
}

/* nur anzeigen, wenn es davor/danach weitergeht */
.flex-img-swiper.has-prev::before{ opacity: 1; }
.flex-img-swiper.has-next::after{ opacity: 1; }



/** person card layout */
.card-wrapper {
  display: grid;
  gap: 1.5rem; /* entspricht etwa Bootstrap gap-4 */
  grid-template-columns: 1fr;
}

.card-wrapper .card {
  display: block;
}

/* GRID: mobile = 1 Spalte */
.card-wrapper.layout-grid {
  grid-template-columns: 1fr;
}

/* GRID: ab Bootstrap sm (>= 576px) = 2 Spalten */
@media (min-width: 576px) {
  .card-wrapper.layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card-wrapper.layout-grid .card-contacts + .card-address {
  margin-top: .75rem;
} 

/* ab Bootstrap md (>= 576px): 2 Spalten */
@media (min-width: 576px) {
  .card-wrapper.layout-list .card-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem; /* entspricht ungefähr g-4 */
    row-gap: .5rem;
    align-items: start;
  }

  /* Links: Telefon/Fax/Mail */
  .card-wrapper.layout-list .card-contacts {
    grid-column: 1;
  }

  /* Rechts: Adresse */
  .card-wrapper.layout-list .card-address {
    grid-column: 2;
  }
}

.card-wrapper.hide-address .card-address {
    display: none;
    visibility: hidden;
}


/* DOWNLOAD ICONS */
/* Text-Overlay */
.ai-file::after {
  content: attr(data-ext);
  position: absolute;
  top: 65%;          
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7px;
  color: rgb(var(--ar-black-rgb));
  padding: 1px 2px;
  text-transform: uppercase;
  pointer-events: none; 
  width: 20px;
}
.btn-primary > .ai-file::after {
  color: #fff;
}

/* TABS */
/** keeps all tab-content areas in same height */
.tab-container .tab-content {
  display: grid;
}

.tab-container .tab-content > .tab-pane {
  grid-area: 1 / 1 / 2 / 2;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tab-container .tab-content > .tab-pane.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.tab-container .tab-content > .tab-pane.fade {
  transition: opacity .15s linear;
}

/* MEDIA-CENTER */
.afs-filter-checkbox {
    background-color: white !important;
}
.afs-filter-checkbox.active {
    background-color: var(--ar-accent) !important;
        border-color: var(--ar-accent) !important;
}
.filter-weight {
    background-color: var(--ar-gray-300);
}

.ratio-9x16 {
    --ar-aspect-ratio: 177.7777777778%;
}

/* Youtube Video */
div.yt-video-preview.big_16_9, div.yt-video-container.big_16_9 {
    width: 100%;
    max-width: none;
    min-height: unset;
    height: auto;
    aspect-ratio: 16 / 9;
}

div.yt-video-preview.small_16_9, div.yt-video-container.small_16_9 {
    width: 100%;
    max-width: none;
    min-height: unset;
    height: auto;
    aspect-ratio: 16 / 9;
}

div.yt-video-preview.small_9_16, div.yt-video-container.small_9_16 {
    width: 100%;
    max-width: none;
    min-height: unset;
    height: auto;
    aspect-ratio: 9 / 16;
}

div.yt-video-preview.small_9_16 {
    background-size: cover;
    background-position: center center;
}

div.yt-video-container iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

iframe.small_9_16 {
    aspect-ratio: 9 / 16 !important;
    width: 100% !important;
}
.yt-start-notice {
    padding: 20px;
    font-size: 17px;
}

/* PAGE-TOOLS */
.floating-button-container {
    position: sticky;
    top: 50%;
    z-index: 20;
}
.floating-button {
    position: absolute;
    top: 0.75rem;
    right: 0;
    height: 120px;
    width: 80px;
    box-shadow: -12px -2px 14px -13px rgba(35, 35, 35, 0.5);
    background-color: #fff;
    margin-left: auto;
    border-radius: 100px 0 0 100px;
    transition: all 0.3s ease;
    padding: 2rem 0 2rem 1rem;
    margin-bottom: -30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.floating-button {
    color: rgba(0, 0, 0, 0.4) !important;
}
.floating-button.text-light {
    color: rgba(255, 255, 255, 0.4) !important;
}

.floating-button.expanded,
.floating-button:hover {
    width: 250px;
    height: 200px;
    color: inherit !important;
}
@media (min-width: 768px) {
    .floating-button.expanded,
    .floating-button:hover {
        width: 300px;
        height: 200px;
    }
}

@media (min-width: 1400px) {
    .floating-button.expanded,
    .floating-button:hover {
        width: 400px;
        height: 200px;
    }
}

.floating-button.expanded.text-light, 
.floating-button.text-light:hover {
    color: rgba(var(--ar-light-rgb), 1) !important
}

.floating-button > svg {
    transform: rotate(10deg);
    transition: transform 0.3s ease;
}

.floating-button.expanded > svg,
.floating-button:hover > svg {
    transform: rotate(0deg);
}

.floating-button > button {
    display: none;
    margin-top: 1rem;
    /*background-color: white;
    color: rgb(239, 125, 0);*/
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.floating-button.bg-warning > button {
    color: var(--ar-warning);
    color: rgba(var(--ar-warning-rgb), 0.8);
}

.floating-button.expanded > button,
.floating-button:hover > button {
    display: block;
}

.floating-button.text-light > button:hover {
    background-color: rgba(var(--ar-light-rgb), 0.8);
}

.alarm-panel {
    position: relative;
    overflow: hidden;
}

.alarm-panel__inner {
    min-height: 100%;
}

.alarm-anchor {
    position: relative;
    min-height: 0;
}

.alarm-bubble[hidden] {
    display: none !important;
}

.alarm-bubble {
    position: absolute;
    top: -120px;
    right: 0;
    z-index: 3;
    height: 120px;
    padding: 1rem 0.75rem 1rem 1rem;
    border: 0;
    box-shadow: -12px -2px 14px -13px rgba(35, 35, 35, 0.5);
    transform: none;
    color: rgba(var(--ar-light-rgb), 0.95) !important;
    overflow: hidden;
}


.alarm-bubble:hover,
.alarm-bubble:focus-visible {
    top: -150px;
    width: 210px;
    height: 135px;
    color: rgba(var(--ar-light-rgb), 1) !important;
}
@media (min-width: 768px) {
    .alarm-bubble:hover,
    .alarm-bubble:focus-visible {
        width: 320px;
        height: 150px;
    }
}

.alarm-bubble__icon {
    width: 60px;
    height: 60px;
}
.alarm-bubble:hover .alarm-bubble__icon {
    width: 80px;
    height: 80px;
    margin-top: -25px;
}

.alarm-bubble__icon > i {
    font-size: 2.5rem;
}

.alarm-bubble__label {
    position: absolute;
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: normal;
    overflow-wrap: anywhere;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.35rem);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.alarm-bubble:hover .alarm-bubble__label,
.alarm-bubble:focus-visible .alarm-bubble__label {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* FOOTER */
#footer-decoration {
   width: 3774px;
   height: 80px;
   color: var(--ar-footer-bg);
}
@media (min-width: 1500px) {
    #footer-decoration {
        height: 120px;
    }
}

.footer .background-svg {
    color: var(--ar-footer-bg-fill);
}


/** style replacements */
.h-min-320 { 
    min-height: 320px;
}

/** high contrast */
body.high-contrast header {
    background-color: #ffffff;
}
body.high-contrast header.dark-mode {
    background-color: #121519;
}


.wordmodule ul.checked-list,
.wordmodule ul.checklist {
    list-style-type: none;
    padding-left: 1.2em;
}

.wordmodule ul.checked-list li::before,
.wordmodule ul.checklist li::before {
    content: "✓";
    position: absolute;
    margin-left: -1.2em;
    color: #858c97;
    font-size: 16px;
    top: 0;
    left: 0;
}

.wordmodule .table-wrapper td.table-cell-padding,
.wordmodule .table-wrapper th.table-cell-padding {
    padding-left: 8px !important;
    box-sizing: border-box;
}

.wordmodule ul,
.wordmodule ol {
    padding-left: 3.5rem;
    margin-left: 0;
    list-style-position: outside;
    list-style-type: revert;
}
.wordmodule ul li::before,
.wordmodule ol li::before {
    content: "";
}
.wordmodule ol li {
    padding-left: 0;
}
.wordmodule ol li strong {
    color: var(--ar-body-color);
}

.wordmodule.text-center ul:not(.checked-list):not(.checklist),
.wordmodule.text-center ol,
.text-center .wordmodule ul:not(.checked-list):not(.checklist),
.text-center .wordmodule ol {
    padding-left: 0;
    list-style-position: inside;
}

.wordmodule .imperia-around-table {
    width: 100%;
}

.wordmodule .imperia-around-table tr {
    border-top: var(--ar-border-width) var(--ar-border-style) var(--ar-border-color);
    border-bottom: var(--ar-border-width) var(--ar-border-style) var(--ar-border-color);
}

.wordmodule .imperia-around-table td,
.wordmodule .imperia-around-table th {
    padding: 1rem 1rem 0 1rem;
}
.wordmodule .imperia-around-table th {
  background-color: var(--ar-accent-10);
}

/* Breakout Card Module */
.blob-v-1 {
-webkit-mask-image: url('/assets/img/breakout_svg/blob_bg_1.svg');
mask-image: url('/assets/img/breakout_svg/blob_bg_1.svg');
mask-size: 100% auto;
mask-repeat: no-repeat;
}

.blob-v-2 {
	-webkit-mask-image: url('/assets/img/breakout_svg/blob_bg_2.svg');
	mask-image: url('/assets/img/breakout_svg/blob_bg_2.svg');
	mask-size: 120% auto;
	mask-repeat: no-repeat;
}
.svg-wrapper {
    width: 70%;
}
@media screen and (max-width: 767px) {
    .blob-v {
        width: 100%;
        mask: none;
        border-top-left-radius: var(--ar-border-radius-xxl) !important;
        border-bottom-left-radius: var(--ar-border-radius-xxl) !important; 
    }  
    
}

.offer-overview-card__image-wrapper {
    max-height: 250px;
    overflow: hidden;
}

.offer-overview-card__image {
    display: block;
    width: 100%;
    height: 250px !important;
    aspect-ratio: auto !important;
    object-fit: cover;
}

.offer-overview-afs .btn.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer-filter-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.offer-overview-filter-btn {
    min-width: 10rem;
    flex-shrink: 0;
}

.dropdown-menu {
    --ar-dropdown-link-disabled-color: var(--ar-gray-300);
}

.offer-filter-chip__remove {
    font-size: 1.2em;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.8;
}

.offer-overview-card__flags {
    position: absolute;
    right: 0;
    bottom: 1rem;
    gap: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.offer-overview-card__flag {
    padding: 0.75rem 2rem;
    background-color: var(--ar-primary);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.2;
    border-radius: var(--ar-border-radius) 0 0 var(--ar-border-radius);
}


.offer-overview-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 180px;
}

.offer-overview-card .card-footer {
    margin-top: auto;
    min-height: 82px;
}

.offer-overview-card__locations {
    margin-bottom: .75rem;
    font-weight: 500;
}

.offer-overview-card__badges {
    margin-top: auto !important;
    justify-content: flex-end;
}

.offer-overview-card__organizer {
    font-weight: 600;
}

.offer-overview-card__logo-wrapper {
    flex: 0 0 auto;
}

.offer-overview-card__logo {
    width: auto;
    max-width: 80px;
    height: 64px;
    object-fit: contain;
}

/* Fallback icons for lightGallery in case the icon font is not available. */
.lg-next::before,
.lg-prev::after,
.lg-toolbar .lg-close::after,
.lg-toolbar .lg-maximize::after,
.lg-toolbar .lg-download::after,
.lg-toolbar .lg-zoom-in::after,
.lg-toolbar .lg-actual-size::after,
.lg-toolbar .lg-zoom-out::after,
.lg-fullscreen::after,
.lg-autoplay-button::after {
    font-family: inherit !important;
    font-weight: 700;
}

.lg-prev::after {
    content: "\2039";
}

.lg-next::before {
    content: "\203A";
}

.lg-toolbar .lg-close::after {
    content: "\00D7";
}

.lg-toolbar .lg-maximize::after,
.lg-fullscreen::after {
    content: "\2922";
}

.lg-fullscreen-on .lg-fullscreen::after {
    content: "\2921";
}

.lg-toolbar .lg-download::after {
    content: "\2193";
}

.lg-toolbar .lg-zoom-in::after {
    content: "+";
}

.lg-toolbar .lg-actual-size::after {
    content: "\25CB";
}

.lg-toolbar .lg-zoom-out::after {
    content: "\2212";
}

.lg-autoplay-button::after {
    content: "\25B6";
}

.lg-show-autoplay .lg-autoplay-button::after {
    content: "\275A\275A";
}

.mx-20p {
    margin: 0 20%;
}

.mx-30p {
    margin: 0 30%;
}

/* imperia_around/savemode/imperia_around_layer.htms */
.modal-body > .container {
    padding-left: 2rem;
    padding-right: 2rem;
}
.modal-body .info-section .container {
    padding-left: 3rem;
    padding-right: 3rem;
}
.modal-dialog.modal-md .info-section .container {
    padding-left: 2rem;
    padding-right: 2rem;
}
.modal-dialog.modal-md .info-section .container > .py-3.py-md-4.py-xl-5 {
    padding-bottom: 1rem !important;
}
.modal-body .info-section .col-10 {
    width: 75% !important; 
}
.modal-dialog.modal-md .info-section .col-10 {
    width: 83.33333333% !important; 
}
@media (max-width: 991px) {
    .modal-body .info-section.no-margin .container .col-icon-right {
        padding-top: 4rem;
    }
}

.modal-body:has(> .container:last-child) {
    padding-bottom: 2.5rem;
}

/* Info Bubbles - icon style variants (imperia_around_info_bubbles.htms) */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: auto;
    --icon-size-min: 3.5rem;
    --icon-size-max: 4.5rem;
    /* Badge grows from --icon-size-min to --icon-size-max as the card's own
       height increases (percentages on an absolutely positioned element
       resolve against its containing block's height here, same as the
       top/left anchors below). Width just follows height via aspect-ratio.
       The "50% - 3rem" formula below hits --icon-size-min at a card height
       of ~13rem and --icon-size-max at ~15rem - shift the 3rem offset to
       move that range earlier (smaller offset) or later (larger offset). */
    height: clamp(var(--icon-size-min), calc(50% - 3rem), var(--icon-size-max));
    font-size: 1.75rem;
    line-height: 1;
    color: inherit;
    /* Stay centered on small cards (e.g. title-only); once the card grows past
       ~2x these values (in height and/or width), pin the icon near the
       top-left corner instead of letting it keep drifting toward the middle.
       Tune these two values to move the switch-over point; the resulting
       fixed inset is each value minus half the icon size. */
    --icon-top-anchor: 4rem;
    --icon-left-anchor: 4rem;
    margin: 0 !important;
    top: min(50%, var(--icon-top-anchor)) !important;
    left: min(50%, var(--icon-left-anchor)) !important;
    transform: translate(-50%, -50%);
}

/* Small screens: skip the height-based clamp, pin the badge at a fixed
   inset from the left instead (icon-style-frame keeps its own left:0). */
@media (max-width: 991.98px) {
    .icon-badge {
        left: 3rem !important;
    }
}

/* Reserve horizontal space on the title/description so they never sit
   underneath the icon badge (top-left, up to --icon-size-max wide).
   Only needed at lg+: below that the text column already carries a
   col-10/offset-2 grid inset that clears the icon on its own - stacking
   this padding on top of that inset as well left a huge gap on mobile. */
@media (min-width: 992px) {
    .card-body.icon-clear-padding {
        padding-left: 6.5rem !important;
    }
}

/* Reserve horizontal space between the title/description and the
   absolutely-positioned button (desktop only - on mobile the button now
   sits in normal flow below the text, see imperia_around_info_bubbles.htms) */
@media (min-width: 992px) {
    .pe-button-clear {
        padding-right: 9rem !important;
    }
}

/* Style: frame - white square badge whose border sinks into the card corner,
   always flush with the corner regardless of card size */
.icon-badge.icon-style-frame {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: none;
    background-color: #fff;
    color: var(--ar-body-color, #576071);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: none;
    border-left: none;
    border-radius: 0 0 var(--ar-border-radius-xxl, 2rem) 0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.06);
}

/* Style: spot - subtle radial-gradient color spot behind the icon */
.icon-badge.icon-style-spot {
    position: relative;
}
.icon-badge.icon-style-spot::before {
    content: "";
    position: absolute;
    inset: -1.5rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ar-accent-rgb), 0.28) 0%, rgba(var(--ar-accent-rgb), 0) 72%);
    z-index: -1;
}

/* Style: solid - filled accent circle, high-contrast icon */
.icon-badge.icon-style-solid {
    background-color: var(--ar-accent);

    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(var(--ar-accent-rgb), 0.35);
}
.icon-badge.icon-style-solid > i {
        color: #fff !important;
}

/* Style: solid-inverted - white circle, icon in accent color */
.icon-badge.icon-style-solid-inverted {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.icon-badge.icon-style-solid-inverted > i {
    color: var(--ar-accent) !important;
}


/* Style: dashed - stitched/dashed ring, playful */
.icon-badge.icon-style-dashed {
    border-radius: 50%;
    border: 2px dashed currentColor;
    background-color: transparent;
}


/* Headings: no bottom margin by default, unless immediately followed
   by a description element - e.g. imperia_around_faq.htms question/answer pairs */
h2.mb-if-description, h3.mb-if-description, h4.mb-if-description {
    margin-bottom: 0;
}
h2.mb-if-description:has(+ [data-type="description"]),
h3.mb-if-description:has(+ [data-type="description"]),
h4.mb-if-description:has(+ [data-type="description"]) {
    margin-bottom: 1rem;
}

/* Opensearch: Hervorhebung des Suchbegriffs in den highlight-Snippets
   (<em> kommt direkt vom OpenSearch-Highlighter, siehe search.js) */
#search-results em {
    background-color: var(--ar-accent);
    color: var(--ar-accent-text);
    font-style: normal;
    padding: 0 0.15em;
    border-radius: 0.15em;
}

/* Opensearch: Autocomplete-Panel als nahtlose Erweiterung des Eingabefelds
   (kein Abstand/eigener Rahmen, Ecken verschmelzen mit der Pille darueber) */
#search-box .input-group,
#search-box .input-group .form-control,
#search-box .input-group .btn {
    transition: border-radius 0.1s ease;
}

#search-box.autocomplete-open .input-group .input-group-text:first-child,
#search-box.autocomplete-open .input-group .form-control {
    border-bottom-left-radius: 0 !important;
}

#search-box.autocomplete-open .input-group .btn:last-child {
    /* border-bottom-right-radius: 0 !important; */
}

#search-autocomplete {
    top: calc(100% - 1px);
    z-index: 1030;
    padding: 0.5rem 0;
    font-size: 1rem;
}

#search-autocomplete [data-role="directlinks-wrapper"] > .text-uppercase {
    padding: 0 1.25rem;
}

#search-autocomplete .search-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 1.25rem;
    border: 0;
    background: none;
    text-align: left;
    text-decoration: none;
    color: inherit;
    font-size: 1em;
}

#search-autocomplete .search-autocomplete-item:hover,
#search-autocomplete .search-autocomplete-item:focus {
    background-color: var(--ar-accent-10);
    outline: none;
}

#search-autocomplete .search-autocomplete-item > .ai-search {
    flex: none;
    color: var(--ar-text-muted, #6c757d);
    font-size: 0.9em;
}

#search-autocomplete .search-autocomplete-directlink {
    justify-content: space-between;
}

#search-autocomplete .search-autocomplete-directlink .ai-arrow-right {
    flex: none;
    line-height: 1;
}

#search-input-wrapper:has(#search-input:focus) {
    background-color: var(--ar-white);
}

@media (min-width: 992px) {
    #search-facets.is-sticky-enabled {
        position: sticky;
        top: calc(var(--ar-header-height, 100px) + 1.5rem);
        z-index: 5;
        background-color: #fff;
    }

    /* Schattenkante nur, wenn #search-facets tatsaechlich am oberen Rand
       pinnt (Klasse "is-stuck" wird per IntersectionObserver in search.js
       gesetzt) - als eigenes Pseudo-Element unterhalb der Box, damit der
       Schatten nur nach unten faellt statt rundum. */
    #search-facets.is-stuck::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 24px;
        box-shadow: 0 13px 35px -12px rgba(35, 35, 35, 0.1);
        pointer-events: none;
    }
}

#search-results a.card:hover h4.card-title,
#search-results a.card:focus h4.card-title {
    color: rgb(var(--ar-link-hover-color-rgb));
}

.info-section-body > p.empty,
.info-section-body > p:last-child {
    margin: 0;
}
