/* ===================================
   Why Not Band - Main Stylesheet
   =================================== */

/* Local Fonts */
@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'peridot-pe-bold';
    src: url('../fonts/peridot-pe-bold.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'peridot-pe-bold';
    src: url('../fonts/peridot-pe-bold.woff2') format('woff2');
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    /* Farben */
    --primary-orange: #a73725; /* alt #dc4c20 dann#b9412e*/
    --primary-orange-hover: #c03e17;
    --primary-orange-light: #de5830;
    /* Compat-Aliases (alte Referenzen) */
    --primary-red: #b9412e;
    --primary-red-hover: #c03e17;
    --burgundy-red: #b9412e;
    --accent-purple: #dc4c20;
    --accent-purple-dark: #c03e17;
    /* Hintergrundfarben */
    --beige-bg: #f8f1e4;
    --white-bg: #fffdf9;
    --beige-dark: #e8d4be;
    --sage-green: #efefd6;
    --light-on-dark: rgba(245, 233, 218, 0.9);
    --dark-bg: #2a2a2a;
    --darker-bg: #0f0f0f;
    --footer-bg: #1e1a15;
    --light-text: #fffdf9;
    --gray-text: #b8b8b8;
    --container-width: 1200px;
    --gradient-main: linear-gradient(135deg, #dc4c20 0%, #c03e17 100%);
    --gradient-dark: linear-gradient(135deg, #c63f0e 0%, #b2390d 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typografie-Tokens */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    margin-block-start: 0;
    margin-block-end: 1em;
}

html {
    scroll-behavior: auto;
    font-size: 16px;
    /* Safari overscroll (rubber-band) uses the root canvas color */
    background-color: #ffffff;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: #ffffff;
    color: var(--darker-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section-Headlines: Inter Black, normal casing, fast schwarz (period.ch-Stil) */
/* Bebas Neue nur noch für Loading und Deko-Elemente */
h1, h2, h3, h4, h5, h6,
.member-name,
.loading-text {
    font-family: var(--font-display);
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 600;
    transform-origin: top center;
    display: block;
    margin-top: 0;
    margin-bottom: 0.45em;
}

/* Section h2 und h3: Inter Black, normal casing, wie period.ch */
.section-title,
section h2:not(.loading-text) {
    font-family: var(--font-body) !important;
    font-weight: 900 !important;
    text-transform: none !important;
    line-height: 1.0 !important;
    color: #1a1a1a;
}

/* Helle Sektionen: schwarz */
section#live-erleben h2,
section#werwirsind h2,
section#galerie h2,
section#kontakt h2,
#cta-green h2 {
    color: #1a1a1a !important;
}

/* Dunkle Sektionen: beige/weiß */
section#musiklinks h2 {
    color: #1a1a1a !important;
}

/* Große Display-Headlines (h1, h2): rot — ausreichend Kontrast bei Großschrift */
h1, h2 {
    color: var(--primary-red);
}

/* Kleinere Headlines: erben Kontextfarbe (cream auf dunklem BG, dunkel auf hellem BG) */
h3, h4, h5, h6 {
    color: inherit;
}

/* .member-name immer auf Sektionshintergrund abgestimmt (s.u.) */
.member-name {
    color: var(--primary-red);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 5rem);
}




a {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-red-hover);
}

/* Fließtext-Links auf dunklem Hintergrund: light-text + moderne Unterstreichung */
section#musiklinks a:not(.music-card):not(.filter-btn):not(.tertiary) {
    color: var(--light-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(251, 247, 241, 0.45);
}

@media (hover: hover) {
    section#musiklinks a:not(.music-card):not(.filter-btn):not(.tertiary):hover {
        color: #fff;
        text-decoration-color: rgba(251, 247, 241, 0.85);
    }
}

/* Zeilenumbruch mit kleinem Abstand (Textarea: einmal Enter) */
br {
    display: block;
    margin-bottom: 0.5em;
}

/* Body-Font für Fließtext, UI, Sublines */
p,
.hero-subtitle,
.member-bio,
.event-city,
button,
nav,
input,
textarea,
select {
    font-family: var(--font-body);
}

/* Subline-Stile — werden im Hero-Kontext (.hero-text .hero-subtitle) überschrieben */
.hero-subtitle {
    color: #1a1a1a;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 2.2rem;
    max-width: 450px;
}



/* Kleinere Headlines in dunklen Sektionen: immer beige/cream */
section#musiklinks h3, section#musiklinks h4 {
    color: var(--beige-bg);
}

/* Member-Name: auf dunklem Band-BG beige, auf hellem #werwirsind-BG rot */
section#werwirsind .member-content .member-name {
    color: var(--primary-red);
}

/* Section-Titel auf hellem Hintergrund: rot */
section#galerie .section-title,
section#kontakt .section-title {
    color: var(--primary-red);
}

/* Section-Subtitle auf hellem Hintergrund: dunkel */
section#galerie .section-subtitle,
section#kontakt .section-subtitle {
    color: #2a2a2a;
    opacity: 0.7;
}

.member-bio p {
    color: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}





