/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* + + + + + + + + + +    112.HESSEN   + + + + + + + + + + */
/* + + + + + + + + + + CORE STYLESHEET + + + + + + + + + + */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

/************************************************************

$name      => 112.HESSEN <einseinszwo.hessen>
$author    => Nick Helfenbein <nick@codexblau.de>
$version   => Version 1 (1.0)
$year      => 2026
$copyright => 2026. CODEXBLAU GmbH. All rights reseved.

************************************************************/

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + */



/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
 + + + + + + + + + LOGO FILL + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

.logo-fill-primary {
    fill: var(--color-primary);
}

.logo-fill-secondary {
    fill: var(--color-secondary);
}


/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
 + + + + + + + + + NAVIGATION  + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(var(--color-natural-100-rgb), .25);
    max-height: calc(var(--padding-section) * 1.25);
    min-height: calc(var(--padding-section) * 1.25);
    backdrop-filter: blur(1.5em);
    transition: max-height .5s var(--animation-default), min-height .5s var(--animation-default);
    z-index: 1000;
}

.navigation .container.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(var(--padding-section) * 1.25);
    transition: height .5s var(--animation-default);
}

[data-scroll-status="scrolled"] .navigation {
    max-height: calc(var(--padding-section) * 1);
    min-height: calc(var(--padding-section) * 1);
}

[data-scroll-status="scrolled"] .navigation .container.row {
    height: var(--padding-section);
}

.navigation .row .col-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: calc(var(--gap) * 2);
}

.navigation .row .col-logo .svg,
.navigation .row .col-logo .svg svg {
    width: 100%;
    max-height: calc(calc(var(--padding-section) * 1.25) - 2em);
    display: block;
    transition: all .5s var(--animation-default);
}

[data-scroll-status="scrolled"] .navigation .row .col-logo .svg,
[data-scroll-status="scrolled"] .navigation .row .col-logo .svg svg {
    max-height: calc(calc(var(--padding-section) * 1) - 1.5em);
}

.navigation .row .col-logo .svg .logo-fill-primary,
.navigation .row .col-logo .svg .logo-fill-secondary {
    fill: var(--color-white) !important;
}

.navigation .row .col-logo .svg .logo-fill-secondary {
    opacity: .5;
}

.navigation .row .col-logo .text p {
    font-size: 1.75em;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-white);
    mix-blend-mode: difference;
    transition: all .5s var(--animation-default);
}

[data-scroll-status="scrolled"] .navigation .row .col-logo .text p {
    font-size: 1.25em;
}

.navigation .row .col-logo .text p span {
    font-weight: 800;
}

.navigation .row .col-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: var(--gap);
}

@media screen and (max-width: 575px) {
    .navigation .row .col-logo {
        gap: var(--gap);
        min-width: 0;
    }

    .navigation .row .col-logo .svg {
        width: 2.5em;
        flex-shrink: 0;
    }

    .navigation .row .col-logo .text p {
        font-size: 1.1em;
    }

    .navigation .row .col-button {
        gap: calc(var(--gap) * .5);
    }

    .navigation .btn[data-btn-type="secondary"] .btn-wrap {
        padding: .7rem .9rem;
    }

    .navigation .btn[data-btn-type="secondary"] .btn-text-inner {
        font-size: .8rem;
        white-space: nowrap;
    }

    .navigation .btn[data-btn-type="menu"] .btn-wrap {
        padding: .7rem;
    }
}


/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 + + + + + + + + + NAVIGATION OVERLAY (FLYOUT MENU) + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: var(--color-natural-1000);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2%);
    transition: opacity .5s var(--animation-default), transform .6s var(--animation-default);
    overflow: hidden;
}

[data-navigation-status="active"] .nav-overlay {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.nav-overlay-glow {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 15% 20%, rgba(var(--color-secondary-rgb), .35), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(var(--color-primary-rgb), .45), transparent 50%);
    pointer-events: none;
}

.nav-overlay-inner {
    position: relative;
    height: 100%;
    padding-top: calc(var(--padding-section) * 1.35);
    padding-bottom: var(--padding-section);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: calc(var(--gap) * 2);
}

.nav-overlay-links {
    display: flex;
    flex-direction: column;
}

.nav-overlay-link {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: var(--gap);
    padding-block: .4em;
    text-decoration: none;
    color: var(--color-white);
    border-bottom: 1px solid rgba(var(--color-natural-100-rgb), .12);
    transition: color var(--animation-default), padding-left var(--animation-default);
}

.nav-overlay-link:first-child {
    border-top: 1px solid rgba(var(--color-natural-100-rgb), .12);
}

.nav-overlay-link:hover {
    color: var(--color-secondary);
    padding-left: .5em;
}

.nav-overlay-link-index {
    font-size: var(--font-size-small);
    color: var(--color-secondary);
    font-weight: 700;
}

.nav-overlay-link-label {
    font-size: var(--font-size-h3);
    text-transform: uppercase;
    line-height: 1.2;
}

.nav-overlay-footer {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--gap);
}

.nav-overlay-legal {
    display: flex;
    gap: calc(var(--gap) * 1.5);
}

.nav-overlay-legal a {
    color: var(--color-natural-500);
    text-decoration: none;
    font-size: var(--font-size-small);
    transition: color var(--animation-default);
}

.nav-overlay-legal a:hover {
    color: var(--color-white);
}

.nav-overlay-social {
    display: flex;
    gap: .6em;
}

.nav-overlay-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    border: 1px solid rgba(var(--color-natural-100-rgb), .15);
    color: var(--color-white);
    transition: background var(--animation-default), border-color var(--animation-default);
}

.nav-overlay-social-icon svg {
    width: 1.1em;
    height: 1.1em;
}

