/* fsg-neuoetting.eu — gemeinsamer Stil fuer alle drei Seiten.

   Stand 13.08.2026 aus dem <style>-Block der Startseite herausgeloest. Vorher
   stand alles inline; mit drei Dokumenten waere daraus dreimal dieselbe Kopie
   geworden, und Kopien driften. */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-image: url("images/hintergrund.jpg");
    background-attachment: fixed;
    background-position: center top;
    background-repeat: repeat;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #3b89c7;
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #3b89c7;
    outline-offset: 2px;
}

.page-wrapper {
    max-width: 960px;
    margin: 0 auto;
    min-height: 100vh;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    padding: 15px 30px;
    text-align: center;
    background: transparent;
}

header a {
    display: inline-block;
}

header img {
    max-width: 391px;
    width: 100%;
    height: auto;
}

/* Navigation bar */
nav {
    background: #2684b1;
    padding: 6px 0;
    text-align: center;
}

nav a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a:focus-visible {
    background: rgba(255, 255, 255, 0.2);
}

nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.15);
}

nav a:focus-visible {
    outline-offset: -2px;
    outline-color: #fff;
}

/* Banner slideshow */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a252f;
    aspect-ratio: 4 / 1;
}

.banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.banner img.active {
    opacity: 1;
}

/* Main content */
main {
    padding: 40px;
}

.welcome {
    margin-bottom: 35px;
    overflow: hidden;
}

.welcome h1 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.portrait {
    float: left;
    width: 168px;
    height: auto;
    margin: 4px 18px 10px 0;
    border: 3px solid #ddd;
    border-radius: 3px;
}

.welcome p {
    color: #444;
    margin-bottom: 12px;
}

.welcome .signoff {
    font-style: italic;
    color: #555;
    margin-top: 8px;
}

/* Maintenance banner */
.maintenance-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(30, 109, 148, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #e8f4fa;
    text-align: center;
    padding: 8px 20px;
    font-size: 13px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.maintenance-banner a {
    color: #fff;
    text-decoration: underline;
}

.maintenance-banner .sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* Offset for fixed banner */
body {
    padding-top: 36px;
}

/* Impressum & Datenschutz */
.legal-sections {
    margin-top: 40px;
    border-top: 2px solid #dde;
    padding-top: 30px;
}

.legal-content {
    padding: 0 0 30px;
}

/* Auf den eigenen Rechtstext-Seiten sind die Zwischenueberschriften h2
   (darueber steht das h1 mit dem Dokumentnamen). Ohne diese Anpassung
   greift die Browservorgabe und sie werden GROESSER als der Seitentitel. */
.legal-content h2 {
    font-size: 17px;
    color: #2c3e50;
    margin: 22px 0 8px;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 10px;
    color: #555;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content a {
    color: #2568a3;
}

/* Cookie notice */
.cookie-info {
    background: #f0fdf0;
    border: 1px solid #6cbf6c;
    border-left: 5px solid #6cbf6c;
    border-radius: 4px;
    padding: 15px 20px;
    margin: 25px 0;
    font-size: 14px;
    color: #2d5a2d;
}

/* Footer */
footer {
    background: #2684b1;
    color: #e8f4fa;
    text-align: center;
    padding: 20px 40px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 20px;
    }

    header img {
        max-width: 250px;
    }

    main {
        padding: 25px 20px;
    }

    nav {
        text-align: center;
    }

    nav a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
    }

    .welcome h1 {
        font-size: 18px;
    }

    .portrait {
        float: none;
        display: block;
        margin: 0 auto 15px;
        width: 140px;
    }

    .banner {
        aspect-ratio: 3 / 1;
    }
}

/* Titel der Rechtstext-Seiten. Auf der Startseite traegt das h1 den Gruss,
   hier den Namen des Dokuments. */
.seiten-titel {
    font-size: 22px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Fusszeile: Impressum und Datenschutz sind jetzt ZUSAETZLICH hier verlinkt,
   nicht mehr nur im Menue. Das ist die Stelle, an der Besucher sie suchen. */
footer p {
    margin: 0;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: #e8f4fa;
    text-decoration: underline;
    padding: 4px 8px;          /* Tippziel, nicht nur Textbreite */
    display: inline-block;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fff;
}
