/* ============================================
   ERLEBNIS PFERD - HAUPTSTYLESHEET
   Förderverein für Menschen mit Handicaps e.V.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700;800&display=swap');

/* Reset & Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Markenfarben */
    --primary-green: #4c3baa;
    --primary-green-light: #6b62b3;
    --primary-green-dark: #33249f;
    --accent-brown: #5a48b1;
    --accent-gold: #8b82d4;
    --text-dark: #1f1f1f;
    --text-light: #5c5c5c;
    --text-muted: #767676;
    --bg-cream: #f7f6fa;
    --bg-white: #ffffff;
    --border-light: rgba(76, 59, 170, 0.12);

    /* Typografie */
    --font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
    --text-base: 1.0625rem;
    --text-lg: 1.1875rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;
    --text-4xl: clamp(2rem, 4vw, 2.75rem);
    --text-5xl: clamp(2.5rem, 5vw, 3.5rem);
    --text-nav: 1.1875rem;
    --line-height-body: 1.7;
    --line-height-heading: 1.2;

    /* Layout */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-soft: 0 2px 12px rgba(51, 36, 159, 0.08);
    --shadow-medium: 0 8px 32px rgba(51, 36, 159, 0.12);
    --transition: all 0.25s ease;
    --logo-height: 96px;
    --navbar-padding-y: 18px;
    --navbar-height: calc(var(--logo-height) + var(--navbar-padding-y) * 2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    hyphens: auto;
    -webkit-hyphens: auto;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Blocksatz für Fließtext */
.intro-content p,
.intro-highlight,
.about-block p,
.media-layout__text p,
.work-block p,
.work-list li,
.horse-info p,
.pillar-card p,
.donate-intro p,
.donate-purpose p,
.donate-method > p,
.donate-method-details p,
.spenden-list li,
.news-content p,
.contact-info > p,
.donate-cta-banner p,
.article-body p,
.page-content p,
.page-content li {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 8px rgba(51, 36, 159, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--navbar-height);
    max-width: 1600px;
    padding: var(--navbar-padding-y) 24px;
    gap: 20px;
}

@media (min-width: 1600px) {
    .navbar .container {
        padding: var(--navbar-padding-y) 48px;
    }
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
    z-index: 1002;
}

.logo-image {
    height: var(--logo-height);
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-shrink: 1;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    font-size: var(--text-nav);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 12px 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary-green);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

body.nav-open {
    overflow: hidden;
}

/* Unterseiten-Hero (Impressum, Archiv, Beiträge …) */
.page-hero,
.article-hero {
    background: linear-gradient(135deg, rgba(51, 36, 159, 0.92), rgba(107, 98, 179, 0.88));
    padding-top: calc(var(--navbar-height) + 32px);
    padding-bottom: 60px;
    text-align: center;
    color: var(--bg-white);
}

.page-hero h1,
.article-hero h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--bg-white);
}

.page-hero p,
.article-hero p {
    font-size: var(--text-lg);
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero h1,
    .article-hero h1 {
        font-size: var(--text-3xl);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(51, 36, 159, 0.92), rgba(107, 98, 179, 0.88)),
                url('/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    padding-top: var(--navbar-height);
}

.hero-content {
    max-width: 800px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: var(--text-5xl);
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: #d4cff5;
}

.hero p {
    font-size: var(--text-xl);
    margin-bottom: 36px;
    opacity: 0.95;
    line-height: 1.65;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Startseite (ein Bild, kein Slider) */
.hero-home {
    position: relative;
    display: block;
    text-align: center;
    color: var(--bg-white);
    overflow: hidden;
    scroll-margin-top: var(--navbar-height);
    padding: 0;
}

.hero-home-media {
    display: block;
    padding-top: var(--navbar-height);
    line-height: 0;
}

.hero-home-img {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: auto;
}

.hero-home-overlay {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.32) 100%
    );
    pointer-events: none;
}

.hero-home .hero-content.hero-home-content {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px;
    animation: fadeInUp 0.8s ease-out;
    box-sizing: border-box;
}

.hero-home-content h1 {
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    margin-bottom: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
    line-height: 1.15;
}

.hero-home-content h1 span {
    color: #ffffff;
}

