/*
Theme Name: Bärenbande
Theme URI: https://baerenbande.de
Author: Bärenbande
Author URI: https://baerenbande.de
Description: Offizielles WordPress-Theme der schwäbischen Musikband Bärenbande. Multi-Page-Theme mit separaten Templates für Start, Die Band, Songs & Anekdoten, Termine, Merch, Kontakt und Presse.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baerenbande
Tags: music, band, multi-page, dark, lime-green
*/

/* ============================================================
   GOOGLE FONTS – Mogra (Headlines) + Open Sans (Copy)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Mogra&family=Open+Sans:wght@400;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --bb-lime:      #84cc16;
    --bb-dark:      #1a1a1a;
    --bb-gray:      #2a2a2a;
    --bb-mid:       #3a3a3a;
    --bb-light:     #f5f5f5;
    --bb-white:     #ffffff;
    --bb-text:      #111111;
    --bb-muted:     #6b7280;
    --bb-font-head: 'Mogra', cursive;
    --bb-font-body: 'Open Sans', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--bb-font-body);
    color: var(--bb-text);
    background: var(--bb-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--bb-font-head);
    line-height: 1.1;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.bb-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px)  { .bb-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .bb-container { padding: 0 2rem; } }

.bb-section { padding: 4rem 0; }
@media (min-width: 768px) { .bb-section { padding: 5rem 0; } }

.bb-label {
    font-family: var(--bb-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--bb-lime);
    display: block;
    margin-bottom: 0.75rem;
}

.bb-divider {
    width: 3.5rem;
    height: 3px;
    background: var(--bb-lime);
    margin: 1rem 0 1.5rem;
}

.bb-divider--center { margin: 1rem auto 1.5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.bb-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--bb-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.2s;
    text-decoration: none;
}

.bb-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.bb-btn--primary  { background: var(--bb-lime); color: var(--bb-text); }
.bb-btn--outline  { background: transparent; border: 2px solid var(--bb-white); color: var(--bb-white); }
.bb-btn--dark     { background: var(--bb-dark); color: var(--bb-white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.bb-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26,26,26,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bb-mid);
}

.bb-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.bb-nav__logo {
    font-family: var(--bb-font-head);
    font-size: 1.25rem;
    color: var(--bb-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.bb-nav__logo:hover { color: var(--bb-lime); }

.bb-nav__links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) { .bb-nav__links { display: flex; } }

.bb-nav__links a {
    font-family: var(--bb-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bb-white);
    padding: 0.5rem 0.75rem;
    transition: color 0.2s;
    text-decoration: none;
}

.bb-nav__links a:hover,
.bb-nav__links a.current-menu-item { color: var(--bb-lime); }

.bb-nav__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bb-nav__social a {
    color: var(--bb-white);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.bb-nav__social a:hover { color: var(--bb-lime); }

/* Burger */
.bb-nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

@media (min-width: 1024px) { .bb-nav__burger { display: none; } }

.bb-nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bb-white);
    transition: all 0.3s;
}

/* Mobile Menu */
.bb-nav__mobile {
    display: none;
    flex-direction: column;
    background: var(--bb-dark);
    border-top: 1px solid var(--bb-mid);
    padding: 1rem 0;
}

.bb-nav__mobile.is-open { display: flex; }

.bb-nav__mobile a {
    font-family: var(--bb-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bb-white);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--bb-mid);
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.bb-nav__mobile a:hover { color: var(--bb-lime); background: var(--bb-gray); }

/* ============================================================
   FOOTER
   ============================================================ */
.bb-footer {
    background: var(--bb-dark);
    color: var(--bb-white);
    padding: 3rem 0 1.5rem;
    border-top: 3px solid var(--bb-lime);
}

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

@media (min-width: 768px) {
    .bb-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.bb-footer__logo {
    font-family: var(--bb-font-head);
    font-size: 1.5rem;
    color: var(--bb-white);
    margin-bottom: 0.75rem;
}

.bb-footer__desc {
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.bb-footer__heading {
    font-family: var(--bb-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--bb-lime);
    margin-bottom: 1rem;
}

.bb-footer__links a {
    display: block;
    color: #9ca3af;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
    text-decoration: none;
}

.bb-footer__links a:hover { color: var(--bb-lime); }

.bb-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.bb-footer__social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--bb-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bb-white);
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
    font-size: 0.85rem;
}

.bb-footer__social a:hover { border-color: var(--bb-lime); color: var(--bb-lime); }