/* Skip-Link (Barrierefreiheit, Keyboard-Navigation) */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 99999;
    padding: 0.75rem 1.25rem;
    background: var(--primary-red);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}
.skip-link:focus {
    left: 0;
    top: 0;
}


/* ===================================
   Navigation
   =================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary-orange);
    transition: box-shadow 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.nav-container {
    position: relative;
    max-width: 1700px;
    padding: 20px 80px 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 68px;
}

/* Logo – links */
.nav-logo {
    flex: 0 0 auto;
    overflow: visible;
    z-index: 1;
}

.nav-logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: var(--font-display);
}

.nav-logo .logo-img {
    height: 30px;
    width: auto;
    max-width: none;
    display: block;
    align-self: flex-start;
    /* Logo weiß einfärben auf orangem Header (standard, wie period.ch) */
    filter: brightness(0) invert(1);
}

/* SVG-Logo: ebenfalls weiß */
.nav-logo .logo-svg {
    height: 38px;
    filter: brightness(0) invert(1);
}

/* Nav-Links – absolut zentriert im Header */
.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu a {
    font-family: var(--font-body);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.09em;
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s ease;
    display: block;
    white-space: nowrap;
}

@media (hover: hover) {
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.18);
    }
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.22);
}

/* Rechte Seite – Social Icons + Hamburger (beides im nav-center/nav-and-icons-right) */
.nav-and-icons-right,
.nav-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.nav-social {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-social-icon {
    color: #fff;
    opacity: 0.85;
    transition: opacity 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    padding: 7px;
    border-radius: 4px;
}

.nav-social svg {
    width: 20px;
    height: 20px;
}

@media (hover: hover) {
    .nav-social-icon:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 0.18);
    }
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8.75px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.75px) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

/* Home link: nur im Mobile Hamburger-Menü sichtbar */
.nav-home-mobile {
    display: none;
}

/* Mobile Social Links in Menu */
.nav-social-mobile {
    display: none;
    list-style: none;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-social-mobile .nav-social-icon {
    display: inline-flex;
    margin-right: 20px;
}

.nav-social-desktop {
    display: flex;
}


/* Typography */
h3 {
    font-size: clamp(1rem, 2vw, 1.75rem);
    margin-bottom: 24px;
    /* color: inherit — übernommen aus der globalen h3/h4/h5/h6-Regel oben */
}


/* ===================================
   Hero Section – Split Layout (Text | Bild)
   =================================== */
section#home {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white-bg);
    padding: 0;
    padding-top: 68px; /* Nav-Höhe */
}

/* Hero Text Panel – links */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 72px 80px 80px;
    position: relative;
    z-index: 1;
}

/* Eyecatcher – orange, klein, uppercase (wie period.ch) */
.hero-eyecatcher {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-feature-settings: "case" 1;
    color: var(--primary-orange);
    margin-bottom: 1.4rem;
}

/* Hero-Title – Inter Black, sehr groß, dunkel, normal casing (wie period.ch) */
/* Globale h1-Regel (Bebas Neue) explizit überschreiben */
.hero-text h1.hero-title,
.hero-title {
    font-family: var(--font-body) !important;
    font-size: clamp(3.2rem, 6vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #1a1a1a !important;
    margin: 0 0 1.4rem;
    text-transform: none !important;
}

.hero-logo-wrap {
    margin-bottom: 1.6rem;
}

.hero-logo-img {
    max-width: clamp(180px, 28vw, 380px);
    width: 100%;
    height: auto;
    display: block;
}

/* Subtitle – Hero */
.hero-text .hero-subtitle,
.hero-subtitle {
    font-family: var(--font-body);
    color: #1a1a1a;
    font-size: clamp(1.35rem, 3.2vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 2.2rem;
    max-width: 550px;
    color: #1e1a14;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

/* Hero Image Panel – rechts */
.hero-image-panel {
    position: relative;
    overflow: hidden;
    background-color: #2a2a2a;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center center;
    min-height: 500px;
}

/* Alte Overlay-Pseudo-Elemente deaktiviert */
section#home::before,
section#home::after {
    display: none;
}

/* Legacy: .hero-content falls noch referenziert */
.hero-content {
    display: contents;
}

section#home.scrolled::after {
    display: none;
}

/* Flyer-Modal */
#home::before,
#home::after {
    display: none;
}

/* ===== COMPAT LEGACY =====
   alt: after-pseudo für vignette — jetzt Panel nutzt BG
   ========================= */
section#home .hero-image-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, transparent 40%);
    pointer-events: none;
}

/* Hero Logo (legacy) */
.hero-logo-heading {
    margin: 0 0 1.5rem;
    padding: 0;
    line-height: 1;
    font-size: 0;
    transform: none;
}

/* ===================================
   Button-Klassen (Period.ch Stil)
   =================================== */
a.primary, button.primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 34px;
    background: var(--primary-orange);
    color: #fff !important;
    text-decoration: none !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.06em;
    border-radius: 0;
    border: none;
    transition: background 0.25s ease;
    cursor: pointer;
}

