
:root {
    --red: #d71920;
    --dark: #17191c;
    --light: #f5f4f1;
    --text: #333;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */

header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    color: white;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-badge {
    width: 50px;
    height: 58px;
    background: var(--red);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    border-radius: 6px 6px 18px 18px;
    font-weight: bold;
}

.logo small {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
}

.logo strong {
    font-size: 18px;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    font-weight: bold;
    font-size: 14px;
}

.notruf {
    border: 1px solid white;
    padding: 10px 16px;
    border-radius: 4px;
}

/* HERO */

.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: flex-end;
    background:
        url("bilder/feuerwehr-banner.png")
        center / cover no-repeat;
    color: white;
}

.overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.85),
            rgba(0,0,0,.35)
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 80px 30px;
}

.eyebrow {
    color: #ffbfc2;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 12px;
}

h1 {
    font-size: clamp(45px, 7vw, 85px);
    line-height: 1;
    margin: 20px 0;
}

.hero-content p {
    max-width: 600px;
    font-size: 20px;
}

.button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 24px;
    background: var(--red);
    color: white;
    font-weight: bold;
    border-radius: 4px;
}

/* FAKTEN */

.facts {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    background: var(--red);
    color:white;
    text-align:center;
}

.facts div {
    padding:30px;
    border-right:1px solid rgba(255,255,255,.35);
}

.facts div:last-child {
    border:none;
}

.facts b {
    display:block;
    font-size:32px;
}

/* CONTENT */

section:not(.hero) {
    max-width:1200px;
    margin:auto;
    padding:90px 30px;
}

h2 {
    font-size:48px;
    line-height:1.1;
    color:var(--dark);
}

.lead {
    font-size:22px;
}

/* AUFGABEN */

#aufgaben {
    background:var(--light);
    max-width:none;
    padding-left:calc((100% - 1140px)/2);
    padding-right:calc((100% - 1140px)/2);
}

#aufgaben li {
    padding:15px 0;
    border-bottom:1px solid #ddd;
}

/* MITMACHEN */

#mitmachen {
    background:var(--dark);
    color:white;
    max-width:none;
}

#mitmachen h2 {
    color:white;
}

/* FOOTER */

footer {
    background:#0c0d0f;
    color:#aaa;
    padding:40px 30px;
    text-align:center;
}

/* MOBILE */

.menu-button {
    display:none;
}

@media(max-width:760px) {

    nav {
        display:none;
        position:absolute;
        top:75px;
        left:0;
        right:0;
        background:#111;
        padding:25px;
        flex-direction:column;
        align-items:flex-start;
    }

    nav.open {
        display:flex;
    }

    .menu-button {
        display:block;
        background:none;
        border:0;
        color:white;
        font-size:28px;
    }

    .hero-content {
        padding:40px 20px;
    }

    h1 {
        font-size:48px;
    }

    .facts {
        grid-template-columns:1fr;
    }

    .facts div {
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.3);
    }

    section:not(.hero) {
        padding:60px 20px;
    }

    h2 {
        font-size:36px;
    }
}
		
		
.mitmachen-buttons {

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-top:30px;

}


.contact-button {

    display:inline-block;

    padding:15px 28px;

    background:#d71920;

    color:white;

    font-weight:bold;

    border-radius:5px;

    border:2px solid #d71920;

    transition:.3s;

}


.contact-button:hover {

    background:white;

    color:#d71920;

}



.facebook-button {

    display:inline-block;

    padding:15px 28px;

    background:#1877f2;

    color:white;

    font-weight:bold;

    border-radius:5px;

    transition:.3s;

}


.facebook-button:hover {

    background:#0d5dcc;

}
