/* Grundlayout */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Calibri, sans-serif;
    color: #F6F8FA;
    background: url('/img/Visual_F4.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Overlay für bessere Lesbarkeit */
.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(26, 39, 61, 0.7); /* Deep Midnight Overlay */
    z-index: 0;
}

/* Inhaltsebene */
header,
main,
footer {
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    padding: 24px 20px;
}

.logo {
    width: min(480px, 85vw);
    max-width: 480px;
    height: auto;

    /* Transparentes Logo besser sichtbar machen */
    background-color: rgba(246, 248, 250, 0.8);
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Hauptbereich */
main {
    text-align: center;
    padding: 60px 20px 40px;
    flex: 1;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: #F6F8FA;
}

/* Hervorhebung in der H1 (z. B. <span>Wirkung</span>) */
h1 span {
    color: #E4574E; /* Signal Coral */
    font-weight: 800;
}

h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: #7FB9FF; /* Helleres Blau für bessere Lesbarkeit auf dem Visual */
    margin-bottom: 24px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 32px;
    color: #F6F8FA;
}

.key-facts {
    list-style: none;
    padding: 0;
    margin: 0 auto 36px;
    max-width: 520px;
}

.key-facts li {
    font-size: 1.05rem;
    margin: 10px 0;
}

/* CTA-Button */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #2E6FBE;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    background-color: #E4574E; /* Signal Coral */
    transform: translateY(-1px);
    outline: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 14px 20px;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #F6F8FA;

    /* Footer deutlich vom Background absetzen */
    background-color: rgba(26, 39, 61, 0.6); /* Deep Midnight, stärker transparent */
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer a {
    color: #F6F8FA;
    text-decoration: none;
    margin: 0 6px;
}

footer a:hover,
footer a:focus-visible {
    text-decoration: underline;
}

footer p {
    margin: 0;
    text-align: center;
}

footer .social {
    margin-top: 8px;
    text-align: center;
}

footer .social img {
    width: 24px;
    margin-top: 12px;

    /* SVG als <img> an Textfarbe anpassen */
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

footer .social a:hover img,
footer .social a:focus-visible img {
    opacity: 1;
}

/* Motion-Reduktion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
