/* ==========================================================================
   nrw-digitalisiert — Glassmorphism Design System (v4)
   Mattierte Glasflächen in feinen Tiefenstufen über einem leuchtenden
   Nachthimmel mit Stadtsilhouette. Licht folgt dem Mauszeiger.
   Hinweis: Eigene Klassen setzen nie "display" auf Elemente, die per
   Tailwind-Klasse "hidden" ein-/ausgeblendet werden.
   ========================================================================== */

@property --spot {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

:root {
    --bg-0: #040a1a;
    --bg-1: #08143a;
    --blue: #3b82f6;
    --blue-glow: #7cb5ff;
    --ice: #cfe2ff;

    --action-1: #ffd08a;
    --action-2: #ff8a5b;

    --ok: #34d399;
    --warn: #fbbf24;
    --err: #fb7185;

    --text: #eef3ff;
    --muted: #b4c3e2;
    --faint: #8597bd;

    --glass-border: rgba(255, 255, 255, .18);
    --field-bg: rgba(4, 10, 28, .5);

    --radius: 1.5rem;
    --radius-sm: .95rem;
    --ease: cubic-bezier(.22, .8, .3, 1);

    --font: "Inter", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

    /* Feine Körnung für echtes Milchglas */
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .14 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --skyline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 240' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0 145h54v95h-54zM54 160h38v80h-38zM92 15h74v225h-74zM170 160h62v80h-62zM236 160h38v80h-38zM274 15h74v225h-74zM348 145h38v95h-38zM386 160h74v80h-74zM460 130h38v110h-38zM498 180h74v60h-74zM576 65h90v175h-90zM670 35h74v205h-74zM744 145h110v95h-110zM854 110h38v130h-38zM894 35h90v205h-90zM984 65h38v175h-38zM1024 35h46v205h-46zM1070 90h110v150h-110zM1182 35h74v205h-74zM1260 160h38v80h-38zM1302 15h90v225h-90zM1394 35h90v205h-90zM1488 15h90v225h-90zM1582 145h54v95h-54z' fill='%23030817'/%3E%3Cpath d='M0 145h54v1.5h-54zM54 160h38v1.5h-38zM92 15h74v1.5h-74zM170 160h62v1.5h-62zM236 160h38v1.5h-38zM274 15h74v1.5h-74zM348 145h38v1.5h-38zM386 160h74v1.5h-74zM460 130h38v1.5h-38zM498 180h74v1.5h-74zM576 65h90v1.5h-90zM670 35h74v1.5h-74zM744 145h110v1.5h-110zM854 110h38v1.5h-38zM894 35h90v1.5h-90zM984 65h38v1.5h-38zM1024 35h46v1.5h-46zM1070 90h110v1.5h-110zM1182 35h74v1.5h-74zM1260 160h38v1.5h-38zM1302 15h90v1.5h-90zM1394 35h90v1.5h-90zM1488 15h90v1.5h-90zM1582 145h54v1.5h-54z' fill='%237aa7ff' fill-opacity='.25'/%3E%3Cpath d='M6 155h3v4h-3zM15 166h3v4h-3zM42 199h3v4h-3zM33 221h3v4h-3zM78 181h3v4h-3zM69 192h3v4h-3zM78 192h3v4h-3zM60 214h3v4h-3zM69 214h3v4h-3zM60 225h3v4h-3zM78 225h3v4h-3zM134 36h3v4h-3zM143 36h3v4h-3zM125 47h3v4h-3zM107 58h3v4h-3zM116 91h3v4h-3zM125 91h3v4h-3zM116 124h3v4h-3zM107 168h3v4h-3zM152 201h3v4h-3zM116 212h3v4h-3zM143 223h3v4h-3zM194 214h3v4h-3zM212 214h3v4h-3zM242 225h3v4h-3zM280 25h3v4h-3zM316 25h3v4h-3zM289 36h3v4h-3zM307 36h3v4h-3zM289 58h3v4h-3zM298 58h3v4h-3zM325 58h3v4h-3zM298 69h3v4h-3zM316 69h3v4h-3zM280 91h3v4h-3zM298 91h3v4h-3zM316 102h3v4h-3zM334 102h3v4h-3zM325 113h3v4h-3zM334 135h3v4h-3zM289 146h3v4h-3zM325 146h3v4h-3zM298 179h3v4h-3zM289 190h3v4h-3zM307 190h3v4h-3zM325 190h3v4h-3zM334 190h3v4h-3zM280 223h3v4h-3zM363 188h3v4h-3zM363 199h3v4h-3zM372 221h3v4h-3zM437 170h3v4h-3zM401 181h3v4h-3zM392 203h3v4h-3zM446 203h3v4h-3zM392 214h3v4h-3zM466 140h3v4h-3zM466 217h3v4h-3zM475 217h3v4h-3zM531 190h3v4h-3zM540 212h3v4h-3zM549 212h3v4h-3zM654 75h3v4h-3zM627 86h3v4h-3zM600 119h3v4h-3zM618 119h3v4h-3zM636 130h3v4h-3zM609 152h3v4h-3zM618 152h3v4h-3zM582 163h3v4h-3zM645 163h3v4h-3zM654 174h3v4h-3zM591 196h3v4h-3zM645 196h3v4h-3zM591 218h3v4h-3zM582 229h3v4h-3zM721 67h3v4h-3zM730 67h3v4h-3zM703 89h3v4h-3zM694 100h3v4h-3zM730 111h3v4h-3zM730 122h3v4h-3zM703 133h3v4h-3zM712 133h3v4h-3zM721 133h3v4h-3zM712 155h3v4h-3zM694 166h3v4h-3zM685 199h3v4h-3zM721 199h3v4h-3zM730 199h3v4h-3zM730 210h3v4h-3zM676 221h3v4h-3zM768 177h3v4h-3zM813 177h3v4h-3zM831 188h3v4h-3zM831 199h3v4h-3zM804 210h3v4h-3zM813 210h3v4h-3zM750 221h3v4h-3zM860 142h3v4h-3zM878 164h3v4h-3zM860 186h3v4h-3zM878 208h3v4h-3zM918 45h3v4h-3zM945 67h3v4h-3zM972 67h3v4h-3zM927 89h3v4h-3zM927 100h3v4h-3zM954 100h3v4h-3zM900 111h3v4h-3zM918 111h3v4h-3zM954 111h3v4h-3zM945 133h3v4h-3zM909 155h3v4h-3zM972 166h3v4h-3zM927 188h3v4h-3zM918 199h3v4h-3zM927 199h3v4h-3zM927 210h3v4h-3zM936 210h3v4h-3zM954 210h3v4h-3zM990 75h3v4h-3zM990 97h3v4h-3zM999 130h3v4h-3zM1008 141h3v4h-3zM999 152h3v4h-3zM999 196h3v4h-3zM1008 207h3v4h-3zM1030 45h3v4h-3zM1048 45h3v4h-3zM1048 89h3v4h-3zM1057 155h3v4h-3zM1048 166h3v4h-3zM1057 166h3v4h-3zM1057 177h3v4h-3zM1030 188h3v4h-3zM1039 199h3v4h-3zM1057 210h3v4h-3zM1057 221h3v4h-3zM1094 100h3v4h-3zM1157 100h3v4h-3zM1166 100h3v4h-3zM1112 111h3v4h-3zM1103 122h3v4h-3zM1085 133h3v4h-3zM1112 133h3v4h-3zM1148 133h3v4h-3zM1076 155h3v4h-3zM1094 155h3v4h-3zM1076 166h3v4h-3zM1094 166h3v4h-3zM1166 199h3v4h-3zM1085 210h3v4h-3zM1157 210h3v4h-3zM1085 221h3v4h-3zM1215 67h3v4h-3zM1188 100h3v4h-3zM1242 100h3v4h-3zM1206 133h3v4h-3zM1233 133h3v4h-3zM1197 199h3v4h-3zM1242 210h3v4h-3zM1242 221h3v4h-3zM1266 170h3v4h-3zM1275 181h3v4h-3zM1344 36h3v4h-3zM1326 47h3v4h-3zM1326 58h3v4h-3zM1353 58h3v4h-3zM1353 69h3v4h-3zM1371 102h3v4h-3zM1326 113h3v4h-3zM1344 113h3v4h-3zM1335 135h3v4h-3zM1353 135h3v4h-3zM1326 157h3v4h-3zM1344 157h3v4h-3zM1317 168h3v4h-3zM1380 168h3v4h-3zM1335 179h3v4h-3zM1344 179h3v4h-3zM1380 179h3v4h-3zM1326 190h3v4h-3zM1371 190h3v4h-3zM1335 201h3v4h-3zM1326 212h3v4h-3zM1335 212h3v4h-3zM1362 212h3v4h-3zM1335 223h3v4h-3zM1418 56h3v4h-3zM1418 78h3v4h-3zM1472 78h3v4h-3zM1409 100h3v4h-3zM1463 111h3v4h-3zM1472 133h3v4h-3zM1418 144h3v4h-3zM1400 155h3v4h-3zM1409 155h3v4h-3zM1445 166h3v4h-3zM1472 166h3v4h-3zM1400 177h3v4h-3zM1454 177h3v4h-3zM1436 199h3v4h-3zM1409 210h3v4h-3zM1454 210h3v4h-3zM1445 221h3v4h-3zM1539 25h3v4h-3zM1566 25h3v4h-3zM1557 36h3v4h-3zM1494 58h3v4h-3zM1566 69h3v4h-3zM1512 91h3v4h-3zM1539 91h3v4h-3zM1494 102h3v4h-3zM1530 102h3v4h-3zM1566 113h3v4h-3zM1494 124h3v4h-3zM1503 135h3v4h-3zM1539 135h3v4h-3zM1512 146h3v4h-3zM1530 157h3v4h-3zM1557 168h3v4h-3zM1539 179h3v4h-3zM1494 190h3v4h-3zM1521 190h3v4h-3zM1530 190h3v4h-3zM1557 190h3v4h-3zM1521 201h3v4h-3zM1548 201h3v4h-3zM1597 177h3v4h-3zM1588 199h3v4h-3zM1615 199h3v4h-3zM1606 221h3v4h-3z' fill='%23ffd28a' fill-opacity='.85'/%3E%3Cpath d='M24 155h3v4h-3zM24 188h3v4h-3zM69 203h3v4h-3zM78 214h3v4h-3zM116 25h3v4h-3zM152 25h3v4h-3zM116 47h3v4h-3zM152 47h3v4h-3zM107 69h3v4h-3zM134 146h3v4h-3zM143 146h3v4h-3zM107 157h3v4h-3zM98 168h3v4h-3zM116 190h3v4h-3zM221 203h3v4h-3zM176 214h3v4h-3zM194 225h3v4h-3zM221 225h3v4h-3zM260 192h3v4h-3zM334 36h3v4h-3zM316 47h3v4h-3zM316 80h3v4h-3zM289 91h3v4h-3zM280 146h3v4h-3zM316 146h3v4h-3zM334 157h3v4h-3zM316 212h3v4h-3zM334 223h3v4h-3zM372 188h3v4h-3zM401 203h3v4h-3zM410 225h3v4h-3zM475 173h3v4h-3zM475 184h3v4h-3zM484 228h3v4h-3zM558 190h3v4h-3zM645 86h3v4h-3zM582 108h3v4h-3zM591 108h3v4h-3zM582 119h3v4h-3zM582 141h3v4h-3zM654 163h3v4h-3zM627 185h3v4h-3zM582 196h3v4h-3zM676 67h3v4h-3zM712 67h3v4h-3zM685 100h3v4h-3zM730 100h3v4h-3zM786 155h3v4h-3zM768 166h3v4h-3zM831 177h3v4h-3zM777 199h3v4h-3zM759 221h3v4h-3zM869 164h3v4h-3zM869 197h3v4h-3zM869 230h3v4h-3zM972 45h3v4h-3zM909 67h3v4h-3zM909 78h3v4h-3zM936 100h3v4h-3zM909 122h3v4h-3zM918 133h3v4h-3zM972 133h3v4h-3zM927 144h3v4h-3zM927 155h3v4h-3zM963 155h3v4h-3zM900 166h3v4h-3zM936 199h3v4h-3zM900 210h3v4h-3zM945 221h3v4h-3zM972 221h3v4h-3zM999 163h3v4h-3zM1039 166h3v4h-3zM1048 177h3v4h-3zM1085 100h3v4h-3zM1130 177h3v4h-3zM1166 177h3v4h-3zM1103 188h3v4h-3zM1076 199h3v4h-3zM1085 199h3v4h-3zM1121 199h3v4h-3zM1148 221h3v4h-3zM1206 100h3v4h-3zM1242 122h3v4h-3zM1233 155h3v4h-3zM1242 177h3v4h-3zM1215 221h3v4h-3zM1284 181h3v4h-3zM1266 203h3v4h-3zM1266 214h3v4h-3zM1326 36h3v4h-3zM1362 36h3v4h-3zM1353 157h3v4h-3zM1326 179h3v4h-3zM1362 179h3v4h-3zM1317 190h3v4h-3zM1308 223h3v4h-3zM1380 223h3v4h-3zM1463 133h3v4h-3zM1445 144h3v4h-3zM1400 188h3v4h-3zM1400 199h3v4h-3zM1463 210h3v4h-3zM1472 221h3v4h-3zM1503 25h3v4h-3zM1521 25h3v4h-3zM1539 36h3v4h-3zM1557 47h3v4h-3zM1521 58h3v4h-3zM1557 58h3v4h-3zM1512 69h3v4h-3zM1548 69h3v4h-3zM1521 102h3v4h-3zM1521 113h3v4h-3zM1503 157h3v4h-3zM1566 157h3v4h-3zM1557 201h3v4h-3zM1512 212h3v4h-3zM1530 212h3v4h-3zM1557 212h3v4h-3zM1503 223h3v4h-3zM1624 199h3v4h-3z' fill='%23a9cbff' fill-opacity='.7'/%3E%3C/svg%3E");
}

html { color-scheme: dark; scroll-padding-top: 8rem; }
html, body { overflow-x: hidden; overflow-x: clip; }

body {
    font-family: var(--font);
    background: var(--bg-0);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(124, 181, 255, .4); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: rgba(147, 197, 253, .3) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(147, 197, 253, .25); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }

/* ==========================================================================
   Hintergrund: leuchtender Nachthimmel, Aurora-Licht, Stadtsilhouette
   ========================================================================== */
.scene {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(55% 45% at 12% 8%, rgba(37, 99, 235, .55), transparent 70%),
        radial-gradient(45% 40% at 92% 22%, rgba(14, 165, 233, .38), transparent 70%),
        radial-gradient(50% 45% at 72% 92%, rgba(124, 58, 237, .42), transparent 70%),
        radial-gradient(35% 30% at 4% 78%, rgba(56, 189, 248, .22), transparent 70%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}
.scene .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: screen;
    will-change: transform;
    animation: drift 28s ease-in-out infinite alternate;
}
.orb-1 { width: 44vw; height: 44vw; left: -10vw; top: -12vw; background: #2f6bff; opacity: .65; }
.orb-2 { width: 34vw; height: 34vw; right: -8vw; top: 16vh; background: #22d3ee; opacity: .38; animation-duration: 36s; animation-delay: -8s; }
.orb-3 { width: 38vw; height: 38vw; left: 30vw; bottom: -18vw; background: #8b5cf6; opacity: .5; animation-duration: 42s; animation-delay: -16s; }
.orb-4 { width: 22vw; height: 22vw; right: 12vw; bottom: 6vh; background: #fb923c; opacity: .16; animation-duration: 34s; animation-delay: -4s; }

/* Körnung über dem Himmel */
.scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--noise);
    opacity: .55;
    mix-blend-mode: overlay;
}
/* Nächtliche Stadtsilhouette mit leuchtenden Fenstern */
.scene::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: min(26vh, 240px);
    background-image: var(--skyline);
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: auto 100%;
    opacity: .62;
    -webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
    mask-image: linear-gradient(to top, #000 55%, transparent);
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(6vw, 5vh, 0) scale(1.15); }
}

/* Lichtflecken, die mit dem Inhalt mitscrollen (werden hinter dem Glas gebrochen) */
.blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(64px);
    opacity: .6;
    pointer-events: none;
}
.blob-blue   { background: #3b82f6; }
.blob-cyan   { background: #22d3ee; opacity: .45; }
.blob-violet { background: #8b5cf6; opacity: .55; }
.blob-amber  { background: #fb923c; opacity: .4; }

/* ==========================================================================
   Glasflächen
   ========================================================================== */
.glass {
    --mx: 30%;
    --my: 0%;
    position: relative;
    isolation: isolate;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    background:
        var(--noise),
        linear-gradient(135deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .07) 42%, rgba(255, 255, 255, .04) 100%),
        linear-gradient(rgba(8, 18, 46, .28), rgba(8, 18, 46, .28));
    -webkit-backdrop-filter: blur(28px) saturate(190%) brightness(1.05);
    backdrop-filter: blur(28px) saturate(190%) brightness(1.05);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .42),
        inset 0 -1px 0 rgba(255, 255, 255, .06),
        inset 0 -40px 60px -50px rgba(124, 181, 255, .35),
        0 30px 70px -30px rgba(1, 4, 18, .8),
        0 6px 18px -8px rgba(1, 4, 18, .5);
    transition: --spot .45s var(--ease);
}
.glass:hover { --spot: 1; }

/* Helle, geschliffene Kante – leuchtet dort auf, wo der Mauszeiger ist */
.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 1px;
    background:
        radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 255, 255, calc(.9 * var(--spot))), transparent 65%),
        linear-gradient(150deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .1) 28%, rgba(255, 255, 255, 0) 55%, rgba(147, 197, 253, .4) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
}
/* Glanz oben links und weiches Licht unter dem Mauszeiger */
.glass::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(420px circle at var(--mx) var(--my), rgba(190, 220, 255, calc(.13 * var(--spot))), transparent 55%),
        linear-gradient(118deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 26%, transparent 42%);
    pointer-events: none;
}

