/* ===================================
   Mooswaldsiechae Grav Theme
   Version: 1.0.0
   =================================== */

/* CSS Variablen */
:root {
    --primary-color: #2d5a3d;
    --secondary-color: #6b4423;
    --accent-color: #c8a882;
    --accent-green: #4a7c59;
    
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --text-white: #ffffff;
    
    --bg-light: #f5f7f5;
    --bg-white: #ffffff;
    --bg-gradient-primary: linear-gradient(135deg, #2d5a3d 0%, #1e3d29 100%);
    
    --border-color: #e0e5e0;
    --shadow-sm: 0 2px 8px rgba(45,90,61,0.08);
    --shadow-md: 0 4px 12px rgba(45,90,61,0.12);
    --shadow-lg: 0 8px 24px rgba(45,90,61,0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --max-width: 1200px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basis */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

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

/* ===================================
   Header
   =================================== */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top .welcome-text {
    font-weight: 500;
}

.header-top a {
    color: white;
    transition: var(--transition);
}

.header-top a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

.header-main {
    padding: 15px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    max-height: 70px;
    width: auto;
}

.site-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.5px;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-title a:hover {
    color: var(--accent-green);
}

/* Navigation */
.main-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 18px 24px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary-color);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--accent-green);
}

/* ===================================
   Hero - Clean Modern Design
   =================================== */