@media (hover: hover) {
    a.primary:hover, button.primary:hover {
        background: var(--primary-orange-hover);
        border-color: var(--primary-orange-hover);
        color: #fff !important;
        transform: translateY(-2px);
        text-decoration: none !important;
    }
}

/* Sekundär: Outline-Button (außerhalb Hero) */
a.secondary, button.secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: transparent;
    color: var(--primary-orange);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.06em;
    border-radius: 0;
    border: 2px solid var(--primary-orange);
    transition: all 0.25s ease;
    cursor: pointer;
}

@media (hover: hover) {
    a.secondary:hover, button.secondary:hover {
        background: var(--primary-orange);
        color: #fff;
        text-decoration: none;
    }
}

/* Im Hero: secondary als Unterstrichen-Link mit Pfeil (wie period.ch) */
.hero-text a.secondary, .hero-text button.secondary {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #1a1a1a;
    border-radius: 0;
    padding: 0 0 3px;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    gap: 6px;
}

.hero-text a.secondary::after,
.hero-text button.secondary::after {
    content: '→';
    display: inline;
    font-size: 1em;
    line-height: 1;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .hero-text a.secondary:hover, .hero-text button.secondary:hover {
        background: transparent;
        color: #1a1a1a;
        border-bottom-color: var(--primary-orange);
    }
    .hero-text a.secondary:hover::after,
    .hero-text button.secondary:hover::after {
        transform: translateX(4px);
    }
}

/* Pfeil-Icon nach primary/secondary entfernt (period.ch-Stil: kein Icon) */
a.primary::after, button.primary::after,
a.secondary::after, button.secondary::after {
    display: none;
}

/* Hero-Text Fade-In */
.hero-text {
    animation: fadeInLeft 0.8s ease-out 0.3s both;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 120px 0;
    /* Verhindert 1px Subpixel-Rendering-Linie zwischen angrenzenden Sections */
    margin-bottom: -1px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 3rem;
    line-height: 1.4;
}

/* ===================================
   Live Erleben Section (ehem. Termine)
   =================================== */
section#live-erleben {
    position: relative;
    min-height: fit-content;
    padding: 0;
    padding-bottom: 0;
    background-color: var(--beige-bg);
    color: #1a1a1a;
}

p.section-subtitle {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Kontakt-Subtitle: überschreibt p.section-subtitle */
p.contact-subtitle-text {
    color: rgba(26,26,26,0.6);
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.6;
}

#live-erleben p.section-subtitle {
   color: var(--darker-bg);
    text-align: center;
}

#live-erleben h2 {
        text-align: center;
}

section#live-erleben h3 {
    color: #1a1a1a;
    margin-top: 2rem;
    text-align: center;
}

section#live-erleben h3.past-events {
    color: #888888;
    font-size: 1.25rem;
    margin-top: 2.5rem;
}

section#live-erleben {
    padding-top: 0;
    padding-bottom: 2rem;
}


section#live-erleben .container {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Termine-Liste mit Trennlinien */
.termine-list {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    margin-top: 2.5rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.termine-list.past {
    opacity: 0.6;
}

.termine-row {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 20px 60px;
    padding: 22px 30px;
    position: relative;
    transition: background 0.2s ease;
}

.termine-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
}

.termine-row:last-child::after {
    display: none;
}

.termine-row:hover {
    background: rgba(255, 255, 255, 0.6);
}

.termine-date-col {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.termine-date-col svg {
    flex-shrink: 0;
    color: #1a1a1a;
}

.tdate-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-left: 0.7rem;
}

.tdate-day {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #1a1a1a;
    letter-spacing: 1px;
    line-height: 1;
    font-weight: bold;
}

.tdate-month {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #1a1a1a;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: bold;
}

.termine-time-col {
    flex-shrink: 0;
}

.tdate-time {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #555;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.termine-info-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tinfo-name {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: bold;
}

.tinfo-city {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.termine-actions-col {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Buttons: outline-Stil, 4px Radius, rot (helle Sektionen) */
a.tertiary, button.tertiary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 15px;
    background: transparent;
    color: var(--primary-red);
    border: 1.5px solid var(--primary-red);
    border-radius: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

a.tertiary:hover, button.tertiary:hover {
    background: var(--primary-red);
    color: #ffffff;
    text-decoration: none;
}

/* Buttons auf dunklem Hintergrund: weißer Outline */
section#band a.tertiary,
section#band button.tertiary,
section#musiklinks a.tertiary,
section#galerie a.tertiary {
    color: rgba(245, 233, 218, 0.85);
    border-color: rgba(245, 233, 218, 0.5);
}

section#band a.tertiary:hover,
section#band button.tertiary:hover,
section#musiklinks a.tertiary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: #ffffff;
}

.no-events {
    text-align: center;
    font-size: 1.125rem;
    color: #888;
    padding: 40px 0;
    font-family: var(--font-body);
}

/* Poster Grid */
.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 270px));
    justify-content: center;
    gap: 1.5rem;
    max-width: 860px;
    margin: 2rem auto 2.5rem;
}

