<style>
        /* 1. Gesamte Bildschirmhöhe nutzen */
        html, body {
            margin: 0;
            padding: 0;
            height: 100%;
            overflow: hidden;
            font-family: Century-Gothic, sans-serif;
        }

        /* 2. Haupt-Container */
        .wrapper {
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

        /* 3. Dreispaltiger Header */
        .header {
            flex: none;
            height: 250px;
            background-color: #bca;
            color: white;
            display: grid;
            grid-template-columns: 200px 1fr 200px;
            align-items: center;
        }
        .header-logo {
            padding-left: 50px;
        }
        .header-center {
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
        }
        .header-title {
            margin: 0;
            font-family: Century-Gothic, sans-serif;
            font-size: 3rem;
        }
        .header-nav button {
            background: #786;
            color: white;
            border: none;
            padding: 8px 12px;
            margin: 20px 2px;
            cursor: pointer;
            border-radius: 3px;
        }

        .header-nav button:hover {
            background: #453;
        }
        .header-empty {
            /* Bleibt leer */
        }

        /* 4. Mittlere Sektion (Flex-Container für die Iframes) */
        .middle-section {
            flex: auto;
            display: flex;
            overflow: hidden;
            background: linear-gradient(#bca, #ab9);
        }

        td{
            padding: 5px;
        }

        /* 5. Styling für alle Iframes (entfernt Rahmen und füllt den Platz) */
        iframe {
            border: none;
            width: 100%;
            height: 100%;
            box-sizing: border-box;
        }
        /* Strukturierung der drei Iframe-Zonen */
        .sidebar-container {
            flex: none;
            width: 250px;
            max-width: 20%;
            background: linear-gradient(#bca, #ab9);
        }
        .content-container {
            font-family: Century-Gothic, sans-serif;
            flex: auto;
            /* Scrollbalken werden direkt vom Iframe selbst verwaltet, falls nötig */
            background: linear-gradient(#bca, #ab9);
        }
        .story {
            background-color: #eeffcc;
            margin-bottom: 20px;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .story h2 {
            margin-top: 0;
        }
        .story img {
            max-width: 100%;
            height: auto;
            margin-top: 10px;
        }
        .story a {
<!--            display: block; -->
            margin-top: 10px;
            color: #007BFF;
        }
        /* 6. Festes Impressum */
        .footer {
            flex: none;
            height: 40px;
            background-color: #ab9;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: Century-Gothic, sans-serif;
            font-size: 0.8rem;
        }

        /* ========================================================
           7. OPTIMIERUNG FÜR MOBILGERÄTE (Bildschirme < 768px)
           ======================================================== */
        @media (max-width: 767px) {
            html, body {
                overflow: auto;
            }

            .wrapper {
                height: auto;
                min-height: 100vh;
            }

            .header {
                display: flex;
                flex-direction: column;
                height: auto;
                padding: 10px;
                text-align: center;
            }

            .header-empty {
                display: none;
            }

            .middle-section {
<!--                display: block; -->
                display: flex;
                overflow: visible;
                height: calc(100vh - 40px); /* Restrisiko-Höhe für mobilen Viewport */
            }

            .sidebar-container {
                display: none; /* Versteckt Sidebars mobil */
            }
        }
</style>

