/* ---------------------- CSS Custom Properties ---------------------- */
:root {
    --primary-color: #f5f5f5;
    --background-dark: #000000;
    --background-medium: #000000;
    --background-light: #000000;
    --background-lighter: #000000;
    --surface-color: #141414;
    --surface-hover: #1f1f1f;
    --border-color: rgba(255, 255, 255, 0.3);
    --border-color-strong: rgba(255, 255, 255, 0.8);
    --text-shadow-glow: 0 -4px 8px rgba(255, 107, 157, 0.6), 0 -2px 10px rgba(255, 143, 163, 0.5), 0 0 12px rgba(255, 140, 66, 0.55), 0 2px 10px rgba(255, 126, 69, 0.5), 0 4px 8px rgba(255, 110, 50, 0.6);
    --text-shadow-subtle: 0 -2px 4px rgba(255, 107, 157, 0.4), 0 0 6px rgba(255, 140, 66, 0.4), 0 2px 4px rgba(255, 126, 69, 0.4);
    --text-shadow-nav: 0 -4px 8px rgba(255, 107, 157, 0.48), 0 -2px 10px rgba(255, 143, 163, 0.4), 0 0 12px rgba(255, 140, 66, 0.44), 0 2px 10px rgba(255, 126, 69, 0.4), 0 4px 8px rgba(255, 110, 50, 0.48);
    --border-radius: 8px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Orbitron', monospace;
}

/* ---------------------- Reset & Base Styles ---------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    background-color: var(--background-dark);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    text-shadow: var(--text-shadow-glow);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------------------- Accessibility ---------------------- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--background-dark);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 1000;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* ---------------------- Typography ---------------------- */
a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}

a:hover, a:focus {
    color: #000000;
}

a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ---------------------- Navigation ---------------------- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
    overflow: visible;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: -1;
}

header.scrolled {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
}

header.scrolled::before {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5em;
}

.language-switcher {
    /* weicher Glas-Look ohne harte Kante */
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.18) 40%,
        rgba(255, 255, 255, 0.06) 70%,
        rgba(255, 255, 255, 0.0) 100%
    );
    border: none; /* kein weißer Rand mehr */
    border-radius: 999px; /* etwas pill-förmiger, wirkt noch softer */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* Layout */
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4em 1.1em;
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 50px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

 /* leichter, weicher Schatten nach außen im Taco-Glow-Style */
box-shadow:
0 0 8px rgba(255, 107, 157, 0.5),
0 0 12px rgba(255, 140, 66, 0.45),
0 0 16px rgba(255, 126, 69, 0.4);
}

.language-switcher:hover,
.language-switcher:focus {
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.788) 0%,
        rgba(255, 255, 255, 0.548) 40%,
        rgba(255, 255, 255, 0.336) 70%,
        rgba(255, 255, 255, 0.199) 100%
    );
    transform: scale(1.05);
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.6);
}

