/* ============================================================
   HAMBURGER ORATORIENCHOR – Redesign
   Inspiriert von: Alsfelder Vokalensemble Bremen
   Stil: Clean, editorial, Weiß + Rot nur für Typografie
   ============================================================ */

/* --- Variablen & Reset --- */
:root {
    --red:          #c41230;
    --red-dark:     #9a0e24;
    --black:        #1a1a1a;
    --mid:          #555555;
    --light:        #f7f7f7;
    --border:       #e0e0e0;
    --white:        #ffffff;
    --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;
    --max:          1080px;
    --transition:   all 0.22s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--black);
    background: var(--white);
    line-height: 1.75;
}

a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-dark); text-decoration: underline; }
a:hover.no-underline { text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.3;
    color: var(--black);
}

img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }
hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.2em; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo / Brand */
.nav-brand a {
    display: flex;
    flex-direction: column;
    color: var(--red);
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
}

.nav-brand a:hover { color: var(--red-dark); text-decoration: none; }

.brand-name {
    font-size: 1.35rem;
    letter-spacing: 0.01em;
}

.brand-sub {
    font-size: 0.68rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
    margin-top: 0.1rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item { position: relative; }

.nav-item > a {
    display: block;
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.nav-item > a:hover,
.nav-item.active > a {
    color: var(--red);
    text-decoration: none;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 2px solid var(--red);
    min-width: 220px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.18s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    z-index: 200;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
    color: var(--black);
    border-left: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown li a:hover {
    color: var(--red);
    border-left-color: var(--red);
    background: var(--light);
    text-decoration: none;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   CHOIR PHOTO BANNER
   ============================================================ */
.choir-banner {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.choir-banner img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(15%);
}

.choir-banner-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(to bottom, var(--light) 0%, var(--border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--mid);
    letter-spacing: 0.1em;
}

/* ============================================================
   PAGE TITLE BAR (statt Hero)
   ============================================================ */
.page-title-bar {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0 1rem;
    margin-bottom: 0;
}

.page-title-bar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title-bar h1 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    font-family: var(--font-sans);
    margin-bottom: 0;
}

/* ============================================================
   SECTION HEADINGS (roter Uppercase-Stil wie Vorlage)
   ============================================================ */
.section-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.content-section h2 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    font-family: var(--font-sans);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.content-section h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--black);
    margin: 1.5rem 0 0.4rem;
    font-weight: 700;
}

/* ============================================================
   MAIN LAYOUTS
   ============================================================ */

/* Wrapper für alle Seiten */
.main-wrapper {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
}

/* Schmale Textspalte */
.content-narrow { max-width: 720px; margin: 0 auto; }

/* Zweispaltiges Layout (wie Vorlage) */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* ============================================================
   HOME: Concert Announcement
   ============================================================ */
.concert-announce {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.concert-announce .ca-date {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mid);
    margin-bottom: 0.3rem;
}

.concert-announce .ca-location {
    font-size: 0.85rem;
    color: var(--mid);
    margin-bottom: 0.5rem;
}

.concert-announce .ca-work {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.concert-announce .ca-performers {
    font-size: 0.875rem;
    color: var(--mid);
    line-height: 1.6;
}

.concert-announce .ca-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
}

.concert-announce .ca-link:hover { text-decoration: underline; }

/* ============================================================
   CHOIR CARDS (Home – drei Chöre)
   ============================================================ */
.choir-entries {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.choir-entry {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.choir-entry:last-child { border-bottom: none; padding-bottom: 0; }

.choir-entry h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.3rem;
}

.choir-entry .choir-meta {
    font-size: 0.78rem;
    color: var(--mid);
    margin-bottom: 0.4rem;
    font-style: italic;
}

.choir-entry p {
    font-size: 0.875rem;
    color: var(--mid);
    margin-bottom: 0.5rem;
}

.choir-entry a.more {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red);
    text-decoration: none;
}

.choir-entry a.more:hover { text-decoration: underline; }

/* ============================================================
   PRESS ITEMS
   ============================================================ */
.press-entry {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.press-entry:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.press-entry h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.3rem;
}

.press-entry .press-source {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--mid);
    margin-bottom: 0;
}

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
    background: var(--light);
    border: 1px solid var(--border);
    border-top: 2px solid var(--red);
    padding: 1.4rem 1.6rem;
    margin: 1.5rem 0;
}

.info-box-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    font-family: var(--font-sans);
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.info-row:last-child { border-bottom: none; }