.nav-overlay-social-icon:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

@media screen and (max-width: 767px) {
    .nav-overlay-link-label {
        font-size: var(--font-size-h4);
    }

    .nav-overlay-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 + + + + + + + + + HOME  + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

/* Hero */

.section-home-hero {
    position: relative;
    height: calc(var(--vh) * 100);
    background: var(--color-natural-1000);
    z-index: 3;
}

.section-home-hero .overlay-background-media {
    height: calc(calc(var(--vh) * 100) - calc(var(--padding-section) * 2.5));
    top: 50%;
    transform: translateY(-50%);
    border-bottom: 1px solid rgba(var(--color-natural-100-rgb), .25);
    z-index: 0;
}

.section-home-hero .overlay-background-media .overlay-background-video {
    z-index: 1;
}

.section-home-hero .overlay-background-media .overlay-gradient {
    background: rgba(var(--color-natural-1000-rgb), .5);
    z-index: 2;
}

.section-home-hero .container {
    position: relative;
    padding-bottom: var(--padding-container);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
}

.section-home-hero h1 {
    /* Eigener, engerer Mindestwert als --font-size-h1: die Hero-Headline
       ist der längste Fließtext im gesamten Type-System und muss auch auf
       sehr schmalen Screens (320–375px) ohne Umbruchprobleme passen. */
    font-size: clamp(2.1rem, 1.14rem + 4.81vw, 5.95rem);
    max-width: 22em;
    overflow-wrap: break-word;
}


/* Hero */

.section-home-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10em;
    background: linear-gradient(to bottom, var(--color-natural-1000), rgba(var(--color-natural-1000-rgb), 0));
    z-index: 4;
}

.section-home-intro .container {
    height: calc(var(--vh) * 100);
    max-width: calc(100% - calc(var(--padding-section) * 1));
}

.section-home-intro .car-scroll {
    z-index: 1000;
    pointer-events: none;
    justify-content: center;
    align-items: flex-start;
    display: block;
    position: fixed;
    inset: 0%;
}

.section-home-intro .car-scroll .car-wrapper {
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100dvh;
    display: flex;
    position: sticky;
    top: 0;
}

.section-home-intro .car-scroll .car-wrapper img {
    filter: none;
    max-width: 11rem;
    position: absolute;
}

[data-timeline="item"].row {
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.item-col-image,
.item-col-content {
    width: calc(50% - 10rem);
}

.item-col-image {
    flex-shrink: 0;
}

.item-col-image .image-figure {
    border-radius: 1em;
    overflow: hidden;
}

.reveal-wrap {
    overflow: hidden;
    display: block;
}

.item-title {
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: .5em;
}

.item-text,
.item-text * {
    font-size: var(--font-size-medium);
}

.item-logo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    margin-top: var(--gap);
}

.item-logo-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
}

.item-logo-image {
    max-height: calc(3em + calc(var(--gap) * 2));
    width: 100%;
    padding: var(--gap);
    border-radius: 1.5em;
    background: var(--color-white);
    border: 1px solid var(--color-natural-300);
}

@media screen and (max-width: 767px) {
    .section-home-intro .car-scroll {
        display: none;
    }

    .section-home-intro .container {
        height: max-content;
    }

    [data-timeline="item"].row {
        flex-direction: column;
        justify-content: start;
        gap: calc(var(--gap) * 3);
        padding-bottom: calc(var(--gap) * 3);
    }

    .item-col-image,
    .item-col-content {
        width: 100%;
    }
}


.section-home-spacer {
    min-height: calc(var(--vh) * 100);
}


/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 + + + + + + + + + HOME – DREHORTE SLIDER + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

.section-home-locations {
    background: var(--color-natural-1000);
    overflow: hidden;
}

.section-home-locations .container-header {
    margin-bottom: calc(var(--gap) * 3);
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: var(--gap);
}

.section-home-locations .header-eyebrow {
    width: 100%;
}

.section-home-locations .header-title {
    flex: 1 1 auto;
    max-width: 40em;
}

.section-home-locations .header-title h3 {
    text-transform: uppercase;
}

.section-home-locations .header-text {
    flex: 0 1 22em;
}

.section-home-locations .header-text p {
    color: var(--color-natural-500);
}

.locations-slider {
    position: relative;
}

.locations-slider .swiper-wrapper {
    cursor: grab;
}

.locations-slider[data-slider-drag-status="grabbing"] .swiper-wrapper {
    cursor: grabbing;
}

.location-slide {
    position: relative;
    border-radius: 1em;
    overflow: hidden;
    background: var(--color-natural-900);
    border: 1px solid rgba(var(--color-natural-100-rgb), .1);
}

.location-slide .image-figure {
    pointer-events: none;
}

.location-slide-gradient {
    background: linear-gradient(to top, rgba(var(--color-natural-1000-rgb), .95) 0%, rgba(var(--color-natural-1000-rgb), .25) 55%, rgba(var(--color-natural-1000-rgb), 0) 100%);
}

.location-slide-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: calc(var(--gap) * 1.25);
    pointer-events: none;
}

.location-slide-index {
    display: inline-block;
    font-size: var(--font-size-small);
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--color-secondary);
    margin-bottom: .5em;
}

.location-slide-name {
    text-transform: uppercase;
    font-size: var(--font-size-medium);
    line-height: 1.15;
    margin-bottom: .35em;
}

.location-slide-text {
    font-size: var(--font-size-small);
    color: var(--color-natural-500);
    max-width: 24em;
}

.locations-nav {
    justify-content: center;
    align-items: center;
    gap: .6em;
    margin-top: calc(var(--gap) * 2);
}

@media screen and (max-width: 767px) {
    .section-home-locations .header-text {
        display: none;
    }
}