/* ===== Grundeinstellungen ===== */
:root {
    --primary: #2f6b4f;
    --primary-dark: #1e4934;
    --light: #f6f8f6;
    --dark: #1d2520;
    --text: #4d5851;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--light);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Container ===== */
.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

/* ===== Navigation ===== */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 600;
    transition: 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 13px 25px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.2s;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* ===== Hero ===== */
.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(
            90deg,
            rgba(15, 30, 22, 0.2),
            rgba(15, 30, 22, 0.1)
        ),
        url("images/Bild_neue_Seelsorgeraeumexxx.jpg") center / cover no-repeat;
}

.hero-content {
    max-width: 650px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #EE742E;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 25px;
}

.hero p {
    max-width: 580px;
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ===== Allgemeine Bereiche ===== */
section {
    padding: 90px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--text);
}

/* ===== Karten ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-7px);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    color: var(--text);
    margin-bottom: 20px;
}

.text-link {
    color: var(--primary);
    font-weight: bold;
}

/* ===== Split Bereich ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.features {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #e4f0e8;
    border-radius: 50%;
}

/* ===== CTA ===== */
.cta {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
}

.cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #d8e8dc;
}

/* ===== Unterseiten Header ===== */
.page-hero {
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    background:
        linear-gradient(rgba(30, 73, 52, 0.85), rgba(30, 73, 52, 0.85)),
        url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1600&q=80")
        center/cover;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
}

/* ===== Leistungen ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow);
}

/* ===== Footer ===== */
footer {
    background: #162c20;
    color: #d7e2da;
    padding: 35px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 850px) {
    nav ul {
        gap: 15px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .split-image {
        order: -1;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 560px;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
        gap: 12px;
    }

    nav ul {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 600px;
    }

    section {
        padding: 65px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}