/* ---------------------- CSS Custom Properties ---------------------- */
:root {
    --primary-color: #f5f5f5;
    --text-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;

    /* Design Tokens (zentral, einheitlich genutzt) */
    --brand-orange: #fca55e;
    --brand-orange-dark: #ff7e45;
    --brand-pink: #ff6b9d;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 999px;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 0 22px rgba(252, 165, 94, 0.25);
    --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-quick: 0.18s;
    --duration-medium: 0.35s;
}

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

* {
    margin: 0;
    padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    text-shadow: var(--text-shadow-subtle);
}

.btn {
    font-weight: 600;
}

/* ---------------------- 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,
button: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-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.nav-cta-btn {
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

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

.nav-cta a.active {
    opacity: 1;
    text-shadow: var(--text-shadow-glow);
}

.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: 80vh;
    min-height: 480px;
    max-height: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 3rem;
    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: -8%;
    left: -8%;
    width: 116%;
    height: 116%;
    background-image: url('/img/TACO_Verlauf_Background.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.8);
    animation: bgdrift 28s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes bgdrift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-1.5%, 2%, 0) scale(1.06); }
    100% { transform: translate3d(1.5%, -2%, 0) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
    .background-overlay { animation: none; transform: none; }
}

.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);
}

.hero-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem 0 1rem;
}

.hero-quick .btn {
    width: auto;
    min-width: 120px;
}

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

/* ---------------------- Artists Section ---------------------- */
.artists-section {
    padding: 4rem 1.5rem;
    background-color: var(--background-medium);
    text-align: center;
    min-height: 200px;
}

.artists-section h2 {
    /* Größe via .section-title clamp – kein Override */
    margin-bottom: 1em;
}

/* Artist Tabs (Residents / Guests) */
.artist-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.artist-tab-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.artist-tab-btn:hover {
    border-color: var(--primary-color);
}
.artist-tab-btn.active {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    font-weight: 600;
}

.artists-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (min-width: 980px) {
    .artists-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media screen and (min-width: 1400px) {
    .artists-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        max-width: 1400px;
    }
}

.artist-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
}

.artist-card[hidden] {
    display: none !important;
}

.artist-card:hover {
    transform: translateY(-3px);
    border-color: rgba(252, 165, 94, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.artist-card:focus {
    outline: none;
}

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

.artist-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--background-dark);
}

.artist-card .artist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.artist-card .artist-image:hover {
    transform: none;
}

.artist-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem 1rem;
    text-align: left;
    flex: 1;
    min-height: 0;
}

.artist-card .artist-name {
    margin: 0 0 0.35em;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-subtle);
    line-height: 1.2;
}

.artist-card-bio {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
    flex: 1;
    min-height: 0;
}

.artist-card-socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.artist-card-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-color);
    transition: background 0.2s, color 0.2s;
}

.artist-card-social-link:hover,
.artist-card-social-link:focus-visible {
    background: rgba(252, 165, 94, 0.25);
    color: var(--primary-color);
}

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

.artist-card-social-link svg {
    width: 18px;
    height: 18px;
}

.artist-card-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.artist-details-btn {
    font-size: 0.85rem;
    padding: 0.45em 0.9em;
}

.artist-booking-btn {
    pointer-events: auto;
    font-size: 0.85rem;
    padding: 0.45em 0.9em;
    cursor: pointer;
}

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

