/* Moin Kalle Instagram Landingpage */

:root {
    --green-dark: #1f2a1d;
    --green: #657554;
    --heide: #8d6b85;
    --sand: #f3e7d4;
    --white: #ffffff;
}

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--white);
    background: var(--green-dark);
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(22, 28, 19, 0.84) 0%,
            rgba(22, 28, 19, 0.66) 35%,
            rgba(22, 28, 19, 0.22) 70%,
            rgba(22, 28, 19, 0.34) 100%
        ),
        url("../images/kalle-hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 70% 45%,
            rgba(255,255,255,0.10),
            transparent 28%
        ),
        linear-gradient(
            0deg,
            rgba(0,0,0,0.28),
            transparent 42%
        );
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(92%, 760px);
    margin-left: clamp(24px, 9vw, 170px);
    padding: 48px 0;
    animation: fadeIn 1s ease forwards;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--sand);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1 {
    max-width: 780px;
    font-size: clamp(3.2rem, 8vw, 7.6rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
    font-weight: 950;
    text-shadow: 0 8px 34px rgba(0,0,0,0.50);
}

.subtitle {
    margin-top: 24px;
    max-width: 620px;
    color: var(--sand);
    font-size: clamp(1.35rem, 2.7vw, 2.45rem);
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 5px 24px rgba(0,0,0,0.45);
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 38px;
    padding: 16px 26px;

    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.42);

    background:
        linear-gradient(
            135deg,
            rgba(141,107,133,0.96),
            rgba(101,117,84,0.96)
        );

    color: var(--white);
    text-decoration: none;

    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 850;

    box-shadow:
        0 18px 50px rgba(0,0,0,0.32),
        inset 0 1px 0 rgba(255,255,255,0.28);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 24px 62px rgba(0,0,0,0.38),
        inset 0 1px 0 rgba(255,255,255,0.32);
}

.instagram-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
}

.instagram-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.handle {
    margin-top: 16px;
    color: rgba(255,255,255,0.74);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero {
        align-items: flex-end;
        background:
            linear-gradient(
                0deg,
                rgba(22, 28, 19, 0.94) 0%,
                rgba(22, 28, 19, 0.76) 48%,
                rgba(22, 28, 19, 0.16) 100%
            ),
            url("../images/kalle-hero.jpg");
        background-size: cover;
        background-position: center;
    }

    .hero__content {
        width: 100%;
        margin: 0;
        padding: 42vh 24px 44px;
    }

    .instagram-button {
        width: 100%;
    }
}

.footer {
    position: absolute;
    bottom: 24px;
    left: 50%;

    transform: translateX(-50%);

    text-align: center;

    font-size: 0.85rem;
    line-height: 1.5;

    color: rgba(255,255,255,0.55);

    z-index: 20;
}

.footer a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;

    transition: all 0.2s ease;
}

.footer a:hover {
    color: #ffffff;
}

@media (max-width: 900px) {
    .footer {
        bottom: 16px;
        font-size: 0.75rem;
    }
}
