/* =========================================================
   Dorfansichten Startseite
   ========================================================= */

.dorf-home {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: var(--station-background);
    color: var(--station-text);
}


/* =========================================================
   Hero
   ========================================================= */

.dorf-home__hero {
    width: 100%;
    padding: 56px var(--page-padding);
    background: var(--station-green);
    text-align: center;
}

.dorf-home__hero-inner {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
}

.dorf-home__title {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 9vw, 4.5rem);
    font-weight: 400;
    line-height: 1.05;
}

.dorf-home__subtitle {
    max-width: 650px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.6;
}


/* =========================================================
   Inhalt
   ========================================================= */

.dorf-home__content {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding: 48px var(--page-padding) 80px;
}


/* =========================================================
   Einleitung
   ========================================================= */

.dorf-home__intro {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.dorf-home__intro h2 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
}

.dorf-home__intro p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.65;
}


/* =========================================================
   Bereichskarten
   ========================================================= */

.dorf-home__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.dorf-home-card {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 240px;
    border: 1px solid var(--station-border);
    background: var(--station-panel);
    color: var(--station-text);
    text-decoration: none;
    transition:
        transform 160ms ease,
        border-color 160ms ease;
}

.dorf-home-card:hover {
    transform: translateY(-3px);
    border-color: var(--station-green);
}

.dorf-home-card__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 28px;
}

.dorf-home-card__title {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.2;
}

.dorf-home-card__text {
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.6;
}

.dorf-home-card__link {
    margin-top: auto;
    color: var(--station-green-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.dorf-home-card:focus {
    outline: none;
}

.dorf-home-card:focus-visible {
    outline: 3px solid var(--vollenborn-accent);
    outline-offset: 4px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 700px) {
    .dorf-home__content {
        padding-top: 64px;
    }

    .dorf-home__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .dorf-home-card {
        min-height: 300px;
    }
}

@media (min-width: 1200px) {
    .dorf-home__hero {
        padding-block: 72px;
    }

    .dorf-home__content {
        padding-bottom: 100px;
    }

    .dorf-home__cards {
        gap: 32px;
    }

    .dorf-home-card__content {
        padding: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dorf-home-card {
        transition: none;
    }
}