/* pages.css – konkrete Seitenbereiche */

.site-header {
    min-height: 760px;
    background:
        linear-gradient(
            90deg,
            rgba(250,250,248,.92) 0%,
            rgba(250,250,248,.68) 42%,
            rgba(250,250,248,.12) 100%
        ),
        url("/static/home/img/hero.1031336aec43.png") center/cover no-repeat;
}

.hero {
    max-width: 1500px;
    margin: 0 auto;
    padding: 90px 54px 150px;
}

.hero-content {
    max-width: 980px;
    margin-left: 80px;
}

.hero-content h1 {
    margin-bottom: 0;
}

.hero-script {
    font-family: "Caveat", cursive;
    color: var(--red);
    font-size: 2.8rem;
    font-weight: 700;
    margin: 8px 0 28px;
    line-height: 1;
}

.line1,
.line2 {
    display: block;
    line-height: .82;
    letter-spacing: -3px;
}

.line1 {
    color: var(--green);
    font-size: clamp(58px, 5vw, 90px);
}

.line2 {
    color: #222;
    font-size: clamp(70px, 6vw, 105px);
}

h1 {
    font-size: clamp(64px, 8vw, 110px);
    line-height: .92;
}

.hero p {
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 30px;
}

.intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 32px;
}

.page-hero {
    position: relative;
    background: white;
    border-radius: 18px;
    padding: 54px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    overflow: hidden;
}

.page-hero h1 {
    font-size: 54px;
    color: var(--green);
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    max-width: 780px;
}

.watermark {
    position: absolute;
    right: -40px;
    top: 120px;
    width: 430px;
    opacity: .08;
	pointer-events: none;
}

.page-watermark {
    position: absolute;
    right: 30px;
    top: 20px;
    width: 260px;
    opacity: .06;
}

.gallery-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-highlights {
    max-width: 1400px;
    margin: 70px auto 60px;
    padding: 0 32px;
    text-align: center;
}

.gallery-highlight-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1.1fr 1.15fr;
    grid-template-rows: 150px 150px;
    gap: 8px;
    margin-top: 26px;
}

.gallery-highlight-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}

.gallery-highlight-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.gallery-highlight-item:hover img {
    transform: scale(1.05);
}

.gallery-highlight-item.item-1 {
    grid-row: span 2;
}

.gallery-highlight-item.item-4 {
    grid-column: span 2;
}

.gallery-highlight-item.item-5 {
    grid-column: span 2;
}

.news-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-detail h1 {
    color: var(--green);
    font-size: 54px;
}

.news-hero-image {
    width: 100%;
    border-radius: 18px;
    margin: 24px 0;
}

.team-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.overlap-card {
    margin-top: -140px;
}

.community-section {
    max-width: 1200px;
    margin: 65px auto 0;
    padding: 0 32px;
}

.highlight-section {
    margin-top: 80px;
    background: linear-gradient(135deg, #ffffff, #f3f4ea);
    border-radius: 24px;
    padding: 52px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.highlight-section span,
.section-title span {
    color: var(--red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    display: block;
    margin-bottom: 18px;
}

.highlight-section h2,
.section-title h2 {
    font-size: 42px;
    color: var(--green);
    margin: 8px 0 16px;
	margin-top: 0;
    line-height: 1.15;
}

.gallery-preview {
    margin-top: 80px;
    text-align: center;
}

.mosaic {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
}

.mosaic img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.mosaic img:first-child {
    height: 540px;
    grid-row: span 2;
}

.home-news-section {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 0 32px;
}

.home-news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.event-banner {
    max-width: 1200px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: 0.9fr 1.8fr;
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.event-info {
    background: var(--green);
    color: white;
    padding: 42px;
}

.event-info span {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .08em;
}

.event-info h2 {
    font-size: 2.3rem;
    margin: 16px 0 24px;
}

.event-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.event-info li {
    margin: 12px 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.event-info li i {
    width: 28px;
    margin-right: 10px;
}

.event-image {
    position: relative;
    background:
        linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.05)),
        url("/static/home/img/hero.1031336aec43.png") center/cover no-repeat;
}

.event-detail {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 30px;
}

.event-label {
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.event-detail h1 {
    margin: 10px 0 25px;
    font-size: 3rem;
}

.event-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.event-meta div {
    background: white;
    padding: 20px;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.event-meta i {
    color: var(--green);
    margin-right: 8px;
}

.event-intro {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.event-body {
    line-height: 1.8;
}

.event-hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* =========================================================
   Desktop-Fix: Bereiche breiter und lesbarer machen
   ========================================================= */

@media (min-width: 1025px) {

    /* Hauptbreite der Seite erhöhen */
    .container,
    .page-container,
    .content-wrapper,
    .section-inner {
        max-width: 1320px;
        width: calc(100% - 96px);
        margin-left: auto;
        margin-right: auto;
    }

    /* Statistik-Leiste oben luftiger */
    .stats,
    .stats-bar,
    .hero-stats {
        max-width: 1320px;
        width: calc(100% - 96px);
        margin-left: auto;
        margin-right: auto;
        padding-left: 48px;
        padding-right: 48px;
    }

    /* Wer-wir-sind Bereich breiter aufteilen */
    .intro-section,
    .about-section,
    .welcome-section {
        max-width: 1240px;
        width: calc(100% - 96px);
        margin-left: auto;
        margin-right: auto;
    }

    .intro-grid,
    .about-grid,
    .welcome-grid {
        display: grid;
        grid-template-columns: minmax(520px, 1.05fr) minmax(480px, 0.95fr);
        gap: 64px;
        align-items: center;
    }

    .intro-text,
    .about-text,
    .welcome-text {
        max-width: 620px;
    }

    .intro-text p,
    .about-text p,
    .welcome-text p {
        font-size: 1.15rem;
        line-height: 1.75;
    }

    /* Gemeinschaftsbereich breiter machen */
    .community-section {
        max-width: 1240px;
        width: calc(100% - 96px);
        margin-left: auto;
        margin-right: auto;
    }

    .community-grid,
    .features-grid,
    .card-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(250px, 1fr));
        gap: 28px;
    }

    /* Karten lesbarer machen */
    .community-card,
    .feature-card,
    .info-card {
        min-height: 260px;
        padding: 34px 32px;
    }

    /* Falls Icon und Text nebeneinander stehen: Desktop lesbarer machen */
    .community-card,
    .feature-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
    }

    .community-card i,
    .feature-card i,
    .community-card svg,
    .feature-card svg {
        flex-shrink: 0;
        margin-bottom: 4px;
    }

    .community-card h3,
    .feature-card h3,
    .info-card h3 {
        font-size: 1.25rem;
        line-height: 1.25;
        margin-bottom: 10px;
        max-width: 100%;
    }

    .community-card p,
    .feature-card p,
    .info-card p {
        font-size: 1.02rem;
        line-height: 1.55;
        max-width: 100%;
    }
}

.legal-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.legal-page h1 {
    margin-bottom: 32px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    color: #111827;
}

.legal-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 12px;
    font-size: 1.35rem;
    color: #111827;
}

.legal-content p {
    margin-bottom: 18px;
}

.legal-content a {
    color: #0f766e;
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.footer-legal-links a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.footer-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}