/* =========================
   Farben / Spacing / Radius
========================= */

@font-face {
    font-family: "Cheddar Gothic Sans";
    src: url("../font/CheddarGothicSans.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

:root {

    --color-text-primary: #3F100D;
    --color-text-secondary: #6B5B57;
    --color-accent: #B92116;
    --color-accent-hover: #6B1812;
    --color-accent-rgb: 185, 33, 22;
    --color-white: #FFFFFF;
    --color-border: #E7DEDB;
    --color-background: #F8F5F4;


    --space-8: 8px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-40: 40px;
    --space-48: 48px;
    --space-60: 60px;
    --space-64: 64px;
    --space-80: 80px;
    --space-120: 120px;

    --radius-sm: 6px;
    --radius-md: 16px;
    --radius-lg: 24px;
}


/* =========================
   Typografie
========================= */

h1 {
    font-size: 64px;
    font-family: "Cheddar Gothic Sans", sans-serif;
    line-height: 1.15;
    margin: 0 0 32px 0;
    font-weight: 400;
    letter-spacing: 3px;
}

h2 {
    font-size: 36px;
    font-family: "Cheddar Gothic Sans", sans-serif;
    line-height: 1.2;
    margin: 0 0 20px 0;
    font-weight: 800;
    letter-spacing: 2px;
}

h3 {
    font-size: 24px;
    font-family: "Cheddar Gothic Sans", sans-serif;
    line-height: 1.3;
    margin: 0 0 20px 0;
    font-weight: 700;
    letter-spacing: 2px;
}

.topline {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin: 0 0 10px 0;
}

.subline {
    font-size: 20px;
    line-height: 1.4;
    color: var(--color-text-secondary);
    margin: 0 0 10px 0;
}

p,
li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
    letter-spacing: 0.02em;
}

.highlight {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

a {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    text-decoration: none;
}

strong {
    font-weight: 700;
}

/* Dunkler HG */

.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark .topline,
.on-dark .subline,
.on-dark p,
.on-dark li {
    color: var(--color-white);
}


/* =========================
   Grundelemente
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, sans-serif;
    color: var(--color-text-primary);
}

section {
    margin-bottom: var(--space-120);
}

section:last-of-type {
    margin-bottom: var(--space-120);
}

section.hero-header {
    margin-bottom: var(--space-120);
}

.container {
    width: min(1200px, calc(100% - var(--space-48)));
    margin: 0 auto;
}

.list-style {
    margin: auto 0 0;
    padding: var(--space-24) 0 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.background-light {
    background-color: var(--color-background);
    padding: var(--space-120) 0;

}

.background-dark {
    background-color: var(--color-text-primary);
    padding: var(--space-120) 0;

}

.background-darkred {
    background-color: var(--color-text-primary);
    padding: var(--space-120) 0;
}

.background-darkred-gradient {
    background: linear-gradient(0deg,
            #871816 10%,
            #56150b 100%);
    padding: var(--space-120) 0;

}

.background-banner-image {
    background-image:
        linear-gradient(110deg,
            rgba(18, 10, 8, 0.85) 0%,
            rgba(35, 17, 13, 0.68) 50%,
            rgba(18, 10, 8, 0.85) 100%),
        var(--banner-image);
    padding: var(--space-120) 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-docking {
    margin-bottom: 0px;

}

/* =========================
   Images
========================= */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-text-image.image-left .content-text {
    order: 2;
}

.section-text-image.image-left .content-media {
    order: 1;
}


/* =========================
   List
========================= */

li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-8);
}

li::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 5px;
    background: url("Images/list-item-icon.svg") no-repeat center / contain;
}


