/* =========================================================
   BASIS / RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family:
            "Segoe UI",
            Tahoma,
            Geneva,
            Verdana,
            sans-serif;

    color: var(--kgv-dark);
    background-color: var(--kgv-light);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;

    line-height: 1.6;
}

/* =========================================================
   JAHRESZEITEN-HINTERGRUND
========================================================= */

body.season-fruehjahr {
    background-image: url("../img/hintergrund/fruehjahr.jpg");
}

body.season-sommer {
    background-image: url("../img/hintergrund/sommer.jpg");
}

body.season-herbst {
    background-image: url("../img/hintergrund/herbst.jpg");
}

body.season-winter {
    background-image: url("../img/hintergrund/winter.jpg");
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   ALLGEMEINE SEITENBEREICHE
========================================================= */

main,
.page-header,
.home-section,
.documents-section,
.contact-section,
.board-section,
.freie-gaerten-page,
.legal-page {
    background: transparent !important;
}

/* =========================================================
   SEITENKOPF
========================================================= */

.page-header {
    padding: 150px 0 20px;
}

.page-header .container {
    max-width: 1200px;
}

.page-header h1 {
    font-size: 3.4rem;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.page-header p {
    font-size: 1.35rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* =========================================================
   ABSCHNITTSÜBERSCHRIFTEN
========================================================= */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.section-title p {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* =========================================================
   IMPRESSUM / DATENSCHUTZ
========================================================= */

.legal-page {
    padding-top: 150px !important;
    padding-bottom: 120px !important;
}

.legal-page > .row,
.legal-page > .container,
.legal-page .col-lg-10 {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* =========================================================
   VEREIN – GLAS-CONTAINER
========================================================= */

.about-section {
    position: relative;
    min-height: calc(100vh - 90px);
    padding: 130px 0 110px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.about-section .container {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
}

.about-glass {
    width: 100%;
    max-width: 1100px;

    padding: 42px;
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.30);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-glass h1,
.about-glass h2 {
    color: #ffffff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.60);
}

.about-glass h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.about-glass h2 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.about-glass p {
    color: #ffffff;
    font-size: 1.12rem;
    line-height: 1.8;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.58);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 30px;
}

.about-value {
    padding: 24px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.about-value p {
    margin-bottom: 0;
}

/* =========================================================
   ALLGEMEINE TEXTBEREICHE AUF HINTERGRUND
========================================================= */

.content-glass {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    padding: 36px;
    border-radius: 26px;

    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* =========================================================
   HILFSKLASSEN
========================================================= */

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

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

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

@media (max-width: 1000px) {
    .page-header {
        padding: 130px 0 55px;
    }

    .page-header h1 {
        font-size: 2.7rem;
    }

    .page-header p {
        font-size: 1.15rem;
    }

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

    .about-glass {
        padding: 34px 28px;
    }

    .about-glass h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .container {
        padding: 0 16px;
    }

    .page-header {
        padding: 115px 0 45px;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .page-header p {
        font-size: 1.05rem;
    }

    .legal-page {
        padding-top: 120px !important;
        padding-bottom: 90px !important;
    }

    .legal-page > .row,
    .legal-page > .container,
    .legal-page .col-lg-10 {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .about-section {
        min-height: auto;
        padding: 120px 0 80px;
        align-items: flex-start;
    }

    .about-glass {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .about-glass h1 {
        font-size: 2rem;
    }

    .about-glass p {
        font-size: 1rem;
    }

    .content-glass {
        padding: 26px 20px;
        border-radius: 22px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.95rem;
    }

    .about-glass h1 {
        font-size: 1.85rem;
    }

    .about-glass h2 {
        font-size: 1.25rem;
    }
}


.legal-section {
    padding: 50px 0 80px;
}

.legal-content {
    max-width: 1050px;
    margin: 0 auto;
    padding: 42px 48px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #1f2933;
}

.legal-content h2 {
    margin-top: 34px;
    margin-bottom: 14px;
    font-size: 1.45rem;
    color: #245c35;
    font-weight: 800;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.75;
    color: #2f3a45;
}

.legal-content strong {
    color: #1f4f31;
    font-weight: 800;
}

.legal-content a {
    color: #245c35;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(36, 92, 53, 0.35);
}

.legal-content a:hover {
    color: #183d25;
    border-bottom-color: #183d25;
}

.legal-info-box {
    margin: 18px 0 28px;
    padding: 22px 26px;
    background: rgba(36, 92, 53, 0.08);
    border-left: 5px solid #245c35;
    border-radius: 16px;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-section {
    padding: 50px 0 90px;
}

.legal-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 46px 52px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
    color: #263238;
    line-height: 1.75;
}

.legal-content h2 {
    margin-top: 38px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #245c35;
    border-bottom: 1px solid rgba(36, 92, 53, 0.18);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #344054;
}

.legal-content strong {
    color: #1f4f31;
    font-weight: 800;
}

.legal-content ul {
    margin: 14px 0 24px 22px;
    padding: 0;
}

.legal-content li {
    margin-bottom: 8px;
    color: #344054;
    line-height: 1.65;
}

.legal-content a {
    color: #245c35;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(36, 92, 53, 0.35);
}

.legal-content a:hover {
    color: #183d25;
    border-bottom-color: #183d25;
}

.legal-stand {
    margin-top: 42px;
    padding: 16px 20px;
    background: rgba(36, 92, 53, 0.08);
    border-left: 5px solid #245c35;
    border-radius: 14px;
}