.hero {
    background: var(--primary-color);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hintergrundbild mit weniger starkem Overlay */
.hero.has-bg-image {
    background-size: cover;
    background-position: center;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.hero.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 61, 31, 0.75) 0%, rgba(47, 79, 49, 0.65) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.hero .btn {
    font-size: 16px;
    padding: 14px 35px;
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.hero .btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Kompakter Hero für Unterseiten */
.hero.hero-compact {
    min-height: 180px;
    padding: 40px 0;
}

.hero.hero-compact.has-bg-image {
    min-height: 180px;
}

.hero.hero-compact h1 {
    font-size: 32px;
    margin-bottom: 0;
}

.hero.hero-compact .container {
    position: relative;
    z-index: 1;
}

/* Hero Bild als Showcase (optional) */
.hero-image {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    width: 100%;
    display: block;
}

/* ===================================
   Content
   =================================== */
.site-content {
    padding: 60px 0;
    min-height: 50vh;
}

/* Layout */
.content-wrapper {
    display: block;
}

.main-content {
    min-width: 0;
}

/* Floating Termine Box - dynamische Breite */
.floating-termine {
    position: fixed;
    /* Startet nach dem Content-Container (max-width 1200px) + kleiner Abstand */
    left: calc(50% + 620px);
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 180px;
    max-width: 280px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 18px;
    z-index: 100;
    border-left: 3px solid var(--primary-color);
}

.floating-termine h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.floating-termine ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.floating-termine li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    line-height: 1.4;
}

.floating-termine li:last-child {
    border-bottom: none;
}

.floating-termine .datum {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    min-width: 50px;
}

.floating-termine .titel {
    color: var(--text-dark);
}

.floating-termine > a {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.floating-termine > a:hover {
    color: var(--accent-green);
}

/* Heute Badge */
.floating-termine li.is-today {
    background: rgba(45, 90, 61, 0.08);
    margin: 0 -18px;
    padding: 8px 18px;
    padding-top: 22px;
    border-radius: 4px;
    position: relative;
}

.floating-termine .heute-badge {
    position: absolute;
    top: 4px;
    left: 18px;
    background: var(--accent-green);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.content-area {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--bg-gradient-primary);
}

.page-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.page-title {
    font-size: 38px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.content h2 {
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 700;
}

.content h3 {
    color: var(--secondary-color);
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: 22px;
}

.content p {
    margin-bottom: 1.6em;
    line-height: 1.8;
    color: var(--text-dark);
}

.content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.content ul, .content ol {
    margin-bottom: 1.6em;
    padding-left: 25px;
}

.content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ===================================
   Termine / Events - PREMIUM Design
   =================================== */
.events-page {
    margin: 30px 0;
}

.events-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 45px;
    padding: 25px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.events-navigation a,
.events-navigation button,
.events-navigation .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 3px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.events-navigation a:hover,
.events-navigation button:hover,
.events-navigation .nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(45,90,61,0.3);
}

.events-navigation .current-year {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    padding: 0 30px;
    letter-spacing: -2px;
}

.events-month {
    margin-bottom: 45px;
}

.events-month h3 {
    background: var(--bg-gradient-primary);
    color: white;
    padding: 18px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(45,90,61,0.25);
    position: relative;
    overflow: hidden;
}

.event-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: white;
    margin-bottom: 20px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(45,90,61,0.1);
}

.event-card:hover {
    box-shadow: 0 10px 40px rgba(45,90,61,0.18);
    transform: translateY(-4px);
}

/* Heute Badge für Event-Cards */
.event-card.is-today {
    border: 2px solid var(--accent-green);
    position: relative;
}

.event-card.is-today .event-date {
    background: linear-gradient(135deg, var(--accent-green) 0%, #4CAF50 100%);
}

.event-card .heute-badge {
    position: absolute;
    top: -1px;
    right: 15px;
    background: var(--accent-green);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 0 0 6px 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: pulse-badge 2s infinite;
}

.event-date {
    flex-shrink: 0;
    padding: 25px 30px;
    background: var(--bg-gradient-primary);
    color: white;
    min-width: 110px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.event-date::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    border: 15px solid transparent;
    border-left-color: var(--primary-color);
}

.event-day {
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.event-month-name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.95;
    margin-top: 6px;
    font-weight: 600;
}

.event-details {
    flex: 1;
    padding: 25px 30px 25px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.event-location {
    color: var(--text-light);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    padding: 6px 14px;
    border-radius: 20px;
    margin-top: 5px;
}

.event-description {
    margin-top: 12px;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
}

/* Responsive Events */
@media (max-width: 600px) {
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        padding: 20px;
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }
    
    .event-date::after {
        display: none;
    }
    
    .event-day {
        font-size: 32px;
    }
    
    .event-month-name {
        margin-top: 0;
    }
    
    .event-details {
        padding: 20px;
        text-align: center;
    }
}

/* ===================================
   Termine Vorschau (Startseite)
   =================================== */
.termine-vorschau .page-header {
    text-align: center;
}

.termine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.termin-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.termin-card .termin-datum {
    text-align: center;
    min-width: 55px;
}

.termin-card .termin-datum .tag {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.termin-card .termin-datum .monat {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.termin-card .termin-info {
    flex: 1;
}

.termin-card .termin-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 3px;
}

.termin-card .termin-info span {
    font-size: 13px;
    color: var(--text-muted);
    margin-right: 10px;
}

/* Heute Badge für Termin-Cards */
.termin-card.is-today {
    background: rgba(45, 90, 61, 0.1);
    border-left-color: var(--accent-green);
    position: relative;
}

.termin-card .heute-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--accent-green);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    animation: pulse-badge 2s infinite;
}

/* ===================================
   Vorstandschaft / Team
   =================================== */
.gruppenbild {
    margin-bottom: 50px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gruppenbild img {
    width: 100%;
    display: block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.team-member {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-member-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 35px auto 25px;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(45,90,61,0.2);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-image .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-image .avatar-placeholder span {
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.team-member-info {
    padding: 0 25px 35px;
}

.team-member-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-member-role {
    font-size: 13px;
    color: white;
    background: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.team-member-email {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
    word-break: break-all;
}

/* ===================================
   Galerie - PREMIUM Design mit Lightbox
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--bg-light);
}

.gallery-item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 40px;
    z-index: 3;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(45,90,61,0.4);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 25px 20px 15px;
    z-index: 4;
    font-weight: 600;
    font-size: 14px;
}

/* Album-Übersicht - Premium Cards */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.album-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    border: 1px solid var(--border-color);
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(45,90,61,0.2);
}

.album-cover {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.album-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.08);
}

.album-info {
    padding: 25px;
    background: white;
}

.album-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.album-count {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.album-count::before {
    content: '📷';
}

.album-date {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 5px;
}

/* Jahr-Gruppierung */
.year-section {
    margin-bottom: 50px;
}

.year-section:first-child {
    margin-top: 20px;
}

.year-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-icon {
    font-size: 24px;
}

.year-count {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    margin-left: auto;
}

/* Album Badge (Bildanzahl) */
.album-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(45, 90, 61, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(4px);
}

/* Album Grid in Jahr-Sektion */
.year-section .album-grid {
    margin-top: 20px;
    margin-bottom: 0;
}

/* Album Galerie Grid */
.album-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.album-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.album-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.album-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.album-image:hover img {
    transform: scale(1.08);
}

/* Overlay für Bilder mit Infos */
.album-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    padding: 40px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.album-image:hover .album-image-overlay,
.album-image.has-info .album-image-overlay {
    opacity: 1;
}

.album-image-overlay strong {
    font-size: 15px;
    font-weight: 600;
}

.album-image-overlay span {
    font-size: 13px;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .album-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .album-image {
        aspect-ratio: 1/1;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: var(--transition);
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--primary-color);
    color: white;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 15px;
    font-size: 16px;
}
/* ===================================
   Info-Box / Hinweis
   =================================== */
.info-box {
    background: linear-gradient(135deg, #f8f9f8 0%, #f0f4f0 100%);
    border-left: 5px solid var(--accent-color);
    padding: 25px 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 30px 0;
    box-shadow: var(--shadow-sm);
}

.info-box.primary {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.08) 0%, rgba(45, 90, 61, 0.04) 100%);
}

.info-box p {
    margin: 0;
    line-height: 1.7;
}

.info-box strong {
    color: var(--primary-color);
}

/* ===================================
   Button
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.site-footer p {
    margin: 5px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.site-footer a {
    color: rgba(255,255,255,0.8);
}

.site-footer a:hover {
    color: white;
}

/* ===================================
   Responsive
   =================================== */

/* Verstecke Termine-Box wenn nicht genug Platz (Content 1200px + Box ~250px + Ränder) */
@media (max-width: 1500px) {
    .floating-termine {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .main-nav .container {
        min-height: 60px;
    }
    
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        flex-direction: column;
        z-index: 999;
        border-top: 2px solid var(--primary-color);
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .main-nav.active ul {
        display: flex;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        border-bottom: 1px solid var(--border-color);
        padding: 15px 20px;
        text-align: center;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: var(--primary-color);
        color: white;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero.has-bg-image {
        min-height: 350px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .content-area {
        padding: 25px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        width: 100%;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 18px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .events-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ===================================
   Kalender Abonnieren Box
   =================================== */
.kalender-abo {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.kalender-abo h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.kalender-abo p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.abo-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ===================================
   Edit Page Link ausblenden (nur im Frontend!)
   =================================== */
.site-content a[href*="/admin/pages/"],
.content-area a[href*="/admin/pages/"],
main a[href*="/admin/pages/"],
.edit-page-link,
[class*="edit-link"],
a[href$=":edit"] {
    display: none !important;
}

/* Album Placeholder */
.album-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}
