:root {
    --bg1: rgb(var(--v-theme-bg1));
    --bg2: rgb(var(--v-theme-bg2));
    --bg3: rgb(var(--v-theme-bg3));
    --accent: rgb(var(--v-theme-accent));
    --accent2: rgb(var(--v-theme-accent2));
    --muted: rgba(var(--v-theme-muted), 0.7);
    --touch: 54px;
}

.debug-panel {
    width: 200px;
    /* position: fixed; */
    margin-right: auto;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #00f5d4;
    font-family: monospace;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* z-index: 1000; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    user-select: none;
}

.debug-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    line-height: 1.6;
}

.debug-label {
    opacity: 0.7;
    font-weight: 500;
}

.debug-value {
    font-weight: 600;
    text-align: right;
}

.debug-value.driving-true {
    color: #4caf50;
}

.debug-value.driving-false {
    color: #f44336;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3));
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    position: relative;
}

/* Noise texture */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23n)" opacity="0.08"/></svg>');
}

/* ── APP SHELL ── */
.app {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* TOPBAR 100% BREITE */
.topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Start statt Between (Linksmenü) */
    gap: 1.5rem;
    padding: 0.85rem 1.4rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    /* Wichtig für 100% */
}

/* Sticky Filter für Mobile */
.sticky-filter {
    position: sticky;
    top: 56px;
    /* Vuetify Toolbar Höhe ca. 56-64px */
    z-index: 99;
    /*background: rgba(15, 32, 39, 0.9);*/
    backdrop-filter: blur(15px);
    margin-left: -16px;
    margin-right: -16px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Erlaubt Scrolling auf Desktop, aber deaktiviert es auf Mobile für Sticky-Effekt */
.responsive-results-area {
    display: flex;
    flex-direction: column;
}

@media (min-width: 960px) {
    .sticky-filter {
        position: static;
        background: transparent;
        backdrop-filter: none;
        border-bottom: none;
        margin-left: -16px;
        margin-right: -16px;
        padding: 10px 16px;
        box-shadow: none;
    }

    .responsive-results-area {
        overflow-y: auto;
        height: auto;
        flex: 1;
    }
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo .accent {
    color: var(--accent);
}

/* Main-Container zentrieren und auf 900px deckeln */
.main {
    padding: 2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Glassmorphism Card (Panel) */
.vdatapanel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.panel-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
}

/* ══════════════════════════════════════════
TYPOGRAPHY
══════════════════════════════════════════ */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.0rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1.0rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.text-h6 {
    font-size: 0.8rem !important;
    font-weight: 500;
    letter-spacing: .0125em !important;
    line-height: 1.6;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.text-large {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1rem;
}

.text-base {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--muted);
}

.text-small {
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.typo-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
    .typo-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════
FORM ELEMENTS
══════════════════════════════════════════ */
.form-group {
    margin-bottom: 1.2rem;
}

.field-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.input-wrap {
    position: relative;
}

/* Input with Icon Support */
.input-wrap.has-icon input,
.input-wrap.has-icon select {
    padding-left: 2.8rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 0px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    outline: none;
    transition: all 0.2s;
}

/* Height adjustments */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
    height: var(--touch);
    padding: 0 1rem;
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    padding: 1rem;
    resize: vertical;
    min-height: 120px;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15);
}

/* Select specific styles */
.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: '▾';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
}

select option {
    background: #203a43;
    color: white;
}

/* Checkbox & Radio */
.check-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.check-wrap input {
    display: none;
}

.check-box,
.radio-box {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.check-box {
    border-radius: 6px;
}

.radio-box {
    border-radius: 50%;
}

.check-wrap input:checked~.check-box,
.check-wrap input:checked~.radio-box {
    background: var(--accent);
    border-color: var(--accent);
}

.check-wrap input:checked~.check-box::after {
    content: '✓';
    color: #0f2027;
    font-size: 14px;
    font-weight: 800;
}

.check-wrap input:checked~.radio-box::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #0f2027;
    border-radius: 50%;
}

.check-label {
    font-size: 0.9rem;
    color: var(--muted);
}

.check-wrap:hover .check-label {
    color: white;
}

