/* =========================================================
   Grundwerte
   ========================================================= */

:root {
    --color-red: #b40000;
    --color-red-dark: #850000;
    --color-black: #171717;
    --color-dark-grey: #333333;
    --color-grey: #6a6a6a;
    --color-light-grey: #e5e5e5;
    --color-background: #ffffff;

    --header-height: 86px;
    --content-width: 58%;
    --image-width: 42%;
    --content-padding: clamp(2rem, 5vw, 5.5rem);

    --font-body: Arial, Helvetica, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;
}


/* =========================================================
   Reset
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   Typografie
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    margin-bottom: 1.75rem;
    font-size: clamp(2.3rem, 4vw, 4.4rem);
}

h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
    margin-top: 2.4rem;
    margin-bottom: 1rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
    margin-top: 0;
    margin-bottom: 1.35rem;
}

ul,
ol {
    margin-top: 0;
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
}

strong {
    font-weight: 700;
}

.content a:not(.button) {
    color: var(--color-red);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.content a:not(.button):hover,
.content a:not(.button):focus-visible {
    color: var(--color-red-dark);
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--color-light-grey);
    background: rgba(255, 255, 255, 0.97);
}

.site-header__inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    gap: 2rem;
    padding: 0 2.25rem;
}

.site-title {
    flex: 0 0 auto;
    color: var(--color-black);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-title:hover,
.site-title:focus-visible {
    color: var(--color-red);
}


/* =========================================================
   Hauptnavigation
   ========================================================= */

.site-navigation {
    flex: 1 1 auto;
}

.site-navigation ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 1.8vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation li {
    margin: 0;
}

.site-navigation a {
    display: block;
    position: relative;
    padding: 0.5rem 0;
    color: var(--color-dark-grey);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

.site-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--color-red);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
    color: var(--color-red);
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after {
    transform: scaleX(1);
}


/* =========================================================
   Sprachumschalter
   ========================================================= */

.language-switch {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-grey);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.language-switch a {
    padding: 0.35rem 0.15rem;
    text-decoration: none;
}

.language-switch a:hover,
.language-switch a:focus-visible {
    color: var(--color-red);
}

.language-switch a[aria-current="page"] {
    color: var(--color-red);
}


/* =========================================================
   Seitenlayout
   ========================================================= */

.site-main {
    min-height: calc(100vh - var(--header-height));
}

.layout {
    display: grid;
    grid-template-columns: var(--content-width) var(--image-width);
    align-items: start;
    min-height: calc(100vh - var(--header-height));
}

.content {
    align-self: center;
    width: 100%;
    max-width: 920px;
    min-height: calc(100vh - var(--header-height));
    padding: var(--content-padding);
}

.content > :last-child {
    margin-bottom: 0;
}


/* =========================================================
   Rechte Bildfläche
   Desktop-Crops: 1200 × 1500 = 4:5
   ========================================================= */

.hero {
    width: 100%;
    aspect-ratio: 4 / 5;
    align-self: start;
    background-color: var(--color-dark-grey);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* =========================================================
   Kontakt-Buttons
   ========================================================= */

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 2.1rem 0;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border: 2px solid var(--color-red);
    background: var(--color-red);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.button:hover,
.button:focus-visible {
    border-color: var(--color-red-dark);
    background: var(--color-red-dark);
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   Vita: Porträt und Video
   ========================================================= */

.portrait {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.promo-video {
    width: 100%;
    margin: 2rem 0;
    background: #000000;
}


/* =========================================================
   Fokus und Bedienbarkeit
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(180, 0, 0, 0.4);
    outline-offset: 4px;
}


/* =========================================================
   Kleinere Desktop- und Tablet-Bildschirme
   ========================================================= */

@media (max-width: 1180px) {
    :root {
        --header-height: auto;
        --content-width: 56%;
        --image-width: 44%;
    }

    .site-header__inner {
        flex-wrap: wrap;
        gap: 0.5rem 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .site-title {
        order: 1;
    }

    .language-switch {
        order: 2;
        margin-left: auto;
    }

    .site-navigation {
        order: 3;
        flex-basis: 100%;
    }

    .site-navigation ul {
        justify-content: flex-start;
        gap: 0.7rem 1.4rem;
        overflow-x: auto;
        padding-top: 0.4rem;
        padding-bottom: 0.2rem;
    }

    .site-main,
    .layout {
        min-height: calc(100vh - 126px);
    }

    .content {
        min-height: calc(100vh - 126px);
    }
}


/* =========================================================
   Mobilansicht
   Mobile-Crops: 1200 × 1000 = 6:5
   ========================================================= */

@media (max-width: 760px) {
    body {
        font-size: 17px;
    }

    .site-header {
        position: relative;
    }

    .site-header__inner {
        padding: 1rem 1.25rem;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .site-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        overflow: visible;
        border-top: 1px solid var(--color-light-grey);
    }

    .site-navigation li {
        border-bottom: 1px solid var(--color-light-grey);
    }

    .site-navigation li:nth-child(odd) {
        border-right: 1px solid var(--color-light-grey);
    }

    .site-navigation a {
        padding: 0.8rem 0.65rem;
        font-size: 0.78rem;
        white-space: normal;
    }

    .site-navigation a::after {
        display: none;
    }

    .layout {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .hero {
        order: 1;
        width: 100%;
        min-height: 0;
        aspect-ratio: 6 / 5;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .content {
        order: 2;
        max-width: none;
        min-height: 0;
        padding: 2.5rem 1.35rem 3.5rem;
    }

    h1 {
        font-size: clamp(2.1rem, 11vw, 3.4rem);
    }

    .cta-group {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}


/* =========================================================
   Sehr kleine Bildschirme
   ========================================================= */

@media (max-width: 420px) {
    .site-navigation ul {
        grid-template-columns: 1fr;
    }

    .site-navigation li:nth-child(odd) {
        border-right: 0;
    }

    .content {
        padding-right: 1.1rem;
        padding-left: 1.1rem;
    }
}


/* =========================================================
   Reduzierte Bewegung
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
