:root {
    --red: #d92b2b;
    --green: #2f8f3a;
    --cream: #fff1d6;
    --dark: #1b1a16;
    --brown: #4a2c1f;
    --gold: #f2b94b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", sans-serif;
    background: var(--dark);
    color: var(--cream);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-family: "Fredoka", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-head p {
    color: rgba(255, 241, 214, 0.8);
    max-width: 720px;
    margin: 12px auto 0;
}

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(27, 26, 22, 0.92);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid rgba(217, 43, 43, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Fredoka", sans-serif;
    font-size: 1.4rem;
}

.main-nav {
    display: flex;
    gap: 24px;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    padding-bottom: 6px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 14px;
    font-size: 1.1rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 241, 214, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-4px) rotate(-6deg);
    background: var(--red);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--cream);
    font-size: 1.4rem;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-top: 110px;
    overflow: hidden;
}

.video-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(27, 26, 22, 0.9), rgba(27, 26, 22, 0.45));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 16px;
    place-items: center;
    width: min(720px, 90vw);
}

.hero-logo {
    width: min(280px, 55vw);
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.hero h1 {
    font-family: "Fredoka", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero p {
    color: rgba(255, 241, 214, 0.85);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-btn,
.ghost-btn {
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-btn {
    background: var(--red);
    color: var(--cream);
    box-shadow: 0 16px 30px rgba(217, 43, 43, 0.35);
}

.ghost-btn {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(27, 26, 22, 0.6);
}

.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-4px) scale(1.02);
}

.primary-btn.small,
.ghost-btn.small {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    z-index: 3;
    width: 30px;
    height: 50px;
    border: 2px solid var(--cream);
    border-radius: 50px;
    display: grid;
    place-items: center;
}

.scroll-hint span {
    width: 6px;
    height: 6px;
    background: var(--cream);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

.info-section {
    background: radial-gradient(circle at top, rgba(47, 143, 58, 0.25), transparent);
}

.info-grid {
    display: grid;
    gap: 48px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.info-image img {
    border-radius: 28px;
    border: 4px solid var(--red);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}

.info-text h2 {
    font-family: "Fredoka", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}

.info-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.info-badges span {
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(217, 43, 43, 0.2);
    border: 1px solid rgba(217, 43, 43, 0.5);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.songs-section {
    background: linear-gradient(120deg, rgba(74, 44, 31, 0.7), rgba(27, 26, 22, 1));
}

.songs-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.song-card {
    background: rgba(27, 26, 22, 0.8);
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(242, 185, 75, 0.4);
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.song-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.song-body {
    padding: 20px;
}

.song-body>p {
    text-align: center;
}

.song-body h3 {
    font-family: "Fredoka", sans-serif;
    margin-bottom: 10px;
    text-align: center;
}

.gallery-section {
    background: radial-gradient(circle at center, rgba(217, 43, 43, 0.2), transparent);
}

.gallery-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 2px solid rgba(47, 143, 58, 0.5);
}

.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item span {
    position: absolute;
    inset: auto 0 0 0;
    padding: 12px;
    background: rgba(27, 26, 22, 0.75);
    font-weight: 600;
}

.gallery-item:hover img {
    transform: scale(1.08) rotate(1deg);
}

.events-list {
    display: grid;
    gap: 18px;
}

.event-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(47, 143, 58, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(47, 143, 58, 0.45);
}

.booking-section {
    background: linear-gradient(130deg, rgba(217, 43, 43, 0.25), rgba(27, 26, 22, 0.95));
}

.booking-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.booking-form {
    display: grid;
    gap: 16px;
    background: rgba(27, 26, 22, 0.85);
    padding: 28px;
    border-radius: 24px;
    border: 2px solid rgba(242, 185, 75, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.field {
    display: grid;
    gap: 8px;
}

.field input,
.field textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 241, 214, 0.25);
    background: rgba(27, 26, 22, 0.8);
    color: var(--cream);
    font-family: inherit;
}

.field.full {
    grid-column: 1 / -1;
}

.form-note {
    font-size: 0.8rem;
    color: rgba(255, 241, 214, 0.7);
}

.retro-card {
    margin-top: 20px;
    padding: 18px;
    border-radius: 18px;
    border: 2px dashed rgba(242, 185, 75, 0.6);
    background: rgba(74, 44, 31, 0.6);
}

.main-footer {
    background: #11100d;
    padding: 60px 0 30px;
    border-top: 2px solid rgba(217, 43, 43, 0.6);
}

.footer-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid h3 {
    font-family: "Fredoka", sans-serif;
    margin-bottom: 10px;
}

.footer-grid a {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 241, 214, 0.8);
}

.footer-bottom {
    text-align: center;
    margin-top: 28px;
    font-size: 0.85rem;
    color: rgba(255, 241, 214, 0.6);
}

.song-card>img {
    margin: 0 auto;
    width: 40%;
    height: auto;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes scroll {
    0% {
        transform: translateY(-8px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(8px);
        opacity: 0;
    }
}

@media (max-width: 960px) {
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(27, 26, 22, 0.98);
        flex-direction: column;
        padding: 18px 22px;
        border-radius: 0 0 0 18px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .main-nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 720px) {
    .hero-actions {
        flex-direction: column;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   LINK-BTN  (unstyled button that looks like a link)
   ============================================================ */
.link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--gold);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.link-btn:hover {
    color: var(--cream);
}

/* footer variant: block display so it lines up like the old <a> */
.footer-grid .link-btn {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 241, 214, 0.8);
    text-decoration: none;
    font-size: inherit;
}
.footer-grid .link-btn:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* ============================================================
   LEGAL MODAL  (Impressum / Datenschutz)
   ============================================================ */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.legal-modal[hidden] {
    display: none;
}

.legal-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 7, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    animation: fadeIn 0.25s ease;
}

.legal-modal__box {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(27, 26, 22, 0.97), rgba(74, 44, 31, 0.85));
    border: 2px solid rgba(242, 185, 75, 0.35);
    border-radius: 24px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 241, 214, 0.05) inset;
    width: min(720px, 100%);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    overflow: hidden;
}

.legal-modal__box h2 {
    font-family: "Fredoka", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gold);
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(242, 185, 75, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.legal-modal__box h2 i {
    font-size: 1.2em;
    color: var(--red);
}

.legal-modal__body {
    overflow-y: auto;
    padding: 24px 32px 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(242, 185, 75, 0.4) transparent;
}

.legal-modal__body::-webkit-scrollbar {
    width: 6px;
}
.legal-modal__body::-webkit-scrollbar-track {
    background: transparent;
}
.legal-modal__body::-webkit-scrollbar-thumb {
    background: rgba(242, 185, 75, 0.4);
    border-radius: 99px;
}

.legal-modal__body h3 {
    font-family: "Fredoka", sans-serif;
    color: var(--gold);
    font-size: 1.1rem;
    margin: 24px 0 8px;
    letter-spacing: 0.5px;
}

.legal-modal__body h3:first-child {
    margin-top: 0;
}

.legal-modal__body p {
    color: rgba(255, 241, 214, 0.85);
    line-height: 1.7;
    font-size: 0.95rem;
}

.legal-modal__body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
}

.legal-modal__body a:hover {
    color: var(--cream);
}

.legal-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 241, 214, 0.25);
    background: rgba(255, 241, 214, 0.08);
    color: var(--cream);
    font-size: 1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s, transform 0.2s;
}

.legal-modal__close:hover {
    background: var(--red);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}
