/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × CODEXBLAU  GMBH × × × × × × × × × × */
/* × × × × × × × × × × CORE STYLESHEET × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

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

$name      => CODEXBLAU GmbH
$author    => Nick Helfenbein <nick@codexblau.de>
$version   => Version 2 (2.0)
$year      => 2026
$copyright => 2026. CODEXBLAU GmbH. All rights reseved.

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

/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */



/*

//// CI Definitions:

==== Fonts: ====
- Main: Eurostile

==== Colors: ====
- Main Color: rgb(0, 118, 192);
- Secondary Color: rgb(0, 0, 100)

*/


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × FONTS × × × × × × × × × × × × × × × × × ×
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-BoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × VARIABLES × × × × × × × × × × × × × × × × 
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

[data-theme="light"],
:root {

    /* × × × //// Colors //// × × × */

    --color-primary-rgb: 43, 75, 155;
    --color-primary: rgba(var(--color-primary-rgb), 1);

    --color-secondary-rgb: 213, 21, 26;
    --color-secondary: rgba(var(--color-secondary-rgb), 1);



    /* Natrual */
    --color-natural-100-rgb: 255, 255, 255;
    --color-natural-100: rgba(var(--color-natural-100-rgb), 1);

    --color-natural-200-rgb: 240, 240, 240;
    --color-natural-200: rgba(var(--color-natural-200-rgb), 1);

    --color-natural-300-rgb: 225, 225, 225;
    --color-natural-300: rgba(var(--color-natural-300-rgb), 1);

    --color-natural-400-rgb: 200, 200, 200;
    --color-natural-400: rgba(var(--color-natural-400-rgb), 1);

    --color-natural-500-rgb: 160, 160, 160;
    --color-natural-500: rgba(var(--color-natural-500-rgb), 1);

    --color-natural-600-rgb: 120, 120, 120;
    --color-natural-600: rgba(var(--color-natural-600-rgb), 1);

    --color-natural-700-rgb: 90, 90, 90;
    --color-natural-700: rgba(var(--color-natural-700-rgb), 1);

    --color-natural-800-rgb: 60, 60, 60;
    --color-natural-800: rgba(var(--color-natural-800-rgb), 1);

    --color-natural-900-rgb: 30, 30, 30;
    --color-natural-900: rgba(var(--color-natural-900-rgb), 1);

    --color-natural-1000-rgb: 0, 0, 0;
    --color-natural-1000: rgba(var(--color-natural-1000-rgb), 1);


    --color-success-rgb: 40, 180, 60;
    --color-success: rgba(var(--color-success-rgb), 1);

    --color-success-light-rgb: 185, 225, 190;
    --color-success-light: rgba(var(--color-success-light-rgb), 1);

    --color-error-rgb: 220, 50, 50;
    --color-error: rgba(var(--color-error-rgb), 1);

    --color-error-light-rgb: 230, 180, 180;
    --color-error-light: rgba(var(--color-error-light-rgb), 1);


    /* Shortcuts */
    --color-text: var(--color-natural-800);
    --color-black: var(--color-natural-1000);
    --color-white: var(--color-natural-100);
    --color-background: var(--color-white);
    --color-navigation: var(--color-white);
    --color-selection: var(--color-white);


    /* × × × //// Scaling Core //// × × × */

    /*
        Ein einziger, durchgängiger Fluid-Maßstab von 320px bis 1920px
        Viewport-Breite (statt pro Breakpoint neu verankerter Werte).
        Dadurch gibt es an den Breakpoints (480/767/992px) keine Sprünge
        mehr in Abständen/Gaps – der Wert wandert stufenlos mit.

        Formel (Utopia-Fluid-Scale): clamp(MIN, a + b·vw, MAX)
        320px → 0.5rem (8px) · 1920px → 1.25rem (20px)
    */
    --size-dynamic: clamp(0.5rem, 0.35rem + 0.75vw, 1.25rem);

    --size-container-normal-min: 992px;
    --size-container-normal-max: 1280px;
    --size-container-normal: clamp(var(--size-container-normal-min), 100vw, var(--size-container-normal-max));

    --size-container-medium-min: 768px;
    --size-container-medium-max: 991px;
    --size-container-medium: clamp(var(--size-container-medium-min), 100vw, var(--size-container-medium-max));

    --size-container-small-min: 480px;
    --size-container-small-max: 767px;
    --size-container-small: clamp(var(--size-container-small-min), 100vw, var(--size-container-small-max));

    --size-container-full: 100%;

    --padding-container: calc(var(--size-dynamic) * 1.5);
    --padding-section: calc(var(--size-dynamic) * 7.5);
    --padding-section-small: calc(var(--size-dynamic) * 6);

    --gap: calc(var(--size-dynamic) * 1);
    --row-gap: calc(var(--size-dynamic) * 1);
    --col-gap: calc(var(--size-dynamic) * 1);

    /* × × × //// Font Settings //// × × × */

    --font-sans: "DM Sans", sans-serif;
    --font-input: "DM Sans", sans-serif;

    /*
        Type-Scale mit gemeinsamem Anker (320px → 1600px Viewport) und
        konstantem Verhältnis (1.2 mobil / 1.25 desktop) je Ebene –
        vorher lief jede Ebene bei einer anderen Breite "aus", wodurch
        sich die Proportionen zwischen den Ebenen beim Resizen leicht
        verschoben haben.
    */
    --font-size-h1: clamp(2.99rem, 2.25rem + 3.71vw, 5.95rem);
    --font-size-h2: clamp(2.49rem, 1.92rem + 2.84vw, 4.76rem);
    --font-size-h3: clamp(2.07rem, 1.64rem + 2.17vw, 3.81rem);
    --font-size-h4: clamp(1.73rem, 1.4rem + 1.65vw, 3.05rem);
    --font-size-h5: clamp(1.44rem, 1.19rem + 1.25vw, 2.44rem);
    --font-size-h6: clamp(1.2rem, 1.01rem + 0.94vw, 1.95rem);

    --font-size-large: clamp(1.25rem, 1.13rem + 0.63vw, 1.75rem);
    --font-size-medium: clamp(1.125rem, 1.03rem + 0.47vw, 1.5rem);
    --font-size-p: clamp(1rem, 0.94rem + 0.31vw, 1.25rem);
    --font-size-small: clamp(0.9rem, 0.88rem + 0.13vw, 1rem);

    --line-height-heading: 1;
    --line-height-main: 1.25;
    --line-height-text: 1.55;


    /* × × × //// Viewportheight //// × × × */

    --vh-in-px: 8px;
    --vh: var(--vh-in-px);


    /* × × × //// Animations //// × × × */

    /* Timing-Function */
    --ease-standard: cubic-bezier(0.625, 0.05, 0, 1);

    /* Durations */
    --time-longest: 1.2s;
    --time-long: 0.9s;
    --time-default: 0.6s;
    --time-short: 0.3s;
    --time-shortest: 0.15s;

    /* Animations */
    --animation-longest: var(--time-longest) var(--ease-standard);
    --animation-long: var(--time-long) var(--ease-standard);
    --animation-default: var(--time-default) var(--ease-standard);
    --animation-short: var(--time-short) var(--ease-standard);
    --animation-shortest: var(--time-shortest) var(--ease-standard);
    --animation-slider: cubic-bezier(0.16, 1, 0.3, 1);

    /* Ease-Only */
    --animation-ease-basic: 0.2s ease;
    --animation-ease-basic-long: 0.4s ease;
}