.poster-thumb {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.13);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.poster-thumb img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    background: #f0ebe3;
}

.poster-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease;
}

@media (hover: hover) {
    .poster-thumb:hover {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
        transform: translateY(-3px);
    }

    .poster-thumb:hover .poster-zoom {
        opacity: 1;
        background: rgba(0, 0, 0, 0.38);
    }
}

/* ===================================
   Band Section.     border-top: 2px solid rgba(164, 43, 44, 0.2);
   =================================== */
section#band {
    position: relative;
    background-color: var(--white-bg);
    background-image: var(--band-bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}



section#band .container {
    position: relative;
    z-index: 1;
    padding: 0 40px;
}

/* p.highlight — large display text with scaleY */
p.highlight {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.05em;
    transform-origin: top center;
    display: block;
    margin-top: 0;
}

.band-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 0;
}

.band-body-left {
    display: flex;
    flex-direction: column;
}

.band-body-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 100px;
}

.band-photo {
    border: 1.4px solid rgba(245, 233, 218, 0.7);
    border-radius: 0;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 0 0 1px rgba(245, 233, 218, 0.1), inset 0 1px 0 rgba(245, 233, 218, 0.2);
    backdrop-filter: blur(1px);
}

.band-text {
    line-height: 1.7;
}


.band-text p:last-child {
    margin-bottom: 0;
}

.band-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Band Members Grid: 2-spaltig
   =================================== */
.band-members-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;
}

.band-member-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    background: transparent;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(20px);
}

.band-member-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

.member-image-wrapper {
    flex: 0 0 180px;
    width: 180px;
    height: 220px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.member-image-wrapper .member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: saturate(0.85) sepia(0.1) contrast(1.05);
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
}

.member-image-wrapper .member-image.loaded {
    opacity: 1;
}

.member-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.member-content .member-name {
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--primary-red);
}

.member-name {
    text-align: left;
}

.member-content .member-role {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--darker-bg);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.member-content .member-bio {
    font-family: var(--font-body);
    color: var(--darker-bg);
    line-height: 1.65;
    font-size: 0.95rem;
}

.member-content .member-bio p {
    margin: 0 0 12px 0;
}

.member-content .member-bio p:last-child {
    margin-bottom: 0;
}

/* Overlay (nur Mobile, via Media Query aktiviert) */
.member-overlay {
    display: none;
}

/* ===================================
   Wer wir sind Section
   =================================== */
section#werwirsind {
    background-color: var(--beige-bg);
    padding: 100px 0;
}

section#werwirsind h2 {
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.6em;
    white-space: nowrap;
}

section#werwirsind h2::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(179, 38, 46, 0.35);
}

/* ===================================
   Music Links Section
   =================================== */
section#musiklinks {
    background: var(--white-bg);
    overflow: visible;
}

/* ---- Header ---- */
.musik-header {
    position: relative;
    padding-bottom: 2rem;
    overflow: visible;
    clip-path: inset(-50vh -50vw 0 0);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 48px;
}

.musik-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(26, 26, 26, 0.1);
    z-index: 10;
}

section#musiklinks .section-title {
    color: #1a1a1a;
    font-size: clamp(2.2rem, 5vw, 5rem);
    margin: 0;
    max-width: 600px;
}



.musik-header-left {
    display: contents;
}

/* Vinyl Bild */
.vinyl-deco {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(300px, 42vw, 520px);
    height: clamp(300px, 42vw, 520px);
    pointer-events: none;
}

.vinyl-deco img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    animation: vinyl-spin 20s linear infinite;
    opacity: 0.85;
}

@keyframes vinyl-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---- Filter Tabs ---- */
.musik-filter {
    display: flex;
    gap: 32px;
    margin: 28px 0;
}

.filter-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #888;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-feature-settings: "case" 1;
    padding: 10px 0;
    cursor: pointer;
    margin-bottom: 0;
    transition: color 0.2s, border-color 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    color: #1a1a1a;
    border-bottom-color: var(--primary-orange);
}

/* ---- Cards – period.ch Kasten-Stil ---- */
.music-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.music-card {
    background: #fff;
    border: 1.5px solid #1a1a1a;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 28px 24px 24px;
    min-height: 200px;
    transition: background 0.2s ease;
}

/* Eckpfeil-Icon entfernen */
.music-card::after {
    display: none;
}

.music-card[hidden] {
    display: none;
}

@media (hover: hover) {
    .music-card:hover {
        background: #f8f7f5;
        transform: none;
        box-shadow: none;
    }
}

/* Platform-Label oben (wie "MENSTRUATION" auf period.ch) */
.music-card-platform {
    position: static;
    background: none !important;
    padding: 0;
    border-radius: 0;
    color: #888;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.music-card-platform svg { display: none; }

/* Platform-Icon: grau, Markenfarbe beim Hover */
.music-card-platform-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    filter: saturate(0) brightness(0.55);
    transition: filter 0.2s ease;
}

