/* -------------------------
   Grundeinstellungen
------------------------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #172033;
    line-height: 1.6;
}
.startseite {
    max-width: 1000px;
    margin: 40px auto;
}

.projekt {
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}


/* -------------------------
   Header
------------------------- */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #172033;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #5d6678;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #2563eb;
}


/* -------------------------
   Hero
------------------------- */

.hero {
    background: #ffffff;
    padding: 110px 0 120px;
}

.ueberschrift {
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hero h1 {
    max-width: 750px;

    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -2px;

    margin-bottom: 25px;
}

.intro {
    max-width: 650px;

    color: #647084;
    font-size: 1.1rem;

    margin-bottom: 35px;
}

.button {
    display: inline-block;

    padding: 13px 22px;

    background: #2563eb;
    color: #ffffff;

    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}


/* -------------------------
   Programme
------------------------- */

.programme {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 45px;
}

.section-header h2,
.info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header > p:last-child {
    color: #6b7280;
}


/* -------------------------
   Karten
------------------------- */

.karten {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.karte {
    position: relative;

    display: block;

    background: #ffffff;

    padding: 30px;

    min-height: 220px;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    text-decoration: none;
    color: inherit;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.karte:hover {
    transform: translateY(-4px);

    border-color: #bfdbfe;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08);
}

.nummer {
    display: block;

    color: #2563eb;

    font-size: 0.8rem;
    font-weight: 700;

    margin-bottom: 25px;
}

.karte h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.karte p {
    color: #6b7280;
    font-size: 0.95rem;

    max-width: 450px;
}

.mehr {
    display: inline-block;
    margin-bottom: 25px;
    padding: 8px 14px;
    text-decoration: none;
    color: #333;
    background-color: #eee;
    border-radius: 5px;
}

.mehr:hover {
    background-color: #ddd;
}

/* -------------------------
   Info
------------------------- */

.info {
    background: #172033;
    color: #ffffff;

    padding: 80px 0;
}

.info p {
    max-width: 650px;

    color: #b9c1d0;

    margin-top: 15px;
}


/* -------------------------
   Footer
------------------------- */

footer {
    background: #111827;
    color: #7d8799;

    padding: 25px 0;

    font-size: 0.85rem;
}


/* -------------------------
   Responsive Design
------------------------- */

@media (max-width: 700px) {

    .header .container {
        min-height: 60px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero {
        padding: 80px 0 90px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .programme {
        padding: 70px 0;
    }

    .karten {
        grid-template-columns: 1fr;
    }

    .karte {
        min-height: 200px;
    }

    .info {
        padding: 60px 0;
    }
}


@media (max-width: 450px) {

    .header .container {
        flex-direction: column;
        justify-content: center;
        gap: 5px;

        padding: 12px 0;
    }

    nav {
        gap: 20px;
    }

    .hero {
        padding: 65px 0 75px;
    }

    .intro {
        font-size: 1rem;
    }

    .karte {
        padding: 25px;
    }

    .mehr {
        position: static;
        display: block;

        margin-top: 25px;
    }
}