.hero-home-content .hero-motto {
    font-size: clamp(1.45rem, 2.4vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-home-content .btn {
    padding: 18px 42px;
    font-size: var(--text-lg);
    font-weight: 700;
}

.hero-home-content .btn-primary {
    background-color: #d4cff5;
    color: #2e2278;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.hero-home-content .btn-primary:hover {
    background-color: #ebe8ff;
    color: var(--primary-green-dark);
}

.hero-home-content .btn-secondary {
    background-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.hero-home-content .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--primary-green);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero-Slider (Legacy – nicht mehr auf Startseite) */
.hero-slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 40px 24px;
    padding-top: calc(var(--navbar-height) + 32px);
}

.hero-slide-content h1 {
    font-size: var(--text-5xl);
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-slide-content h1 span {
    color: #d4cff5;
}

.hero-slide-content p {
    font-size: var(--text-xl);
    margin-bottom: 36px;
    opacity: 0.95;
    line-height: 1.65;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--text-base);
    letter-spacing: 0.02em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
}

.btn-primary:hover {
    background-color: #7a72c8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    margin-left: 15px;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* ============================================
   SECTIONS ALLGEMEIN
   ============================================ */

section {
    padding: 110px 0;
    scroll-margin-top: var(--navbar-height);
}

.hero-slider {
    scroll-margin-top: var(--navbar-height);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: var(--text-4xl);
    color: var(--primary-green);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--text-light);
    line-height: 1.65;
}

.section-header .underline {
    width: 64px;
    height: 4px;
    background: var(--primary-green);
    margin: 24px auto 0;
    border-radius: 2px;
}

/* ============================================
   ÜBER UNS SECTION
   ============================================ */

.about {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image .main-image {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    box-shadow: var(--shadow-medium);
}

.about-image .floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
    padding: 25px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.floating-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

.floating-card p {
    font-size: var(--text-base);
    font-weight: 500;
    margin-top: 5px;
}

.about-content h3 {
    font-size: var(--text-3xl);
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: var(--text-lg);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(76, 59, 170, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--text-dark);
}

/* ============================================
   PROJEKT SECTION
   ============================================ */

.project {
    background-color: var(--bg-cream);
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-text h3 {
    font-size: var(--text-2xl);
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.project-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: var(--text-lg);
}

.project-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding: 25px;
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-green);
    font-weight: 700;
}

.stat-item p {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
}

.project-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-image .image-card {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.project-image .image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-image .image-card.large {
    grid-column: span 2;
    height: 250px;
}

/* ============================================
   PFERDE SECTION
   ============================================ */

.horses {
    background-color: var(--bg-white);
}

.horses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.horse-card {
    background-color: var(--bg-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.horse-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.horse-image {
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    line-height: 0;
    aspect-ratio: 4 / 3;
}

.horse-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.horse-image--focus-top img {
    object-position: center top;
}

.horse-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--bg-cream), transparent);
    pointer-events: none;
}

.horse-info {
    padding: 30px;
    text-align: center;
}

.horse-info h3 {
    font-size: var(--text-2xl);
    color: var(--primary-green);
    margin-bottom: 10px;
}

.horse-info .horse-breed {
    font-size: var(--text-base);
    color: var(--primary-green-light);
    font-weight: 600;
    margin-bottom: 15px;
}

.horse-info p {
    color: var(--text-light);
    font-size: var(--text-lg);
    line-height: 1.65;
}

/* ============================================
   BEITRÄGE/NEWS SECTION
   ============================================ */

.news {
    background-color: var(--bg-cream);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.news-image span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: var(--text-base);
    color: var(--primary-green-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: var(--text-xl);
    color: var(--primary-green);
    margin-bottom: 12px;
    line-height: 1.35;
}

.news-content p {
    color: var(--text-light);
    font-size: var(--text-base);
    line-height: 1.65;
    margin-bottom: 16px;
}

.read-more {
    color: var(--primary-green);
    font-weight: 600;
    font-size: var(--text-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-gold);
    gap: 12px;
}

/* ============================================
   ARCHIV / AKTUELLES SEITE
   ============================================ */

.archive-section {
    padding-top: 72px;
    padding-bottom: 88px;
}

.archive-empty {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-white);
    padding: 56px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.archive-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.archive-empty h2 {
    font-size: var(--text-2xl);
    color: var(--primary-green);
    margin-bottom: 12px;
}

.archive-empty p {
    color: var(--text-light);
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ============================================
   EINZELBEITRAG
   ============================================ */

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    font-size: var(--text-base);
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.92;
}

.article-breadcrumb a {
    transition: var(--transition);
}

.article-breadcrumb a:hover {
    color: var(--accent-gold);
}

.article-breadcrumb .current {
    opacity: 0.8;
    max-width: min(320px, 60vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-breadcrumb span[aria-hidden="true"] {
    opacity: 0.45;
}

.article-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.25;
}

.article-page {
    padding-bottom: 80px;
}

.article-page .article-content {
    max-width: 760px;
    margin-top: 28px;
    background: var(--bg-white);
    box-shadow: var(--shadow-medium);
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.article-date-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(76, 59, 170, 0.1);
    color: var(--primary-green);
    font-weight: 600;
    font-size: var(--text-base);
    border-radius: 999px;
}

.article-category {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
}

.article-body p {
    font-size: var(--text-lg);
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 1.25em;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.article-footer .back-link {
    margin-top: 0;
}

.article-cover-wrap {
    margin: 0 auto 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    line-height: 0;
    width: fit-content;
    max-width: 100%;
}

.article-cover {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(72vh, 640px);
}

.article-gallery-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.article-gallery-title {
    font-size: var(--text-xl);
    color: var(--primary-green);
    margin-bottom: 16px;
    font-weight: 700;
}

.article-gallery {
    position: relative;
    margin-bottom: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.article-gallery-track {
    display: flex;
    transition: transform 0.4s ease;
}

.article-gallery-slide {
    min-width: 100%;
    line-height: 0;
}

.article-gallery-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(72vh, 560px);
}

.article-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.article-gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.article-gallery-prev {
    left: 12px;
}

.article-gallery-next {
    right: 12px;
}

.article-gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.article-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
}

.article-gallery-dot.active {
    background: var(--accent-gold);
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .article-gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .archive-section {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .archive-empty {
        padding: 40px 24px;
    }

    .article-page .article-content {
        margin-top: 20px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   KONTAKT SECTION
   ============================================ */

.contact {
    background: linear-gradient(135deg, #7d75c4, #b4aee0);
    color: var(--bg-white);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--bg-white);
}

.contact .section-header .underline {
    background: linear-gradient(90deg, var(--accent-gold), #fff);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: var(--text-2xl);
    margin-bottom: 20px;
    color: inherit;
}

.contact-info p {
    font-size: var(--text-lg);
    opacity: 0.92;
    margin-bottom: 30px;
    line-height: 1.65;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}

.contact-item div h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 4px;
    color: inherit;
}

.contact-item div p {
    font-size: var(--text-base);
    opacity: 0.92;
    margin: 0;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.contact-form h3 {
    color: var(--primary-green);
    font-size: var(--text-2xl);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--text-base);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

.contact-form .btn-primary {
    background-color: #ffffff;
    color: var(--primary-green-dark);
    border: 1px solid rgba(76, 59, 170, 0.28);
}

.contact-form .btn-primary:hover {
    background-color: var(--bg-cream);
    color: var(--primary-green-dark);
    box-shadow: var(--shadow-soft);
}

/* ============================================
   SPENDEN BANNER
   ============================================ */

.donate-banner {
    background-color: var(--accent-gold);
    padding: 60px 0;
    text-align: center;
}

.donate-banner h2 {
    font-size: var(--text-3xl);
    color: var(--primary-green-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.donate-banner p {
    color: var(--primary-green-dark);
    font-size: var(--text-lg);
    margin-bottom: 28px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.donate-banner .btn {
    background-color: var(--primary-green);
    color: var(--bg-white);
}

.donate-banner .btn:hover {
    background-color: var(--primary-green-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-green-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-image {
    height: calc(var(--logo-height) + 8px);
    background-color: var(--bg-white);
    padding: 10px 16px;
    border-radius: 10px;
}

.footer-brand p {
    opacity: 0.85;
    font-size: var(--text-base);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 20px;
    color: #d4cff5;
    letter-spacing: 0.02em;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links ul li a {
    font-size: var(--text-base);
    font-weight: 500;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    opacity: 0.75;
    font-size: var(--text-base);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-legal a {
    font-size: var(--text-base);
    font-weight: 500;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

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

.social-links a {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Desktop – engeres Menü bei mittleren Breiten */
@media (max-width: 1200px) and (min-width: 993px) {
    .nav-links {
        gap: 24px;
    }

    .nav-links a {
        font-size: 1.125rem;
    }
}

/* Tablet & Smartphone */
@media (max-width: 992px) {
    :root {
        --logo-height: 76px;
        --navbar-padding-y: 14px;
    }

    .navbar .container {
        padding: var(--navbar-padding-y) 18px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 16px;
        gap: 0;
        box-shadow: var(--shadow-medium);
        z-index: 1001;
        max-height: calc(100dvh - var(--navbar-height));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 18px 28px;
        font-size: var(--text-nav);
        font-weight: 600;
        white-space: normal;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links a::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1,
    .hero-slide-content h1 {
        font-size: var(--text-3xl);
    }

    .hero p,
    .hero-slide-content p {
        font-size: var(--text-lg);
    }

    .about-grid,
    .project-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image .floating-card {
        right: 20px;
        bottom: -20px;
    }

    .horses-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    section {
        padding: 70px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --logo-height: 64px;
        --navbar-padding-y: 12px;
    }

    .logo-image {
        max-width: min(300px, calc(100vw - 72px));
    }

    .hero h1,
    .hero-slide-content h1,
    .hero-home-content h1 {
        font-size: var(--text-2xl);
    }

    .hero p,
    .hero-slide-content p {
        font-size: var(--text-base);
    }

    .btn {
        padding: 14px 28px;
        font-size: var(--text-base);
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .hero-slide-content .btn-group,
    .hero-content .btn-group,
    .hero-home-content .btn-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-slide-content .btn-group .btn,
    .hero-content .btn-group .btn,
    .hero-home-content .btn-group .btn {
        width: min(100%, 320px);
        text-align: center;
    }

    .hero-home .hero-content.hero-home-content {
        padding: 20px 16px;
    }

    .media-layout--portrait {
        grid-template-columns: 1fr;
    }

    .media-layout--portrait .media-layout__figure {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
        order: -1;
    }

    .media-layout--landscape .media-layout__figure {
        height: clamp(200px, 52vw, 280px);
    }

    .media-layout--banner .media-layout__figure {
        height: clamp(160px, 45vw, 240px);
    }

    .slider-arrows {
        display: none;
    }

    .section-header h2 {
        font-size: var(--text-2xl);
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .project-stats {
        flex-direction: column;
        gap: 20px;
    }

    .project-image {
        grid-template-columns: 1fr;
    }

    .project-image .image-card.large {
        grid-column: span 1;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sponsor-card__logo,
    .sponsor-card__logo--sprung,
    .sponsors-grid--footer .sponsor-card__logo {
        height: 88px;
        padding: 12px 10px;
    }

    .sponsor-card__logo img,
    .sponsor-card__logo--postcode img,
    .sponsor-card__logo--sprung img,
    .sponsors-grid--footer .sponsor-card__logo img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 56px;
        object-fit: contain;
        object-position: center;
    }

    .sponsor-card__name {
        font-size: 0.8rem;
        padding: 10px 8px 12px;
    }

    section {
        padding: 50px 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --logo-height: 54px;
        --navbar-padding-y: 10px;
    }

    .navbar .container {
        padding: var(--navbar-padding-y) 14px;
        gap: 10px;
    }

    .logo-image {
        max-width: min(260px, calc(100vw - 64px));
    }

    .footer-brand .logo-image {
        padding: 8px 12px;
    }

    .nav-links a {
        padding: 18px 26px;
        font-size: 1.125rem;
    }

    .hero h1,
    .hero-slide-content h1,
    .hero-home-content h1 {
        font-size: var(--text-2xl);
    }

    .floating-card h3 {
        font-size: 2rem;
    }


    .stat-item h4 {
        font-size: 2rem;
    }
}

/* ============================================
   STARTSEITE – EINLEITUNG & KERNBEREICHE
   ============================================ */

.intro {
    background-color: var(--bg-white);
}

.intro-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: var(--text-3xl);
    color: var(--primary-green);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.intro-content p {
    font-size: var(--text-lg);
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.75;
    text-align: left;
}

.intro-highlight {
    display: inline-block;
    margin-top: 12px;
    padding: 16px 28px;
    background: rgba(76, 59, 170, 0.08);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--primary-green);
}

.pillars {
    background-color: var(--bg-cream);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 0 0 32px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-top: 4px solid var(--primary-green);
    overflow: hidden;
}

.pillar-image {
    overflow: hidden;
    margin-bottom: 4px;
    line-height: 0;
    aspect-ratio: 4 / 3;
}

.pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.pillar-image--focus-top img {
    object-position: center top;
}

.pillar-card h3,
.pillar-card p,
.pillar-card a {
    padding-left: 28px;
    padding-right: 28px;
}

.pillar-card h3 {
    padding-top: 20px;
    margin-top: 0;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.pillar-card .pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 38px;
    margin-bottom: 16px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(76, 59, 170, 0.12);
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pillar-card h3 {
    font-size: var(--text-xl);
    color: var(--primary-green);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: var(--text-base);
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

.pillar-card a {
    font-weight: 600;
    color: var(--primary-green);
    font-size: var(--text-base);
}

/* ============================================
   ÜBER UNS – UNTERABSCHNITTE
   ============================================ */

.about-block {
    margin-bottom: 72px;
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-block h3 {
    font-size: var(--text-2xl);
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.about-block p {
    font-size: var(--text-lg);
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* ============================================
   INHALTSBILDER – EINHEITLICHES MEDIEN-LAYOUT
   ============================================ */

.media-layout {
    display: grid;
    gap: 28px 40px;
    align-items: start;
    margin-bottom: 4px;
}

.media-layout__figure {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    line-height: 0;
}

.media-layout__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--media-focus, center 35%);
    image-rendering: auto;
}

/* Vollständiges Bild ohne Zuschnitt (keine Verzerrung) */
.media-layout__figure--natural {
    height: auto !important;
}

.media-layout--landscape .media-layout__figure--natural img,
.media-layout__figure--natural img {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    object-fit: unset !important;
    object-position: center center;
}

/* Gezielte Bildausschnitte */
.media-layout__figure--focus-top {
    --media-focus: center top;
}

.media-layout__figure--focus-top-right {
    --media-focus: 72% 18%;
}

.media-layout__figure--focus-lower {
    --media-focus: center 62%;
}

.media-layout__figure--focus-deep {
    --media-focus: center 46%;
}

.media-layout__text > :last-child {
    margin-bottom: 0;
}

.media-layout__text p,
.media-layout__text li {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Querformat: Bild unter Überschrift, einheitliche Höhe */
.media-layout--landscape {
    grid-template-columns: 1fr;
}

.media-layout--landscape .media-layout__figure {
    width: 100%;
    height: clamp(220px, 34vw, 400px);
}

.media-layout--landscape .media-layout__figure img {
    min-height: 100%;
}

/* Hochformat: Text neben dem Bild (ab Tablet/Laptop) */
@media (min-width: 769px) {
    .media-layout--portrait {
        grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    }
}

.media-layout--portrait .media-layout__figure {
    width: 100%;
    max-height: none;
    height: auto;
}

.media-layout--portrait .media-layout__figure img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: unset;
    object-position: center top;
}

/* Banner (z. B. Spenden) */
.media-layout--banner {
    margin-bottom: 40px;
}

.media-layout--banner .media-layout__figure {
    width: 100%;
    height: clamp(180px, 28vw, 340px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.team-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 32px 20px 28px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.team-photo {
    width: 188px;
    height: 188px;
    margin: 0 auto 20px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    box-shadow: var(--shadow-medium);
    border: 4px solid rgba(76, 59, 170, 0.18);
}

.team-avatar {
    width: 188px;
    height: 188px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.team-card h4 {
    font-size: var(--text-lg);
    color: var(--text-dark);
    margin-bottom: 6px;
}

.team-card p {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin: 0;
}

.media-layout__text h4 {
    font-size: var(--text-xl);
    color: var(--primary-green);
    margin-bottom: 16px;
}

/* ============================================
   UNSERE ARBEIT
   ============================================ */

.work {
    background-color: var(--bg-cream);
}

.work-block {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 44px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-soft);
}

.work-block:last-child {
    margin-bottom: 0;
}

.work-block h3 {
    font-size: var(--text-2xl);
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.work-block p {
    font-size: var(--text-lg);
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 14px;
}

.work-block--no-justify p,
.work-block--no-justify .media-layout__text p {
    text-align: left;
}

.work-list {
    margin: 16px 0 0 24px;
    list-style: disc;
}

.work-list li {
    font-size: var(--text-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

.work-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
    padding: 32px;
    background: rgba(76, 59, 170, 0.08);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.work-stats .stat-item h4 {
    font-size: var(--text-3xl);
    color: var(--primary-green);
}

/* ============================================
   SPENDEN & SPONSOREN
   ============================================ */

.spenden {
    background-color: var(--bg-white);
}

.donate-intro,
.donate-purpose {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.donate-intro p,
.donate-purpose p {
    font-size: var(--text-lg);
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.spenden-subtitle {
    font-size: var(--text-2xl);
    color: var(--primary-green);
    margin-bottom: 20px;
}

.spenden-list {
    text-align: left;
    max-width: 560px;
    margin: 16px auto;
}

.sponsors-header {
    margin-top: 48px;
}

.sponsors-title {
    font-size: var(--text-2xl);
}

.news-cta {
    text-align: center;
    margin-top: 40px;
}

.footer-sponsors .sponsor-card {
    background: #ffffff;
    border-color: transparent;
    box-shadow: none;
}

.footer-sponsors .sponsor-card__name,
.footer-sponsors .sponsors-credit {
    display: none;
}

.donate-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 920px;
    margin: 0 auto 40px;
}

.donate-method {
    padding: 36px 32px;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-light);
}

.donate-method h3 {
    font-size: var(--text-xl);
    color: var(--primary-green);
    margin-bottom: 12px;
}

.donate-method > p {
    font-size: var(--text-base);
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

.donate-method-details p {
    font-size: var(--text-lg);
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 8px;
}

.donate-paypal-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    background: rgba(76, 59, 170, 0.08);
    color: var(--text-muted);
    font-size: var(--text-base);
    font-weight: 600;
    border: 1px dashed var(--border-light);
}

.donate-paypal-pending span[aria-hidden="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.btn-paypal {
    background-color: #ffc439;
    color: #003087;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    border: none;
}

.btn-paypal:hover {
    background-color: #f0b429;
    color: #003087;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-paypal-logo {
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.donate-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}

.donate-cta-banner .btn-paypal {
    color: #003087;
}

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

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.sponsor-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.sponsor-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 20px 24px;
    background: #ffffff;
}

.sponsor-card__logo img {
    max-width: 100%;
    max-height: 96px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-card__logo--postcode {
    background: #e20e2a;
}

.sponsor-card__logo--postcode img {
    max-height: 56px;
}

.sponsor-card__logo--sprung {
    padding: 36px 16px;
}

.sponsor-card__logo--sprung img {
    width: 100%;
    max-height: none;
    height: auto;
}

.sponsor-card__name {
    margin: 0;
    padding: 14px 16px 16px;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text-dark);
    border-top: 1px solid var(--border-light);
}

.sponsors-credit {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.sponsors-grid--footer {
    gap: 16px;
    margin-top: 0;
}

.sponsors-grid--footer .sponsor-card__logo {
    height: 92px;
    padding: 14px 16px;
}

.sponsors-grid--footer .sponsor-card__logo img {
    max-height: 64px;
}

.donate-cta-banner {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
    color: white;
    padding: 56px 0;
    text-align: center;
}

.donate-cta-banner h2 {
    font-size: var(--text-3xl);
    margin-bottom: 16px;
    color: white;
}

.donate-cta-banner p {
    font-size: var(--text-lg);
    opacity: 0.92;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.donate-cta-banner .btn {
    background: white;
    color: var(--primary-green-dark);
}

.donate-cta-banner .btn:hover {
    background: #f0eeff;
}

.footer-sponsors {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-sponsors h4 {
    font-size: var(--text-base);
    color: #d4cff5;
    margin-bottom: 16px;
    text-align: center;
}

@media (max-width: 992px) {
    .pillars-grid,
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .work-block {
        padding: 28px 24px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Unterseiten-Inhalt */
.page-content,
.article-content {
    max-width: 800px;
    margin: -40px auto 60px;
    background: var(--bg-white);
    padding: 52px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.article-page .article-content {
    margin: 28px auto 60px;
}

.page-content h2,
.article-content h2 {
    font-size: var(--text-2xl);
    color: var(--primary-green);
    margin-top: 32px;
    margin-bottom: 16px;
}

.page-content h3 {
    font-size: var(--text-xl);
    margin-top: 24px;
    margin-bottom: 12px;
}

.page-content p,
.page-content li,
.article-content p {
    font-size: var(--text-lg);
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.page-content ul {
    margin-left: 24px;
    list-style: disc;
}

.article-content p {
    color: var(--text-light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
    font-size: var(--text-base);
    margin-top: 32px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-green-light);
    gap: 12px;
}

@media (max-width: 768px) {
    .page-content,
    .article-content {
        margin: -20px 16px 40px;
        padding: 32px 24px;
    }

    .article-page .article-content {
        margin: 20px 16px 40px;
    }
}

/* Placeholder für Bilder */
.image-placeholder {
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}