/* Button Tokens */
.btn {
    height: var(--touch);
    padding: 0 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #0f2027;
    box-shadow: 0 8px 24px rgba(0, 245, 212, 0.25);
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 8px 30px rgba(0, 245, 212, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Button Group Grid */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.menu-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer {
    position: fixed;
    color: white;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(15, 32, 39, 0.85);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
}

.nav-drawer.open {
    left: 0;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.nav-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
}

.nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff6b6b;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    transform: translateX(5px);
}

.nav-menu a.active {
    background: rgba(0, 245, 212, 0.15);
    color: var(--accent);
    border: 1px solid rgba(0, 245, 212, 0.3);
}

/* ══════════════════════════════════════════
   VUETIFY OVERRIDES
══════════════════════════════════════════ */
/* Removes the border radius from the top of the table header */
.table-no-top-radius.v-data-table {
    border-radius: 0 !important;
}

/* Optional: Removes border-radius from the top row if needed */
.table-no-top-radius.v-data-table .v-table__wrapper>table>thead>tr:first-child th {
    border-radius: 0 !important;
}

/* Glassmorphism Card (Panel) over Vuetify v-card */
.v-card.vdatapanel {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(14px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25) !important;
    color: white !important;
}

.v-card.vdatapanel .v-card.vdatapanel {
    /*backdrop-filter: none !important;
    border-radius: none !important;
    border: none !important;*/
    box-shadow: none !important;
}

.panel-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: var(--accent) !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.01em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 0.8rem !important;
}