/* Ohne Weichzeichner für lange Listen im Admin (Performance) */
.glass-soft {
    position: relative;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .14);
    background:
        var(--noise),
        linear-gradient(135deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03)),
        linear-gradient(rgba(6, 14, 38, .35), rgba(6, 14, 38, .35));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 34px -22px rgba(1, 4, 18, .9);
}

/* Fallback ohne Backdrop-Filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: rgba(14, 26, 62, .94); }
}

.lift { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), --spot .45s var(--ease); }
.lift:hover,
.lift:focus-visible {
    transform: translateY(-8px);
    border-color: rgba(170, 205, 255, .5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .5),
        inset 0 -40px 60px -45px rgba(124, 181, 255, .5),
        0 40px 80px -30px rgba(37, 99, 235, .6),
        0 6px 18px -8px rgba(1, 4, 18, .5);
}

/* Aktionston für den Hauptschritt: Terminbuchung */
.glass-action {
    border-color: rgba(255, 205, 140, .4);
    background:
        var(--noise),
        radial-gradient(90% 70% at 0% 0%, rgba(255, 170, 90, .22), transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)),
        linear-gradient(rgba(8, 18, 46, .3), rgba(8, 18, 46, .3));
    box-shadow:
        inset 0 1px 0 rgba(255, 235, 200, .5),
        inset 0 -40px 60px -50px rgba(255, 170, 90, .45),
        0 40px 90px -40px rgba(255, 138, 91, .65),
        0 6px 18px -8px rgba(1, 4, 18, .5);
}
.glass-action::before {
    background:
        radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 236, 200, calc(.95 * var(--spot))), transparent 65%),
        linear-gradient(150deg, rgba(255, 225, 170, .8), rgba(255, 255, 255, .1) 30%, rgba(255, 255, 255, 0) 58%, rgba(255, 138, 91, .5));
}
.glass-action::after {
    background:
        radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 210, 150, calc(.14 * var(--spot))), transparent 55%),
        linear-gradient(118deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 26%, transparent 42%);
}
.glass-action.lift:hover,
.glass-action.lift:focus-visible {
    border-color: rgba(255, 205, 140, .65);
    box-shadow:
        inset 0 1px 0 rgba(255, 240, 210, .6),
        inset 0 -40px 60px -45px rgba(255, 170, 90, .6),
        0 44px 90px -34px rgba(255, 138, 91, .8),
        0 6px 18px -8px rgba(1, 4, 18, .5);
}