/* Artist Modal */
.modal-booking {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-booking--compact {
    padding: 0.75rem 1rem;
    margin-top: 1rem;
}

.modal-booking--compact h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.modal-booking--compact .modal-booking-hint {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.modal-booking--compact .booking-form {
    gap: 0.5rem;
}

.modal-booking--compact .input-label {
    font-size: 0.8rem;
}

.booking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

@media (max-width: 480px) {
    .booking-form-row {
        grid-template-columns: 1fr;
    }
}

.input-field--compact {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
}

.booking-form-extra {
    margin-top: 0.25rem;
}

.booking-form-extra summary {
    font-size: 0.85rem;
    color: var(--primary-color);
    cursor: pointer;
}

.booking-form-extra-inner {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.checkbox-field--compact {
    font-size: 0.8rem;
}

.btn--small {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.modal-booking h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.modal-booking-hint {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-form .input-field {
    width: 100%;
}

.booking-message.success {
    color: #4caf50;
}

.booking-message.error {
    color: #f44336;
}

.booking-deposit-btn {
    margin-bottom: 1rem;
    width: auto;
}

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

/* ---------------------- Events Section ---------------------- */
.events-section {
    padding: 3rem 1.5rem;
    background-color: var(--background-light);
    text-align: center;
}

.events-section h2 {
    /* Größe via .section-title clamp – kein Override */
    margin-bottom: 1em;
}

.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;
}
/* ---------------------- About Section ---------------------- */
.about-section {
    padding: 3rem 1.5rem;
    background-color: var(--background-medium);
    text-align: center;
    scroll-margin-top: 120px;
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    /* Größe via .section-title clamp – kein Override */
    margin-bottom: 1em;
}

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

/* ---------------------- Social Section ---------------------- */
.social-section {
    padding: 3rem 1.5rem;
    background-color: var(--background-lighter);
    text-align: center;
}

.social-section h2 {
    /* Größe via .section-title clamp – kein Override */
    margin-bottom: 2em;
}

.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: 1.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    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: 1100;
    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: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.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;
    z-index: 0;
}

.modal-content {
    position: relative;
    z-index: 1;
    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: transform 0.25s ease;
    border: 2px solid var(--primary-color);
}

.artist-modal-content {
    max-height: 85vh;
    width: 100%;
}

.artist-modal-content .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
    position: relative;
    z-index: 0;
}

.artist-modal-content .modal-social-link[href="#"],
.artist-modal-content .modal-social-link[href=""],
.artist-modal-content a.modal-social-link:not([href^="http"]) {
    display: none !important;
}

.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: 1000;
    pointer-events: auto;
}

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

.artist-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 2rem 2rem;
}

.artist-modal-header {
    text-align: center;
}

.artist-modal-header .modal-artist-name {
    margin-bottom: 0.75rem;
}

.artist-modal-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media screen and (min-width: 640px) {
    .artist-modal-main {
        display: grid;
        grid-template-columns: minmax(180px, 240px) 1fr;
        gap: 1.5rem;
        align-items: start;
    }
}

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

.artist-modal-main .modal-image-container {
    position: relative;
    min-width: 120px;
    min-height: 120px;
    flex-shrink: 0;
}

.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);
}


.artist-modal-main .modal-artist-image {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

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

.artist-modal-main .modal-info {
    min-width: 0;
}

.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-artist-type {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    opacity: 0.9;
    margin: 0 0 0.5rem;
}

.modal-artist-genre {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.5rem;
}

.modal-bio {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0 0 1rem;
    font-weight: 600;
}

.modal-section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    opacity: 0.95;
    margin: 1rem 0 0.5rem;
}

.modal-description {
    color: #e8e8e8;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    white-space: pre-line;
}

.modal-description-long {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

#modal-fans-title {
    margin-top: 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 {
        /* Header ist fixed (~90px hoch); Logo soll darunter starten */
        padding-top: 5.5rem;
    }

    .bubble-logo {
        width: 78%;
        max-width: 360px;
    }
    
    .artists-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 1em;
    }
    
    .social-link {
        padding: 0.75em 1.5em;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 1rem;
    }
    
    .hero {
        padding-top: 5rem;
    }

    .bubble-logo {
        width: 90%;
        max-width: 300px;
    }
    
    .artists-section,
    .events-section,
    .social-section {
        padding: 2.5rem 1rem;
    }
    
    .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,
    .artist-modal-body {
        padding: 1.25rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(95vh - 80px);
    }
    
    .modal-artist-image {
        width: 150px;
        height: 150px;
    }
    
    .artist-modal-main .modal-artist-image {
        max-width: 160px;
    }
    
    .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;
}