.bb-footer__bottom {
    border-top: 1px solid var(--bb-mid);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .bb-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

.bb-footer__bottom p,
.bb-footer__bottom a {
    color: #6b7280;
    font-size: 0.75rem;
    text-decoration: none;
}

.bb-footer__bottom a:hover { color: var(--bb-lime); }

/* ============================================================
   PAGE HEADER (shared across all inner pages)
   ============================================================ */
.bb-page-header {
    background: var(--bb-dark);
    padding: 4rem 0 3rem;
}

.bb-page-header h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--bb-white);
    margin-bottom: 0.5rem;
}

/* ============================================================
   HERO (Startseite)
   ============================================================ */
.bb-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bb-dark);
}

.bb-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.bb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.85) 100%);
}

.bb-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bb-white);
    padding: 4rem 1rem;
    width: 100%;
}

.bb-hero__title {
    font-family: var(--bb-font-head);
    font-size: clamp(3.5rem, 14vw, 10rem);
    text-transform: uppercase;
    color: #ffffff;
    -webkit-text-stroke: 2px #000000;
    text-shadow: 3px 3px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.bb-hero__subtitle {
    color: #d1d5db;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.bb-hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .bb-hero__ctas { flex-direction: row; }
}

/* ============================================================
   BAND MEMBERS GRID
   ============================================================ */
.bb-band-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px)  { .bb-band-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bb-band-grid { grid-template-columns: repeat(4, 1fr); } }

.bb-member {
    text-align: center;
}

.bb-member__photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--bb-light);
    margin-bottom: 1rem;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.bb-member:hover .bb-member__photo { filter: grayscale(0%); }

.bb-member__name {
    font-family: var(--bb-font-head);
    font-size: 1.25rem;
    color: var(--bb-dark);
    margin-bottom: 0.25rem;
}

.bb-member__role {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bb-lime);
}

/* ============================================================
   SONGS ACCORDION
   ============================================================ */
.bb-song-item {
    border: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s;
}

.bb-song-item:hover { border-color: var(--bb-lime); }

.bb-song-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.bb-song-toggle__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bb-song-number {
    font-family: var(--bb-font-head);
    font-size: 1.75rem;
    color: var(--bb-lime);
    min-width: 2.5rem;
}

.bb-song-title {
    font-family: var(--bb-font-head);
    font-size: 1.1rem;
    color: var(--bb-dark);
}

.bb-song-subtitle {
    font-size: 0.8rem;
    color: var(--bb-muted);
    margin-top: 0.15rem;
}

.bb-song-icon { color: var(--bb-lime); font-size: 1.2rem; }

.bb-song-content {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.bb-song-content.is-open { display: block; }

.bb-song-content__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bb-song-content__grid { grid-template-columns: 1fr 1fr; }
}

.bb-song-lyrics {
    background: var(--bb-light);
    padding: 1rem;
    font-size: 0.85rem;
    line-height: 1.8;
    white-space: pre-wrap;
    font-family: var(--bb-font-body);
}

/* ============================================================
   TERMINE / CALENDAR
   ============================================================ */
.bb-events-list { display: flex; flex-direction: column; gap: 0.5rem; }

.bb-event-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s;
}

@media (min-width: 640px) {
    .bb-event-item { flex-direction: row; align-items: center; justify-content: space-between; }
}

.bb-event-item:hover { border-color: var(--bb-lime); }

.bb-event-item__date-box {
    text-align: center;
    min-width: 60px;
}

.bb-event-item__day {
    font-family: var(--bb-font-head);
    font-size: 2rem;
    color: var(--bb-lime);
    line-height: 1;
}

.bb-event-item__month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bb-muted);
}

.bb-event-item__divider {
    width: 1px;
    height: 48px;
    background: #e5e7eb;
    display: none;
}

@media (min-width: 640px) { .bb-event-item__divider { display: block; } }

.bb-event-item__venue { font-weight: 600; color: var(--bb-dark); }
.bb-event-item__meta  { font-size: 0.8rem; color: var(--bb-muted); margin-top: 0.2rem; }

/* Calendar Grid */
.bb-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bb-calendar-nav {
    background: none;
    border: 1px solid #e5e7eb;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.bb-calendar-nav:hover { border-color: var(--bb-lime); }

.bb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.bb-calendar-day-label {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bb-muted);
    padding: 0.5rem 0;
}

.bb-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-radius: 2px;
}

.bb-calendar-day:hover { background: var(--bb-light); }
.bb-calendar-day--empty { cursor: default; }
.bb-calendar-day--today { background: var(--bb-lime); color: var(--bb-dark); font-weight: 700; }
.bb-calendar-day--event { background: var(--bb-dark); color: var(--bb-white); font-weight: 700; }
.bb-calendar-day--event:hover { background: var(--bb-gray); }