@media (hover: hover) {
    .music-card:hover .music-card-platform--youtube .music-card-platform-icon {
        filter: saturate(1) brightness(1);
    }
    .music-card:hover .music-card-platform--soundcloud .music-card-platform-icon {
        filter: saturate(1) brightness(0.85);
    }
}

.music-card-thumb {
    display: none;
}

/* Titel – groß, Inter Black */
.music-card-name {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 0;
    text-transform: none;
    flex: 1;
}

.music-card-platform-label,
.music-card-sub {
    display: none;
}

/* "Anhören →" Link am Card-Ende */
.music-card-arrow {
    padding: 0;
    margin-top: 24px;
    text-align: left;
    color: #1a1a1a;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.music-card-arrow::after {
    content: '→';
    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .music-card:hover .music-card-arrow {
        color: var(--primary-orange);
    }
    .music-card:hover .music-card-arrow::after {
        transform: translateX(4px);
    }
}

.music-card-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===================================
   Gallery Section – Neutral/Weiß
   =================================== */

/* ===================================
   Gallery Section – Neutral/Weiß
   =================================== */
section#galerie {
    background: var(--sage-green);
    position: relative;
}

#gallery h2 {
    color: var(--light-text);
}

section#galerie .section-title,
section#galerie h3 {
    color: #1a1a1a;
}

section#galerie .section-subtitle {
    color: rgba(26,26,26,0.6);
}


/* Gallery to Contact transition - clean beige to beige */
section#galerie::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.03) 100%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: var(--light-text);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumbnail {
    transform: scale(1.1);
    filter: brightness(0.6);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: zoomInLightbox 0.3s ease;
}

@keyframes zoomInLightbox {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 48px;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

/* ===================================
   Legal Modals (Impressum/Datenschutz)
   =================================== */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 5vh 5vw;
    box-sizing: border-box;
}

#legal-modal h1, #legal-modal h2 {
    color: #a42b2c;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 42px;
    font-weight: 300;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-modal-close:hover {
    color: #a42b2c;
    transform: rotate(90deg);
}

.legal-modal-body {
    padding: 60px 50px;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-body::-webkit-scrollbar {
    width: 10px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: #a42b2c;
    border-radius: 0;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: #8a2323;
}

.legal-modal-body h2 {
    font-size: 24px;
    color: #a42b2c;
    margin-bottom: 30px;
    font-family: var(--font-display);
}

.legal-modal-body h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin: 30px 0 15px;
}

.legal-modal-body p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-modal-body ul,
.legal-modal-body ol {
    margin: 16px 0;
    padding-left: 30px;
}

.legal-modal-body li {
    color: #333;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ===================================
   Contact Section
   =================================== */
section#kontakt {
    background: var(--beige-bg);
    padding: 120px 0;
    position: relative;
}

section#kontakt .section-subtitle {
    max-width: 500px;
}

.contact-grid {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.contact-title {
    margin-bottom: 0.4em !important;
}

.contact-subtitle-text {
    margin-bottom: 2.5rem;
    color: rgba(26,26,26,0.6);
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.6;
}

#kontakt h3 {
    color: var(--primary-red);
}

/* Contact Info */
.contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 30px;
    text-align: left;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-purple);
    opacity: 0.6;
}

.info-label {
    font-family: var(--font-body);
    font-weight: 600;
    color: rgba(26,26,26,0.5);
    margin-bottom: 2px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-link {
    font-family: var(--font-body);
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.info-link:hover {
    color: #8a2323;
}

.info-box {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    padding: 3rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.info-box h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    color: #1a1a1a !important;
    margin-bottom: 0.5rem;
}

.info-box p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(26,26,26,0.6);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

/* Contact Form */
.contact-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 24px;
}

.form-error {
    padding: 20px;
    margin-bottom: 40px;
    background: rgba(147, 33, 19, 0.08);
    border: 2px solid #932113;
    border-radius: 0;
    color: #5f170e;
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.6;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(220, 76, 32, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-orange);
    color: #fff;
    border: 2px solid var(--primary-orange);
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.btn-submit::after {
    display: none;
}

.btn-icon {
    flex-shrink: 0;
    stroke: #fff;
}

@media (hover: hover) {
    .btn-submit:hover {
        background: var(--primary-orange-hover);
        border-color: var(--primary-orange-hover);
        transform: translateY(-2px);
    }
}

.btn-submit:hover .btn-icon {
    stroke: #ffffff;
}

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

.form-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
    border-radius: 0;
    color: #28a745;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.success-icon {
    flex-shrink: 0;
}

/* ===================================
   Social Media Section
   =================================== */
.social-section {
    padding: 80px 0;
    background: #fcfcfc;
    text-align: center;
}

.social-section .container {
    max-width: 900px;
    padding: 40px 60px;
    background: rgb(164, 43, 43);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
}

.social-intro {
    color: var(--beige-bg);
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 400;
}

.social-grid {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px 40px;
    margin: 1rem auto 0 auto;
    background: rgba(255, 255, 255, 0.456);
    border-radius: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link svg,
.social-link img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
    box-sizing: border-box;
    object-fit: contain;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(1);
}

.social-link:hover svg,
.social-link:hover img {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    filter: grayscale(0);
}


.social-link span {
    display: none;
}

/* ===================================
   Footer
   =================================== */
/* ===================================
   Live Strip – Tilted Photos (animiert)
   =================================== */
#gallery {
    overflow: hidden;
    padding: 80px 0;
    background: #1e1a15;
    position: relative;
}