[data-theme="blue"] {

    /* Natrual */
    --color-natural-100: rgba(var(--color-natural-1000-rgb), 1);
    --color-natural-200: rgba(var(--color-natural-900-rgb), 1);
    --color-natural-300: rgba(var(--color-natural-800-rgb), 1);
    --color-natural-400: rgba(var(--color-natural-700-rgb), 1);
    --color-natural-500: rgba(var(--color-natural-600-rgb), 1);
    --color-natural-600: rgba(var(--color-natural-500-rgb), 1);
    --color-natural-700: rgba(var(--color-natural-400-rgb), 1);
    --color-natural-800: rgba(var(--color-natural-300-rgb), 1);
    --color-natural-900: rgba(var(--color-natural-200-rgb), 1);
    --color-natural-1000: rgba(var(--color-natural-100-rgb), 1);

    /* Shortcuts */
    --color-text: var(--color-natural-800);
    --color-black: var(--color-natural-1000);
    --color-white: var(--color-natural-100);
    --color-background: var(--color-black);
    --color-navigation: var(--color-black);
    --color-selection: var(--color-black);
}

@media (hover: hover) {

    :root {
        --vh: 1vh;
    }

    @supports (height: 1svh) {
        :root {
            --vh: 1svh;
        }
    }
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × RESET × × × × × × × × × × × × × × × × × ×
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

/* LENIS - Start */

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
[data-lenis-prevent]::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
[data-lenis-prevent],
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* LENIS - End */


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

html {
    scroll-behavior: initial;
}

body {
    -webkit-font-smoothing: antialiased;
    font-family: 'DM Sans', sans-serif;
    color: var(--color-white);
    line-height: 1.5;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    font-size: clamp(16px, 1.2vw, 19px);
    background-color: var(--color-natural-1000);
}

html,
body {
    width: 100%;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

main {
    box-sizing: border-box;
}

.site-wrap {
    will-change: transform;
    box-sizing: border-box;
}


/* General */
canvas,
img,
video,
picture,
figure {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    display: block;
}

svg {
    max-width: none;
    height: auto;
    box-sizing: border-box;
}

audio,
canvas,
iframe,
img,
svg,
video,
picture,
figure {
    vertical-align: middle;
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × TYPOGRAPHY  × × × × × × × × × × × × × × ×
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

li,
ol,
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
.h1,
.text-h1 {
    font-size: var(--font-size-h1);
    margin: 0;
    padding: 0;
}

h2,
.h2,
.text-h2 {
    font-size: var(--font-size-h2);
    margin: 0;
    padding: 0;
}

h3,
.h3,
.text-h3 {
    font-size: var(--font-size-h3);
    margin: 0;
    padding: 0;
}

h4,
.h4,
.text-h4 {
    font-size: var(--font-size-h4);
    margin: 0;
    padding: 0;
}

h5,
.h5,
.text-h5 {
    font-size: var(--font-size-h5);
    margin: 0;
    padding: 0;
}

h6,
.h6,
.text-h6 {
    font-size: var(--font-size-h6);
    margin: 0;
    padding: 0;
}


p,
.p,
.text-normal {
    font-size: var(--font-size-p);
    margin: 0;
    padding: 0;
}

.text-large {
    font-size: var(--font-size-large);
}

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

.text-small {
    font-size: var(--font-size-small);
}


.text-marked {
    position: relative;
    padding: .4em .5em;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    width: max-content;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.text-marked.text-marked-white {
    background: var(--color-white);
    color: var(--color-black);
}

.text-marked.text-marked-red {
    background: var(--color-error);
    color: var(--color-white);
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × LAYOUT  × × × × × × × × × × × × × × × × ×
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

/* Section*/

.section {
    padding-block: var(--padding-section);
    position: relative;
    width: 100vw;
}

.section.small {
    padding-block: var(--padding-section-small);
}

.section-wrap {
    position: relative;
}

.section.full-height {
    padding-top: 0;
    padding-bottom: 0;
}

.section.no-padding-top {
    padding-top: 0;
}

.section.no-padding-bottom {
    padding-bottom: 0;
}

.section.no-padding {
    padding-top: 0;
    padding-bottom: 0;
}


/* Container */

.container {
    position: relative;
    max-width: var(--size-container-normal);
    margin-inline: auto;
    padding-inline: var(--padding-container);
}

.container.large {
    max-width: var(--size-container);
}

.container.medium {
    max-width: var(--size-container-medium);
}

.container.small {
    max-width: var(--size-container-small);
}

.container.full {
    max-width: var(--size-container-full);
}


/* Row/Col */

.row {
    display: flex;
    width: 100%;
    position: relative;
}

.col {
    display: flex;
    flex-direction: column;
    position: relative;
}

.row.grid {
    flex-wrap: wrap;
    gap: var(--row-gap) var(--grid-gap);
    --grid-gap: var(--col-gap);
    --columns: 3;
}

.row.grid>.col {
    width: calc((99.99% / var(--columns)) - (var(--grid-gap) * ((var(--columns) - 1) / var(--columns))));
}


/* Overlay */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × Buttons × × × × × × × × × × × × × × × × ×
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */


/* USAGE
<div class="btn" data-btn-type="normal" data-text-stagger>
    <a href="" class="btn-wrap">
        <div class="btn-bg"></div>
        <div class="btn-text">
            <span class="btn-text-inner is-default" data-text-stagger-item>
                Projekte ansehen
            </span>
            <span class="btn-text-inner is-hover" data-text-stagger-item>
                Projekte ansehen
            </span>
        </div>
    </a>
</div>
*/


:root {
    --btn-stagger-overflow: clip;
    --btn-stagger-focus-inset: -2px;

    --btn-stagger-hover-scale: .9525 .9535;
    --btn-stagger-click-scale: .955 .925;

    --btn-stagger-ease-hover: cubic-bezier(.19, 1, .22, 1);
    --btn-stagger-ease-click: cubic-bezier(.4, 0, .2, 1);
    --btn-stagger-ease-focus: cubic-bezier(.32, .72, 0, 1);

    --btn-stagger-delay: .018s;
    --btn-stagger-out-delay: .05s;
    --btn-stagger-in-delay: .20s;
}

[data-text-stagger],
.btn,
.link {
    position: relative;
    display: inline-grid;
    overflow: hidden;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: max-content;
    transition: scale .15s var(--btn-stagger-ease-click);
}

[data-text-stagger]:active,
.btn:active,
.link:active {
    scale: var(--btn-stagger-click-scale);
}

[data-text-stagger]::after {
    content: "";
    position: absolute;
    inset: var(--btn-stagger-focus-inset);
    border-radius: inherit;
    pointer-events: none;
    z-index: 5;
    transition: box-shadow .2s var(--btn-stagger-ease-focus), scale .65s var(--btn-stagger-ease-hover);
}

[data-text-stagger]:focus-visible::after,
.btn:focus-visible::after {
    box-shadow: 0 0 0 2px currentColor;
    scale: var(--btn-stagger-hover-scale);
}


.btn-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--color-primary);
    border-radius: .25em;
    transition: scale .75s var(--btn-stagger-ease-hover);
}

.btn-wrap:hover .btn-bg {
    scale: var(--btn-stagger-hover-scale);
    transition-delay: .05s;
}


.btn-wrap {
    position: relative;
    display: grid;
    overflow: hidden;
    padding: .9rem 1.4rem;
    text-decoration: none;
    color: var(--color-white);
}

.btn-text {
    position: relative;
    grid-area: 1/1;
    display: flex;
    align-items: center;
    gap: .5rem;
}


.btn-text-inner {
    grid-area: 1/1;
    white-space: nowrap;
    line-height: 1;
}

.btn-text-inner.is-hover {
    position: absolute;
    inset: 0;
}

.btn-stagger-char {
    display: inline-block;
    transform-origin: center center;
    will-change: transform, translate, opacity;
    transition: translate .6s var(--btn-stagger-ease-hover), transform .25s ease-out, opacity .15s ease-out;
}

.btn-text-inner.is-hover .btn-stagger-char {
    translate: 1.35rem 0;
    transform: skew(-28deg);
    opacity: 0;
}

@media (hover:hover) {

    [data-text-stagger]:hover .btn-text-inner.is-default .btn-stagger-char {
        translate: -1.35rem 0;
        transform: skew(-28deg);
        opacity: 0;
        transition-delay: calc((var(--char) - 1) * var(--btn-stagger-delay) + var(--btn-stagger-out-delay));
    }

    [data-text-stagger]:hover .btn-text-inner.is-hover .btn-stagger-char {
        translate: 0 0;
        transform: skew(0deg);
        opacity: 1;
        transition: translate .6s calc((var(--char) - 1) * var(--btn-stagger-delay) + var(--btn-stagger-in-delay)) var(--btn-stagger-ease-hover), transform .25s calc((var(--char) - 1) * var(--btn-stagger-delay) + var(--btn-stagger-in-delay)) ease-out, opacity .15s calc((var(--char) - 1) * var(--btn-stagger-delay) + var(--btn-stagger-in-delay)) ease-out;
    }
}

/* TYPE: Menu */

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

.btn-bars {
    position: relative;
    width: 1em;
    height: 1em;
}

.btn-bars::before,
.btn-bars::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1px;
    background: var(--color-white);
    transform: translate(-50%, -50%);
    transition: all .6s var(--btn-stagger-ease-hover);
}

.btn-bars::before {
    top: calc(33.333%);
}

.btn-bars::after {
    top: calc(66.666%);
}

[data-navigation-status="active"] .btn-bars::before {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

[data-navigation-status="active"] .btn-bars::after {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* TYPE: Secondary */

.btn[data-btn-type="secondary"] .btn-bg {
    background: var(--color-secondary);
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × LINKS × × × × × × × × × × × × × × × × × ×
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

/* USAGE
<div class="link" data-link-type="normal" data-text-stagger>
    <a href="" class="link-wrap">
        <div class="link-text">
            <span class="link-text-inner is-default" data-text-stagger-item>
                Projekte ansehen
            </span>
            <span class="link-text-inner is-hover" data-text-stagger-item>
                Projekte ansehen
            </span>
        </div>
    </a>
</div>
*/

.link-wrap {
    position: relative;
    display: grid;
    overflow: hidden;
    padding-block: .3em;
    text-decoration: none;
    color: var(--color-white);
}

.link-wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width .6s var(--btn-stagger-ease-hover);
}

.link-wrap:hover::before {
    width: 100%;
}

.link-text {
    grid-area: 1/1;
    display: flex;
    align-items: center;
    gap: .5rem;
}


.link-text-inner {
    grid-area: 1/1;
    white-space: nowrap;
    line-height: 1;
}

.link-text-inner.is-hover {
    position: absolute;
    inset: 0;
}

.btn-stagger-char {
    display: inline-block;
    transform-origin: center center;
    will-change: transform, translate, opacity;
    transition: translate .6s var(--btn-stagger-ease-hover), transform .25s ease-out, opacity .15s ease-out;
}

.link-text-inner.is-hover .btn-stagger-char {
    translate: 1.35rem 0;
    transform: skew(-28deg);
    opacity: 0;
}

@media (hover:hover) {

    [data-text-stagger]:hover .link-text-inner.is-default .btn-stagger-char {
        translate: -1.35rem 0;
        transform: skew(-28deg);
        opacity: 0;
        transition-delay: calc((var(--char) - 1) * var(--btn-stagger-delay) + var(--btn-stagger-out-delay));
    }

    [data-text-stagger]:hover .link-text-inner.is-hover .btn-stagger-char {
        translate: 0 0;
        transform: skew(0deg);
        opacity: 1;
        transition: translate .6s calc((var(--char) - 1) * var(--btn-stagger-delay) + var(--btn-stagger-in-delay)) var(--btn-stagger-ease-hover), transform .25s calc((var(--char) - 1) * var(--btn-stagger-delay) + var(--btn-stagger-in-delay)) ease-out, opacity .15s calc((var(--char) - 1) * var(--btn-stagger-delay) + var(--btn-stagger-in-delay)) ease-out;
    }
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × FORMS × × × × × × × × × × × × × × × × × ×
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

.form * {
    font-family: var(--font-sans);
    font-size: inherit;
}

.form [type="submit"] {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    margin-top: 1em;
}

.form .input-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    width: 100%;
}

.form .input-col .fieldset {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.form .input-col .field-label {
    display: block;
    width: auto;
    max-width: 100%;
    white-space: normal;
    margin-bottom: .6em;
    font-size: var(--font-size-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-natural-500);
}

.form .input-col .field-label .required {
    color: var(--color-secondary);
    margin-left: .2em;
}

.form .input-col .input {
    position: relative;
    border-radius: .6em;
    border: 1px solid rgba(var(--color-natural-100-rgb), .14);
    background: rgba(var(--color-natural-100-rgb), .04);
    transition: border-color var(--animation-default), box-shadow var(--animation-default), background var(--animation-default);
}

.form .input-col .input:hover {
    border-color: rgba(var(--color-natural-100-rgb), .28);
}

.form .input-col .input:focus-within {
    border-color: var(--color-secondary);
    background: rgba(var(--color-natural-100-rgb), .06);
    box-shadow: 0 0 0 3px rgba(var(--color-secondary-rgb), .18);
}

input,
textarea {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-progress-appearance: none;
    position: relative;
    width: 100%;
    border: 0;
    outline: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    font-family: var(--font-input) !important;
    font-size: 1em;
    color: inherit;
    vertical-align: middle;
}

.form .input-col .input input,
.form .input-col .input select {
    height: 3.2em;
    padding-left: var(--gap);
    padding-right: calc(calc(var(--gap) * 2) + 1.25em);
    color: var(--color-white);
}

.form .input-col .input input::placeholder,
.form .input-col .input textarea::placeholder {
    color: var(--color-natural-600);
}

/* Textarea */
.form .input-col .input textarea {
    padding: var(--gap);
    padding-right: calc(calc(var(--gap) * 2) + 1.25em);
    color: var(--color-white);
    resize: none;
    min-height: 9em;
}

/* Select */
.form .input-col .input select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    font-family: var(--font-input) !important;
    font-size: 1em;
    cursor: pointer;
    outline: 0;
    border-radius: .6em;
    border: 1px solid rgba(var(--color-natural-100-rgb), .14);
    background: rgba(var(--color-natural-100-rgb), .04);
}

.form .input-col .input select option {
    background: var(--color-natural-900);
    color: var(--color-white);
}

/* Das .icon beim Select zeigt einen Chevron statt dem default Arrow */
.form .input-col .input:has(select) .icon {
    pointer-events: none;
}

.form .input-col .input .icon {
    position: absolute;
    top: 50%;
    right: var(--gap);
    width: 1.25em;
    height: 1.25em;
    display: flex;
    justify-items: center;
    align-items: center;
    color: var(--color-natural-500);
    transform: translateY(-50%);
}

.form .input-col .input .icon svg {
    width: 1.25em;
    height: 1.25em;
}

.form .input-col .errors {
    display: none;
    flex-direction: column;
    margin-top: .5em;
}

.form .input-col .errors[data-error-status="active"] {
    display: flex;
}

.form .input-col .errors .error {
    display: none;
    width: max-content;
    max-width: 100%;
    text-transform: none;
    color: var(--color-error);
    font-size: 75%;
}

.form .input-col .errors[data-error-status="active"] .error[data-single-error-status="active"] {
    display: block;
}

.form .fieldset .input-col-wide {
    grid-column: 1 / -1;
}

.form .input-col .input input[type="file"] {
    height: auto;
    padding: calc(var(--gap) * .75) var(--gap);
    cursor: pointer;
    font-size: .9em;
    color: var(--color-natural-500);
}

.form .input-col .input input[type="file"]::file-selector-button {
    font-family: var(--font-input);
    font-size: 1em;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-primary);
    border: 0;
    border-radius: .4em;
    padding: .5em .9em;
    margin-right: var(--gap);
    cursor: pointer;
    transition: var(--animation-default);
}

.form .input-col .input input[type="file"]::file-selector-button:hover {
    background: var(--color-secondary);
}

.form .honeypot-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.form .form-error {
    margin-top: var(--gap);
    padding: .75em 1em;
    border-radius: .25em;
    background: var(--color-error-light);
    color: var(--color-error);
    font-size: var(--font-size-small);
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    border-radius: 50%;
    border: 1.5px solid var(--color-natural-400);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0 !important;
    height: unset !important;
    width: 1.5em;
    height: 1.5em !important;
    border-radius: 50% !important;
    transition: background var(--animation-default), border-color var(--animation-default);
}

input[type="checkbox"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    -webkit-mask-size: 65%;
    mask-size: 65%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity var(--animation-default), transform var(--animation-default);
}

input[type="checkbox"]:checked {
    background: var(--color-natural-200) !important;
    border-color: var(--color-natural-400) !important;
}

input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: scale(1);
}