/* =========================
   Button Rough
========================= */


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Abstand Text zur Kante */
    padding: 12px 28px;

    /* Text */
    color: var(--color-white);
    white-space: nowrap;

    /* Keine normale Rundung */
    border: none;
    border-radius: 0;

    /* Unregelmäßige Kante */
    clip-path: polygon(
            /* OBEN – identisch zu UNTEN, vertikal gespiegelt */
            0% 1%,
            2% 0%,
            4% 1%,
            6% 0.2%,
            8% 1.3%,
            10% 0%,
            12% 0.9%,
            14% 0.4%,
            16% 1.2%,
            18% 0%,
            20% 1%,
            22% 0.4%,
            24% 1.4%,
            26% 0%,
            28% 0.9%,
            30% 0.2%,
            32% 1.3%,
            34% 0%,
            36% 1%,
            38% 0.4%,
            40% 1.2%,
            42% 0%,
            44% 0.9%,
            46% 0.3%,
            48% 1.4%,
            50% 0%,
            52% 1%,
            54% 0.2%,
            56% 1.3%,
            58% 0%,
            60% 0.9%,
            62% 0.4%,
            64% 1.2%,
            66% 0%,
            68% 1%,
            70% 0.3%,
            72% 1.4%,
            74% 0%,
            76% 0.9%,
            78% 0.2%,
            80% 1.1%,
            82% 0%,
            84% 1%,
            86% 0.4%,
            88% 1.3%,
            90% 0%,
            92% 0.9%,
            94% 0.3%,
            96% 1.2%,
            98% 0%,
            100% 1%,

            /* RECHTS – unverändert */
            99.5% 4%,
            100% 8%,
            99.3% 12%,
            99.8% 16%,
            99.4% 20%,
            100% 24%,
            99.2% 28%,
            99.7% 32%,
            99.5% 36%,
            100% 40%,
            99.3% 44%,
            99.8% 48%,
            99.4% 52%,
            100% 56%,
            99.2% 60%,
            99.7% 64%,
            99.5% 68%,
            100% 72%,
            99.3% 76%,
            99.8% 80%,
            99.4% 84%,
            100% 88%,
            99.2% 92%,
            99.7% 96%,
            100% 99%,

            /* UNTEN – unverändert */
            98% 100%,
            96% 98.8%,
            94% 99.7%,
            92% 99.1%,
            90% 100%,
            88% 98.7%,
            86% 99.6%,
            84% 99%,
            82% 100%,
            80% 98.9%,
            78% 99.8%,
            76% 99.1%,
            74% 100%,
            72% 98.6%,
            70% 99.7%,
            68% 99%,
            66% 100%,
            64% 98.8%,
            62% 99.6%,
            60% 99.1%,
            58% 100%,
            56% 98.7%,
            54% 99.8%,
            52% 99%,
            50% 100%,
            48% 98.6%,
            46% 99.7%,
            44% 99.1%,
            42% 100%,
            40% 98.8%,
            38% 99.6%,
            36% 99%,
            34% 100%,
            32% 98.7%,
            30% 99.8%,
            28% 99.1%,
            26% 100%,
            24% 98.6%,
            22% 99.7%,
            20% 99%,
            18% 100%,
            16% 98.8%,
            14% 99.6%,
            12% 99.1%,
            10% 100%,
            8% 98.7%,
            6% 99.8%,
            4% 99%,
            2% 100%,
            0% 99%,

            /* LINKS – unverändert */
            0.5% 96%,
            0% 92%,
            0.7% 88%,
            0.2% 84%,
            0.6% 80%,
            0% 76%,
            0.8% 72%,
            0.3% 68%,
            0.5% 64%,
            0% 60%,
            0.7% 56%,
            0.2% 52%,
            0.6% 48%,
            0% 44%,
            0.8% 40%,
            0.3% 36%,
            0.5% 32%,
            0% 28%,
            0.7% 24%,
            0.2% 20%,
            0.6% 16%,
            0% 12%,
            0.7% 8%,
            0.3% 4%);


    transition:
        background-color 0.35s ease,
        transform 0.2s ease;
}


/* =========================
   Button Primary
========================= */

.btn-primary {
    background-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
}


/* =========================
   Button Secondary
========================= */

.btn-secondary {
    background-color: rgba(var(--color-accent-rgb), 0.7);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    transform: translateY(-1px);
}


/* Abstand bei Buttons im Content */

.content-text .button {
    margin-top: var(--space-24);
}




/* =========================
   CTA Gruppen
========================= */

.cta-group-right,
.cta-group-left,
.cta-group-center {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    width: 100%;
    margin-top: var(--space-32);
}

.cta-group-left {
    justify-content: flex-start;
}