.gallery-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin: 0 0 0.25em;
}

.strip-heading {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-feature-settings: "case" 1;
    color: rgba(255,255,255,0.8);
    margin-bottom: 48px;
}

.strip-container {
    display: flex;
    align-items: center;
}

.strip-track-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    user-select: none;
}

.strip-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 16px 0 24px;
    will-change: transform;
}

.strip-item {
    flex-shrink: 0;
    width: 240px;
    height: 320px;
    border-radius: 0;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.strip-item[data-full] {
    cursor: pointer;
}

.strip-item:nth-child(odd)  { transform: rotate(-2.5deg); }
.strip-item:nth-child(even) { transform: rotate(2deg) translateY(-12px); }
.strip-item:nth-child(3n)   { transform: rotate(-1deg) translateY(8px); }

.strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85);
    transition: filter 0.3s ease, transform 0.4s ease;
}

@media (hover: hover) {
    .strip-item:hover img {
        filter: saturate(1.1);
        transform: scale(1.04);
    }
}

/* Arrow buttons */
.strip-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    margin: 0 16px;
}

@media (hover: hover) {
    .strip-btn:hover {
        background: rgba(255,255,255,0.28);
    }
}

/* Hide arrow buttons on mobile */
@media (max-width: 600px) {
    .strip-btn {
        display: none;
    }
}


/* ===================================
   CTA-Section vor Footer (Salbeigrün)
   =================================== */
#cta-green {
    background: var(--sage-green);
    padding: 100px 0;
    text-align: center;
}

#cta-green .container {
    max-width: 800px;
}

#cta-green .cta-eyecatcher {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 1.2rem;
}

#cta-green h2 {
    color: #1a1a1a;
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

#cta-green p {
    color: rgba(26,26,26,0.9);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

#cta-green .cta-body {
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

#cta-green .cta-body p {
    margin: 0;
    max-width: none;
}

#cta-green .cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer – Schwarz
   =================================== */
.main-footer {
    background: var(--footer-bg);
    padding: 60px 0 30px;
}

.footer-social {
    text-align: center;
    margin-bottom: 40px;
}

.follow-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gray-text);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #a42b2c;
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.copyright {
    color: var(--gray-text);
    font-size: 14px;
}

.footer-credit {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6); /* mind. 4.5:1 gegen #0d0d0d (WCAG AA) */
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .footer-credit a:hover {
        color: #fff;
    }
}

/* ===================================
   MEDIA QUERIES - CONSOLIDATED
   =================================== */

/* ===================================
   Desktop Large (>1400px)
   =================================== */
@media (min-width: 1401px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 120px;
        letter-spacing: 4px;
    }
    
}

/* ===================================
   Laptop (1024px - 1400px)
   =================================== */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 100px;
        letter-spacing: 5px;
    }
    
}

/* ===================================
   Tablet Landscape (768px - 1023px)
   =================================== */
@media (max-width: 1023px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 80px;
        letter-spacing: 4px;
    }

    /* Hero – Tablet: kleinere Panels */
    section#home {
        grid-template-columns: 1fr 1fr;
        min-height: 80vh;
    }

    .hero-text {
        padding: 60px 40px 60px 40px;
    }

    .hero-logo-img {
        max-width: clamp(160px, 40vw, 400px);
    }

    /* Nav-Menü auf Tablet verbergen */
    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
    
    /* Events */
    .event-item {
        grid-template-columns: 100px 1fr 1fr;
        gap: 20px;
        padding: 25px;
    }

    /* Poster Grid – Tablet: 2 Spalten */
    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
    }

    /* Termine — Tablet: Spalten-Gap reduzieren, Fläche besser nutzen */
    .termine-row {
        gap: 16px clamp(16px, 3vw, 36px);
        padding: 20px 24px;
    }
    
    /* Musiklinks */
    .musik-header {
        min-height: 200px;
        gap: 32px;
    }

    .vinyl-deco {
        width: clamp(200px, 32vw, 360px);
        height: clamp(200px, 32vw, 360px);
        right: -40px;
    }

    .music-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Band */
    .band-member {
        grid-template-columns: 45% 50%;
        gap: 5%;
    }
    
    .band-member:nth-child(even) {
        grid-template-columns: 50% 45%;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-form-col {
        order: 2;
    }
}

/* ===================================
   Tablet Portrait (600px - 767px)
   =================================== */
