/* - - - - F O N T S - - - - */

@charset "UTF-8";

/* Webfont: BaWue Serif Regular */
@font-face {
    font-family: 'BaWueSerif';
    src: url('../fonts/BaWueSerifWeb-Bold.woff2') format('woff2'),
        url('../fonts/BaWueSerifWeb-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* Webfont: BaWue Sans Bold */
@font-face {
    font-family: 'BaWueSansWeb';
    src: url('../fonts/BaWueSansWeb-Bold.woff2') format('woff2'),
        url('../fonts/BaWueSansWeb-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* Webfont: BaWue Sans Bold Italic */
@font-face {
    font-family: 'BaWueSansWeb';
    src: url('../fonts/BaWueSansWeb-BoldItalic.woff2') format('woff2'),
        url('../fonts/BaWueSansWeb-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

/* Webfont: BaWue Sans SemiBold */
@font-face {
    font-family: 'BaWueSansWeb';
    src: url('../fonts/BaWueSansWeb-SemiBold.woff2') format('woff2'),
        url('../fonts/BaWueSansWeb-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* Webfont: BaWue Sans SemiBold Italic */
@font-face {
    font-family: 'BaWueSansWeb';
    src: url('../fonts/BaWueSansWeb-SemiBoldItalic.woff2') format('woff2'),
        url('../fonts/BaWueSansWeb-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
}

/* Webfont: BaWue Sans Regular */
@font-face {
    font-family: 'BaWueSansWeb';
    src: url('../fonts/BaWueSansWeb-Regular.woff2') format('woff2'),
        url('../fonts/BaWueSansWeb-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* Webfont: BaWue Sans Regular Italic */
@font-face {
    font-family: 'BaWueSansWeb';
    src: url('../fonts/BaWueSansWeb-RegularItalic.woff2') format('woff2'),
        url('../fonts/BaWueSansWeb-RegularItalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}


/* - - - - G L O B A L - - - - */

/* normalize */

html {
    width: 100%;
    min-height: 100%;
    height: 100%;
}

html,
body {
    /* Prevent font scaling in landscape while allowing user zoom */
    -webkit-text-size-adjust: 100%;

    /* smooth scroll anchors */
    scroll-behavior: smooth;
    overflow-x: hidden;

}

/* Safari fix: prevent viewport recalculation during scroll (only for snap-scroll pages) */
html.has-snap-scroll {
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    min-height: 100%;
    font-size: 100% !important;
    background-color: white;

    font-feature-settings: 'kern';
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;

    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

/* text selection */

::-moz-selection {
    /* Code for Firefox */
    color: #000000;
    background: #E5E5E5;
}

::selection {
    color: #000000;
    background: #E5E5E5;
}


/* Variablen */
:root {
    --page-light-grey: #CBCFBD;
    --page-mid-grey: #363636;
    --page-dark-grey: #1D1D1B;
    --page-light-green: #e9ece3;
    --page-medium-light-green: #D8DDCA;
    --page-medium-green: #CBCFBD;
    --page-dark-green: #A7AE8E;
    --page-yellow: #fffc00;
    --page-green: #5099A1;
    --page-purple: #a4576c;
    --page-white: #FFFFFF;
    --page-red: #F19B3F;
    --gap: 1.5rem;
    --nav-height: 30px;
}

.light-grey {
    background-color: var(--page-light-grey);
}

.mid-grey {
    background-color: var(--page-mid-grey);
}

.dark-grey {
    background-color: var(--page-dark-grey);
}

.light-green {
    background-color: var(--page-light-green);
}

.dark-green {
    background-color: var(--page-dark-green);
}

.yellow {
    background-color: var(--page-yellow);
}

.green {
    background-color: var(--page-green);
}


/* - - - - T Y P O G R A P H Y - - - - */

html,
body {
    font-family: "BaWueSansWeb", sans-serif;
    font-weight: 600;
    line-height: 150%;
    background: var(--page-light-green);
    color: var(--page-dark-grey);
}

a {
    text-decoration: none;
    color: var(--page-green);
}

a:hover {
    color: var(--page-dark-grey);
}

p {
    font-weight: 400;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    hyphens: auto;
    overflow-wrap: break-word;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    justify-content: center;
}

main {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.center-text {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 130%;
    text-align: center;
}

.red {
    color: var(--page-red);
}

.section-headline {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 130%;
    text-align: left;
}

h3.section-headline {
    font-size: 1.5rem;
}

/* lists */
.reading-text ul {
    padding-left: 1.5rem;
}

.text ul {
    list-style-type: none;
    padding-left: 1rem;
}

.text-regular {
    font-weight: 400;
}

.text ul li::before {

    /* → arrow */
    content: "+ ";
    margin-right: 0.2rem;
    margin-left: -1rem;
}

/* - - - - T R A N S I T I O N S - - - - */

a {
    -webkit-transition: color 0.09s ease-out, background-color 0.09s ease-out;
    -moz-transition: color 0.09s ease-out, background-color 0.09s ease-out;
    -o-transition: color 0.09s ease-out, background-color 0.09s ease-out;
    -ms-transition: color 0.09s ease-out, background-color 0.09s ease-out;
    transition: color 0.09s ease-out, background-color 0.09s ease-out !important;
}


/* lazy load fade-in */
img.lazy {
    opacity: 0;
}

img:not(.initial) {
    transition: opacity 1s;
}

img.initial,
img.loaded,
img.error {
    opacity: 1;
}

img:not([src]) {
    visibility: hidden;
}

img {
    width: 100%;
}

/* - - - - N A V I G A T I O N - - - - */

.main-navigation {
    padding-top: 1rem;
    padding-bottom: 1rem;
    pointer-events: none;
}

.main-navigation a {
    pointer-events: auto;
}

/* homebutton */

.homebutton {
    position: relative;
    width: 4rem;
    cursor: pointer;
}

.homebutton .image {
    width: 4rem;
    height: auto;
    transition: opacity 0.15s ease-out, transform 0.2s ease-out;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.homebutton .image.primary {
    z-index: 0;
}

.homebutton .image.secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.homebutton:hover .image {
    transform: scale(1.05);
}

.homebutton:hover .image.secondary {
    opacity: 1;
}

/* icons */

.burger,
.close {
    width: 2rem;
    cursor: pointer;
}

.burger img,
.close img {
    width: 100%;
}

.nav-button-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* slide in menu */
.slide-in-menu {
    width: fit-content;
    max-width: 80vw;
    height: fit-content !important;
    left: unset !important;
    flex-direction: row-reverse;
    background: var(--page-mid-grey);
    border-bottom-left-radius: 18px;
    color: #fff;
}

.slide-in-menu a {
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
}

.slide-in-menu a:hover {
    color: var(--page-yellow);
}

.slide-in-menu .offcanvas-header {
    width: fit-content;
    height: auto;
    display: flex;
    justify-content: flex-end;
}

.slide-in-menu .offcanvas-header img {
    filter: invert(1);

}

.slide-in-menu .offcanvas-body {
    height: fit-content;
}

.slide-in-menu .main-menu {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2rem;
    padding: 1.2rem;
    list-style: none;
}

/* scroll-to-top */
.scroll-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    transform-origin: center;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
    -ms-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out !important;
    transform: translateX(200%);
    opacity: 1;
}

.scroll-to-top:hover .st0 {
    fill: var(--page-yellow);
}

.scroll-to-top.visible {
    transform: translateX(0);
    opacity: 1;
}

.scroll-to-top.move {
    bottom: 15rem;
}

/* - - - - F O O T E R - - - - */

/* - - - - S E C T I O N S - - - - */

main.dark {
    background: var(--page-medium-green);
}

main.gradient {
    background: radial-gradient(at 70% 50%, #F2F2F2 0%, var(--page-medium-green) 80%);
}

.container {
    overflow: hidden;
}

/* SNAP SCROLLER SECTION */

/* page layout */
.snap-scroll-container {
    position: relative;
    width: 100%;
    height: 100dvh;

    /* scroll behavior */
    overflow-y: scroll;
    /* scroll snapping on y axis  */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;

    pointer-events: auto;
}

/* Disable snap when in footer area for Safari */
.snap-scroll-container.footer-visible {
    scroll-snap-type: none;
}

/* hide scrollbar */
.snap-scroll-container::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.snap-scroll-container footer {
    margin-top: auto;

    z-index: 2;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

/* bg iframe */
.bg-iframe {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    border: none;
    z-index: 0;
    pointer-events: none;
    transition: height 0.3s ease-in-out;
}

.bg-iframe.reduced-height {
    height: 90%;

}

/* scroll navigation */
.scroll-navigation {
    position: fixed;
    z-index: 2;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.09s ease-out;
}

.scroll-navigation.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-navigation .wrapper {
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.scroll-navigation a {
    color: var(--page-dark-grey);
}

.scroll-navigation a:hover {
    color: var(--page-green);
}

.scroll-navigation .skip {
    text-decoration: underline;
    font-weight: 400;
}

.scroll-indicator {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
}

.scroll-indicator .icon {
    margin-top: 0.5rem;
    height: 2.5rem;
    width: auto;
}

/* scroll sections */
.scroll-section {
    position: relative;
    width: 100%;
    height: 100dvh;
    /* scroll snap behaviour */
    scroll-snap-align: start;
    /* prevent overscroll */
    scroll-snap-stop: always;

    /* z-index: 1; */
    /* background: rgba(255, 0, 0, 0.2); */
}

.scroll-section:nth-child(odd) {
    /* background: rgba(0, 0, 255, 0.1); */
}

/* quote section */
.scroll-section .quote-wrapper {
    padding: 0;
    position: fixed;
    z-index: 1;
    top: 70%;
    right: 5%;
    width: fit-content;
    opacity: 0;
    pointer-events: none;
    transition: all 0.09s ease-out;
    will-change: transform;

    /* padding-top: 50%; */
    /* background: blue; */
}

.scroll-section .quote-wrapper .quote-text {
    font-size: 2rem;
}


.scroll-section .quote-wrapper .quote-image {
    width: 140px;
}

.scroll-section .quote-wrapper.show {
    opacity: 1;
    pointer-events: none;
}

.scroll-section .quote-wrapper.move-to-nav {
    width: fit-content;
    padding: 0.35rem 0.8rem !important;
    padding-left: 0.2rem !important;

    border: none;
    border-radius: 9px !important;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem !important;

    font-weight: 700 !important;
    text-transform: uppercase;
    color: var(--page-white) !important;

    opacity: 1;
    pointer-events: auto;
    cursor: pointer;

    transition: all 0.05s ease-out;
    animation: moveUp ease 0.8s 0s forwards;
}

.scroll-section .quote-wrapper .icon {
    margin-right: 0.5rem;
    width: 1.3rem;
    height: auto;
    padding-bottom: 0.1rem;
}

/* .category-filter.active .icon,
.category-filter:hover .icon {
    filter: invert(1) brightness(150%);
} */

.scroll-section .quote-wrapper .button-text,
.scroll-section .quote-wrapper .icon {
    width: 0;
    height: 0;
    font-size: 0rem;
}

.scroll-section .quote-wrapper.move-to-nav .button-text,
.scroll-section .quote-wrapper.move-to-nav .icon {
    animation: grow ease 0.8s 0s forwards;

}

.scroll-section .quote-wrapper.move-to-nav .quote-text,
.scroll-section .quote-wrapper.move-to-nav .quote {
    animation: shrinkText ease 0.8s 0s forwards, fadeOut ease 0.8s 0s forwards;
}

.scroll-section .quote-wrapper.move-to-nav .quote,
.scroll-section .quote-wrapper.move-to-nav .quote-image,
.scroll-section .quote-wrapper.move-to-nav .quote-image picture,
.scroll-section .quote-wrapper.move-to-nav .quote-image img {
    animation: shrink ease 0.8s 0s forwards, fadeOut ease 0.8s 0s forwards;
}

.scroll-section .quote-wrapper.move-to-nav:hover {
    background: var(--page-yellow) !important;
    color: var(--page-dark-grey) !important;
}

.scroll-section .quote-wrapper.move-to-nav:hover .icon {
    filter: invert(1) brightness(100%) !important;
}

.scroll-section .quote-wrapper.nav-fade-out {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.22s ease-out;
}

.scroll-section .quote-wrapper.reset-hidden {
    opacity: 0 !important;
    top: 65%;
    right: 5%;
    background: transparent;
    z-index: 1;
    transition: none !important;
}

.scroll-section .quote-wrapper.quote-fade-in {
    opacity: 1 !important;
    pointer-events: auto;
    transition: opacity 0.28s ease-out;
}

@keyframes moveUp {

    30% {
        right: 8%;
    }

    60% {
        right: 5%
    }

    100% {
        top: 1.9rem;
        right: 3.7rem;
        background: var(--page-mid-grey);
        z-index: 5;
    }
}


@keyframes shrinkText {
    60% {
        font-size: 0;
    }

    100% {
        font-size: 0;
    }
}

@keyframes shrink {
    60% {
        width: 0;
        height: 0;
        border: 0;
        margin: 0;
        padding: 0;
        gap: 0;
    }

    100% {
        width: 0;
        height: 0;
        border: 0;
        margin: 0;
        padding: 0;
        gap: 0;
    }
}

@keyframes fadeOut {
    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes grow {
    0% {
        font-size: 0rem;
        opacity: 0;
        width: 0;
        height: 0;
    }

    100% {
        font-size: .875em;
        opacity: 1;
        width: fit-content;
        height: auto;
    }
}

.section-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 12%;
}

.section-content .wrapper {
    padding-right: 10%;
}

.section-content h1 {
    font-family: 'BaWueSerif', serif;
    font-weight: 700;
    font-size: 4rem;
    line-height: 100%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.intro-slide .section-content h2 {
    font-weight: 700;
    font-size: 1.5rem;
}

.section-content h2 {
    font-size: 2.5rem;
    line-height: 110%;
}

.section-content p {
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

/* FILTER CARDS SECTION */
.cards-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    background: transparent;

    background-image: linear-gradient(to bottom,
            rgba(203, 207, 189, 0) 0%,
            rgba(203, 207, 189, 1) 200px);

    background-repeat: no-repeat;
    background-size: 100% 100%;

    /* scroll snap behaviour */
    scroll-snap-align: start;
    /* prevent overscroll */
    scroll-snap-stop: always;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    z-index: 1;
}

.cards-section.large {
    height: auto;
    justify-content: flex-start;
}

/* text legend */
.text-legend-wrapper {
    position: relative;
    min-height: 250px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.text-legend-wrapper .text-legend {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    transition: opacity .3s cubic-bezier(.4, .2, .2, 1);
}

.text-legend-wrapper .text-legend.active {
    opacity: 1;
}

/* image legend */
.image-legend-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 3 / 2;
    width: 100%;
    overflow: hidden;

    opacity: 0;
    transform: scale(0);
    transform-origin: center center;
    transition: all .3s cubic-bezier(.4, .2, .2, 1);

    /* background: radial-gradient(#404441, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); */
}

.image-legend-wrapper.active {
    opacity: 1;
    transform: scale(1);
}

.legend-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    /* transform: scale(0);
    transform-origin: center center; */
    transition: opacity .3s cubic-bezier(.4, .2, .2, 1);
}

.legend-image.active {
    /* transform: scale(1); */
    opacity: 1;
}

/* filter buttons */
.card-filter-list {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-filter {
    border: 2px solid var(--page-dark-grey);
    border-radius: 9px;
    padding: .4rem .8rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.05s ease-out;
    background: var(--page-medium-green);
    color: var(--page-mid-grey);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.category-filter:hover {
    background: var(--page-medium-green);
    color: var(--page-mid-grey);
}

.category-filter.active {
    background: var(--page-medium-green);
    color: var(--page-mid-grey);
}

.category-filter .icon {
    margin-right: 0.5rem;
    width: 1.3rem;
    height: auto;
}

.category-filter.active .icon,
.category-filter:hover .icon {
    filter: invert(1) brightness(150%);
}

/* colors */
button.dark {
    background: var(--page-dark-grey);
    color: var(--page-white);
}

button.black {
    border-color: var(--page-dark-grey);
}

button.black:hover,
button.black.active {
    background: var(--page-dark-grey);
    color: var(--page-white);
}

button.orange {
    border-color: var(--page-red);
}

button.orange:hover,
button.orange.active {
    background: var(--page-red);
    color: var(--page-white);
}

button.light-green {
    border-color: var(--page-dark-green);
}

button.light-green:hover,
button.light-green.active {
    background: var(--page-dark-green);
    color: var(--page-white);
}

button.purple {
    border-color: var(--page-purple);
}

button.purple:hover,
button.purple.active {
    background: var(--page-purple);
    color: var(--page-white);
}

button.green {
    border-color: var(--page-green);
}

button.green:hover,
button.green.active {
    background: var(--page-green);
    color: var(--page-white);
}

button.yellow {
    border-color: var(--page-yellow);
}

button.yellow:hover {
    background: var(--page-yellow);
    color: var(--page-mid-grey);
}

.button.dark .icon {
    margin-right: 0.5rem;
    width: 1.3rem;
    height: auto;
    filter: brightness(0) invert(1);
}

.button.dark:hover .icon {
    filter: brightness(0%);
}

.button.dark.small {
    padding: 0.35rem 0.8rem;
    gap: 0.2rem;
}

/* grid layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-auto-rows: 260px;
    /* gap: var(--gap); */
    gap: 1rem;
    grid-auto-flow: dense;
}

/* single cards */
.card-grid .single-card {
    display: none;
    position: relative;
    cursor: pointer;
    border-radius: 1rem;
    transform: scale(1);
    transition: all 0.3s ease-out;
    transform-origin: center center;
}

.card-grid .single-card.active {
    display: block;
}

.card-grid .single-card:hover {
    transform: scale(1.01);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.card-grid .single-card.pop-in {
    animation: popIn .4s cubic-bezier(.175, .885, .32, 1.275);
}

.card-title {
    hyphens: auto;
    overflow-wrap: break-word;
}

/* small */
.card-grid .single-card.card-small {
    grid-column: span 1;
    grid-row: span 1;
}

.card-small .back {
    padding: 1.3rem;
}

.card-small .back .card-title {
    display: none;
}

/* medium */
.card-grid .single-card.card-medium {
    grid-column: span 1;
    grid-row: span 2;
}

.card-grid .single-card.card-medium .back {
    justify-content: flex-start;
}

.card-grid .single-card.card-medium .back .button.dark {
    margin-top: 1.5rem;
}

/* large */
.card-grid .single-card.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-grid .single-card.card-large .back {
    justify-content: flex-start;
}

.card-grid .single-card.card-large .back .button.dark {
    margin-top: 1.5rem;
}

.card-grid .single-card.card-large .back .preview-text {
    max-width: 90%;
}

.card-grid .single-card.enlarged {
    grid-column: span 4 !important;
    grid-row: span 2 !important;
}

/* card: front */
.single-card .front {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1rem;
    background: var(--page-white);

    display: flex;
    flex-direction: column;
    gap: 1rem;

    transform: perspective(1000px) rotateY(0deg);
    transform-origin: center center;
    transition: box-shadow .3s, transform .6s cubic-bezier(.4, .2, .2, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.single-card.flipped .front {
    transform: perspective(1000px) rotateY(180deg);
}

.single-card:hover .front {
    box-shadow: 0 10px 15px -3px #00000026;
}

/* preview image */
.card-grid .single-card .preview-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0.8rem;
    overflow: hidden;
    background-color: rgb(253, 232, 214);
    transition: all 0.09s ease-out;
}

/* preview image category colors - 30% color mixed with 70% white */
.card-grid .single-card .preview-image.orange {
    background-color: color-mix(in srgb, var(--page-red) 30%, white);
}

.card-grid .single-card .preview-image.light-green {
    background-color: color-mix(in srgb, var(--page-dark-green) 30%, white);
}

.card-grid .single-card .preview-image.purple {
    background-color: color-mix(in srgb, var(--page-purple) 20%, white);
}

.card-grid .single-card .preview-image.green {
    background-color: color-mix(in srgb, var(--page-green) 30%, white);
}

/* hover state - 40% color mixed with 60% white */
.card-grid .single-card:hover .preview-image.orange {
    background-color: color-mix(in srgb, var(--page-red) 45%, white);
}

.card-grid .single-card:hover .preview-image.light-green {
    background-color: color-mix(in srgb, var(--page-dark-green) 70%, white);
}

.card-grid .single-card:hover .preview-image.purple {
    background-color: color-mix(in srgb, var(--page-purple) 40%, white);
}

.card-grid .single-card:hover .preview-image.green {
    background-color: color-mix(in srgb, var(--page-green) 45%, white);
}

.card-grid .single-card .preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.card-grid .single-card.card-medium .preview-image img {
    object-fit: contain;
    transform: scale(1.5);
}


/* card: back */
.card-grid .single-card .back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 1.5rem;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.8rem;

    border-radius: 1rem;
    background: var(--page-white);
    transform: perspective(1000px) rotateY(-180deg) scale(1);
    transform-origin: center center;

    transition: transform .6s cubic-bezier(.4, .2, .2, 1);
    transform-style: preserve-3d;

    backface-visibility: hidden;
}

.card-grid .single-card.flipped .back {
    transform: perspective(1000px) rotateY(0deg);
}

.card-grid .single-card .card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: space-between;
}

.card-grid .single-card .card-title {
    font-family: "BaWueSansWeb", sans-serif;
    font-weight: 700;
    font-size: 1.5em;
}

.card-grid .single-card .back .card-title {
    font-family: "BaWueSansWeb", sans-serif;
    font-weight: 700;
    font-size: 1.5em;
}

.card-grid .single-card .project-info {
    opacity: 0;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    z-index: 1;
    transition: opacity 0.3s ease-out;
}

.card-grid .single-card:hover .project-info {
    opacity: 1;
}

.project-info .image-goals {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.project-info .preview-image {
    position: relative;
    width: 60%;
    height: fit-content;
    border-radius: 0.8rem;
    overflow: hidden;
    background-color: rgb(253, 232, 214);
    transition: all 0.09s ease-out;
}

.project-info .preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.list-title {
    font-weight: 700;
    z-index: 1;
}

.list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
    z-index: 1;
}

.list .list-element {
    background-color: var(--page-light-green);
    color: var(--text-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 600;
}

.card-grid .single-card .preview-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0.85rem;
    overflow: hidden;
    background-color: rgb(253, 232, 214);
    transition: all 0.09s ease-out;
}

.card-grid .single-card .preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.single-card:hover .preview-image img {
    /* opacity: 0.4; */
}

.back .preview-text {
    font-size: 0.95rem;
    line-height: 138%;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
}

.back .preview-text p:last-child {
    margin-bottom: 0;
}

.back .button {
    font-size: 0.85rem;
    padding: 0.35rem 0.6rem;
    z-index: 1;
}


.card-grid .single-card .arrow {
    width: 1rem;
}

/* VIDEO HERO SECTION */
.video-hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
}

.video-hero .hero-content {
    /* we don't want the whole area to be clickable, only the buttons / texts */
    pointer-events: none;
    z-index: 1;
    padding-top: 5%;
    padding-left: 10%;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-hero .hero-content * {
    pointer-events: auto;
    width: fit-content;
}

.video-hero .hero-content h1,
.video-hero .hero-content h2,
.video-hero .hero-content p {
    /* in case we use bootstrap */
    margin: 0;
}

.hero-content h1 {
    font-family: 'BaWueSerif', serif;
    font-weight: 700;
    color: #fff;
    font-size: 8rem;
    line-height: 100%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
}

.hero-content h2 {
    font-weight: 700;
    color: #fff;
    font-size: 2.8rem;
    line-height: 120%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
}

/* scroll button */
.scroll-button {
    position: absolute;
    z-index: 1;
    bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 1.4rem;
    background: var(--page-dark-grey);
    pointer-events: auto;
}

.scroll-button img {
    width: 1.2rem;
}

.scroll-button:hover {
    background: var(--page-yellow);
}

.scroll-button:hover img {
    filter: invert(1) grayscale(1);
}

/* hero video */
.video-hero .hero-video {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.9 !important;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: auto;
}

/* INTRO TEXT SECTION */

/* info box */
.info-box {
    position: relative;
    background: #FFFFFF99;
    box-shadow: 3px 6px 7px 0px #00000020;
    border-radius: 1rem;
    text-align: center;
    font-weight: 700;
    padding: 2.1rem 2rem;
}

.info-box:after {
    position: absolute;
    display: inline-block;
    width: 4rem;
    height: 4rem;
    left: -1.2rem;
    top: -1.9rem;
    content: "";
    background: url('../img/info-dark.svg') no-repeat center center;
    background-size: contain;
}

.info-box p {
    margin: 0;
}

.info-box p+* {
    margin-top: 1rem;
}

.info-box a {
    text-decoration: underline;
}

/* 3 DATA COLS SECTION */
.data-cols h2 {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 130%;
    text-align: center;
}

.data-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.data-col .image-wrapper {
    display: block;
    aspect-ratio: 3 / 2.1;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.data-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.data-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.data-text h3 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.data-text .number {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 7rem;
    line-height: 100%;
    padding-right: 2rem;
}

.data-text .unit {
    margin-top: -0.3rem;
}

/* QUOTE SECTION */
.intro-quote {
    overflow: hidden;
    padding-bottom: 2rem;
}

.quote-wrapper {
    height: fit-content;
    padding-top: 7rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--page-dark-grey);
    text-decoration: none;
}

.quote-image {
    position: relative;
    width: 180px;
    height: fit-content;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 6px solid #FFFFFF;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.quote {
    display: flex;
    width: fit-content;
    flex-direction: column;
    gap: 0.8rem;
}

.quote .quote-text {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 110%;
}

.button {
    width: fit-content;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9px;
    padding: 0.7rem 0.8rem;
    background-color: var(--page-mid-grey);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.arrow {
    width: 1.2rem;
    height: auto;
}

.button:hover {
    background-color: var(--page-yellow);
    color: var(--page-mid-grey);
}

.button:hover .arrow {
    filter: invert(1);
}

.button.light {
    background: none;
    color: var(--page-dark-grey);
    border: 2px solid var(--page-dark-grey);
}

.button.light .arrow {
    filter: invert(1);
    transform: rotate(180deg);
}

.button.light:hover {
    background-color: var(--page-dark-grey);
    color: var(--page-white);
}

.button.light:hover .arrow {
    filter: invert(0);
}

.model-viewer-wrapper {
    aspect-ratio: 3 / 2.2;
}

.model-viewer-wrapper.static-position {
    margin-top: -5rem;
    position: relative;
    overflow: visible;
    height: 40vh;
}

.model-viewer-wrapper model-viewer {
    position: absolute;
    inset: 0;
    width: 170%;
    height: 170%;
    left: -35%;
    top: -35%;
}

.two-cols-text {
    column-count: 2;
    column-gap: 3rem;
}

/* STEPS SLIDER SECTION */
.steps-slider {
    position: relative;
    overflow: visible;
}

.steps-slider-wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
    background: #f6f7f4;
    box-shadow: 3px 6px 7px 0px #00000020;
    border-radius: 1rem;
    padding: 2.1rem 2rem;
}

.steps-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.steps-slider .swiper-slide> :last-child {
    margin-top: auto;
}

.steps-slider:after {
    position: absolute;
    z-index: 0 !important;
    display: block;
    width: 40%;
    top: 6%;
    height: 70%;
    right: 10%;
    content: "";
    background-size: contain;
    background: #f6f7f4;
    box-shadow: 3px 6px 7px 0px #00000020;
    border-radius: 1rem;
}

.swiper .section-headline {
    margin-bottom: 2rem;
}

/* navigation arrows */
.steps-slider .swiper-pagination {
    width: 90%;
}

.steps-slider .swiper-button-next,
.steps-slider .swiper-button-prev {
    color: var(--page-light-grey) !important;
    bottom: 0.3rem !important;
    width: 2rem;
    height: 2rem;
}

.steps-slider .swiper-button-next:hover,
.steps-slider .swiper-button-prev:hover {
    color: var(--page-mid-grey) !important;
}

.steps-slider-section .swiper-button-next {
    right: 10%;
}

.steps-slider-section .swiper-button-prev {
    transform: rotate(-180deg);
    transform-origin: center center;
}

/* navigation dots */
.steps-slider-section .swiper-pagination .swiper-pagination-bullet {
    font-family: "BaWueSerif", serif;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.8rem;
}

.steps-slider-section .swiper-pagination-bullet-active {
    color: var(--page-yellow);
}

.steps-slider-section .swiper-pagination-bullet-active:hover {
    color: var(--page-dark-grey);
}

/* SUBPAGE: Possibility */
.possibility section:nth-child(even) {
    background: var(--page-medium-light-green);
}

.possibility h2.section-headline,
.stories h2.section-headline,
.contact h2.section-headline {
    font-size: 2.7rem;
    line-height: 120%;
}

/* SUBPAGE: Contact */
.contact {
    /* min-height: 100vh; */
    background: var(--page-medium-light-green);
}

.contact .form-input-group .field {
    flex: 1;
}

.contact textarea {
    min-height: 150px;
}

/* TABS SECTION */

/* Hide scroll hint button on desktop */
.nav-scroll-hint {
    display: none;
}

/* nav pills */
.nav-pills {
    gap: 1rem;
}

.nav-pills .nav-item {
    max-width: 300px;
}

.nav-pills .nav-link {
    padding: 0.8rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;

    background: var(--page-white);
    box-shadow: 0px 4px 12.9px 0px #00000026;
    text-transform: uppercase;
    color: var(--page-dark-grey);
    font-weight: 700;
    text-align: left;
}

.nav-pills .nav-link .icon {
    width: fit-content;
    height: 1.7rem;
    object-fit: contain;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
    background: var(--page-dark-grey);
    color: var(--page-white);
}

.nav-pills .nav-link:hover .icon,
.nav-pills .nav-link.active .icon {
    filter: invert(1) contrast(200%);
}

/* tab content */
.tab-content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.custom-row {
    column-count: 2;
    column-gap: 4rem;
    column-fill: balance;

    /* display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    gap: 5%; */
}

.custom-column {
    break-inside: avoid;
    margin-bottom: 2.5rem;
}

/* infobox */
.infobox {
    background: var(--page-light-green);
    border-radius: 1rem;
    padding: 1.5rem;
}

.infobox h4 {
    font-size: 1.4rem;
}

.infobox.norms h4 {
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.infobox .bubble {
    width: 1.8rem;
    margin-top: -0.1rem;
}

.infobox .headline-wrapper {
    margin-bottom: 0.85rem;
}

.infobox h5 {
    font-weight: 700;
}

.infobox strong {
    display: inline-block;
    font-weight: 600;
    /*     font-size: 1.15rem; */
    line-height: 1.2;
}

.infobox .text-uppercase {
    font-weight: 700;
    font-size: 0.9rem;
}

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

/* linklist specific styles */
.infobox.linklist-box {
    width: 100%;
}

.infobox.linklist-box .custom-row {
    column-count: 1;
}

.contact picture img {
    border-radius: 1rem;
}

/* Mobile: image before links */
@media (max-width: 767.98px) {
    .linklist-image-col {
        order: 1;
    }

    .linklist-content-col {
        order: 2;
    }
}

/* image credits */
.credits {
    margin-top: 0.25rem;
    font-size: 0.82rem;
}

/* links */
.custom-column.links {
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

.links .icon {
    margin-top: 0.2rem;
    width: 1.2rem;
    height: auto;
    object-fit: contain;
}

/* icon link wrapper */
.icon-link {
    text-decoration: none;
    display: inline-block;
    line-height: 0;
}

.icon-link:hover .icon {
    transition: all 0.2s ease;
}

.links a.external-link {
    text-decoration: underline;
    color: var(--page-dark-grey);
}

.links a.external-link:hover {
    color: var(--page-green);
}

.links .link-title-no-url {
    text-decoration: none;
    color: var(--page-dark-grey);
    font-weight: 600;
}

/* sublinks container */
.sublinks-container {
    margin-top: 0.4rem;
    margin-left: 0.0rem;
    padding-left: 0.4rem;
    border-left: 1px solid var(--page-dark-grey);
}

/* individual sublink styling */
.custom-column.sublink {
    margin-bottom: 0.6rem;
    margin-left: 0.4rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 500;

}

.sublink .sublink-icon {
    margin-top: 0.2rem;
    width: 1rem;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
}

.sublink .icon-link:hover .sublink-icon {
    opacity: 1;

    transition: all 0.2s ease;
}

.sublink a.external-link {
    text-decoration: underline;
    color: var(--page-dark-grey);
    font-size: 0.95rem;
}

.sublink a.external-link:hover {
    color: var(--page-green);
}

.sublink .link-title-no-url {
    text-decoration: none;
    color: var(--page-dark-grey);
    font-weight: 500;
    font-size: 0.95rem;
}

.sublink .sublink-content {
    flex: 1;
}



/* STORIES SECTION */
/* grid layout */
.stories.card-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 380px;
}

/* single cards */
.stories.card-grid .single-card {
    grid-column: span 1;
    grid-row: span 1;

}

.card-grid .single-card.green {
    background-color: transparent;
}

.card-grid .single-card.light-green {
    background-color: transparent;
}

/* TEXT DIAS SECTION */
.headline-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.bubble {
    width: 2rem;
}

.dias {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* dia slider */
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--page-mid-grey);
}

.swiper-pagination .swiper-pagination-bullet {
    background-color: var(--page-light-grey);
    border: none;
    opacity: 1;
    width: 0.85rem;
    height: 0.85rem;
    margin: 0 4px !important;

    -webkit-transition: all 0.05s ease-out;
    -moz-transition: all 0.05s ease-out;
    -o-transition: all 0.05s ease-out;
    -ms-transition: all 0.05s ease-out;
    transition: all 0.05s ease-out !important;
}

.swiper-pagination .swiper-pagination-bullet:hover {
    background-color: var(--page-yellow);
}

.swiper-pagination {
    position: relative;
    margin-top: 2.5rem;
}

/* VIDEO SLIDER SECTION */
.video-slider .swiper .section-headline {
    text-align: center;
    margin-bottom: 1rem;
}

.video-slide-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.video-slider .swiper-slide {
    height: auto;
}

.video-slider .swiper-pagination {
    margin-top: 1.5rem;
}

.swiper-button-next,
.swiper-button-prev {
    /* top: unset !important;
    bottom: 0 !important;
    color: var(--page-dark-grey);
    width: 1rem !important; */

    margin-top: unset !important;
    bottom: 46% !important;
    top: unset !important;

    color: var(--page-white);

    -webkit-transition: all 0.05s ease-out;
    -moz-transition: all 0.05s ease-out;
    -o-transition: all 0.05s ease-out;
    -ms-transition: all 0.05s ease-out;
    transition: all 0.05s ease-out !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--page-yellow);
}

/* video */
.video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.play-button {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    width: 6rem !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent;
}

/* additional poster */
.video-container .poster {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-container .poster.show {
    display: block;
}

/* DOUBLE SLIDER SECTION */
.large h3 {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 110%;
}

/* slider */
#stories-slider {
    background: var(--page-mid-grey);
}

#stories-slider .swiper {
    border-top: 3px solid var(--page-mid-grey);
}

#stories-slider .swiper:last-child {
    border-bottom: 3px solid var(--page-mid-grey);
}

/* hashtags */
.hashtags {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.hashtags li {
    border: 1px solid var(--page-mid-grey);
    padding: 0.5rem 3rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: default;

    -webkit-transition: color 0.09s ease-out, background-color 0.09s ease-out;
    -moz-transition: color 0.09s ease-out, background-color 0.09s ease-out;
    -o-transition: color 0.09s ease-out, background-color 0.09s ease-out;
    -ms-transition: color 0.09s ease-out, background-color 0.09s ease-out;
    transition: color 0.09s ease-out, background-color 0.09s ease-out !important;
}

.hashtags li:hover {
    background: var(--page-mid-grey);
    color: #fff;
}

/* IMAGE + TEXT SECTION */
.overflow {
    overflow: hidden;
}

.overflow-right {
    width: 125%;
    margin-right: -25%;
}

.overflow-right-small {
    width: 115%;
    margin-right: -15%;
}

.overflow-left {
    width: 140%;
    margin-left: -40%;
}

.overflow-left-small {
    width: 115%;
    margin-left: -15%;
}

.move-up {
    margin-top: -4rem;
}

/* FAQ ACCORDION SECTION */
.faq.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--page-mid-grey) !important;
}

.faq .accordion-item {
    background: var(--page-light-green);
    border: none !important;
}

.faq .accordion-header {
    width: fit-content;
    background: var(--page-light-green);
}

.faq .accordion-button {
    width: fit-content;
    padding: 0.8rem 1rem;
    color: var(--page-mid-grey) !important;
    background: var(--page-light-green) !important;
    border: 2px solid var(--page-mid-grey);
    border-radius: 5px;
    font-weight: 700;
    box-shadow: none !important;
}

.faq .accordion-button:not(.collapsed) {
    background: var(--page-mid-grey) !important;
    color: var(--page-white) !important;
}

.faq .accordion-button .arrow {
    margin-right: 0.5rem;
}

.faq .accordion-button:not(.collapsed) .arrow {
    filter: invert(1) contrast(200%);
}

.faq .accordion-button::after {
    display: none;
}

.faq .accordion-body {
    padding-left: 2.8rem !important;
    background: var(--page-light-green);
    box-shadow: none !important;
}

.faq .accordion-body p:last-child {
    margin-bottom: 0;
}

/* SUBPAGE: Stories */
main.stories {
    background: var(--page-medium-light-green);
}

.stories h2.section-headline {
    font-size: 2.7rem;
    line-height: 120%;
}

/* SUBPAGE: Story */

.story section {
    background: var(--page-medium-light-green);
}

.story section:nth-child(even) {
    background: var(--page-light-green);
}

.story h1.section-headline {
    font-size: 2.7rem !important;
    line-height: 120%;
}

.story h2.section-subheadline {
    font-size: 1.5rem;
    font-weight: 600;
}

.story h2.section-headline {
    font-size: 2.2rem !important;
    line-height: 120%;
}

.years-wrapper {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.area-image {
    height: auto;
    max-height: 2.5rem;
    width: auto;
    max-width: 100%;
}

/* FOOTER SECTION */

/* Footer stays at the bottom */
footer {
    margin-top: auto;

    z-index: 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

#filter-grid footer {
    scroll-snap-align: unset;
    scroll-snap-stop: unset;
}

footer {
    background: var(--page-dark-green);
    color: #000;
}

footer .container {
    display: flex;
    gap: 2rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

footer .logo-wrapper {
    width: 70%;
    padding: 0;
    display: flex;
    gap: 1rem;
    flex-direction: row;
    list-style: none;
    align-items: center;
}

footer .logo-wrapper li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

footer .logo-wrapper li img {
    max-height: 90px;
    object-fit: contain;
    -webkit-transition: filter 0.09s ease-out;
    -moz-transition: filter 0.09s ease-out;
    -o-transition: filter 0.09s ease-out;
    -ms-transition: filter 0.09s ease-out;
    transition: filter 0.09s ease-out !important;
}

footer .logo-wrapper li img:hover {
    filter: invert(1);
}

footer .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-right: 1rem;
}

footer a {
    color: #000;
}

footer a:hover {
    color: var(--page-yellow);
}

/* LOGIN FORM SECTION */
main.locked {
    align-items: center;
    justify-content: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form label {
    font-size: 1.2rem;
}

.login-form input {
    margin-left: 0.5rem;
    border: 2px solid black;
    border-radius: 5px;
    height: 3rem;
    padding: 1rem;
}

/* SUBPAGE HEADER SECTION */
.subpage main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.subpage-header {
    height: 20vh;
    display: flex;
    align-items: center;
    color: #fff;
}

/* SUBPAGE TEXT SECTION */
.text h2 {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 110%;
    margin-bottom: 1.5rem;
}

.text p+h2 {
    margin-top: 3rem;
}

.possibility p,
.contact p {

    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
}

.text h3 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.text h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* SUBPAGE INTRO SLIDER SECTION */

/* headline */
.subpage h1.section-headline {
    font-size: 2.3rem;
    line-height: 120%;
}

/* credits */
.credits-wrapper {
    width: 100%;
    text-align: right;
}

.image-credits {
    font-size: 0.8rem;
}

/* slider */
.subpage-intro-slider .swiper-pagination {
    margin-top: 1.5rem;
}

.subpage-intro-slider .swiper-button-next,
.subpage-intro-slider .swiper-button-prev {
    bottom: 52% !important;
}

/* slider images */
.aspect-ratio-landscape {
    display: block;
    aspect-ratio: 3 / 2;
    width: 100%;
    overflow: hidden;
}

.aspect-ratio-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* booking button */
.booking-button {
    position: fixed;
    right: 1rem;
    bottom: 48vh;
    transform: rotate(6deg) !important;
    width: 8rem;
    height: 8rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: var(--page-mid-grey);
    color: var(--page-white);

    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 100%;
    font-weight: 700;
    text-align: center;

    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.booking-button:hover {
    background-color: var(--page-yellow);
    color: var(--page-mid-grey);
}

.booking-button .icon {
    width: 3rem;
    height: auto;
    margin-bottom: 0.3rem;
}

.booking-button:hover .icon {
    filter: invert(1);
}

/* SUBPAGE MAP SECTION */
.map-wrapper {
    z-index: 0;
    filter: drop-shadow(3px 6px 7px rgba(0, 0, 0, 0.1));
    background: none;
    height: 700px;
}

/* city info slider */
.map-info-column {
    padding-left: 2%;
    padding-right: 2.1%;
}

.date-slider {
    display: none;
    padding-right: 0.6rem;
    transition: all 0.3s ease-out;
}

.date-slider.active {
    display: block;
}

/* zoom-in animation */
.date-slider.pop-in {
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* navigation dots */
.date-slider .swiper-pagination {
    margin-top: 1rem;
}

/* navigation arrows */
.date-slider .swiper-button-next,
.date-slider .swiper-button-prev {
    color: var(--page-light-grey) !important;
    bottom: 0.3rem !important;
    width: 2rem;
    height: 2rem;
}

.date-slider .swiper-button-next:hover,
.date-slider .swiper-button-prev:hover {
    color: var(--page-mid-grey) !important;
}

/* city info */
.city-info {
    height: fit-content;
    padding: 1.2rem 1.3rem;
    background: #FFFFFF99;
    box-shadow: 3px 6px 7px 0px #00000020;
    border-radius: 1rem;
}

.map-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.map-filter .filter-btn {
    border: 2px solid var(--page-dark-grey);
    border-radius: 9px;
    padding: .2rem .5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.05s ease-out;
    background: transparent;
    color: var(--page-mid-grey);
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 0.8rem;
}

.map-filter .filter-btn.active {
    padding: .4rem .8rem;
    font-size: 1rem;
}

.map-filter .filter-btn:hover,
.map-filter .filter-btn.active {
    background: var(--page-dark-grey);
    color: var(--page-white);
}

.city-info .title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.city-date {
    margin: 0;
    font-size: 2rem;
    line-height: 120%;
    font-family: "BaWueSerif", serif;
    font-weight: 700;
}

.city-date .end-date {
    display: block;
    font-size: 1rem;
    line-height: 140%;
}

.city-title {
    margin: 0;
    font-weight: 600;
    font-size: 1.5rem;
}

.city-info .text-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.6rem;
}

.city-info .city-description p:last-child {
    margin-bottom: 0;
}

.city-info .links .icon {
    margin-top: 0.2rem;
    width: 1rem;
    height: auto;
    object-fit: contain;
}

.city-info .city-category {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    text-align: right;
}

.city-info .city-category .badge {
    padding: 0;
    font-size: 0.85rem;
}

.city-info .city-category .badge.wanderausstellung {
    color: var(--page-red);
}

.city-info .city-category .badge.mobil {
    color: var(--page-green);
}


/* SUBPAGE OPTIONS SECTION */
.options-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.options-list .option-item {
    height: fit-content;
    max-width: 170px;
    background: #FFFFFF99;
    box-shadow: 3px 6px 7px 0px #00000020;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
}

.option-number {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 2.5rem;
}

.option-unit {
    font-size: 1.2rem;
}

.option-item .unit {
    margin-bottom: 0.5rem;
}

.option-text {
    font-size: 0.9rem;
    line-height: 135%;
}

/* BOOKING FORM SNIPPET */
#form-hide {
    display: none;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.form-section {
    background: #FFFFFF99;
    box-shadow: 3px 6px 7px 0px #00000020;
    border-radius: 1rem;
    padding: 2.1rem 2rem;
}

.form-section-title {
    font-family: "BaWueSerif", serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 130%;
    text-align: left;
}

.form-input-group {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

/* form accordion */
.form-accordion.accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: var(--page-mid-grey) !important;
}

.form-accordion .accordion-item {
    border: none !important;
    background: #FFFFFF99;
    box-shadow: 3px 6px 7px 0px #00000020;
    border-radius: 1rem;
    padding: 2.1rem 2rem;
}

.form-accordion .accordion-header,
.form-accordion .accordion-button {
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: var(--page-mid-grey) !important;
}

.form-accordion .accordion-body {
    padding: 0 !important;
    padding-top: 1.5rem !important;
    padding-left: 1.4rem !important;
}

.form-accordion .accordion-body p {
    margin: 0;
}

.form-accordion .accordion-body .subsection {
    margin-bottom: 2rem;
}

.form-accordion .accordion-body .subsection .title {
    font-size: 1.1rem;
    font-weight: 700;
}

.form-accordion .accordion-body .subsection:last-child {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Date picker */
.air-datepicker {
    --adp-font-family: "BaWueSansWeb", sans-serif;
    /* --adp-width: 100%; */
    --adp-day-name-color: var(--page-green);
    --adp-cell-background-color-selected: var(--page-green);
    --adp-cell-background-color-selected-hover: var(--page-green);
}

.air-datepicker-body--day-name {
    font-weight: 700;
}

/* layout */
.dates-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.dates-wrapper>div {
    width: 100%;
}

.dates-wrapper input {
    min-width: 246px;
    max-width: fit-content;
}

/* blocked day */
.air-datepicker-cell.-day-.-blocked- {
    border-radius: 8px;
    background: #8E4758;
    color: #6a3843;
    border: 1px solid white;
}

/* booked day */
.air-datepicker-cell.-day-.-booked- {
    background: #ffe8b3;
    color: #7a4;
}

.air-datepicker-cell.-day-.-disabled- {
    text-decoration: line-through;
}

/* weekday blocked */
.air-datepicker-cell.-day-.-weekday-blocked- {
    background: #eee;
    color: #888;
    text-decoration: line-through;
}

.calendar-legend {
    margin: .5rem 0 1rem;
    font-size: .9rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.legend-swatch {
    inline-size: 1rem;
    block-size: 1rem;
    border-radius: 2px;
    display: inline-block;
}

.legend-blocked {
    background: #ffd6d6;
    border: 1px solid #a00;
}

.legend-booked {
    background: #ffe8b3;
    border: 1px solid #7a4;
}


/* - - - - H E L P E R S - - - - */

/* hide */
.hidden {
    display: none !important;
}

/* overflow-visible */
.overflow-visible {
    overflow: visible !important;
}

/* z-index */
.z-front {
    z-index: 1;
}

.z-back {
    z-index: 0;
}

/* spacing */
.top-space {
    margin-top: 9rem;
}

.top-space.medium {
    margin-top: 4rem;
}

.bottom-space {
    margin-bottom: 5rem;
}

/* rows with same height */
.same-height {
    display: flex;
    align-items: center;
}

/* image sizes */
.smaller {
    width: 85%;
}

/* absolute centering inside relative parent */
.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* img covers full div */
.img-full {
    overflow: hidden;
}

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

/* zoom on hover */
.zoom {
    -webkit-transition: transform 0.2s ease-out;
    -moz-transition: transform 0.2s ease-out;
    -o-transition: transform 0.2s ease-out;
    -ms-transition: transform 0.2s ease-out;
    transition: transform 0.2s ease-out !important;

    /* will-change: transform;
    backface-visibility: hidden; */
    transform: scale(1);
}

.zoom:hover {
    transform: scale(1.1);
}

/* blend mode */
.blend {
    mix-blend-mode: luminosity;
    opacity: 0.8 !important;
}

/* button */
.btn {}

.btn:hover {}

/* layout collection */
.layout-section-title {
    background: var(--page-yellow);
    color: var(--page-dark-grey);
    padding: 2rem 0;
    text-align: center;
}

/* - - - - R E S P O N S I V E - - - - */


.mobile {
    display: none;
}

.desktop {
    display: block;
}


/* M O B I L E  &  T A B L E T */

@media (max-width: 1024px) {

    /* quote slide */
    .scroll-section .quote-wrapper {
        padding-top: 3rem;
        /* background: red; */
    }


    .section-content {
        padding-bottom: 50%;
    }


    .quote-image {
        width: 120px;
        border: 3px solid #FFFFFF;
    }

    .quote .quote-text {
        font-size: 1rem;
    }
}

@media (max-width: 1024px),
/* include all devices in landscape mode */
only screen and (max-width: 1199px) and (orientation: landscape) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    /*iframe*/

    .bg-iframe {
        top: unset;
        left: 0;
        bottom: 0%;
        width: 100%;
        height: 50vh;
    }

    .bg-iframe.reduced-height {
        height: 45%;
        width: 130%;
        transform: translateX(-25%) translateY(15%);
        bottom: 0;

    }


    /* VIDEO HERO SECTION */
    .video-hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 3.8rem;
        line-height: 100%;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    /* INTRO QUOTE SECTION */

    .scroll-section .quote-wrapper {

        top: 40%;
        padding-left: 1rem;
        padding-right: 1rem;
        flex-direction: row;
    }

 .scroll-section .quote-wrapper .quote-text {
    font-size: 1.2rem!important;
}






    /* model viewer */
    .model-viewer-wrapper.static-position {
        margin-left: unset;
    }

    .model-viewer-wrapper.static-position {
        height: 40vh;
    }

    .model-viewer-wrapper model-viewer {
        width: 120%;
        height: 120%;
        left: -10%;
        top: -10%;
    }

    /* DOUBLE SLIDER SECTION */
    .large h3 {
        font-size: 1.6rem;
        line-height: 120%;
    }

    .hashtags {
        gap: 1.2rem;
        justify-content: flex-start;
    }

    /* spacing */
    .top-space {
        margin-top: 5rem;
    }

    .bottom-space {
        margin-bottom: 5rem;
    }

    /* VIDEO SLIDER SECTION */
    .swiper-button-next,
    .swiper-button-prev {
        bottom: 43% !important;
    }

    /* CALENDAR */
    .dates-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* INTRO SLIDES */
    /* intro slide */
    .scroll-section .section-content h1 {
        font-size: 3.2rem;
    }

    .section-content h2 {
        font-size: 2.2rem;
    }



    /* SUBPAGE MAP SECTION */
    .city-info .title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .city-info .city-date {
        font-size: 1.5rem;
    }

    .city-info .city-title {
        font-size: 1.2rem;
    }

    .city-info .text-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .city-info .city-category {
        flex-direction: row;
        text-align: left;
    }

    .map-wrapper {
        height: 500px;
    }

    /* STORIES SECTION */
    /* grid layout */
    .stories.card-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 380px;
    }

    /* SUBPAGE: Story */
    .story h1.section-headline {
        font-size: 2.5rem !important;
    }

    .story h2.section-subheadline {
        font-size: 1.3rem;
    }

    .story h2.section-headline {
        font-size: 2.2rem !important;
        line-height: 120%;
    }

    /* Tabs section content padding for tablet */
    section.tabs-section-wrapper .tabs-section .row,
    section.tabs-section-wrapper .tab-content {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    /* Allow nav-pills to break out of container on tablet */
    section.tabs-section-wrapper .tabs-section {
        overflow: visible;
    }

    section.tabs-section-wrapper .row {
        overflow: visible;
    }

    section.tabs-section-wrapper .col-12:has(.nav-pills-wrapper) {
        overflow: visible;
    }

    /* Scroll hint button for tabs on tablet */
    .nav-pills-wrapper {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .nav-scroll-hint {
        position: absolute;
        right: 0rem;
        top: 50%;
        transform: translateY(-62%);
        background: #D8DDCA;
        background: linear-gradient(90deg, rgba(216, 221, 202, 0) 0%, rgba(216, 221, 202, 1) 36%, rgba(216, 221, 202, 1) 100%);
        border: none;
        width: 60px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: opacity 0.3s ease;
    }

    .nav-scroll-hint.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .nav-scroll-hint img {
        width: 20px;
        height: 20px;
        transform: translateX(10px);
        filter: brightness(0);
    }

    /* Horizontal scrolling for nav pills on tablet */
    .nav {
        flex-wrap: nowrap;
        overflow: auto;
        width: calc(100% + 0rem);
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .nav-pills {
        flex-direction: row;
        gap: 0.8rem;
    }

    .nav-pills .nav-link {
        position: relative;
        flex-direction: row;
        align-items: center;
        min-height: 46px;
        justify-content: center;
        white-space: nowrap;
        padding: 0.2rem 0.8rem 0.2rem 2.5rem;
    }

    .nav-pills .nav-link .icon {
        height: 1.2rem;
        left: 0.7rem;
        position: absolute;
    }

    .nav-pills .nav-item {
        max-width: none;
        flex: 1;
        min-height: 60px;
    }
}


/* P H O N E  only */

@media (max-width: 767.98px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    .phone-only {
        display: block;
    }

    .phone-upwards {
        display: none;
    }

    section:not(.video-hero) {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .subpage-exhibition section.container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    section.scroll-section,
    section.cards-section,
    section.container-fluid {
        padding-left: 0rem;
        padding-right: 0rem;
    }

    /* Exception for tabs section */
    section.tabs-section-wrapper {
        padding-left: 0rem;
        padding-right: 0rem;
    }

    /* Add padding to content inside tabs section */
    section.tabs-section-wrapper .tabs-section .row,
    section.tabs-section-wrapper .tab-content {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    /* section.container-fluid:not(.video-hero) {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    } */

    /* NAV */
    .slide-in-menu {
        width: 100svw;
        max-width: unset;
        height: 100svh !important;
        max-height: unset !important;
        border-radius: 0;
        flex-direction: column;
    }

    .slide-in-menu .offcanvas-header {
        width: 100%;
        padding-top: 2.2rem;
    }

    .slide-in-menu .offcanvas-body {
        height: 100%;
    }

    .slide-in-menu .main-menu {
        height: 100%;
        padding-bottom: 40%;
        flex-direction: column;
        justify-content: center;
    }

    .slide-in-menu a {
        font-size: 1.4rem;
    }

    /* homebutton */
    .main-navigation .container-fluid {
        justify-content: flex-end;
    }

    .homebutton {
        position: absolute;
        top: 0.5rem;
        left: 0.5rem;
        z-index: 10;
    }

    .homebutton .image {
        width: 3.2rem;
    }

    /* back to top */
    .scroll-to-top.move {
        bottom: 22rem;
    }

    /* VIDEO HERO SECTION */
    .video-hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 3rem;
        line-height: 100%;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    /* scroll button */
    .scroll-button {
        padding: 0.4rem 1.1rem;
    }

    .scroll-button img {
        width: 1rem;
    }

    /* INTRO QUOTE SECTION */
    .quote-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .quote-image {
        width: 120px;
        border: 3px solid #FFFFFF;
    }

    .quote .quote-text {
        font-size: 1.2rem;
    }

    .two-cols-text {
        column-count: 1;
    }

    .model-viewer-wrapper img {
        width: 85%;
    }

    .mobile-unset {
        margin: unset;
    }

    .scroll-navigation .wrapper {
        padding-bottom: 0.5rem;
        justify-content: space-between;
        padding-right: 30px;
        gap: 3rem;
    }

    .scroll-section .quote-wrapper {
        right: 0;
        width: 100%;
        top: 40%;
        padding-left: 1rem;
        padding-right: 1rem;
        flex-direction: row;
    }

    .scroll-section .quote-wrapper .quote {
        gap: 0.4rem;
    }

    .scroll-section .quote-wrapper .quote-text {
        font-size: 1.2rem;
    }

    @keyframes moveUp {
        30% {
            right: 8%;
        }

        60% {
            right: 5%
        }

        100% {
            top: 0.8rem;
            right: 3.7rem;
            background: var(--page-mid-grey);
            z-index: 5;
        }
    }


    /* model viewer */
    .model-viewer-wrapper.static-position {
        position: relative;
        height: 45vh;
        margin-top: unset;
        padding: 0;
        width: 120%;
        margin-left: -10%;
        overflow: visible;
    }

    .model-viewer-wrapper model-viewer {
        width: 120%;
        height: 100%;
        left: 0;
        top: 0;
    }

    .move-up {
        margin-top: unset;
    }

    /* spacing */
    .top-space {
        margin-top: 3rem;
    }

    .top-space.medium {
        margin-top: unset;
    }

    .bottom-space {
        margin-bottom: 3rem;
    }

    /* image sizes */
    .smaller {
        width: 100%;
    }

    /* headline */
    .section-headline {
        font-size: 1.5rem;
    }

    h3.section-headline {
        font-size: 1.3rem;
    }

    /* data cols */
    .data-cols h2 {
        text-align: left;
    }

    .data-text h3 {
        text-align: left;
    }

    .data-text .number {
        font-size: 5rem;
        padding-left: 0rem;
    }

    /* center text */
    .center-text {
        text-align: left;
    }

    /* VIDEO SLIDER SECTION */
    .swiper-button-next,
    .swiper-button-prev {
        bottom: 40% !important;
    }

    .video-slider .swiper .section-headline {
        text-align: left;
    }

    .play-button {
        width: 4rem !important;
    }

    /* footer */
    footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    footer .logo-wrapper {
        width: 100%;
        gap: 3rem;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    footer .logo-wrapper li {
        justify-content: flex-start;
        max-width: 80%;
        width: fit-content;
    }

    footer .logo-wrapper li img {
        max-height: 80px;
    }

    /* INTRO SLIDER */
    .intro-slider .row {
        flex-direction: column-reverse;
    }

    /* SUBPAGE MAP SECTION */
    .city-info .title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .city-info .city-date {
        font-size: 1.5rem;
    }

    .city-info .city-title {
        font-size: 1.2rem;
    }

    .city-info .text-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .city-info .city-category {
        flex-direction: row;
        text-align: left;
    }

    .map-wrapper {
        height: 380px;
        /* background: blue; */
    }

    /* OPTIONS LIST */
    .options-list {
        flex-direction: column;
    }

    .options-list .option-item {
        width: 100%;
        max-width: unset;
    }

    /* FAQ */
    .faq .accordion-header,
    .faq .accordion-button {
        width: 100%;
    }

    /* FORM */
    .form-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .form-accordion .accordion-body {
        padding-left: 0 !important;
    }

    /* SUBPAGE: Contact */
    .contact .form-row {
        flex-direction: row-reverse;
    }

    /* OVERFLOW IMAGES */
    .overflow-left-small,
    .overflow-right-small {
        width: 100%;
        margin-left: unset;
    }

    /* BOOKING BUTTON */

    .booking-button {
        position: relative;

        top: 15px;
        bottom: unset;
        left: 50%;
        right: unset;
        transform: translateX(-50%) rotate(0deg) !important;
        width: fit-content;
        height: fit-content;
        margin-bottom: 4rem;
        padding: 0.4rem 0.8rem;

        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        border-radius: 9px;
        white-space: nowrap;
        overflow-wrap: normal;
    }

    .booking-button.is-sticky {
        position: fixed;
        right: 50%;
    }

    .booking-button .icon {
        transform: rotate(-5deg) !important;
    }

    .booking-button br {
        display: none;
    }

    /* MOBIL */
    .mobil-section .row {
        flex-direction: column-reverse;
    }

    /* MÖGLICHKEITEN */
    .possibility section:first-child h2.section-headline,
    .contact section:first-child h2.section-headline {
        font-size: 2.7rem;
        line-height: 110%;
    }

    .possibility h2.section-headline,
    .stories h2.section-headline,
    .contact h2.section-headline {
        font-size: 2rem;
        line-height: 110%;
    }

    /* STORY */
    .story section:first-child h2.section-headline {
        font-size: 2.7rem;
        line-height: 110%;
    }

    .story h2.section-headline {
        font-size: 2rem;
        line-height: 110%;
    }

    /* TABS SECTION */
    .nav {
        flex-wrap: nowrap;
        overflow: auto;
        width: calc(100% + 0rem);
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .nav-pills {
        flex-direction: row;
        gap: 0.4rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .nav-pills .nav-link {
        position: relative;
        flex-direction: row;
        align-items: center;
        min-height: 46px;
        justify-content: center;
        white-space: nowrap;
        padding: 0.2rem 0.8rem 0.2rem 2.5rem;
    }

    .nav-pills .nav-link .icon {
        height: 1.2rem;
        left: 0.7rem;
        position: absolute;
    }

    .nav-pills .nav-item {
        max-width: none;
        flex: 1;
        min-height: 60px;
    }

    .tab-content h3 {
        font-size: 1.7rem;
        margin-bottom: 0;
    }

    .infobox .headline-wrapper {
        margin-bottom: 0.3rem;
    }

    .infobox .bubble {
        width: 1.5rem;
    }

    /* Allow nav-pills to break out of container on mobile */
    section.tabs-section-wrapper .tabs-section {
        overflow: visible;
    }

    section.tabs-section-wrapper .row {
        overflow: visible;
    }

    section.tabs-section-wrapper .col-12:has(.nav-pills-wrapper) {
        overflow: visible;
    }

    /* Scroll hint button for tabs */
    .nav-pills-wrapper {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .nav-scroll-hint {
        position: absolute;
        right: 0rem;
        top: 50%;
        transform: translateY(-62%);
        background: #D8DDCA;
        background: linear-gradient(90deg, rgba(216, 221, 202, 0) 0%, rgba(216, 221, 202, 1) 36%, rgba(216, 221, 202, 1) 100%);
        border: none;
        width: 60px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;

        transition: opacity 0.3s ease;
    }

    .nav-scroll-hint.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .nav-scroll-hint img {
        width: 20px;
        height: 20px;
        transform: translateX(10px);
        filter: brightness(0);
    }

    .infobox h4 {
        font-size: 1.2rem;
    }

    .custom-row {
        column-count: 1;
    }

    .custom-column {
        margin-bottom: 1.5rem;
    }

    /* steps slider */
    .steps-slider-wrapper {
        width: 94%;
    }

    .steps-slider:after {
        right: 1.5rem;
    }

    /* CARD GRID */
    #moeglichkeiten {
        padding-top: 9vh !important;
    }

    .card-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 120px;
    }

    .card-grid .single-card {
        grid-column: span 1 !important;
    }

    .card-grid .single-card.card-large,
    .card-grid .single-card.card-medium {
        grid-row: span 3 !important;
    }

    .card-grid .single-card.card-small {
        grid-row: span 2 !important;
    }

    .card-filter-list {
        gap: 0.65rem;
    }

    .category-filter {
        padding: .2rem .5rem;
        font-size: 0.85rem !important;
    }

    .card-grid .single-card.card-large .preview-image img,
    .card-grid .single-card.card-medium .preview-image img {
        object-fit: contain;
        transform: scale(1.4);
    }

    /* STORIES SECTION */
    /* grid layout */
    .stories.card-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 420px;
    }

    /* SUBPAGE: Story */
    .story h1.section-headline {
        font-size: 2.2rem !important;
        line-height: 100%;
        margin-bottom: 1.2rem !important;
    }

    .story h2.section-subheadline {
        font-size: 1.2rem;
        margin-bottom: 2rem !important;
    }

    .render-image {
        max-width: 80%;
    }

    /* SCROLL SLIDES */
    .bg-iframe {
        top: unset;
        left: 0;
        bottom: 0%;
        width: 100%;
        height: 50vh;
    }


    /* intro slide */
    .scroll-section .section-content h1 {
        font-size: 2.4rem;
    }

    .intro-slide .section-content h2 {
        font-size: 1.25rem;
    }

    .section-content {
        justify-content: flex-start;
        padding-top: 9vh;
        padding-bottom: unset;
    }

    .section-content h2 {
        font-size: 1.8rem;
        line-height: 110%;
    }

    /* higher padding for sections 2-5 on mobile */
    #section2 .section-content,
    #section3 .section-content,
    #section4 .section-content {
        padding-top: 18vh;
    }

        #section5 .section-content {
        padding-top: 12vh;
    }

    /* footer */
    .snap-scroll-container footer {

        width: 100vw;
    }

}

/* Very small/short devices - iPhone SE, etc */
@media (max-height: 670px) and (orientation: portrait) {


    .section-content {
        padding-top: 10vh;
        padding-bottom: 1vh;
    }

    .section-content p {
        font-size: 0.9rem;
        line-height: 1.25rem;
    }

    .section-headline {
        font-size: 1.4rem;
        margin-bottom: 1rem !important;
    }

    .section-content h2 {
        font-size: 1.5rem;
    }


    #section2 .section-content,
    #section3 .section-content,
    #section4 .section-content {
        padding-top: 18vh;
    }

    #section5 .section-content {
        padding-top: 12vh;
    }

    .scroll-section .quote-wrapper {
        right: 0;
        width: 100%;
        top: 38%;

    }

    .scroll-section .quote-wrapper .quote-text {
        font-size: 1rem;
    }

}


/* QR Code Modal Styling */
.qr-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e1e6d2cb;
    z-index: 9999;
}

.qr-modal-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    width: 50%;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.qr-modal-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}

.qr-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.qr-code-image {
    margin: 1rem 0;
    max-width: 250px;
    height: auto;
}

.qr-link-text {
    font-weight: 400;
    margin-top: 1rem;
    color: #447e7c;
    word-break: break-all;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* P H O N E  landscape only */
@media (max-width: 1023px) and (orientation: landscape) {}

/* everything bigger than phone */
@media (min-width: 768px) {
    .phone-only {
        display: none;
    }

    .phone-upwards {
        display: block;
    }
}

/* T A B L E T  only */

@media (min-width: 768px) and (max-width: 991.98px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }
}


/* T A B L E T  landscape only */
@media (min-width: 1024px) and (max-width: 1199px) and (orientation: landscape) {}


/* S C R E E N */

/* mini screens */
@media (max-width: 515.98px) {

    /* VIDEO SLIDER SECTION */
    .swiper-button-next,
    .swiper-button-prev {
        bottom: 35% !important;
    }

    .subpage-intro-slider .swiper-button-next,
    .subpage-intro-slider .swiper-button-prev {
        bottom: 55% !important;
    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {}

@media (max-width: 1199.98px) {}

@media (min-width: 1200px) {

    /* page width */
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        /* max-width: 1200px; */
    }

    /* booking button */
    .booking-button {
        width: 10rem;
        height: 10rem;
        right: 2rem;
        bottom: 48vh;
        font-size: 1.2rem;
    }

    .booking-button .icon {
        width: 4rem;
    }
}

@media (min-width: 1400px) {

    /* page width */
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1400px;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        grid-auto-rows: 260px;
    }
}

@media (min-width: 2000px) {

    /* page width */
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1600px;
    }

    /* exception for filter-grid section */
    #filter-grid .container,
    #filter-grid .container-lg,
    #filter-grid .container-md,
    #filter-grid .container-sm,
    #filter-grid .container-xl,
    #filter-grid .container-xxl {
        max-width: 1400px;
    }

    /* intro slides */
    .scroll-section .section-content h1 {
        font-size: 6rem;
        line-height: 100%;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .scroll-section .section-content h2 {
        font-size: 1.9rem;
    }

    .scroll-section .section-content .section-headline {
        font-size: 3rem;
    }

    .cards-section .section-headline {
        font-size: 3rem;
    }
}