/* Sanftes Scrollen für Anker-Links */
html {
    scroll-behavior: smooth;
}

/* Section-Inner: einheitlicher Content-Container (ersetzt panel-card) */
.section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.section-inner > h2 {
    text-align: center;
    margin-top: 0;
}

/* Scroll-Margin für Anker (Sticky Header) */
#next-event,
#artists,
#events,
#media,
#blog,
#shop,
#community,
#about,
#social,
#contact {
    scroll-margin-top: 100px;
}

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

/* ---------------------- Shop & Community ---------------------- */
.events-list {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}
.events-list::-webkit-scrollbar { height: 4px; }
.events-list::-webkit-scrollbar-track { background: transparent; }
.events-list::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 2px; }

.event-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 260px;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 1.25rem;
    border-radius: 16px;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.event-card-date {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.event-card-body h3 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.event-card-body p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.event-card-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: auto;
}

.event-card .btn,
.shop-card-footer .btn {
    width: auto;
}

.events-empty {
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    text-align: center;
}

.events-empty-text {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Event detail page (event.html) */
.event-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
}

.event-article .post-back {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-detail-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.event-detail-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.event-detail-meta {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.event-detail-body {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.event-not-found {
    text-align: center;
    padding: 2rem;
}

.event-not-found a {
    display: inline-block;
    margin-top: 1rem;
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0 0.5rem;
}

.shop-search,
.shop-filter,
.input-field {
    flex: 1 1 220px;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: var(--background-medium);
    color: var(--primary-color);
    font-weight: 600;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media screen and (min-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
    }
}

.shop-card {
    background: var(--surface-color);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.shop-card-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.shop-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.shop-price {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: #fca55e;
}

.product-modal-content {
    max-width: 900px;
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-main-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.product-thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-price {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: #fca55e;
}

.shop-empty {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* Empty state (Artists, Shop): nur DB-Daten, sonst Hinweis + Link ins Admin */
.empty-state {
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px dashed rgba(255, 255, 255, 0.3);
}
.empty-state-text {
    margin-bottom: 1rem;
    opacity: 0.9;
}
.empty-state-cta {
    display: inline-block;
    width: auto;
    margin: 0 0.5rem 0.5rem 0;
}

.artists-container-warning {
    padding: 1rem;
    background: rgba(255, 150, 0, 0.15);
    border: 1px solid rgba(255, 150, 0, 0.5);
    border-radius: var(--border-radius);
    color: var(--text-color);
    margin-top: 1rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.media-card {
    background: var(--surface-color);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    transition: var(--transition-fast);
}

.media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
}

.media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.media-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.media-meta {
    padding: 1rem;
}

.media-meta span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.media-empty,
.blog-empty {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    text-align: center;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-color);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.blog-cover img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.blog-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.community-card {
    background: rgba(20, 20, 20, 0.7);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-note {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.75;
    margin-top: -0.5rem;
}

.auth-form,
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.auth-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.checkbox-field {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.4;
}

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

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

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

.newsletter-message:empty,
.auth-message:empty {
    display: none;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-item {
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--surface-hover);
}

.order-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.order-meta {
    font-size: 0.85rem;
    opacity: 0.75;
}

/* ---------------------- Admin Panel ---------------------- */
.admin-header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10;
}

.admin-main {
    padding: 6rem 2rem 4rem;
}

.admin-panel {
    height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.admin-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.admin-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--surface-color);
}

.admin-meta {
    font-size: 0.85rem;
    opacity: 0.75;
}

.admin-message {
    min-height: 20px;
    font-size: 0.9rem;
}

.admin-message.success {
    color: #4caf50;
}

.admin-message.error {
    color: #f44336;
}

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

/* ---------------------- Next Event Card ---------------------- */
.next-event-section {
    padding: 2rem 1.5rem;
    background-color: var(--background-medium);
    scroll-margin-top: 80px;
}

.next-event-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.next-event-content {
    margin: 1.5rem 0;
    min-height: 60px;
}

.next-event-placeholder {
    opacity: 0.8;
    font-size: 1rem;
}

.next-event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.next-event-card .next-event-date,
.next-event-card .next-event-location {
    font-size: 1rem;
    opacity: 0.85;
}

/* ---------------------- Page layout (shop, account, media, blog) ---------------------- */
.page-main {
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.page-hero {
    text-align: center;
    padding: 2rem 1.5rem 1rem;
}

.page-hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: var(--text-shadow-subtle);
}

.page-hero p {
    opacity: 0.85;
    font-size: 1.1rem;
}

.shop-full, .media-full, .blog-full, .account-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em 3em;
}

/* ---------------------- Teaser links ---------------------- */
.teaser-link {
    display: inline-block;
    margin-top: 1.5rem;
}

.media-teaser .media-card:nth-child(n+5),
.blog-teaser .blog-card:nth-child(n+4),
.shop-teaser .shop-card:nth-child(n+5) {
    display: none;
}

/* ---------------------- Bottom Nav (Mobile) ---------------------- */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.4rem;
    font-size: 0.7rem;
    line-height: 1.2;
    color: var(--primary-color);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    min-width: 56px;
    min-height: 64px;
    box-sizing: border-box;
    font-family: inherit;
    /* Konsistente Höhe für Button vs Anchor */
    flex: 1 1 0;
}

.bottom-nav-item:hover,
.bottom-nav-item:focus,
.bottom-nav-item.active {
    color: #fff;
    opacity: 1;
}

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

.bottom-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: inherit;
}
.bottom-nav-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
.bottom-nav-item.active .bottom-nav-icon svg,
.bottom-nav-item:hover .bottom-nav-icon svg,
.bottom-nav-item:focus .bottom-nav-icon svg {
    stroke: #fca55e;
}

/* Sehr schmale Viewports: alles sichtbar halten */
@media screen and (max-width: 360px) {
    header {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .header-right {
        gap: 0.5rem;
    }
    .nav-cta-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    .bottom-nav-item {
        min-width: 48px;
        font-size: 0.65rem;
        padding: 0.35rem 0.25rem;
    }
    .hero-quick .btn {
        min-width: 100px;
        padding: 0.5em 1em;
        font-size: 0.85rem;
    }
}

/* Abstand unter dem Inhalt, damit nichts unter der Bottom-Nav verschwindet */
@media screen and (max-width: 768px) {
    main#main-content {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
    }
}

@media screen and (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
    .page-main {
        padding-bottom: 2em;
    }
}

/* ---------------------- Menu Overlay (Mobile) ---------------------- */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.menu-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.menu-overlay-content {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.menu-overlay-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
}

.menu-overlay-close:hover,
.menu-overlay-close:focus {
    opacity: 0.8;
}

.menu-overlay-content nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-overlay-content nav a {
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.05);
}

.menu-overlay-content nav a:hover,
.menu-overlay-content nav a:focus {
    background: rgba(255,255,255,0.15);
}

.menu-overlay-content nav hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 1rem 0;
}

body.menu-open {
    overflow: hidden;
}

/* ---------------------- Legal Pages (Privacy, Impressum) ---------------------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    line-height: 1.7;
}
.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: var(--primary-color);
}
.legal-content p {
    margin: 0.5rem 0;
    opacity: 0.9;
}
.legal-content ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    opacity: 0.9;
}
.legal-content a {
    color: var(--primary-color);
}
.legal-disclaimer {
    padding: 1rem 1.25rem;
    background: rgba(252,165,94,0.12);
    border: 1px solid rgba(252,165,94,0.3);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}
