/* =========================
   CSS VARIABLEN (index-spezifisch)
========================= */
:root {
    --hero-height-mobile:  55vh;
    --hero-height-desktop: 80vh;
}

/* =========================
   TYPOGRAFIE
========================= */
h2, .btn, footer .links a, section p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

h2, .btn, footer .links a {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__text h1 {
    font-family: 'Lora', serif;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* =========================
   HERO – MOBILE FIRST
========================= */
.hero {
    position: relative;
    width: 100%;
    height: var(--hero-height-mobile);
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 20% center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.1)  20%,
        rgba(0,0,0,0.5) 100%
    );
    pointer-events: none;
}

.hero__text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 0;
    text-align: center;
    color: var(--color-light);
    z-index: 1;
}

.hero__text h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    margin-bottom: 12px;
    line-height: 1.1;
    text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}

.hero__text p {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

/* =========================
   TABLET & DESKTOP (≥ 600px)
========================= */
@media (min-width: 600px) {
    .hero img {
        object-position: center center;
    }

    .hero::after {
        background: linear-gradient(
            to left,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.2) 45%,
            transparent 75%
        );
    }

    .hero__text {
        top: 50%;
        left: auto;
        right: 0;
        transform: translateY(-50%);
        width: 45%;
        padding: 0 50px 0 0;
        text-align: left;
    }

    .hero__text h1 {
        font-size: clamp(2.8rem, 5vw, 3.8rem);
    }

    .hero__text p {
        font-size: clamp(1.2rem, 2vw, 1.4rem);
    }
}

/* Tablet Querformat */
@media (min-width: 600px) and (max-width: 1200px) and (orientation: landscape) {
    .hero__text {
        width: 35%;
        padding-right: 40px;
    }
}

/* =========================
   SEKTIONEN
========================= */
section {
    padding: 80px 24px;
    width: 100%;
    text-align: center;
}

section h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 24px;
}

section p {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(1.05rem, 2.5vw, 1.15rem);
}

.cta {
    background-color: var(--color-cta-bg);
    color: var(--color-light);
}

/* =========================
   BUTTON
========================= */
.btn {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 40px;
    background-color: var(--color-accent);
    color: var(--color-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* =========================
   DESKTOP (≥ 1024px)
========================= */
@media (min-width: 1024px) {
    .hero {
        height: var(--hero-height-desktop);
    }

    .hero__text {
        width: 32%;
        padding: 0 80px 0 0;
    }

    .hero__text h1 {
        font-size: clamp(4rem, 6vw, 6rem);
    }

    .hero__text p {
        font-size: clamp(1.3rem, 1.6vw, 1.6rem);
    }
}