.info-label {
    min-width: 140px;
    font-weight: 600;
    color: var(--black);
    flex-shrink: 0;
    font-size: 0.8rem;
}

.info-value { color: var(--mid); }

/* ============================================================
   ARCHIVE TABLE
   ============================================================ */
.archive-table-wrap { overflow-x: auto; margin: 1rem 0; }

.archive-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.archive-table thead th {
    background: var(--light);
    border-bottom: 2px solid var(--red);
    padding: 0.65rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mid);
    white-space: nowrap;
}

.archive-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.archive-table tbody tr:hover td { background: var(--light); }

.archive-table .col-date {
    white-space: nowrap;
    font-weight: 700;
    color: var(--red);
    width: 120px;
    font-size: 0.82rem;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
    border-left: 2px solid var(--red);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--mid);
    font-size: 0.9rem;
    background: var(--light);
}

/* ============================================================
   CTA / HIGHLIGHT
   ============================================================ */
.cta-box {
    border: 1px solid var(--border);
    border-top: 2px solid var(--red);
    padding: 1.75rem 2rem;
    text-align: center;
    margin: 2rem 0;
    background: var(--light);
}

.cta-box h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--black) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border: none !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
}

.cta-box p {
    font-size: 0.875rem;
    color: var(--mid);
    max-width: 500px;
    margin: 0 auto 1.25rem;
}

/* ============================================================
   CONCERT BANNER (Nächstes Konzert)
   ============================================================ */
.concert-feature {
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    padding: 2rem;
    margin: 1.5rem 0;
    background: var(--white);
}

.concert-feature .cf-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    margin-bottom: 0.75rem;
}

.concert-feature .cf-date {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.concert-feature .cf-location {
    font-size: 0.85rem;
    color: var(--mid);
    margin-bottom: 1rem;
}

.concert-feature .cf-work {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.concert-feature .cf-performers {
    font-size: 0.875rem;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* ============================================================
   PRICE CARDS
   ============================================================ */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
    margin: 1.25rem 0;
    overflow: hidden;
}

.price-cell {
    background: var(--white);
    padding: 1.1rem 0.75rem;
    text-align: center;
}

.price-cell .pc-cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mid);
    margin-bottom: 0.3rem;
}

.price-cell .pc-amount {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
}

/* ============================================================
   AUDIO BOX
   ============================================================ */
.audio-entry {
    border: 1px solid var(--border);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--white);
}

.audio-entry h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.audio-entry .ae-sub {
    font-size: 0.82rem;
    color: var(--mid);
    margin-bottom: 0.25rem;
}

.audio-entry .ae-credits {
    font-size: 0.78rem;
    color: var(--mid);
    font-style: italic;
    margin-bottom: 1rem;
}

.audio-entry audio {
    width: 100%;
    max-width: 520px;
}

/* ============================================================
   CHOICE CARDS (Mitglied werden)
   ============================================================ */
.choir-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.choir-choice-card {
    border: 1px solid var(--border);
    border-top: 2px solid var(--red);
    padding: 1.4rem;
    background: var(--white);
}

.choir-choice-card h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.choir-choice-card p {
    font-size: 0.82rem;
    color: var(--mid);
    margin-bottom: 0.3rem;
}

.choir-choice-card a.more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--red);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--light);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--mid);
    line-height: 1.65;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    font-family: var(--font-sans);
    margin-bottom: 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a {
    font-size: 0.82rem;
    color: var(--mid);
    text-decoration: none;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--red); text-decoration: none; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    font-size: 0.75rem;
    color: var(--mid);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom a { color: var(--mid); font-size: 0.75rem; }
.footer-bottom a:hover { color: var(--red); text-decoration: none; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .two-col { grid-template-columns: 1fr; gap: 2.5rem; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 0.75rem 0;
        gap: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }
    .nav-menu.open { display: flex; }

    .nav-item > a { padding: 0.65rem 2rem; border-bottom: 1px solid var(--border); }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--red);
        margin-left: 2rem;
        background: var(--light);
        border-top: none;
    }

    .dropdown li a { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .nav-item.open .dropdown { display: block; }
    .nav-item:hover .dropdown { opacity: 1; visibility: visible; }
    .nav-toggle { display: flex; }
    .site-header { position: relative; }
}

@media (max-width: 640px) {
    .nav-wrapper { padding: 1rem 1.25rem; }
    .main-wrapper { padding: 2rem 1.25rem 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .price-grid { grid-template-columns: 1fr 1fr; }
    .choir-photo { max-height: 180px; }
    .choir-banner { max-height: 160px; }
}
