        :root {
            --header-height: 120px;
            --footer-height: 80px;
            --logo-max-height: 100px;
            --menu-bg: #2c3e50;
            --menu-color: #fff;
            --menu-hover-bg: #34495e;
            --footer-bg: #222;
            --footer-color: #fff;
        }
        body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            min-height: 100vh;
            box-sizing: border-box;
            background: #f4f4f4;
        }
        header {
            height: var(--header-height);
            background: #fff;
            border-bottom: 2px solid #e0e0e0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 10px 30px 0 30px;
        }
        .logo {
            max-height: var(--logo-max-height);
            height: auto;
            width: auto;
        /*    max-width: 250px; */
            max-height: 60px;
        }
        .header-right {
            text-align: right;
        }
        .header-right .resort {
            font-weight: bold;
            font-size: 1.1em;
        }
        .header-right .monat {
            font-size: 0.95em;
            color: #666;
        }
        .header-center {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 20px;
            margin-top: -20px;
            margin-bottom: 5px;
        }
        .header-center .title {
            font-size: 1.5em;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 15px;
        }
        @media (max-width: 700px) {
            .header-center .title {
                display: none;
            }
            .header-right .resort {
                display: none;
            }
            .header-right .monat {
                display: none;
            }
        }
        nav {
            background: var(--menu-bg);
            color: var(--menu-color);
            display: flex;
            align-items: center;
            height: 50px;
            padding: 0 30px;
            position: relative;
        }
        .menu {
            display: flex;
            align-items: center;
            width: 100%;
        }
        .menu > li {
            list-style: none;
            position: relative;
        }
        .menu > li > a, .menu > li > button {
            display: block;
            padding: 0 18px;
            height: 50px;
            line-height: 50px;
            color: var(--menu-color);
            text-decoration: none;
            background: none;
            border: none;
            font-size: 1em;
            cursor: pointer;
            font-family: inherit;
        }
        .menu > li > a:hover, .menu > li > button:hover {
            background: var(--menu-hover-bg);
        }
        .dropdown-content {
            display: none;
            position: absolute;
            background: var(--menu-bg);
            min-width: 180px;
            top: 50px;
            left: 0;
            z-index: 1001;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        .dropdown-content a {
            color: var(--menu-color);
            padding: 12px 18px;
            text-decoration: none;
            display: block;
            background: var(--menu-bg);
            font-size: 1em;
        }
        .dropdown-content a:hover {
            background: var(--menu-hover-bg);
        }
        .menu > li:hover .dropdown-content,
        .menu > li:focus-within .dropdown-content {
            display: block;
        }
        /* Hamburger for mobile */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--menu-color);
            font-size: 2em;
            margin-right: 10px;
            cursor: pointer;
        }
        @media (max-width: 900px) {
            nav {
                padding: 0 10px;
            }
            .header-top, .header-center {
                padding-left: 10px;
                padding-right: 10px;
            }
        }
        @media (max-width: 700px) {
            nav {
                height: auto;
            }
            .menu-toggle {
                display: block;
            }
            .menu {
                display: none;
                flex-direction: column;
                width: 100%;
                background: var(--menu-bg);
                position: absolute;
                left: 0;
                top: 50px;
                z-index: 1002;
            }
            .menu.open {
                display: flex;
            }
            .menu > li {
                width: 100%;
            }
            .menu > li > a, .menu > li > button {
                width: 100%;
                text-align: left;
                padding: 0 18px;
            }
            .dropdown-content {
                position: static;
                box-shadow: none;
                min-width: 100%;
            }
        }
        main {
            padding-top: var(--header-height);
            padding-bottom: var(--footer-height);
            min-height: calc(100vh - var(--header-height) - var(--footer-height));
        }
        footer {
            height: var(--footer-height);
            background: var(--footer-bg);
            color: var(--footer-color);
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100vw;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            padding: 18px 30px 10px 30px;
            box-sizing: border-box;
            font-size: 14px;
        }
        .footer-left, .footer-center, .footer-right {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }
        .footer-left {
            align-items: flex-start;
        }
        .footer-center {
            align-items: center;
            justify-content: center;
            flex: 1;
        }
        .footer-right {
            align-items: flex-end;
            }
            .logout-link {
                color: #ffb300;
                text-decoration: underline;
                font-size: 0.95em;
                margin-top: 4px;
            }
            .logout-link:visited {
                color: #ffb300;
                text-decoration: underline;
                font-size: 0.95em;
                margin-top: 4px;
            }
        @media (max-width: 700px) {
            footer {
                flex-direction: column;
                align-items: stretch;
                height: auto;
                padding: 12px 10px 8px 10px;
                font-size: 0.95em;
            }
            .footer-center {
                margin: 10px 0;
            }
            .footer-right {
                align-items: flex-start;
            }
            .footer-center {
                display: none;
            }
            .footer-right {
                display: none;
            }
        }
        /* Darkmode: Linkfarben im main-Bereich */
        body.darkmode main a:link {
            color: #cccccc !important; /* hellgrau */
        }
        body.darkmode main a:visited {
            color: #888888 !important; /* grau */
        }
        /* Darkmode: Tabellenrahmen grau */
        body.darkmode table,
        body.darkmode th,
        body.darkmode td {
            border-color: #888 !important;
        }
        /* Darkmode Styles */
        body.darkmode {
            background: #181818 !important;
            color: #fff !important;
        }
        body.darkmode header {
            background: #222 !important;
            color: #fff !important;
        }
        body.darkmode .header-center .title,
        body.darkmode .header-right .resort,
        body.darkmode .header-right .monat {
            color: #fff !important;
        }
        body.darkmode .header-top,
        body.darkmode .header-center {
            background: transparent !important;
        }
        body.darkmode nav {
            background: transparent !important;
        }
        body.darkmode input,
        body.darkmode select,
        body.darkmode textarea {
            background: #222 !important;
            color: #fff !important;
            border-color: #444 !important;
        }
        body.darkmode .logo {
            filter: invert(1) hue-rotate(180deg) brightness(1.2);
        }
        /* Menüband-Buttons im Header: Hover transparent lassen */
        body.darkmode nav .menu > li > button,
        body.darkmode nav .menu > li > button:hover,
        body.darkmode nav .menu > li > button:focus {
            background: transparent !important;
            color: inherit !important;
            box-shadow: none !important;
        }
        /* Menüband-Links im Header: Hover transparent im Darkmode */
        body.darkmode nav .menu > li > a:hover,
        body.darkmode nav .menu > li > a:focus {
            background: transparent !important;
            color: inherit !important;
        }
        /* Darkmode: Dropdown-Menü-Links im Header weiß */
        body.darkmode nav .dropdown-content a {
            color: #fff !important;
            background: #333 !important;
       }