.cta-group-center {
    justify-content: center;
}

.cta-group-right {
    justify-content: flex-end;
}


/* =========================
   Button Rein Text
========================= */

.cta-text-right,
.cta-text-left,
.cta-text-center {
    display: flex;
    gap: var(--space-16);
    width: 100%;
    margin-top: var(--space-32);
}

.cta-text-left {
    justify-content: flex-start;
}

.cta-text-center {
    justify-content: center;
}

.cta-text-right {
    justify-content: flex-end;
}

.button-text {
    display: inline-flex;
    align-items: center;
    gap: var(--space-16);

    color: var(--color-accent);
    white-space: nowrap;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.cta-arrow {
    width: 40px;
    height: 16px;
    flex-shrink: 0;

    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-text:hover {
    color: var(--color-accent-hover);
    gap: 18px;
}

.button-text:hover .cta-arrow {
    transform: translateX(2px);
}


/* =========================
   Layout / Struktur
========================= */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-text {
    display: flex;
    flex-direction: column;
}

.content-media {
    width: 100%;
}

.content-media img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
}

/* ========================================
   TEXTBLOCK – AUSRICHTUNG
======================================== */

.left-text-block.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   Responsive / Tablet
========================= */

@media (max-width: 991px) {

    section {
        margin-bottom: var(--space-80);
    }

    .container {
        width: min(1200px, calc(100% - 56px));
    }

    h1 {
        font-size: 48px;

        margin: 0 0 14px 0;
    }

    h2 {
        font-size: 30px;
        line-height: 1.2;
        margin: 0 0 18px 0;
    }

    h3 {
        font-size: 22px;
        line-height: 1.3;
        margin: 0 0 16px 0;
    }

    .subline {
        font-size: 18px;
    }

    p,
    li {
        font-size: 16px;
        line-height: 1.6;
    }

    a {
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    .background-grey,
    .background-darkblue,
    .background-darkblue-gradient {
        padding: var(--space-80) 0;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-text-image.image-left .content-text,
    .section-text-image.image-left .content-media {
        order: initial;
    }

}


/* =========================
   Responsive / Mobile
========================= */

@media (max-width: 640px) {

    .container {
        width: min(1200px, calc(100% - 48px));
    }

    h1 {
        font-size: 36px;
        line-height: 1.08;
        margin: 0 0 20px 0;
    }

    h2 {
        font-size: 28px;
        line-height: 1.15;
    }

    h3 {
        font-size: 20px;
        line-height: 1.25;
        margin: 0 0 14px 0;
    }

    .topline {
        font-size: 12px;
        margin: 0 0 8px 0;
    }

    .subline {
        font-size: 17px;
        line-height: 1.45;
        margin: 0 0 8px 0;
    }

    p,
    li {
        font-size: 15px;
        line-height: 1.6;
        letter-spacing: 0.01em;
    }

    .highlight {
        font-size: 14px;
        line-height: 1.4;
        letter-spacing: 0.06em;
    }

    a {
        font-size: 13px;
        line-height: 1.5;
        letter-spacing: 0.08em;
    }

    section {
        margin-bottom: var(--space-64);
    }

    .background-grey,
    .background-darkblue,
    .background-darkblue-gradient {
        padding: var(--space-64) 0;
    }

    li::before {
        width: 14px;
        height: 14px;
        margin-top: 4px;
    }

    .cta-group-right,
    .cta-group-left,
    .cta-group-center {
        flex-direction: column;
        align-items: center;
        /* wichtig */
        gap: var(--space-16);
    }

    .cta-text-right,
    .cta-text-left,
    .cta-text-center {
        margin-top: 20px;
    }

    .button {
        width: 100%;
        min-width: 200px;
        max-width: 240px;
        justify-content: center;
    }

    .cta-arrow {
        width: 32px;
        height: 14px;
    }

    .content-grid {
        gap: 24px;
    }
}


/* =========================
   Responsive / Small Mobile
========================= */

@media (max-width: 400px) {
    h1 {
        font-size: 34px;
        line-height: 1.1;
        margin: 0 0 10px 0;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }

    .subline {
        font-size: 16px;
    }

    p,
    li {
        font-size: 14px;
    }
}