/* Force custom topbar styles onto v-app-bar */
.v-toolbar.topbar {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.v-toolbar.topbar .v-toolbar__content {
    /* Reset v-toolbar__content padding to match our custom topbar 
    padding: 0 1.4rem !important;*/
    height: 100% !important;
}

.v-toolbar.topbar .logo {
    /* Ensure the logo aligns properly and doesn't get messed up by max-width */
    line-height: inherit;
    margin-right: auto;
    color: white !important;
}

/* Force custom nav-drawer styles onto v-navigation-drawer */
.v-navigation-drawer.nav-drawer {
    background: rgba(15, 32, 39, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5) !important;
    color: white !important;
}

/* ══════════════════════════════════════════
   GLASS-INPUT – Vuetify v-text-field Override
   Gleicher Look wie testlayout.html inputs:
   border-radius 12px, Höhe 54px, Glassmorphism
══════════════════════════════════════════ */

/* Äußerer Vuetify-Wrapper: kein extra Schatten/Outline */
.glass-input.v-input {
    box-shadow: none !important;
    outline: none !important;
}

.glass-input.v-input:focus-within {
    box-shadow: none !important;
    outline: none !important;
}

/* Haupt-Feld: NUR unser Border */
.glass-input .v-field {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    outline: none !important;
    min-height: var(--touch, 54px) !important;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s !important;
    /* Vuetify CSS-Variablen für Shadow deaktivieren */
    --v-field-shadow: none !important;
    --v-field-focus-shadow: none !important;
}

/* Alle internen Vuetify-Layer komplett ausblenden */
.glass-input .v-field__overlay,
.glass-input .v-field__outline,
.glass-input .v-field__background {
    display: none !important;
}

/* Nativen Browser-Outline auf dem input-Element entfernen */
.glass-input input,
.glass-input input:focus,
.glass-input input:focus-visible,
.glass-input .v-field__input,
.glass-input .v-field__input:focus {
    outline: none !important;
    box-shadow: none !important;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    caret-color: var(--accent) !important;
}

.glass-input .v-label {
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Focus-Zustand: Accent-Border + Glow — NUR auf .v-field */
.glass-input .v-field--focused {
    background: rgba(255, 255, 255, 0.14) !important;
    /*border-color: var(--accent) !important;*/
    box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15) !important;
}

.glass-input .v-field--focused .v-label {
    color: var(--accent) !important;
}

/* Vuetify solo-Variante: keinen eigenen Schatten */
.glass-input .v-field--variant-solo,
.glass-input .v-field--variant-solo-filled {
    box-shadow: none !important;
    --v-field-shadow: none !important;
}

/* Icon-Farbe im Prepend-inner-Bereich */
.glass-input .v-field__prepend-inner .v-icon {
    color: rgba(255, 255, 255, 0.7) !important;
}

.glass-input .v-field--focused .v-field__prepend-inner .v-icon {
    color: var(--accent) !important;
}

/* Vuetify Typography overrides to enforce Inter font */
.v-application,
.v-application .text-body-1,
.v-application .text-body-2,
.v-application .text-subtitle-1,
.v-application .text-subtitle-2 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Force Vuetify background to transparent so body gradient is visible */
.v-application {
    background: transparent !important;
    background-color: transparent !important;
}

.v-application__wrap {
    min-height: 100vh;
}

.gasoo-v-dialog .v-overlay__content {
    border: solid 1px #00f5d4;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.1) inset;
    background: rgba(255, 255, 255, 0.88);
}


/* roboto-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/roboto-v49-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../assets/fonts/roboto-v49-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: url('../assets/fonts/roboto-v49-latin-500italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    src: url('../assets/fonts/roboto-v49-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-600italic - latin */
@font-face {
    font-display: swap;
    font-family: c;
    font-style: italic;
    font-weight: 600;
    src: url('../assets/fonts/roboto-v49-latin-600italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* material-icons-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/material-icons-v145-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://example.com/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),
    url(https://example.com/MaterialIcons-Regular.woff) format('woff'),
    url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');
}
.v-application {
    [class*='text-'] {
        font-family: 'Roboto', sans-serif !important;
    }

    font-family: 'Roboto',
    sans-serif !important;
}

@font-face {
    font-family: "Material Design Icons";
    src: url("../assets/fonts/materialdesignicons-webfont.eot?v=7.4.47");
    src: url("../assets/fonts/materialdesignicons-webfont.eot?#iefix&v=7.4.47") format("embedded-opentype"), url("../assets/fonts/materialdesignicons-webfont.woff2?v=7.4.47") format("woff2"), url("../assets/fonts/materialdesignicons-webfont.woff?v=7.4.47") format("woff"), url("../assets/fonts/materialdesignicons-webfont.ttf?v=7.4.47") format("truetype");
    font-weight: normal;
    font-style: normal
}

.mdi:before,
.mdi-set {
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}


@-webkit-keyframes mdi-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes mdi-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}



.view-container-wrapper {
    padding: 0;
    /* Removed padding to allow full width for new layout */
}

/* ══════════════════════════════════════════
   LOADING OVERLAY
══════════════════════════════════════════ */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3));
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo-img {
    width: 48px;
    max-width: 70vw;
    filter: drop-shadow(0 0 18px rgba(0, 245, 212, 0.35));
    animation: loadingPulse 2.5s ease-in-out infinite;
}

@keyframes loadingPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.04);
    }
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0, 245, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 245, 212, 0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-top: -1rem;
}

/* ------------------------------------------
   VISIBLE SEO FOOTER
------------------------------------------ */
.footer-seo-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-seo-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 1);
}

.footer-seo-row {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-row {
    margin-bottom: 1.5rem;
}

.links-row h4,
.stats-row h4 {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.stats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
}

.stats-list li a:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
    transform: translateY(-3px);
}

.links-row {
    /*border-top: 1px solid rgba(255, 255, 255, 0.08);*/
    padding-top: 0.5rem;
}


.seo-links-content {
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.seo-links-content.open {
    max-height: 2000px; /* ausreichend für den gesamten Inhalt */
    transition: max-height 0.5s ease-in;
}

.seo-links-header {
    display: flex;
    justify-content: flex-start;
    cursor: pointer;
    padding: 4px 0;
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
}


.seo-links-header .field-label {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Compact Grid for many regions */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.compact-grid li {
    margin-bottom: 0 !important;
    list-style: none;
}


.stats-list li a,
.compact-grid li a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    border-radius: 4px;
    display: block;
    text-align: center;
    font-size: 0.75rem !important;
    text-decoration: none;
    border: 1px solid rgba(0, 245, 212, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 3px 5px !important;
}

.compact-grid li a:hover {
    background: var(--accent);
    color: #000 !important;
    padding-left: 0 !important;
    transform: translateY(-2px);
}