:root {
    /* Farbschema - Traditionell und warm mit modernen Akzenten */
    --primary-color: #000000;
    --primary-dark: #654321;
    --primary-light: #A0522D;
    --secondary-color: #DAA520;
    --accent-color: #FFD700;
    --text-dark: #2C1810;
    --text-light: #F5F5DC;
    --bg-light: #FFF8DC;
    --bg-white: #FFFFFF;
    --bg-cream: #FAEBD7;
    --border-color: #D2B48C;
    --shadow: rgba(139, 69, 19, 0.15);
}

    .fixed-img {
      height: 250px;
      width: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .fixed-img:hover {
      transform: scale(1.05) rotate(-2deg);
      box-shadow: 0 0 15px #ff7518;
    }

.brand-logo {
    height: 42px;      /* Größe anpassen */


    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}


.hero-section {
    position: relative;
    overflow: hidden;
    color: white;
}

/* Hintergrundbild */
.hero-bg {
    position: absolute;
    inset: 0;
    background: url("images/bg-masterhead.jpg") center center / cover no-repeat;
    z-index: 0;
    
    /* 🔥 Blur Effekt */
    filter: blur(6px);
    transform: scale(1.05); /* verhindert weiße Ränder durch Blur */
}

/* Abdunklung über dem Bild für bessere Lesbarkeit */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Inhalt über allem */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

/* Optional: Scroll Icon auch oben halten */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 2rem;
    color: white;
    opacity: 0.8;
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.brand-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    border: 2px solid var(--text-light);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #654321 0%, #8B4513 50%, #A0522D 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--secondary-color);
    border: none;
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styling */
section {
    position: relative;
}

.section-geschichte {
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-cream) 100%);
}

.section-vorstand {
    background: var(--bg-white);
}

.section-events {
    background: var(--bg-light);
}

.section-blog {
    background: var(--bg-white);
}

.section-termine {
    background: var(--bg-cream);
}

.section-galerie {
    background: var(--bg-white);
}

.section-mitglied {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.section-spenden {
    background: var(--bg-white);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* Geschichte Cards */
.story-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--shadow);
}

.story-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

.timeline-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, var(--secondary-color) 50%);
    opacity: 0.1;
    border-radius: 0 0 12px 0;
}

/* Team Cards */
.team-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow);
}

.team-image-placeholder {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.team-description {
    color: #666;
    font-size: 1rem;
}

/* Event Cards */
.event-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px var(--shadow);
}

.event-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.event-description {
    color: #666;
    line-height: 1.6;
}

/* Blog Posts */
.blog-post {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
    border-top: 3px solid var(--secondary-color);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--shadow);
}

.blog-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.blog-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-color);
    gap: 0.5rem;
}

/* Calendar */
.calendar-container {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 24px var(--shadow);
}

.calendar-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.calendar-item:last-child {
    border-bottom: none;
}

.calendar-item:hover {
    background: var(--bg-cream);
    transform: translateX(10px);
}

.calendar-date {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    min-width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--shadow);
}

.date-day {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-details {
    flex: 1;
}

.calendar-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.calendar-info {
    color: #666;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-info i {
    color: var(--secondary-color);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px var(--shadow);
}

.gallery-placeholder {
    background: linear-gradient(135deg, var(--border-color) 0%, var(--bg-cream) 100%);
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
}

.gallery-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* Registration Form */
.registration-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px var(--shadow);
}

.registration-intro {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 2rem;
}

.registration-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.registration-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.registration-form .form-control,
.registration-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(218, 165, 32, 0.25);
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-check-label {
    color: #555;
}

/* Donation Section */
.donation-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px var(--shadow);
    text-align: center;
}

.donation-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.qr-code-container {
    margin: 2rem 0;
}

.qr-placeholder {
    background: var(--bg-cream);
    border: 3px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-placeholder i {
    font-size: 6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qr-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.qr-placeholder small {
    color: #666;
}

.bank-details {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.bank-details h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bank-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.donation-thanks {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 2rem;
}

.donation-thanks i {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-text {
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.footer-text i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1.5rem;
}

.footer-copyright {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .calendar-item {
        flex-direction: column;
        text-align: center;
    }

    .calendar-date {
        margin: 0 auto;
    }

    .story-card,
    .registration-card,
    .donation-card {
        padding: 1.5rem;
    }
}

/* Scroll Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeIn 0.8s ease-out;
}