: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;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

/* 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;
}

a.active {
    border: 2px solid var(--footer-background);
}

/* 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;
}

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

/* Intro & Tickets */
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.intro a,
.ticket a {
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    background: var(--primary-color);
    color: rgb(0, 0, 0);
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
}

section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 1rem;
    margin-top: 1rem;
    background: var(--background-color);
    border-radius: 16px;
}

.bands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.band {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    aspect-ratio: 1 / 1;
    align-content: center;
}

.band img {
    width: 100%;
    transition: filter 0.3s ease;
}

.band img:hover {
    filter: brightness(60%);
    cursor: pointer;
}

.ticket {
    text-align: center;
}

.infos {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.info{
    flex-direction: column;
    margin: 0 50px;
}

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

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

/* Instagram */
.fa.fa-instagram {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Verpflegung */
section.verpflegung {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tickets {
    color: var(--text-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: 1.8rem;
    }

     /* 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
    }

    .map {
        width: 100%;
        max-width: none;
    }

    .infos {
        flex-direction: column;
    }

    .line  {
        width: 90%;
        margin: 2rem auto;
    }

    section {
        padding: 40px 10px;
    }
}


