.impressum-page,
.datenschutz-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.impressum-hero,
.datenschutz-hero {
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.impressum-hero h1,
.datenschutz-hero h1 {
    margin: 0 0 1rem;
    font-size: 2.4rem;
    color: #16233b;
}

.impressum-hero p,
.datenschutz-hero p {
    margin: 0 auto;
    color: #5b6575;
    font-size: 1.05rem;
    line-height: 1.8;
}

.impressum-hero p {
    max-width: 700px;
}

.datenschutz-hero p {
    max-width: 720px;
}

.impressum-card,
.datenschutz-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.impressum-section + .impressum-section,
.datenschutz-section + .datenschutz-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.impressum-section h2,
.datenschutz-section h2 {
    margin: 0 0 0.9rem;
    font-size: 1.35rem;
    color: #16233b;
}


.foerderhinweis {
    margin: 3rem auto 3rem;
    padding: 0 1rem;
}

.foerderhinweis-container {
    max-width: 1100px;
    margin: 0 auto;
}

.foerderhinweis-content {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 28px;
    border: 1px solid rgba(45, 27, 105, 0.08);
    box-shadow: 0 14px 34px rgba(45, 27, 105, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 248, 0.98));
}

.foerderhinweis-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2f7d32;
}

.foerderhinweis h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
    color: var(--color-text-main);
}

.foerderhinweis-text {
    max-width: 760px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.foerderhinweis-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
}

.foerder-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.foerder-logo {
    max-height: 84px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.foerder-logo-link:hover .foerder-logo {
    transform: translateY(-2px);
    opacity: 0.92;
}

.landessignet {
    max-height: 92px;
}

@media (max-width: 768px) {
    .foerderhinweis {
        margin-bottom: 2rem;
        padding: 0;
    }

    .foerderhinweis-content {
        padding: 2rem 1.25rem;
        border-radius: 22px;
    }

    .foerderhinweis h2 {
        font-size: 1.55rem;
    }

    .foerderhinweis-text {
        font-size: 1rem;
    }

    .foerder-logo {
        max-height: 68px;
    }

    .landessignet {
        max-height: 76px;
    }
}



.impressum-section p,
.datenschutz-section p {
    color: #5b6575;
    line-height: 1.8;
    font-size: 1rem;
}

.impressum-section p {
    margin: 0 0 0.65rem;
}

.datenschutz-section p {
    margin: 0 0 0.8rem;
}

.datenschutz-section a {
    color: #16233b;
    text-decoration: none;
    font-weight: 600;
}

.datenschutz-section a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .impressum-page,
    .datenschutz-page {
        padding: 2rem 1rem 3rem;
    }

    .impressum-hero,
    .datenschutz-hero {
        padding: 2rem 1rem;
        border-radius: 18px;
        margin-bottom: 2rem;
    }

    .impressum-hero h1,
    .datenschutz-hero h1 {
        font-size: 2rem;
    }

    .impressum-hero p,
    .datenschutz-hero p {
        font-size: 1rem;
    }

    .impressum-card,
    .datenschutz-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .impressum-section + .impressum-section,
    .datenschutz-section + .datenschutz-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .impressum-section h2,
    .datenschutz-section h2 {
        font-size: 1.2rem;
    }

}