/* ==========================================
   1. GRUNDEINSTELLUNGEN & FARBEN
   ========================================== */
:root {
    --primary-blue: #1e3a8a;
    --accent-blue: #3b82f6;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --radius: 12px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ==========================================
   2. HEADER & NAVIGATION (base.html)
   ========================================== */
.blue-header-box {
    background: var(--primary-blue);
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
}

.blue-header-box h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.blue-header-box p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==========================================
   3. HERO SLIDER & NAVIGATION
   ========================================== */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background-color: #0f172a;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0f172a;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 3;
    pointer-events: none;
}

/* Schlanke schwebende Navigationsleiste */
.floating-nav-box {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    width: auto;
    max-width: 95%;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-donate-btn {
    background: #eab308 !important;
    color: #1e293b !important;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(234, 179, 8, 0.3);
    transition: background 0.2s ease !important;
}

.nav-donate-btn:hover {
    background: #ca8a04 !important;
    color: #ffffff !important;
}

/* ==========================================
   4. MODERNES SPENDEN-LAYOUT
   ========================================== */
.donation-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.donation-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.donation-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.donation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .donation-grid {
        grid-template-columns: 1fr;
    }
}

.bank-card {
    background: #f8fafc;
    border-left: 5px solid var(--accent-blue);
}

.bank-card-header h3 {
    margin-top: 0;
    color: var(--primary-blue);
}

.bank-card-header .sub-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.bank-details-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.bank-item:last-child {
    border-bottom: none;
}

.bank-label {
    font-weight: 600;
    color: var(--text-muted);
}

.bank-value {
    color: var(--text-dark);
    font-weight: 500;
}

.font-mono {
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.bank-value-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.copy-btn {
    background: var(--accent-blue);
    color: #ffffff;
    border: none;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #1d4ed8;
}

.highlight-purpose {
    color: var(--accent-blue);
    font-weight: bold;
}

.blessing-card {
    background: #fdf4f8;
    border-color: #fbcfe8;
    text-align: center;
}

.blessing-text {
    color: #831843;
    margin-top: 1rem;
}

.donate-button {
    display: inline-block;
    background: var(--accent-blue);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.2s;
}

.donate-button:hover {
    background: #1d4ed8;
}

/* ==========================================
   5. KONTAKT-FORMULAR
   ========================================== */
.contact-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.contact-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modern-contact-form .form-group {
    margin-bottom: 1.2rem;
}

.modern-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    box-sizing: border-box;
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.contact-submit {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.contact-submit:hover {
    background: #1d4ed8;
}

.contact-footer {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
}

.contact-footer a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-footer a:hover {
    color: var(--accent-blue);
}

/* ==========================================
   6. FOOTER
   ========================================== */
.footer-section {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 3rem 1rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-divider {
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
    margin-bottom: 1rem;
}

.footer-address {
    font-style: normal;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-footer {
    display: inline-block;
    background: #ffffff;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.2s;
}

.btn-footer:hover {
    background: #f1f5f9;
}

/* ==========================================
   7. RESPONSIVE ANPASSUNGEN (MOBILE)
   ========================================== */
@media (max-width: 900px) {
    .floating-nav-box {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
    }
    .nav-links {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
}
