:root {
    --primary-color: #ff3b3b;
    --background-color: #1e1e1e;
    --text-color: #ddd;
    --header-background: #181818;
    --border: #bbc;
    --footer-background: #3c3c3c;
    --footer-text: #bbb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Segoe UI, Arial, sans-serif;
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "main"
        "footer";
    background-image: url("../IMG/header.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

main {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    grid-area: main;

}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 4rem;
    color: var(--text-color);
}

h2 {
    text-align: center;
    margin-bottom: 1.8rem;
    font-size: 3.5rem;
    color: var(--text-color);
}

h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5em;
    color: var(--text-color);
}

h1#title {
    margin-bottom: 4rem;
    margin-top: 6rem;
}

section {
    margin: 1rem auto;
    background: var(--background-color);
    border-radius: 16px;
    padding: 1rem;
    max-width: 1000px;
    text-align: center;
    margin-top: 2rem;
}

/* Header */
.site-header {
    background: var(--header-background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    grid-area: header;
}

.container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
}

.nav {
    display: flex;
    gap: 1rem;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.nav a {
    display: inline-block;
    padding: 0.5rem 0.6rem;
    color: var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    font-family: "Bungee", sans-serif;
    font-size: small;
    border: 2px solid transparent;
}

.nav a:hover {
    background: var(--background-color);
}


.nav-toggle-checkbox {
    position: absolute;
    left: -9999px;
    display: none;
}

.nav-toggle {
    display: none;
    background: transparent;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--footer-text);
    margin: 0;
}

/* Footer */
.site-footer {
    background: var(--footer-background);
    border-top: 1px solid var(--border);
    color: var(--footer-text);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    grid-area: footer;
    margin-top: 2rem;
}

.site-footer .container {
    display: block;
    text-align: center;
    height: 220px;
}

.impressum {
    color: var(--footer-text);
}

/* Logo */
.logo * {
    height: 30px;
    width: auto;
}

.logosmall * {
    height: 25px;
    width: auto;
}

/* Header Image */
header.site-header .header-image {
    width: 100%;
    height: 64px;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    z-index: -1;
}

.flyer {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 20px;
    box-shadow: #181818 10px 14px 20px;
}

/* Kontaktformular */
form {
    max-width: 400px;
    width: 80%;
    margin: 2rem auto;
    padding: 2rem;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form div label {
    text-align: center;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    margin-top: 1rem;
    color: #fff;
    font-weight: 500;
}

input,
textarea {
    width: 95%;
    padding: 0.6rem;
    border: 1px solid #444;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    border-color: #888;
    outline: none;
}

button {
    padding: 0.7rem 1.5rem;
    background: #3c3c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #555;
}

.contact-info a {
    color: var(--text-color);
}

/* Linie */
.line {
    height: 4px;
    width: 70%;
    background: var(--footer-text);
    margin: 6rem auto;
    border-radius: 2px;
}

/*about*/
.about {
    color: var(--text-color);
    font-size: 1.5rem;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
}

.map {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* zwei Reihen */
.row {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.row * {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.beschreibung {
    color: #ccc;
    font-size: 1.1rem;

}

/* Abstand */
.abstand {
    margin-bottom: 20px;
}

/* Instagram */
.fa.fa-instagram {
    font-size: 1.5rem;
    color: var(--primary-color);
}
/* Tablet style */
@media screen and (max-width:1200px) {

    main {
        width: 90%;
    }

    /* Header */
    .container {
        width: 90%;
        flex-direction: row;
        gap: 0.6rem;
        padding: 0 1rem
    }

    .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        background: #252525;
        border-bottom: 1px solid #e6e6e6;
        padding: 0.5rem 1rem;
        display: none;
        flex-direction: column
    }

    .nav ul {
        flex-direction: column;
        gap: 0.2rem
    }

    .nav a {
        padding: 0.6rem;
        border-radius: 4px
    }

    .nav-toggle {
        display: inline-block;
        align-self: center;
        margin: 0;
    }

    .nav-toggle-checkbox {
    display: inline-block;
    }

    #nav-toggle:checked~.nav {
        display: flex
    }
}

/* Mobile style */
@media screen and (max-width:700px) {

    main {
        width: 90%;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    /* Header */
    .container {
        width: 90%;
        flex-direction: row;
        gap: 0.6rem;
        padding: 0 1rem
    }

    .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        background: #252525;
        border-bottom: 1px solid #e6e6e6;
        padding: 0.5rem 1rem;
        display: none;
        flex-direction: column
    }

    .nav ul {
        flex-direction: column;
        gap: 0.2rem
    }

    .nav-toggle-checkbox {
    display: inline-block;
    }

    .nav a {
        padding: 0.6rem;
        border-radius: 4px
    }

    .nav-toggle {
        display: inline-block;
        align-self: center;
        margin: 0;
    }

    #nav-toggle:checked~.nav {
        display: flex
    }

    /* zwei Reihen */
    .row {
        flex-direction: column;
        gap: 1rem;
    }

    .row img {
        width: 100%;
    }

    /* zwei Reihen Reihenfolge */
    #bild {
        order: 1;
    }

    #text {
        order: 2;
    }

    /* About */
    .about {
        font-size: 1.2rem;
    }
}