@font-face {
    font-family: "KH Teka";
    src: url(../fonts/KHTeka-Regular.woff2) format("woff2"),
    url(../fonts/KHTeka-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KH Teka";
    src: url(../fonts/KHTeka-Medium.woff2) format("woff2"),
    url(../fonts/KHTeka-Medium.woff) format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KH Teka";
    src: url(../fonts/KHTeka-Bold.woff2) format("woff2"),
    url(../fonts/KHTeka-Bold.woff) format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --accent: #000000;
}

/*@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1c1c1e;
        --text: #e0e0e0;
        --accent: #ffffff;
    }
}*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "KH Teka", sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* Header mit kleinem Logo - initial versteckt */
.header {
    position: fixed;
    top: 15px;
    left: 0;
    right: 0;
    background: transparent;
    padding: 15px 0;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
}

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

.header-logo {
    height: 60px;
    /* oder gewünschte Größe */
    width: auto;
}

/* Dark Mode - Logo wird weiß */
/*@media (prefers-color-scheme: dark) {
    .header-logo {
        filter: invert(1);
    }
}*/

section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 500;
    position: relative;
    font-family: "KH Teka", sans-serif;
}

.sticky-section {
    position: sticky;
    top: 0;
}

.section-content {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 80vw;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.section-1,
.section-2 {
    min-height: 100vh;
}

.section-1 {
    background-color: var(--bg);
    z-index: 1;
}

.section-2 {
    background-color: var(--bg);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sections 3 und 4 haben normales Scroll-Verhalten */
.section-3,
.section-4 {
    background-color: var(--bg);
    position: relative; /* KEIN sticky */
    z-index: 3;
}

.section-4 {
    display: block;
}
/* Section 2 wird nach dem Übergang "normal" */
.section-2.scrolled {
    position: relative;
    top: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: .6s ease;
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}


.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-bg {
    fill: var(--accent);
}

.logo-text {
    fill: var(--bg);
}

.logo svg {
    width: 18vw;
    /* Desktop */
}

@media (max-width: 768px) {
    .logo svg {
        width: 50vw;
        /* Mobil - größer! */
    }
}

@media (max-width: 480px) {
    .logo svg {
        width: 50vw;
        /* Kleine Phones - noch größer */
    }
}

h1  {
    font-family: "KH Teka", sans-serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 10vw + 1rem, 12rem);
    line-height: 0.8;
    letter-spacing: -0.02em;
}

.gradient-text-blue {
    --gradient-start: #022640;
    --gradient-end: #5786AB;
    background-image: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

[class*=gradient-text] {
    width: -moz-fit-content;
    width: fit-content;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-body-copy {
    color: #86868b;
    text-align: center;
}

p {
    color: #86868b;
    text-align: center;
    font-size: 24px;
    line-height: 1.1666666667;
    font-weight: 700;
    letter-spacing: .009em;
    font-family: "KH Teka", sans-serif;
    margin: 0 auto;
}

.section-body-content {
    margin-left: auto;
    margin-right: auto;
    width: 980px;
}

@media only screen and (min-width: 1441px) {
    .section-body-content {
        margin-left: auto;
        margin-right: auto;
        width: 980px;
    }
}

@media only screen and (max-width: 1068px) {
    .section-body-content {
        margin-left: auto;
        margin-right: auto;
        width: 692px;
    }
}

@media only screen and (max-width: 734px) {
    .section-body-content {
        margin-left: auto;
        margin-right: auto;
        width: 375px;
    }
}



