:root {
            --tnd-yellow: #ffc400;
            --tnd-dark: #102238;
            --tnd-text: #172536;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            color: var(--tnd-text);
        }

        .login-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 100vh;
        }

        /* Linker Informationsbereich */

        .branding {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
            padding: 55px 9%;
            color: white;
            background-color: var(--tnd-dark);
            background-image:
                linear-gradient(
                    90deg,
                    rgba(12, 29, 47, 0.96) 0%,
                    rgba(12, 29, 47, 0.82) 45%,
                    rgba(12, 29, 47, 0.30) 100%
                ),
                url('/assets/images/login-background.webp');
            background-size: cover;
            background-position: center;
        }

        .branding-content {
            position: relative;
            z-index: 1;
        }

        .yellow-line {
            width: 85px;
            height: 5px;
            background: var(--tnd-yellow);
            border-radius: 10px;
            margin: 20px 0 24px;
        }

        .branding h1 {
            font-size: clamp(44px, 5vw, 72px);
            font-weight: 800;
            line-height: 1.1;
            margin: 0;
        }

        .branding-subtitle {
            font-size: clamp(18px, 2vw, 26px);
            margin-top: 10px;
            color: #e5edf5;
        }

        .features {
            display: flex;
            flex-direction: column;
            gap: 30px;
            margin-top: 65px;
        }

        .feature {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .feature-icon {
            width: 54px;
            height: 54px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--tnd-yellow);
            border-radius: 14px;
            color: var(--tnd-yellow);
            font-size: 27px;
            font-weight: bold;
        }

        .feature strong {
            display: block;
            font-size: 19px;
            margin-bottom: 5px;
        }

        .feature span {
            color: #d4dce6;
            font-size: 15px;
        }

        .branding-footer {
            position: relative;
            z-index: 1;
            margin-top: 50px;
            color: #b9c8d7;
            font-size: 13px;
        }

        /* Rechter Loginbereich */

        .login-area {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 50px 45px;
            background: #ffffff;
        }

        .login-box {
            width: 100%;
            max-width: 490px;
        }

        .login-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            margin-bottom: 55px;
        }

        .login-header img {
            width: 115px;
            height: auto;
        }

        .login-header-divider {
            height: 65px;
            width: 1px;
            background: #c7ccd2;
        }

        .login-header-title {
            font-size: clamp(32px, 4vw, 49px);
            font-weight: 800;
            letter-spacing: -1px;
        }

        .welcome {
            text-align: center;
            margin-bottom: 43px;
        }

        .welcome h2 {
            font-size: 38px;
            font-weight: 800;
            margin-bottom: 12px;
        }

        .welcome p {
            font-size: 16px;
            color: #687381;
            line-height: 1.6;
        }

        /* Eingabefelder */

        .form-field {
            margin-bottom: 20px;
        }

        .form-field label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 600;
        }

        .input-wrap {
            display: flex;
            align-items: center;
            border: 1px solid #cbd1d8;
            border-radius: 10px;
            height: 58px;
            transition: border-color 0.2s;
        }

        .input-wrap:focus-within {
            border-color: #e5ae00;
            box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.15);
        }

        .input-icon {
            width: 52px;
            text-align: center;
            font-size: 22px;
            color: #647080;
        }

        .input-wrap input {
            flex: 1;
            width: 100%;
            min-width: 0;
            border: none;
            outline: none;
            background: transparent;
            padding: 0 12px 0 0;
            font-size: 16px;
            color: var(--tnd-text);
        }

        .password-toggle {
            border: none;
            background: transparent;
            cursor: pointer;
            padding: 12px 17px;
            color: #647080;
            font-size: 14px;
        }

        /* Anmeldebutton */

        .login-button {
            display: block;
            width: 100%;
            height: 60px;
            margin-top: 30px;
            background: var(--tnd-yellow);
            color: #111827;
            border: none;
            border-radius: 10px;
            font-size: 19px;
            font-weight: 700;
            transition: background 0.2s;
        }

        .login-button:not(:disabled):hover {
            background: #eeb500;
            cursor: pointer;
        }

        .login-button:disabled {
            opacity: 0.75;
            cursor: not-allowed;
        }

        .forgot-password {
            text-align: center;
            margin-top: 30px;
            color: #697482;
            font-size: 14px;
        }

        .demo-note {
            text-align: center;
            margin-top: 35px;
            font-size: 12px;
            color: #8993a0;
        }

        [x-cloak] {
            display: none !important;
        }

        .login-error { padding: 13px 15px; margin-bottom: 22px; border: 1px solid #f3b4b4; background: #fff2f2; color: #8a1c1c; border-radius: 10px; font-size: 14px; line-height: 1.5; }

        /* Mobile Ansicht */

        @media (max-width: 900px) {

            .login-layout {
                grid-template-columns: 1fr;
            }

            .branding {
                padding: 28px;
                min-height: 190px;
            }

            .branding h1 {
                font-size: 38px;
            }

            .yellow-line {
                margin: 22px 0 12px;
            }

            .branding-subtitle {
                font-size: 17px;
            }

            .features,
            .branding-footer {
                display: none;
            }

            .login-area {
                padding: 45px 22px;
            }

            .login-header {
                margin-bottom: 35px;
            }

            .login-header img {
                width: 85px;
            }

            .login-header-title {
                font-size: 34px;
            }

            .welcome h2 {
                font-size: 30px;
            }
        }