.language-switcher:hover,
.language-switcher:focus {
    background: rgba(255, 255, 255, 0.267);
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.language-switcher:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.lang-code {
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
}
.language-switcher:hover .lang-code,
.language-switcher:focus .lang-code {
    color: #111111;          /* dunkel, wie gewünscht */      
}

.language-switcher:hover .lang-code,
.language-switcher:focus .lang-code {
    text-shadow: var(--text-shadow-glow);
}

.logo-link {
    display: inline-block;
    transition: var(--transition-fast);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-small {
    width: 160px;
    height: auto;
    transition: var(--transition-fast);
}

.desktop-nav {
    display: flex;
    gap: 2em;
    list-style: none;
}

.desktop-nav li {
    font-size: 1rem;
    font-weight: 700;
}

.desktop-nav a {
    position: relative;
    padding: 0.5em 0;
    transition: var(--transition-fast);
    opacity: 0.75;
    text-shadow: var(--text-shadow-nav);
    outline: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus {
    opacity: 1;
    text-shadow: var(--text-shadow-glow);
    outline: none;
}

.desktop-nav a:focus-visible {
    outline: none;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0.25em;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus::after {
    width: 100%;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus::after {
    width: 100%;
}

/* Aktiver Menüpunkt im Header (Scrollspy) */
.desktop-nav a.active {
    opacity: 1;
    text-shadow: var(--text-shadow-glow);
    /* optional, nur wenn du wirklich schwarzen Text willst:
       color: #000000;
    */
}

.desktop-nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition-fast);
    position: relative;
    z-index: 100;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger:hover,
.hamburger:focus {
    color: #ffffff;
    transform: scale(1.1);
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-dark);
    border: 1px solid var(--primary-color);
    border-top: none;
    list-style: none;
    padding: 1rem;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .header-right {
        gap: 1em;
    }
    
    .language-switcher {
        padding: 0.4em 0.8em;
        font-size: 0.85rem;
        min-width: 45px;
        min-height: 40px;
    }
}

/* Hide mobile nav on desktop by default */
@media screen and (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
    
    .hamburger {
        display: none !important;
    }
}

.mobile-nav.active {
    display: block;
}

.mobile-nav li {
    margin: 0.5rem 0;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    opacity: 0.75;
    text-shadow: var(--text-shadow-nav);
    outline: none;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    background: var(--primary-color);
    color: var(--background-dark);
    opacity: 1;
    text-shadow: var(--text-shadow-glow);
    outline: none;
}

.mobile-nav a:focus-visible {
    outline: none;
}

/* ---------------------- Hero Section ---------------------- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 4em;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/TACO_Verlauf_Background.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.8);
    animation: bgmove 30s linear infinite alternate;
    will-change: background-position;
}

@keyframes bgmove {
    0% { background-position: center top; }
    100% { background-position: center bottom; }
}

.bubble-logo {
    width: 600px;
    max-width: 95%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    transition: var(--transition-slow);
    will-change: transform;
}

.bubble-logo:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.scroll-down {
    margin-top: 2em;
    display: inline-block;
    animation: bounce 2s infinite;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
    transition: var(--transition-fast);
}

.scroll-down:hover,
.scroll-down:focus {
    color: #ffffff;
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---------------------- Artists Section ---------------------- */
.artists-section {
    padding: 9em 2em 9em;
    background-color: var(--background-medium);
    text-align: center;
}

.artists-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5em;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-fast);
    border-radius: var(--border-radius);
    padding: 1em;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.artist-card:hover {
    transform: translateY(-5px);
    background-color: var(--surface-color);
}

.artist-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.artist-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.artist-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.artist-name {
    margin-top: 0.5em;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
}

.artist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    border-radius: var(--border-radius);
}

.artist-card:hover .artist-overlay {
    opacity: 1;
}

.view-details {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: var(--text-shadow-subtle);
    padding: 0.5em 1em;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--border-radius);
    background: var(--surface-color);
    transition: var(--transition-fast);
}

.artist-card:hover .view-details {
    background: var(--surface-hover);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* ---------------------- Events Section ---------------------- */
.events-section {
    padding: 5em 9em;
    background-color: var(--background-light);
    text-align: center;
}

.events-section h2 {
    font-size: 2rem;
    margin-bottom: 1em;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
}

.events-section p {
    margin-bottom: 2em;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}

.email-input {
    width: 100%;
    padding: 0.75em 1.5em;
    background-color: var(--background-medium);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    text-shadow: var(--text-shadow-subtle);
    transition: var(--transition-fast);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-shadow: none;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--background-lighter);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.email-input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.email-message {
    margin-top: 1em;
    padding: 0.75em 1em;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 700;
    min-height: 20px;
    transition: var(--transition-fast);
}

.email-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 2px solid #4caf50;
}

.email-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 2px solid #f44336;
}

.email-message:empty {
    display: none;
}

.btn {
    background-color: var(--surface-color);
    color: var(--primary-color);
    padding: 0.75em 2em;
    border: 1px solid var(--border-color-strong);
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
    text-shadow: none;
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
    width: 100%;
}