@media (max-width: 767px) {
    /* Show Hamburger Menu */
    .hamburger-menu {
        display: flex;
    }
    
    /* Hide Desktop Menu — fullscreen mobile overlay */
    .nav-menu {
        display: flex; /* überschreibt display:none aus 1023px-Breakpoint */
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 100px 40px 60px;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 10000;
        align-items: flex-start;
        justify-content: flex-start;
        overflow-y: auto;
        left: auto;
        transform: none;
    }

    .nav-and-icons-right,
    .nav-center {
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        color: var(--light-text);
        font-size: 20px;
        font-weight: 600;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        background: transparent;
    }

    /* scrolled-State soll im mobilen Fullscreen-Menü nichts überschreiben */
    .main-nav.scrolled .nav-menu a {
        color: var(--light-text);
    }

    .main-nav.scrolled .nav-menu a.active {
        color: var(--light-text);
        background: transparent;
    }

    .nav-menu a.active {
        background: transparent;
        color: var(--light-text);
    }
    
    .nav-menu a:hover {
        background: transparent;
        color: var(--primary-orange);
        padding-left: 10px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    /* Home-Link nur im Hamburger-Menü */
    .nav-home-mobile {
        display: list-item;
    }

    /* Hide desktop social links, show mobile social in menu */
    .nav-social-desktop {
        display: none !important;
    }
    
    .nav-social-mobile {
        display: flex;
        flex-direction: row;
        gap: 20px;
        width: 100%;
    }
    
    /* General – einheitlicher Seitenabstand für alle Container */
    .container,
    section#band .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Hero – Mobile: Stack (Bild oben, Text unten) */
    section#home {
        grid-template-columns: 1fr;
        grid-template-rows: 50vh auto;
        min-height: auto;
        padding-top: 68px;
    }

    .hero-image-panel {
        order: -1; /* Bild zuerst */
        min-height: 50vh;
    }

    .hero-text {
        padding: 48px 24px 56px;
        animation: none;
    }

    .hero-logo-img {
        max-width: clamp(160px, 60vw, 280px);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .primary {
        width: 100%;
        justify-content: center;
    }

    /* Secondary (Unterstrichen-Link): nur so breit wie der Text, mittig */
    .hero-ctas .secondary {
        width: auto;
        align-self: center;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    

    
    
    section {
        padding: 60px 0;
    }

    
    /* Band Header - Stack Vertically */
    .band-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .band-body-right {
        order: 1;
        position: static;
    }
    
    /* live-erleben: section hat padding:0 — Container übernimmt Vertikalabstand */
    section#live-erleben .container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* werwirsind hat Base-Padding 100px — auf Mobile reduzieren */
    section#werwirsind {
        padding: 60px 0;
    }

    section#band {
        background-attachment: scroll;
    }


    p.highlight {
        margin-bottom: 1.5rem;
    }



    section#galerie .section-subtitle {
        max-width: 80%;
    }

    section#musiklinks .musik-subtitle {
        padding-top: 8px;
    }

    /* Band members: 1 Spalte, Overlay-Design auf Mobile */
    .band-members-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .band-member-card {
        flex-direction: column;
        border-radius: 0;
        overflow: hidden;
    }

    .member-image-wrapper {
        flex: none;
        width: 100%;
        height: 420px;
        position: relative;
    }

    .member-content {
        display: none;
    }

    /* Overlay auf Mobile aktivieren */
    .member-overlay {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.5) 70%, transparent 100%);
        padding: 24px 16px 16px;
    }

    .member-overlay .member-name {
        font-size: 1.9rem;
        color: var(--beige-bg);
        margin-bottom: 4px;
        line-height: 1;
    }

    .member-overlay .member-role {
        font-family: var(--font-body);
        font-size: 0.9rem;
        color: rgba(245, 233, 218, 0.7);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 8px;
    }

    .member-overlay .member-bio {
        font-family: var(--font-body);
        font-size: 0.95rem;
        color: rgba(245, 233, 218, 0.85);
        line-height: 1.55;
    }

    .member-overlay .member-bio p {
        margin: 0 0 6px 0;
    }

    .member-overlay .member-bio p:last-child {
        margin-bottom: 0;
    }

    /* Events - Compact Mobile Layout */
    .event-item {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
        padding: 20px 16px;
    }
    
    .event-date,
    .event-venue {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(84, 50, 235, 0.1);
    }
    
    .event-venue {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .event-actions {
        display: flex;
        gap: 10px;
        margin-top: 8px;
    }
    
    .event-actions .btn-flyer {
        flex: 1;
        text-align: center;
        justify-content: center;
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .event-actions .btn-link {
        flex: 1;
        text-align: center;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* Music Links */
    .music-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .music-link-card {
        padding: 24px 16px;
    }
    
    .music-link-icon {
        width: 64px;
        height: 64px;
    }
    
    .music-link-name {
        font-size: 14px;
    }

    /* Musiklinks section */
    .vinyl-deco {
        display: none;
    }

    .musik-header {
        display: flex;
        flex-direction: column;
        clip-path: none;
        min-height: auto;
        padding-bottom: 24px;
        overflow: visible;
        gap: 8px;
    }

    .musik-subtitle {
        transform: none !important;
        max-width: 100% !important;
        margin-top: 4px !important;
        margin-bottom: 0 !important;
        align-self: auto !important;
    }

    .musik-filter {
        gap: 20px;
        flex-wrap: wrap;
    }

    .music-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Termine — mobile: 2-row grid, Datum links spannen, Zeit + Ort gestapelt */
    .termine-row {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 2px 14px;
        padding: 14px 16px;
        align-items: start;
    }

    .termine-date-col {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
        gap: 0;
    }

    .termine-date-col svg {
        display: none;
    }

    .tdate-wrap {
        margin-left: 0;
    }

    .tdate-day {
        font-size: 1.75rem;
    }

    .tdate-month {
        font-size: 1.1rem;
    }

    .termine-time-col {
        display: block;
        grid-column: 2;
        grid-row: 2;
    }

    .termine-info-col {
        grid-column: 2;
        grid-row: 1;
    }

    .termine-actions-col {
        grid-column: 3;
        grid-row: 1 / 3;
        align-self: center;
    }
    
    /* Band */
    .band-member-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .band-member-card.image-left,
    .band-member-card.image-right {
        transform: none;
    }
    
    .band-member-card.image-right .member-image-wrapper {
        order: -1;
    }
    
    .member-content {
        padding: 40px 30px;
    }
    
    .band-member,
    .band-member:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* CTA Green */
    #cta-green {
        padding: 60px 0;
    }

    #cta-green .cta-btns {
        flex-direction: column;
        align-items: stretch;
    }

    #cta-green .cta-btns .primary,
    #cta-green .cta-btns .secondary {
        width: 100%;
        justify-content: center;
    }

    .strip-item {
        width: 180px;
        height: 240px;
    }
    
    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Legal Modal */
    .legal-modal-content {
        width: 95%;
        height: 85vh;
    }
    
    .legal-modal-body {
        padding: 50px 30px;
    }
    
    .legal-modal-body h2 {
        font-size: 28px;
    }
    
    .legal-modal-close {
        top: 15px;
        right: 15px;
        font-size: 36px;
    }
    
    /* Loading */
    .loading-text {
        font-size: 40px;
        letter-spacing: 4px;
    }
    
    /* Lightbox */
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 36px;
    }
}

