/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*=============== CSS VARIABLES ===============*/
:root {
    /*========== Colors ==========*/
    /* --background-color: #9C4043; */
    --background-color: #0f0e0e;
    --navbar-color: #291513;
    --navbar-color-lighter: #3d1f1c;
    --background-color-from: #803B3E;
    --background-color-to: #630206;
    --primary-color: #A00000;
    /* --button-hover: #be1a1a; */
    --button-hover: #532925;
    --text-color: #FFFFFF;
    --text-color-link: #e0e0e0;
    --text-color-hover: #ffffff;
    /* --box-shadow-color: #3b0103; */
    --box-shadow-color: #303030;

    /*========== Font Family ==========*/
    --body-font: "Inter", sans-serif;

    /*========== Font Weight ==========*/
    --font-regular: 400;
    --font-semibold: 600;
    --font-bold: 700;

    /*========== Font Sizes (Desktop) ==========*/
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.8rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.9rem;
    --social-link-size: 1.2rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;

    /*========== Sonstiges ==========*/
    --nav-bar-height: 50px;
}

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

html,
body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--background-color);
    color: var(--text-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/*=============== MAIN ===============*/
main {
    flex: 1;
    padding: 0 200px;
    margin-top: var(--nav-bar-height);
}

/*=============== NAVBAR ===============*/
header {
    position: fixed;
    width: 100%;
    min-height: var(--nav-bar-height);
    top: 0;
    /* background: linear-gradient(to top, var(--background-color-from), var(--background-color-to)); */
    background: var(--navbar-color);
    padding: 0 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
}

header .brand {
    color: var(--text-color);
    font-size: 1.75em;
    font-weight: 600;
    text-decoration: none;
}

header ul {
    position: relative;
}

header ul li {
    position: relative;
    list-style: none;
    float: left;
}

header ul li a {
    color: var(--text-color);
    font-size: 1.1em;
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

header ul li a:hover {
    background: var(--button-hover);
}

header ul li ul {
    position: absolute;
    left: 0;
    width: 200px;
    background: var(--navbar-color-lighter);
    display: none;
}

header ul li.show-submenu>ul {
    display: block;
}


header ul li ul li {
    position: relative;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

header ul li ul li ul {
    top: 0;
    left: 200px;
}



/*=============== DSGVO ===============*/
.dsgvo-section {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

.dsgvo-section ul {
    list-style-position: inside;
}

/*=============== HERO SECTION - FLYER ===============*/
.hero {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.hero .hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border: 2px solid var(--box-shadow-color);
}

/*=============== COUNTDOWN ===============*/
.countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    justify-content: center;
}

.countdown-headline {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.countdown-container {
    display: flex;
    gap: 15px;
}

.countdown-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    font-size: 1.2rem;
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.countdown-dimension {
    font-size: 1rem;
    color: var(--text-color-darker);
    font-weight: bold;
}

/*=============== TIME TABLE ===============*/
.headline-container {
    padding-bottom: 20px;
    padding-top: 10px;
    text-align: center;
}

.time-table-day {
    margin-bottom: 20px;
}

.time-table-day h3 {
    margin-bottom: 5px;
}

.band-time,
.band-name,
.band-genre {
    flex: 2;
    padding: 0 10px;
}

.info-icon {
    padding: 0 10px;
}

.band-name {
    flex: 3;
    font-weight: bold;
}

.no-bands-message {
    padding: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--background-color-to);
    font-weight: 600;
}

.tt-accordion-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.tt-accordion-item {
    border: 2px solid var(--box-shadow-color);
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.tt-accordion-header {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    font-size: 1.2rem;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.tt-accordion-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
}

.tt-accordion-right {
    display: flex;
    align-items: center;
}

.tt-accordion-icon {
    transition: transform 0.3s ease;
}

.tt-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    width: 100%;
}

.tt-accordion-content a {
    color: var(--text-color-link)
}

.tt-accordion-item.open .tt-accordion-content {
    max-height: 300px;
    padding: 10px 20px;
}

.tt-accordion-item.open .tt-accordion-icon {
    transform: rotate(180deg);
}

.content-wrapper::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgb(190, 190, 190);
    margin-bottom: 8px;
    margin-top: 8px;
}

.time-table-social-links {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
}

.time-table-social-links a {
    color: white;
    text-decoration: none;
}

.time-table-social-links i {
    font-size: 30px;
}

.past-lineup {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.past-lineup a {
    text-decoration: none;
    color: var(--text-color-link)
}

/*=============== VEREIN ===============*/
.verein-section {
    margin: 20px 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

.verein-section ul {
    list-style-position: inside;
}

.verein-section h2 {
    margin-bottom: 10px;
}

.verein-section h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

/*=============== KONTAKTSEITE ===============*/
.contact {
    max-width: 700px;
    margin: 60px auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.contact p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form label {
    display: block;
    margin-top: 1rem;
    font-weight: var(--font-medium);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--body-font);
}

.contact-form button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--button-hover);
}


/*=============== FOOTER ===============*/
footer {
    margin-top: 10px;
    padding: 0 190px;
    /* background: linear-gradient(to bottom, var(--background-color-from), var(--background-color-to)); */
    background: var(--navbar-color);
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;

}

.footer-column a {
    color: var(--text-color-link);
    text-decoration: none;
    margin-bottom: 4px;
}

.footer-column p {
    margin-bottom: 4px;
}

.footer-social-icons {
    gap: 150px;
    font-size: x-large;
}

/*=============== CARAVAN REGISTRATION ===============*/
.caravan-form-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.styled-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.styled-form h2.form-headline {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.styled-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.styled-form input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--body-font);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.styled-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.styled-form button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.styled-form button:hover {
    background-color: var(--button-hover);
}

.feedback-message {
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
    background-color: #ccc;
}

/*=============== FESTIVAL ABC ===============*/

.accordion-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.accordion-item {
    border: 2px solid var(--box-shadow-color);
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    font-size: 1.2rem;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    width: 100%;
}

.accordion-content a {
    color: var(--text-color-link)
}

.accordion-item.open .accordion-content {
    max-height: 300px;
    padding: 10px 20px;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

/*=============== CUSTOM ===============*/
.link-animated a {
    color: var(--text-color-link);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.link-animated a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.link-animated a:hover {
    color: var(--text-color-hover)
}

.link-animated a:hover::after {
    transform: scaleX(1);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media (max-width: 900px) {

    /*========== Responsive Font Sizes (Mobile) ==========*/
    :root {
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --social-link-size: 1.125rem;
    }

    main {
        padding: 0;
    }

    header {
        padding: 0 20px;
    }

    header .brand {
        font-size: 1.25em;
    }

    header nav {
        position: absolute;
        width: 100%;
        top: var(--nav-bar-height);
        left: 0;
        background: var(--navbar-color);
        display: none;
    }

    header.active nav {
        display: initial;
    }

    header nav ul li {
        width: 100%;
    }

    header nav ul li ul {
        position: relative;
        width: 100%;
        left: 0;
        text-indent: 10px;
    }

    header ul li ul li ul {
        top: 0;
        left: 0;
        text-indent: 20px;
    }

    header nav ul li:hover ul li {
        background: var(--navbar-color-lighter);
    }

    .menuToggle {
        position: relative;
        width: 40px;
        height: 50px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menuToggle::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: var(--text-color);
        transform: translateY(-12px);
        box-shadow: 0 12px var(--text-color);
    }

    .menuToggle::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: var(--text-color);
        transform: translateY(12px);
    }

    header.active .menuToggle::before {
        transform: rotate(45deg);
        box-shadow: 0 0 var(--text-color);
    }

    header.active .menuToggle::after {
        transform: rotate(315deg);
        box-shadow: 0 0 var(--text-color);
    }

    .hero {
        margin-top: 0;
    }

    .hero .hero-image {
        z-index: 1;
        border: none;
        border-bottom: 2px solid var(--box-shadow-color);
    }

    .headline-container {
        padding: 10px;
    }

    .time-table-day {
        padding: 10px;
    }

    .verein-section {
        margin: 0 20px;
    }

    .dsgvo-section {
        margin: 0 20px;
    }

    .impressum-section {
        margin: 0 20px;
    }

    .caravan-form-wrapper {
        margin: 0 20px;
    }

    footer {
        padding: 0 10px;
    }

    .footer-column {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-container {
        flex-direction: column;
    }

    .time-table-social-links i {
        font-size: 20px;
    }

    .time-table-day h3 {
        text-align: center;
    }

    .tt-accordion-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        min-height: 80px;
    }

    .tt-accordion-left {
        display: flex;
        flex-direction: column;
        flex: 1;
        max-width: 180px;
    }

    .tt-accordion-right {
        display: flex;
        align-items: center;
        padding-left: 10px;
    }

    .tt-accordion-header .band-time,
    .tt-accordion-header .band-name,
    .tt-accordion-header .band-genre {
        width: 100%;
        padding: 2px 0;
        font-size: 18px;
    }

    .tt-accordion-header .band-time {
        font-weight: 100;
        font-size: 16px;
    }

    .tt-accordion-header .band-genre {
        font-weight: 100;
        font-size: 14px;
    }

    .tt-accordion-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .tt-accordion-content {
        overflow: scroll;
    }

    .past-lineup {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 5px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .accordion-header {
        font-size: 0.9rem;
    }

    .accordion-content {
        font-size: 0.8rem;
    }
}