.is-pinned { border-color: rgba(251, 191, 36, .5); box-shadow: inset 0 1px 0 rgba(255, 240, 200, .3), 0 24px 60px -30px rgba(251, 191, 36, .4); }
.is-dimmed { opacity: .55; }

/* ==========================================================================
   Hero-Glasszene: Browserfenster, Smartphone, Glaskugeln
   ========================================================================== */
.hero-art { position: relative; height: 31rem; }

.glass-obj {
    position: absolute;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .26);
    background:
        var(--noise),
        linear-gradient(140deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .03));
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .55),
        inset 1px 0 0 rgba(255, 255, 255, .12),
        inset 0 -30px 50px -40px rgba(124, 181, 255, .6),
        0 40px 80px -30px rgba(1, 4, 18, .85);
    transform: rotate(var(--r, 0deg));
    animation: float 12s ease-in-out infinite alternate;
    overflow: hidden;
}
/* Spiegelung über das ganze Objekt */
.glass-obj::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .05) 30%, transparent 46%, transparent 70%, rgba(255, 255, 255, .08) 100%);
    pointer-events: none;
}
.obj-browser { width: 23rem; height: 16rem; left: 0; top: 3rem; }
.obj-phone   { width: 9.5rem; height: 18.5rem; right: 1.5rem; top: 9rem; border-radius: 2rem; animation-delay: -4s; }
.obj-bar { display: flex; gap: .35rem; padding: .8rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.obj-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: rgba(255, 255, 255, .45); display: block; }
.obj-body { padding: 1rem; display: grid; gap: .55rem; }
.obj-notch { display: block; width: 3.2rem; height: .45rem; border-radius: 1rem; background: rgba(255, 255, 255, .3); margin: .8rem auto .9rem; }
.sk { display: block; height: .55rem; border-radius: 1rem; background: rgba(255, 255, 255, .28); }
.sk-img {
    height: 5.2rem;
    border-radius: .8rem;
    background:
        radial-gradient(60% 80% at 20% 30%, rgba(255, 255, 255, .45), transparent 60%),
        linear-gradient(135deg, rgba(96, 165, 250, .85), rgba(139, 92, 246, .75));
}
.sk-btn { height: 1.4rem; width: 6rem; border-radius: .6rem; background: linear-gradient(135deg, var(--action-1), var(--action-2)); opacity: .9; }