/* ============================================================
   MERCH GRID
   ============================================================ */
.bb-merch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px)  { .bb-merch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bb-merch-grid { grid-template-columns: repeat(3, 1fr); } }

.bb-product {
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s;
}

.bb-product:hover { border-color: var(--bb-lime); }

.bb-product__img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    background: var(--bb-light);
    overflow: hidden;
}

.bb-product__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.bb-product:hover .bb-product__img img { transform: scale(1.05); }

.bb-product__body { padding: 1.25rem; }

.bb-product__cat {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bb-muted);
    margin-bottom: 0.4rem;
}

.bb-product__name {
    font-family: var(--bb-font-head);
    font-size: 1.1rem;
    color: var(--bb-dark);
    margin-bottom: 0.5rem;
}

.bb-product__desc {
    font-size: 0.8rem;
    color: var(--bb-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bb-product__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.bb-product__price {
    font-family: var(--bb-font-head);
    font-size: 1.25rem;
    color: var(--bb-dark);
}

.bb-product__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--bb-lime);
    color: var(--bb-dark);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.bb-form { display: flex; flex-direction: column; gap: 1rem; }

.bb-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) { .bb-form__row { grid-template-columns: 1fr 1fr; } }

.bb-form label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6b7280;
    margin-bottom: 0.4rem;
}

.bb-form input,
.bb-form select,
.bb-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1rem;
    font-family: var(--bb-font-body);
    font-size: 0.9rem;
    color: var(--bb-dark);
    background: var(--bb-white);
    outline: none;
    transition: border-color 0.2s;
}

.bb-form input:focus,
.bb-form select:focus,
.bb-form textarea:focus { border-color: var(--bb-lime); }

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

/* ============================================================
   FILTER TABS
   ============================================================ */
.bb-filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.bb-filter-tab {
    padding: 0.5rem 1rem;
    font-family: var(--bb-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid #d1d5db;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--bb-muted);
}

.bb-filter-tab:hover,
.bb-filter-tab.active { background: var(--bb-dark); color: var(--bb-white); border-color: var(--bb-dark); }

/* ============================================================
   STATS GRID
   ============================================================ */
.bb-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) { .bb-stats { grid-template-columns: repeat(4, 1fr); } }

.bb-stat__num {
    font-family: var(--bb-font-head);
    font-size: 3rem;
    color: var(--bb-lime);
    line-height: 1;
}

.bb-stat__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#bb-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bb-dark);
    border-top: 3px solid var(--bb-lime);
    padding: 1.25rem 0;
    display: none;
}

#bb-cookie-banner.is-visible { display: block; }

.bb-cookie__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bb-cookie__inner { flex-direction: row; align-items: center; }
}

.bb-cookie__text {
    flex: 1;
    color: #d1d5db;
    font-size: 0.82rem;
    line-height: 1.6;
}

.bb-cookie__text strong { color: var(--bb-white); }
.bb-cookie__text a { color: var(--bb-lime); text-decoration: underline; }

.bb-cookie__btns {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.bb-cookie__btn-essential {
    padding: 0.6rem 1.25rem;
    font-family: var(--bb-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid #4b5563;
    background: none;
    color: #d1d5db;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.bb-cookie__btn-essential:hover { border-color: var(--bb-white); color: var(--bb-white); }

.bb-cookie__btn-all {
    padding: 0.6rem 1.25rem;
    font-family: var(--bb-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--bb-lime);
    color: var(--bb-dark);
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.bb-cookie__btn-all:hover { opacity: 0.88; }

/* ============================================================
   PRESS / EPK
   ============================================================ */
.bb-press-list { display: flex; flex-direction: column; gap: 0.5rem; }

.bb-press-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s;
}

@media (min-width: 640px) {
    .bb-press-item { flex-direction: row; align-items: center; }
}

.bb-press-item:hover { border-color: var(--bb-lime); }

.bb-press-item__icon { color: var(--bb-lime); font-size: 1.5rem; flex-shrink: 0; }

.bb-press-item__body { flex: 1; }

.bb-press-item__title {
    font-family: var(--bb-font-head);
    font-size: 1.1rem;
    color: var(--bb-dark);
    margin-bottom: 0.25rem;
}

.bb-press-item__desc { font-size: 0.82rem; color: var(--bb-muted); }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 639px) {
    .bb-section { padding: 3rem 0; }
    .bb-hero { min-height: 80vh; }
}