/* Body und Grundlayout */
body {
    background: black;
    background-size: cover;
    color: #f0f8ff;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh; /* garantiert volle Höhe */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative; /* Overlay kann sich darauf beziehen */
}

/* Impressum-Container */
.impressum-container {
    z-index: 1;
    max-width: 900px;
    width: 90%;
    margin: 40px auto 50px auto; /* deutlich weiter oben */
    padding: 0 20px;
    line-height: 1.8;
    color: #f0f8ff;
}

/* Überschriften für Abschnitte */
.impressum-container h2 {
    font-size: 1.8rem;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #A5A5A5;
}

/* Fließtext */
.impressum-container p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Links */
.impressum-container a {
    color: #5A4FCF;
    text-decoration: none;
}

.impressum-container a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .impressum-container {
        margin: 60px auto 30px auto; /* mobil ebenfalls nach oben */
    }

    .impressum-container h2 {
        font-size: 1.5rem;
    }

    .impressum-container p {
        font-size: 1rem;
    }
}

/* DSGVO-spezifisches Styling */
.dsgvo-container {
    z-index: 1;
    max-width: 900px;
    width: 90%;
    margin: 20px auto 50px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #f0f8ff;
    font-family: "Arial", Helvetica, sans-serif; /* gut lesbare Standardschrift */
}

.dsgvo-container h2 {
    font-size: 1.6rem;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #A5A5A5;
}

.dsgvo-container h3 {
    font-weight: 600; /* fett */
    color: #A5A5A5;  /* leichtes Grau */
    margin-top: 20px;
    margin-bottom: 10px;
}


.dsgvo-container p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.dsgvo-container a {
    color: #5A4FCF;
    text-decoration: none;
}

.dsgvo-container a:hover {
    text-decoration: underline;
}

.dsgvo-container ul {
    margin-left: 20px;
    padding-left: 15px;
    list-style-type: disc;
}
.dsgvo-container li {
    margin-bottom: 8px;
}


@media (max-width: 768px) {
    .dsgvo-container {
        margin: 20px auto 30px auto;
    }

    .dsgvo-container h2 {
        font-size: 1.4rem;
    }

    .dsgvo-container p {
        font-size: 1rem;
    }
}

/* Top-Menu Fix */
.topnav, .side-nav {
    z-index: 2;
}

/*Home Seite*/
/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 60px auto 50px auto;
    padding: 0 20px;
    line-height: 1.8;
}

/* Überschriften mit Elektro-Leuchteffekt */
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #f0f8ff;
    text-shadow:
        0 0 2px #6699cc,
        0 0 4px #4477aa,
        0 0 8px #2a5d88,
        0 0 12px #1a4066,
        0 0 20px #102b44,
        0 0 30px #081a2e;
}

/* Unterstreichen-Linie als Akzent */
.hero span.line {
    display: block;
    height: 3px;
    width: 80px;
    margin: 25px auto;
    background: linear-gradient(to right, #f0f8ff, #6699cc, #2a5d88);
    border-radius: 2px;
}

/* Unterüberschrift */
.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #A5A5A5;
}

/* Fließtext */
.hero p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #f0f8ff;
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(240,248,255,0.5);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(240,248,255,0.8);
}

/* Dezentes Kabel-Gitter */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(240,248,255,0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(240,248,255,0.05) 1px, transparent 1px),
        linear-gradient(45deg, rgba(240,248,255,0.03) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(240,248,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 100px 100px, 100px 100px;
    z-index: -1;
}

/* Kleine elektrische Punkte */
.electric-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #f0f8ff;
    border-radius: 50%;
    opacity: 0.3;
    animation: blink 3s infinite alternate;
}
@keyframes blink {
    0%, 50%, 100% { opacity: 0.2; }
    25%, 75% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.4rem; }
    .hero p { font-size: 1rem; }
    .cta-button { padding: 12px 25px; font-size: 1rem; }
}