.btn:hover,
.btn:focus {
    background-color: var(--surface-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
/* ---------------------- 7-Tage-Kalender unter Events ---------------------- */
.events-calendar-strip {
    margin-top: 3rem;                /* Abstand zum Formular */
    display: flex;
    justify-content: center;
}

.events-calendar-inner {
    width: 100%;
    max-width: 1100px;
    padding: 1.25rem 1.75rem;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.8);  /* dunkler Container */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Kopfzeile: Titel links, Toggle rechts */
.events-calendar-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.events-calendar-heading {
    font-size: 1rem;
    text-align: left;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
    opacity: 0.85;
}

/* Toggle-Button Woche/Monat */
.calendar-toggle {
    background: rgba(20, 20, 20, 0.9);
    color: var(--primary-color);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-shadow: var(--text-shadow-subtle);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.calendar-toggle:hover,
.calendar-toggle:focus {
    background: rgba(40, 40, 40, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

/* Grid mit Tagen */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr)); /* 7 Spalten */
    gap: 0.75rem;
}

/* Einzelner Tag */
.calendar-day {
    position: relative;
    padding: 0.6rem 0.45rem 0.7rem;
    border-radius: 14px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-shadow: none;
    font-size: 0.8rem;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.calendar-day:hover {
    background: rgba(40, 40, 40, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
}

/* oberer Bereich: Wochentag + Datum mit Trennlinie */
.calendar-day-header {
    padding-bottom: 0.35rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.calendar-day-weekday {
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 0.15rem;
}

.calendar-day-date {
    font-size: 0.85rem;
}

/* unterer Bereich: hier kommen ggf. Event-Pillen rein */
.calendar-day-body {
    min-height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Event-Pille – nur wenn ein Event existiert */
.calendar-day-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #3a3a3a;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: var(--text-shadow-glow); /* gleicher Glow wie Schrift */
    font-size: 0.78rem;
    font-weight: 700;
    max-width: 100%;
    white-space: normal;    /* darf umbrechen */
    text-align: center;
}

/* Heute leicht hervorgehoben */
.calendar-day--today {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

/* ---------------------- About Section ---------------------- */
.about-section {
    padding: 7em 15em;              /* oberer/unterer Abstand */
    background-color: var(--background-medium);
    text-align: center;
    scroll-margin-top: 120px;      /* Abstand für Fix-Header bei Anker-Sprung */
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1em;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
}

.about-section p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---------------------- Social Section ---------------------- */
.social-section {
    padding: 18em 2em;
    background-color: var(--background-lighter);
    text-align: center;
}

.social-section h2 {
    margin-bottom: 2em;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
    font-size: 2rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    max-width: 500px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1em 2em;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.social-link svg {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.social-link:hover,
.social-link:focus {
    background-color: var(--surface-hover);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.social-link:hover svg,
.social-link:focus svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.social-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ---------------------- Footer ---------------------- */
footer {
    position: relative;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 2em 1em;
    text-align: center;
    font-size: 0.9rem;
    border-top: none;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

footer p {
    position: relative;
    z-index: 1;
}

footer a {
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
    transition: var(--transition-fast);
}

footer a:hover,
footer a:focus {
    color: #ffffff;
}

/* ---------------------- Cookie Banner ---------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--background-dark);
    color: var(--primary-color);
    padding: 1em;
    font-size: 0.9em;
    text-align: center;
    z-index: 20;
    text-shadow: var(--text-shadow-subtle);
    border-top: 1px solid var(--primary-color);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.cookie-banner button {
    margin-left: 1em;
    padding: 0.5em 1em;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.cookie-banner button:hover,
.cookie-banner button:focus {
    background-color: var(--surface-hover);
    transform: scale(1.05);
}

.cookie-banner button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ---------------------- Modal Styles ---------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--background-dark);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    width: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-fast);
    border: 2px solid var(--primary-color);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover,
.modal-close:focus {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: scale(1.1);
}

.modal-close:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-image-container {
    text-align: center;
}

.modal-artist-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color-strong);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.modal-info {
    text-align: center;
}

.modal-artist-name {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.modal-description {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.modal-social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    justify-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.modal-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition-fast);
    width: 100%;
    justify-content: center;
    min-height: 48px;
}

.modal-social-link:hover,
.modal-social-link:focus {
    background: var(--surface-hover);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 165, 94, 0.3);
}

.modal-social-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Modal animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
}

/* ---------------------- Responsive Design ---------------------- */
@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    .mobile-nav.active {
        display: block !important;
    }
    
    .hero {
        padding-top: 2em;
    }
    
    .bubble-logo {
        width: 80%;
        max-width: 400px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    
    .social-links {
        gap: 1em;
    }
    
    .social-link {
        padding: 0.75em 1.5em;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 1rem;
    }
    
    .hero {
        padding-top: 1em;
    }
    
    .bubble-logo {
        width: 90%;
        max-width: 300px;
    }
    
    .artists-section,
    .events-section,
    .social-section {
        padding: 4em 1em;
    }
    
    .btn {
        padding: 0.5em 1.5em;
        font-size: 0.9rem;
    }
    
    /* Mobile Modal Styles */
    .modal-content {
        width: 95vw;
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(95vh - 80px);
    }
    
    .modal-artist-image {
        width: 150px;
        height: 150px;
    }
    
    .modal-artist-name {
        font-size: 1.5rem;
    }
    
    .modal-description {
        font-size: 1rem;
    }
    
    .modal-social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .modal-social-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-height: 44px;
    }
    
    .modal-social-link svg {
       display: none;
    }

    .modal-social-link span {
        text-transform: uppercase;
    }
}

/* ---------------------- Maps Container ---------------------- */
.maps-container {
    width: 100%;
    height: 300px;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--background-medium);
    border: 1px solid var(--primary-color);
}

.maps-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    background: var(--background-medium);
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
}

.maps-placeholder p {
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.5;
}

.lazy-load-map {
    width: 100%;
    height: 100%;
    background: var(--background-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* === PANEL WHEEL & EVENTS PANEL START === */

/* Sanftes Scrollen */
html {
    scroll-behavior: smooth;
}

/* Vertikales Scroll-Snap für Hero + Panels */
html,
body {
    scroll-snap-type: y mandatory;
}

.hero,
.panel-section {
    scroll-snap-align: start;
}

/* Panel-Basislayout:
   -> Höhe = fast ganze Viewport-Höhe
   -> 90px werden für Header + Footer reserviert
   -> wenn dir das zu viel/zu wenig ist, ändere einfach die 90px */
.panel-section {
    height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5.5em 2em 3.5em;
    background-color: var(--background-medium);
}

/* Karte innerhalb jedes Panels (Artists / Events / About / Social) */
.panel-card {
    width: 100%;
    max-width: 1200px;
    height: 100%;           /* ganz wichtig: alle Cards gleich hoch */
    border-radius: 24px;
    background: radial-gradient(
        circle at top left,
        rgba(255, 126, 69, 0.12),
        rgba(0, 0, 0, 0.98)
    );
    box-shadow:
        0 0 40px rgba(255, 107, 157, 0.45),
        0 0 80px rgba(255, 126, 69, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 3rem 3rem 2.5rem;
    position: relative;
    overflow-y: auto;        /* falls Inhalt höher ist, scrollt nur die Card */
    display: flex;
    flex-direction: column;
}

/* Überschriften in Cards */
.panel-card > h2 {
    text-align: center;
    margin-top: 0;
}

/* "Rad"-Effekt: aktives Panel vorne, andere leicht gekippt */
.panel-section {
    transform-origin: center center;
    transform: translateY(3vh) scale(0.96) rotateX(-4deg);
    opacity: 0.45;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.panel-section.is-active {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
}

.panel-section.is-before {
    transform: translateY(-6vh) scale(0.9) rotateX(12deg);
    opacity: 0.25;
}

.panel-section.is-after {
    transform: translateY(6vh) scale(0.9) rotateX(-12deg);
    opacity: 0.25;
}

/* Header kompakter im scrolled-Zustand */
header.scrolled {
    padding: 0.5em 1.5em;
}

header.scrolled .logo-small {
    width: 110px;
}

header.scrolled .desktop-nav li {
    font-size: 0.9rem;
}

/* Events-Panel:
   Im Monatsmodus Intro + Email-Form ausblenden,
   damit die Monatsansicht mehr Platz hat */
.events-section .email-form-container,
.events-section .panel-card > p[data-i18n="events.description"] {
    transition: opacity 0.3s ease, max-height 0.3s ease, margin-bottom 0.3s ease;
    max-height: 500px;
}

.events-section.month-mode .email-form-container,
.events-section.month-mode .panel-card > p[data-i18n="events.description"] {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    pointer-events: none;
}

/* === PANEL WHEEL & EVENTS PANEL END === */