/* ===================================
   Smartphone Landscape (480px - 599px)
   =================================== */
@media (max-width: 599px) {

}

/* ===================================
   Hover: Nur auf Geräten mit Maus (@media hover: hover)
   =================================== */
@media (hover: none) {
    /* Gallery */
    .gallery-item::after { display: none; }
    .gallery-item:hover .gallery-thumbnail { transform: none; filter: none; }

    /* Music Cards */
    .music-card:hover {
        transform: none;
        box-shadow: none;
        border-color: rgba(245, 233, 218, 0.7);
    }
    .music-card:hover::after { background-color: var(--beige-bg); }

    /* Nav / Socials */
    .nav-social-icon:hover { transform: none; }
    .social-icon:hover { transform: none; background: rgba(255,255,255,0.05); color: var(--light-text); }
    .social-link:hover { transform: none; }

    /* Buttons */
    a.primary:hover, button.primary:hover,
    a.secondary:hover, button.secondary:hover,
    a.tertiary:hover, button.tertiary:hover,
    .btn-submit:hover { transform: none; }

    /* Termine */
    .termine-row:hover { background: transparent; }
}

/* ===================================
   Smartphone Portrait (<480px)
   =================================== */
@media (max-width: 479px) {
    .nav-logo a {
        font-size: 22px;
    }
    
    .nav-logo .logo-img {
        height: 30px;
    }
    
    .nav-social {
        gap: 15px;
    }
    
    .nav-social svg {
        width: 20px;
        height: 20px;
    }
    
    /* Einheitlicher Seitenabstand für alle Container */
    .container,
    section#band .container {
        padding: 35px 16px;
    }

    .social-grid {
    gap: 30px;
    padding: 20px 0;
}

.social-link svg, .social-link img {
    width: 40px;
    height: 40px;
}

    .hero-text {
        text-align: center;
        padding: 30px 20px;
    }

    .hero-text .hero-subtitle {
        margin-bottom: 1.5rem;
    }

    .hero-eyecatcher {
        margin-bottom: 0;
    }

    .hero-logo-img {
        display: none;
    }
    
    /* live-erleben: Container übernimmt Vertikalabstand */
    section#live-erleben .container {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .band-body {
        gap: 30px;
    }

    .termine-grid,
    .band-members-grid {
        padding: 0;
    }

    section {
        padding: 35px 0 !important;
    }




    /* Musiklinks */
    .music-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .musik-filter {
        gap: 14px;
    }

    .filter-btn {
        font-size: 0.72rem;
    }

    /* Events */
    .event-item {
        padding: 18px 14px;
        gap: 10px;
    }
    
    .event-day {
        font-size: 36px;
        text-transform: none;
    }
    
    .event-month {
        font-size: 16px;
    }

    /* Poster Grid – Phone: 1 Spalte */
    .poster-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    
    /* Band */
    .band-members-grid {
        gap: 16px;
    }

    .member-overlay {
        padding: 20px 16px 16px;
    }
    
    /* Loading */
    .loading-text {
        font-size: 32px;
        letter-spacing: 3px;
    }
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