.glass-sphere {
    position: absolute;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .2) 18%, transparent 38%),
        radial-gradient(circle at 70% 75%, rgba(124, 181, 255, .55), transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .06), rgba(255, 255, 255, .16) 70%, rgba(255, 255, 255, .35) 100%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow:
        inset -10px -16px 30px rgba(59, 130, 246, .35),
        inset 8px 10px 20px rgba(255, 255, 255, .25),
        0 30px 60px -20px rgba(37, 99, 235, .7);
    animation: float 10s ease-in-out infinite alternate;
    animation-delay: -2s;
}

.glass-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1.1rem .7rem .75rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 650;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    background: var(--noise), linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 24px 50px -20px rgba(1, 4, 18, .9);
    animation: float 9s ease-in-out infinite alternate;
    animation-delay: -6s;
    white-space: nowrap;
}
.glass-chip b { width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #6ee7b7, #10b981); color: #052e1f; font-size: .8rem; }

@keyframes float {
    from { transform: translateY(0) rotate(var(--r, 0deg)); }
    to   { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 1.5deg)); }
}

/* ==========================================================================
   Typografie
   ========================================================================== */
.display {
    font-size: clamp(2.4rem, 5.6vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.038em;
    font-weight: 780;
    color: #fff;
    text-shadow: 0 2px 30px rgba(96, 165, 250, .25);
}
.title {
    font-size: clamp(1.85rem, 3.6vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -.025em;
    font-weight: 720;
    color: #fff;
}
.page-title {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.032em;
    font-weight: 760;
    color: #fff;
    text-shadow: 0 2px 30px rgba(96, 165, 250, .25);
}
.h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 660; color: #fff; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.75; color: var(--muted); }
.eyebrow { font-size: .72rem; font-weight: 680; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-glow); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .875rem; line-height: 1.7; }

.accent-text {
    background: linear-gradient(120deg, #e0edff 0%, #7cb5ff 40%, #3b82f6 70%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 24px rgba(96, 165, 250, .45));
}

.code {
    font-family: var(--mono);
    font-size: .8em;
    background: rgba(4, 10, 28, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #86efac;
    padding: .1rem .45rem;
    border-radius: .45rem;
}

/* ==========================================================================
   Buttons – glänzendes Glas mit Lichtstreif beim Überfahren
   ========================================================================== */
.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font: inherit;
    font-weight: 660;
    font-size: .95rem;
    line-height: 1.2;
    padding: .95rem 1.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
    transform: translateX(-130%);
    transition: transform .9s var(--ease);
    pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-sm { font-size: .82rem; padding: .6rem 1.1rem; border-radius: .8rem; }
.btn-xs { font-size: .75rem; padding: .45rem .8rem; border-radius: .7rem; }
.btn-block { width: 100%; }

.btn-primary {
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, 0) 51%),
        linear-gradient(135deg, #6aa8ff, #2563eb);
    border-color: rgba(200, 225, 255, .5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 6px rgba(15, 40, 120, .35), 0 14px 34px -12px rgba(59, 130, 246, .85);
    text-shadow: 0 1px 1px rgba(10, 30, 90, .35);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 6px rgba(15, 40, 120, .35), 0 18px 44px -12px rgba(59, 130, 246, 1); }
.btn-primary.is-success { background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 51%), linear-gradient(135deg, #34d399, #059669); border-color: rgba(167, 243, 208, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 34px -12px rgba(16, 185, 129, .8); }

.btn-action {
    color: #2a1300;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, 0) 51%),
        linear-gradient(135deg, var(--action-1), var(--action-2));
    border-color: rgba(255, 238, 205, .7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 6px rgba(160, 60, 10, .25), 0 16px 40px -12px rgba(255, 138, 91, .8);
}
.btn-action:hover { filter: brightness(1.05) saturate(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -2px 6px rgba(160, 60, 10, .25), 0 22px 52px -12px rgba(255, 138, 91, 1); }
.btn-action:disabled { cursor: not-allowed; color: var(--faint); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); box-shadow: none; transform: none; filter: none; }
.btn-action:disabled::after { display: none; }

.btn-ghost {
    color: var(--text);
    background: var(--noise), linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
    border-color: rgba(255, 255, 255, .24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 30px -16px rgba(1, 4, 18, .9);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    backdrop-filter: blur(16px) saturate(170%);
}
.btn-ghost:hover { border-color: rgba(200, 225, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 16px 36px -14px rgba(59, 130, 246, .6); }

.btn-danger {
    color: #fecdd3;
    background: rgba(251, 113, 133, .12);
    border-color: rgba(251, 113, 133, .4);
}
.btn-danger:hover { background: rgba(251, 113, 133, .22); }

.link-quiet { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: .8rem; color: #fda4af; transition: color .2s; }
.link-quiet:hover { color: #fecdd3; text-decoration: underline; }

/* ==========================================================================
   Formulare – ruhig, mit klar leuchtendem Fokus
   ========================================================================== */
.label { display: block; font-size: .8rem; font-weight: 620; letter-spacing: .01em; color: var(--muted); margin-bottom: .45rem; }
.field {
    width: 100%;
    font: inherit;
    font-size: .95rem;
    color: var(--text);
    background: linear-gradient(180deg, rgba(4, 10, 28, .6), rgba(4, 10, 28, .42));
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-sm);
    padding: .8rem 1rem;
    box-shadow: inset 0 2px 10px rgba(1, 4, 18, .5), 0 1px 0 rgba(255, 255, 255, .06);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field::placeholder { color: var(--faint); opacity: 1; }
.field:hover { border-color: rgba(200, 225, 255, .34); }
.field:focus {
    outline: none;
    border-color: var(--blue-glow);
    background: rgba(4, 10, 28, .7);
    box-shadow: inset 0 2px 10px rgba(1, 4, 18, .5), 0 0 0 4px rgba(124, 181, 255, .25), 0 0 30px -4px rgba(124, 181, 255, .6);
}
.field-sm { font-size: .85rem; padding: .6rem .8rem; }
.glass-action .field:focus { border-color: var(--action-1); box-shadow: inset 0 2px 10px rgba(1, 4, 18, .5), 0 0 0 4px rgba(255, 208, 138, .24), 0 0 30px -4px rgba(255, 170, 90, .55); }
select.field { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b4c3e2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"), linear-gradient(180deg, rgba(4, 10, 28, .6), rgba(4, 10, 28, .42));
    background-repeat: no-repeat, no-repeat; background-position: right 1rem center, 0 0; }
select.field option { background: #0b1634; color: var(--text); }
textarea.field { resize: vertical; line-height: 1.6; }
.mono { font-family: var(--mono); font-size: .78rem; line-height: 1.75; }

:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 3px; border-radius: .5rem; }
.field:focus-visible { outline: none; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Auswahl-Karten (Radio) */
.radio-face {
    display: block;
    text-align: center;
    padding: .8rem .6rem;
    font-size: .8rem;
    font-weight: 620;
    color: var(--muted);
    border-radius: var(--radius-sm);
    background: rgba(4, 10, 28, .45);
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
    transition: all .3s var(--ease);
}
.radio-face:hover { border-color: rgba(200, 225, 255, .4); color: var(--text); }
.radio-input:checked + .radio-face {
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 51%), linear-gradient(135deg, rgba(106, 168, 255, .9), rgba(37, 99, 235, .9));
    border-color: rgba(200, 225, 255, .6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 30px -12px rgba(59, 130, 246, .85);
}
.radio-input:focus-visible + .radio-face { outline: 2px solid var(--blue-glow); outline-offset: 3px; }

/* ==========================================================================
   Badges, Chips, Tabs
   ========================================================================== */
.badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 660;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
.badge-blue { color: #d6e7ff; background: rgba(59, 130, 246, .2); border-color: rgba(124, 181, 255, .42); }
.badge-ok   { color: #a7f3d0; background: rgba(52, 211, 153, .15); border-color: rgba(52, 211, 153, .42); }
.badge-warn { color: #fde68a; background: rgba(251, 191, 36, .15); border-color: rgba(251, 191, 36, .42); }
.badge-err  { color: #fecdd3; background: rgba(251, 113, 133, .15); border-color: rgba(251, 113, 133, .42); }
.badge-glass {
    color: #fff;
    background: var(--noise), linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
    border-color: rgba(255, 255, 255, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -14px rgba(59, 130, 246, .7);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    backdrop-filter: blur(14px) saturate(170%);
}

.chip {
    font: inherit;
    font-size: .8rem;
    font-weight: 620;
    color: var(--muted);
    padding: .45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    cursor: pointer;
    transition: all .3s var(--ease);
}
.chip:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.chip.is-active {
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 51%), linear-gradient(135deg, rgba(106, 168, 255, .95), rgba(37, 99, 235, .95));
    border-color: rgba(200, 225, 255, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px -10px rgba(59, 130, 246, .95);
}

.seg {
    display: inline-flex;
    gap: .25rem;
    padding: .3rem;
    border-radius: 1rem;
    background: rgba(4, 10, 28, .5);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 2px 8px rgba(1, 4, 18, .45);
}
.seg-btn {
    font: inherit; font-size: .85rem; font-weight: 650; color: var(--muted);
    padding: .55rem 1.05rem; border-radius: .75rem; border: 1px solid transparent;
    background: transparent; cursor: pointer; transition: all .3s var(--ease); white-space: nowrap;
}
.seg-btn:hover { color: #fff; }
.seg-btn.is-active { color: #fff; background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); border-color: rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }

.tabs { display: flex; gap: .3rem; overflow-x: auto; padding: .3rem; border-radius: 1rem; background: rgba(4, 10, 28, .42); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 2px 8px rgba(1, 4, 18, .4); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
    flex: none;
    font-size: .85rem;
    font-weight: 620;
    color: var(--muted);
    padding: .55rem 1rem;
    border-radius: .75rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .3s var(--ease);
    white-space: nowrap;
}
.tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tab.is-active {
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 51%), linear-gradient(135deg, rgba(106, 168, 255, .92), rgba(37, 99, 235, .92));
    border-color: rgba(200, 225, 255, .5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -10px rgba(59, 130, 246, .9);
}

/* Navigation */
.nav-link {
    padding: .5rem 1rem;
    border-radius: .8rem;
    border: 1px solid transparent;
    color: var(--muted);
    white-space: nowrap;
    text-decoration: none;
    transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-link.is-active {
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .07));
    border-color: rgba(255, 255, 255, .26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 20px -12px rgba(59, 130, 246, .8);
}

/* Status-Schalter im Admin */
.pill-btn {
    font: inherit;
    font-size: .75rem;
    font-weight: 650;
    padding: .45rem .85rem;
    border-radius: .75rem;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    color: var(--muted);
    cursor: pointer;
    transition: all .3s var(--ease);
}
.pill-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateY(-1px); }
.pill-btn.is-ok   { color: #a7f3d0; background: rgba(52, 211, 153, .16); border-color: rgba(52, 211, 153, .45); }
.pill-btn.is-warn { color: #fde68a; background: rgba(251, 191, 36, .16); border-color: rgba(251, 191, 36, .45); }
.pill-btn.is-ok:hover   { background: rgba(52, 211, 153, .27); }
.pill-btn.is-warn:hover { background: rgba(251, 191, 36, .27); }

/* ==========================================================================
   Status-Karten (Erfolg / Fehler / Hinweis) und Toasts
   ========================================================================== */
.alert {
    border-radius: 1.15rem;
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 24px 60px -24px rgba(1, 4, 18, .95);
    animation: toast-in .4s var(--ease) both;
}
.alert-body { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem 1.15rem; }
.alert-body p { flex: 1; margin: 0; font-size: .92rem; line-height: 1.55; font-weight: 520; }
.alert-icon { flex: none; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; font-size: .85rem; font-weight: 800; }
.alert-ok   { background: var(--noise), linear-gradient(145deg, rgba(52, 211, 153, .28), rgba(16, 185, 129, .1)), rgba(4, 20, 30, .5); border-color: rgba(52, 211, 153, .55); color: #d1fae5; }
.alert-ok .alert-icon { background: rgba(52, 211, 153, .32); color: #6ee7b7; }
.alert-err  { background: var(--noise), linear-gradient(145deg, rgba(251, 113, 133, .28), rgba(244, 63, 94, .1)), rgba(30, 6, 18, .5); border-color: rgba(251, 113, 133, .55); color: #ffe4e8; }
.alert-err .alert-icon { background: rgba(251, 113, 133, .32); color: #fda4af; }
.alert-info { background: var(--noise), linear-gradient(145deg, rgba(251, 191, 36, .25), rgba(251, 191, 36, .07)), rgba(28, 18, 4, .45); border-color: rgba(251, 191, 36, .5); color: #fef3c7; }
.alert-info .alert-icon { background: rgba(251, 191, 36, .32); color: #fcd34d; }
.alert-close { flex: none; background: none; border: 0; color: inherit; opacity: .6; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 .2rem; transition: opacity .2s; }
.alert-close:hover { opacity: 1; }

.toast-stack {
    position: fixed;
    top: 6.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 38rem);
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
@media (min-width: 768px) { .toast-stack { top: 5.9rem; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Beispiel-Webseiten: Blick durchs Schaufenster
   ========================================================================== */
.winbar {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding: .7rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
}
.dots { display: flex; gap: .38rem; }
.dots i { width: .62rem; height: .62rem; border-radius: 50%; display: block; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.dots i:nth-child(1) { background: rgba(251, 113, 133, .85); }
.dots i:nth-child(2) { background: rgba(251, 191, 36, .85); }
.dots i:nth-child(3) { background: rgba(52, 211, 153, .85); }

.preview-frame { padding: .7rem .7rem 0; }
.preview-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: rgba(4, 10, 28, .6);
    border-radius: .95rem;
    box-shadow: 0 14px 30px -18px rgba(1, 4, 18, .9);
}
.preview-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 400%;
    transform: scale(0.25);
    transform-origin: top left;
    pointer-events: none;
    border: 0;
    background: #ffffff;
    transition: transform .8s var(--ease);
}
/* Schaufenster-Spiegelung über der Vorschau */
.preview-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .06) 24%, transparent 40%),
        linear-gradient(115deg, transparent 62%, rgba(255, 255, 255, .08) 70%, transparent 78%);
    transition: transform .9s var(--ease), opacity .6s var(--ease);
    pointer-events: none;
}
.preview-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 26px 40px -30px rgba(255, 255, 255, .55);
    pointer-events: none;
}
.group:hover .preview-wrapper::before { transform: translateX(18%); opacity: .75; }
.preview-hover { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(4, 10, 28, 0); transition: background .45s var(--ease); }
.preview-hover span { opacity: 0; transform: translateY(8px); transition: all .45s var(--ease); }
.group:hover .preview-hover, .group:focus-visible .preview-hover { background: rgba(4, 10, 28, .32); }
.group:hover .preview-hover span, .group:focus-visible .preview-hover span { opacity: 1; transform: none; }

.view-enter { animation: view-in .6s var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(14px) scale(.99); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

.arrow { transition: transform .35s var(--ease); display: inline-block; }
.group:hover .arrow { transform: translateX(4px); }

/* Nummern-Kachel der Leistungen: kleiner Glaswürfel */
.num-tile {
    width: 3.4rem; height: 3.4rem;
    display: grid; place-items: center;
    border-radius: 1.05rem;
    font-weight: 780; font-size: 1.05rem; color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, 0) 51%),
        linear-gradient(140deg, rgba(106, 168, 255, .75), rgba(37, 99, 235, .35) 60%, rgba(139, 92, 246, .45));
    border: 1px solid rgba(200, 225, 255, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -6px 14px rgba(20, 50, 140, .35), 0 0 36px -6px rgba(96, 165, 250, .75), 0 12px 24px -12px rgba(1, 4, 18, .9);
    text-shadow: 0 1px 2px rgba(10, 30, 90, .4);
}

/* Trennlinien */
.rule { height: 1px; border: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); }
.rule-solid { border-top: 1px solid rgba(255, 255, 255, .11); }

/* Admin: Datenzeilen */
.kv-label { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 620; }
.kv-value { font-size: .95rem; font-weight: 560; color: #fff; }
.hover-row { transition: background .3s var(--ease); }
.hover-row:hover { background: rgba(255, 255, 255, .05); }
.money { font-variant-numeric: tabular-nums; font-weight: 720; letter-spacing: -.01em; color: #fff; }

a { transition: color .2s; }

/* Logo in Kopfleisten: heller Verlauf ohne Filter, damit es auf Glas klar lesbar bleibt */
header .accent-text, .glass .brand-accent {
    filter: none;
    background: linear-gradient(120deg, #d6e8ff 0%, #8fc0ff 55%, #b9a6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ==========================================================================
   Admin: aufklappbare Bereiche, Dateiliste, Upload
   ========================================================================== */
.panel > summary { list-style: none; }
.panel > summary::-webkit-details-marker { display: none; }
.panel-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1rem;
    font-size: .82rem;
    font-weight: 650;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    transition: color .25s var(--ease), background .25s var(--ease);
}
.panel-summary:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.panel-summary::after {
    content: "";
    width: .55rem; height: .55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .3s var(--ease);
    flex: none;
}
.panel[open] > .panel-summary { color: #fff; }
.panel[open] > .panel-summary::after { transform: rotate(225deg) translateY(-2px); }
.panel-body { padding: .25rem 1rem 1.15rem; }
.panel[open] > .panel-body { animation: view-in .4s var(--ease) both; }

.file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .4rem .6rem;
    border-radius: .6rem;
    font-size: .78rem;
    font-family: var(--mono);
}
.file-row:hover { background: rgba(255, 255, 255, .06); }

.check { accent-color: var(--blue-glow); width: 1rem; height: 1rem; flex: none; }

.field[type="file"] { padding: .45rem; cursor: pointer; color: var(--muted); }
.field[type="file"]::file-selector-button {
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 51%), linear-gradient(135deg, #6aa8ff, #2563eb);
    border: 0;
    border-radius: .6rem;
    padding: .45rem .8rem;
    margin-right: .75rem;
    cursor: pointer;
}

/* ==========================================================================
   Kleine Bildschirme: etwas weniger Weichzeichner für flüssiges Scrollen
   ========================================================================== */
@media (max-width: 640px) {
    .glass { -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
    .scene::after { height: 18vh; opacity: .6; }
}

/* ==========================================================================
   Bewegung reduzieren
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    html { scroll-behavior: auto !important; }
}