/* ============================================================
   VEMO ACADEMY – Complete Design System
   Font: Poppins | Text: #282f47 | Accent: #7ed957
   ============================================================ */

/* <picture> als Layout-Transparent — siehe Haupt-style.css */
picture {
  display: contents;
}

/* DIE FARBEN DES HELLEN THEMAS (Gegner 27.09.2026, Runde 9): `:root` traegt sie fuer die Seite, und dieselben Werte
   tragen die Flaechen, die IMMER hell sind (wie auf dem iPhone, das hell bleibt), auch wenn `body.dark-mode` die Marken
   fuer die Seite dunkel stellt. Eine Flaeche mit festem hellem Grund folgt sonst mit ihrer Schrift dem Thema: im
   Dunkelmodus stand dann helle Schrift auf der weissen Mandats-Karte (Titel 1.2:1). Wer eine Flaeche fest hell baut,
   traegt sie HIER ein, nirgends sonst; die Wand onboarding-feinschliff zaehlt jede Flaeche mit festem Grund und einer
   Schrift, die dem Thema folgt (muss 0 sein).
     .vs-kundeninfo-karte  die Kundeninformation (O6)      .vs-mandat-blatt   die zwei Mandate (O8)
     .vs-zeichen-karte     das Feld, in das gezeichnet wird (die Tinte ist Navy, das Feld bleibt hell)
     .vs-cta               der Navy-Knopf (Navy mit weisser Schrift, in jedem Thema)
     .vs-mandate-doc-wrap  das weisse Blatt der Kündigung im Löschweg und aus dem Mail-Link (mandate.css, `background: #fff`;
                           derselbe Darsteller `.mandate-doc` wie die Mandate). Fehlte bis 28.09.2026 (Gegner R12): im
                           Dunkelmodus der App Titel 1.23:1, Parteien 1.72:1, weil K den Löschweg nie fuhr; K fährt ihn seither. */
:root,
.vs-kundeninfo-karte, .vs-mandat-blatt, .vs-zeichen-karte, .vs-cta, .vs-mandate-doc-wrap,
.vs-eyebrow, .vs-sign-gelesen, .vs-sign-erfolg-kreis {
  /* Die Schrift und das Farbschema der Flaeche selbst (am Wurzelelement ohne Wirkung: body setzt eigene). */
  color: var(--dark);
  color-scheme: light;
  /* --- Vemo Green palette (based on #7ed957) --- */
  --green-50: #f3fce9;
  --green-100: #e4f8cf;
  --green-200: #cbf0a3;
  --green-300: #a8e270;
  --green-400: #8edc59;
  --green-500: #7ed957;
  /* Kein Dunkelgruen (Cyrill 27.09.2026, Punkt 21: «Wir haben ein Hellgruen im Design»; iOS Theme.swift seit 24.08.):
     es gibt das Markengruen und seine hellen Toenungen, keine dunkleren Stufen. Wand: marken-regeln-kunden-app, 4. */
  /* DIE PILLE (Gegner R13, 28.09.2026): die Stempel «Eingesehen», «gelesen», «Unterzeichnet», die Anrede ueber dem Titel
     und der Kreis der Erfolgsseite. Markengruen MIT Deckung malt auf dunklem Grund Dunkelgruen (die Pille «gelesen» der
     Kuendigung .28 auf Navy: #365747); darum ist die Pille DECKEND, in jedem Thema und auf jedem Grund dieselbe helle
     Toenung (Markengruen zu 20 % in Weiss, so wie die Stempel auf der weissen Karte schon aussahen), die Schrift Navy.
     Die Pille steht in der Liste der immer hellen Flaechen oben: ihr Navy folgt nie dem Thema.
     Wand: onboarding-feinschliff G (die gemalte Farbe an den Pixeln).
     Dieselbe Pille im dunklen Thema der uebrigen Kunden-App («gelesen» im Wissen, gruene Etiketten, Symbole): Grund
     `--pille-grund`, Schrift `--pille-schrift` (das Navy von hier; `body.dark-mode` stellt `--dark` um, diese Marke nicht).
     Die Regel dahinter (Wand marken-regeln-kunden-app, 4): auf dunklem Grund ist Gruen DECKEND oder gar nicht. */
  --pille-grund: color-mix(in srgb, var(--green-500) 20%, #fff);
  --pille-schrift: var(--dark);

  /* --- Secondary accents --- */
  --blue-500: #2563eb;
  --blue-50: #eff6ff;
  --purple-500: #7c3aed;
  --purple-50: #f5f3ff;
  --orange-500: #ea580c;
  --orange-50: #fff7ed;
  --red-500: #dc2626;
  --red-50: #fef2f2;
  --yellow-500: #f59e0b;
  --yellow-50: #fffbeb;

  /* --- Neutrals (based on #282f47) --- */
  --dark: #282f47;
  /* DER EINE LADE-KREISEL (iOS VemoSpinner.swift): neutrales System-Grau, nie gruen.
     iOS hat genau diesen Wildwuchs abgeschafft — «mal gruen Theme.greenText, mal grau;
     dadurch wirkten sie unterschiedlich gross, obwohl die Pixelgroesse gleich war».
     Wer einen Lade-Kreisel baut, nimmt diese zwei Werte. Die GROESSE darf er waehlen. */
  --spinner-bahn: rgba(100, 116, 139, .22);
  --spinner-zeiger: #64748b;
  /* Auf dunklem Grund traegt Mittelgrau nicht — dieselbe Regel, hellere Werte. */
  --spinner-bahn-dunkel: rgba(255, 255, 255, .18);
  --spinner-zeiger-dunkel: rgba(255, 255, 255, .75);
  --dark-800: #343b55;
  --dark-700: #454d68;
  --dark-600: #5a6280;
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;
  --white: #ffffff;

  /* --- Layout --- */
  --sidebar-w: 270px;
  --topbar-h: 64px;

  /* --- Radius --- */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.03);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.03);

  /* --- Transitions (Legacy, weiterhin in Verwendung) --- */
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.35s cubic-bezier(.4,0,.2,1);

  /* --- Vemo Animation-System (Tokens) --- */
  /* Easings */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);          /* Standard Out-Expo, sanfter Stop */
  --ease-out-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);    /* Vemo-Bounce, leichtes Overshoot */
  --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);      /* Material-Standard, neutraler Übergang */
  --ease-out-quick: cubic-bezier(0.25, 0.46, 0.45, 0.94);  /* Schnell, ohne Overshoot */

  /* Durations */
  --dur-instant: 80ms;     /* Klick-Feedback, Hover-Push */
  --dur-fast: 160ms;       /* Buttons, Hover-Effekte */
  --dur-normal: 280ms;     /* Standard-Fades, Modal-Open */
  --dur-slow: 480ms;       /* Page-Transitions, Stagger-In */
  --dur-leisurely: 800ms;  /* Marketing-Animation, Hero-Reveals */

  /* Stagger */
  --stagger-step: 40ms;    /* Delay-Increment für Liste-Stagger */
}

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

/* SCROLLBAR-STRATEGIE (Cyrill 2026-05-28 v2):
   - overflow-y: scroll  -> forciert Scroll-Mechanismus dauerhaft (verhindert
     den 15px Horizontal-Shift beim Wechsel kurze/lange Pages).
   - scrollbar-width: none / ::-webkit-scrollbar { display: none } -> versteckt
     den Scrollbar visuell. Damit hat die Page IMMER die volle Viewport-Breite
     (1907px statt 1892px), kein 15px Slot rechts mehr sichtbar.
   - Scroll funktioniert weiterhin via Mausrad, Trackpad, Keyboard und JS.
   - User kann nicht mehr via Klick-Drag auf Scrollbar scrollen (akzeptabel
     fuer App-Shell-Layout, Mac/Touchpad-User merken nichts).
   - scrollbar-gutter: stable bleibt als Fallback fuer Browser die's korrekt
     unterstuetzen. */
html { scroll-behavior: smooth; overflow-x: hidden; overflow-y: scroll; overscroll-behavior-x: none; scrollbar-gutter: stable; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; background: transparent; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--grey-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip statt hidden, siehe FIX #7: sonst klebt kein sticky */
  overscroll-behavior-x: none;
  margin: 0;
}

/* ------------------------------------------------------------
   RECLAIM-APP BODY-BACKGROUND (Fix White-Flash 2026-05-28)
   Wenn die Reclaim-Customer-Shell aktiv ist, traegt der Body den
   gleichen Peach-Gradient wie .rdash-shell. Damit ist der Body
   waehrend async route()-Loads NICHT mehr grau-weiss sichtbar.
   Klasse wird in app.js navigate() gesetzt fuer Shell-Routes.
   ------------------------------------------------------------ */
body.is-reclaim-shell {
  background-color: #f1f4f9;
  background-image:
    radial-gradient(ellipse 75% 55% at 8% 5%, rgba(126, 217, 87, 0.10) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 95% 18%, rgba(168, 145, 245, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #f7f9fc 0%, #f1f4f9 50%, #ecf0f5 100%);
  background-attachment: fixed;
}
body.is-reclaim-shell.dark-mode {
  background-color: #0f172a;
  background-image: none;
}

.dot { color: var(--green-500); }

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; padding: 10px 22px;
  border-radius: var(--radius-sm); border: none;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
  line-height: 1.4;
}
.btn-primary { background: var(--green-500); color: var(--white); }
/* GESPERRT AUF DUNKLEM GRUND (Gegner R13, 28.09.2026): ein gesperrter gruener Knopf wurde durchsichtig (Deckung .5 bei
   «Weiter» der Versicherer, .4 bei «Uebernehmen») und malte damit auf Nachtblau Dunkelgruen (#467840, #447046). Auf hellem
   Grund malt dieselbe Deckung eine helle Toenung (erlaubt, die Seite der Versicherer bleibt wie auf main); auf dunklem Grund
   ist «gesperrt» deckend und NICHT gruen: die Farben `--knopf-gesperrt-*` des dunklen Themas (unten) oder der dunklen
   Flaeche (mandate.css). Wand: onboarding-feinschliff G. */
body.dark-mode .btn-primary:disabled, body.dark-mode .btn-primary[disabled],
.vs-sign-shell.vs-sign-dunkel .btn-primary:disabled, .vs-sign-shell.vs-sign-dunkel .btn-primary[disabled] {
  opacity: 1; background: var(--knopf-gesperrt-grund); border-color: var(--knopf-gesperrt-grund);
  color: var(--knopf-gesperrt-schrift); box-shadow: none; transform: none;
}
.btn-primary:hover { background: var(--green-500); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(126,217,87,.3); }
.btn-secondary { background: var(--grey-100); color: var(--dark); }
.btn-secondary:hover { background: var(--grey-200); }
.btn-outline { background: transparent; color: var(--green-500); border: 2px solid var(--green-500); }
.btn-outline:hover { background: var(--green-50); }
.btn-danger { background: var(--red-500); color: var(--white); }
.btn-danger:hover { background: #b91c1c; }
.btn-ghost { background: transparent; color: var(--grey-500); border: none; padding: 8px 12px; }
.btn-ghost:hover { background: var(--grey-100); color: var(--dark); }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn svg { flex-shrink: 0; }

/* ============================================================
   LOGIN SCREEN
   ============================================================ */
.login-left {
  background: #7ed957;
  padding: 50px 48px; display: flex; flex-direction: column; justify-content: center;
  color: var(--white); position: relative; overflow: hidden;
}
.login-left::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.login-left::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.logo { font-size: 1.6rem; font-weight: 400; letter-spacing: -0.3px; }
.logo-sub { font-size: 1rem; font-weight: 400; opacity: 0.7; }
.login-left h1 {
  font-size: 2.2rem; font-weight: 700; line-height: 1.2;
  margin-bottom: 16px; position: relative; z-index: 1;
  letter-spacing: -0.5px;
}
.login-left p {
  font-size: 1rem; opacity: 0.85; line-height: 1.7;
  margin-bottom: 32px; position: relative; z-index: 1;
  font-weight: 300;
}

/* Login Tabs */

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--dark-700); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm); font-size: 0.9rem; transition: var(--transition);
  background: var(--white); color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(126,217,87,.15);
}
.form-group input::placeholder { color: var(--grey-400); }

.login-error {
  background: var(--red-50); color: var(--red-500); padding: 10px 14px;
  border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 16px;
  border: 1px solid rgba(220,38,38,.15);
}

/* Login Divider */
.login-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--grey-400); font-size: 0.82rem;
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--grey-200);
}

/* Google Sign-In Button */
.btn-google {
  background: var(--white); color: var(--dark); border: 1.5px solid var(--grey-200);
  font-weight: 600; gap: 10px; transition: var(--transition);
}
.btn-google:hover {
  background: var(--grey-50); border-color: var(--grey-300);
  box-shadow: var(--shadow-sm); transform: translateY(-1px);
}
.btn-google svg { flex-shrink: 0; }

.login-success {
  background: var(--green-50); color: var(--green-500); padding: 10px 14px;
  border-radius: 8px; font-size: 0.85rem; margin-bottom: 12px;
  border: 1px solid var(--green-200);
}

/* Pending approval badge */
.badge-approved {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: var(--green-50); color: var(--green-500); border: 1px solid var(--green-200);
}

/* ============================================================
   APP SHELL
   ============================================================ */
.app-shell { display: flex; min-height: 100vh; }

/* ---- SIDEBAR ---- */
.sidebar {
  width: var(--sidebar-w); height: 100vh; position: fixed; top: 0; left: 0;
  background: var(--white); border-right: 1px solid var(--grey-200);
  display: flex; flex-direction: column; z-index: 100;
  transition: var(--transition-slow);
}
.sidebar-header {
  padding: 20px 20px 16px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--grey-100);
}
.sidebar-logo { display: flex; align-items: baseline; gap: 6px; }
.sidebar-logo .logo { font-size: 1.3rem; color: var(--dark); }
.sidebar-logo .logo-sub { font-size: 0.8rem; font-weight: 400; color: var(--grey-500); }
.sidebar-close { display: none; background: none; border: none; color: var(--grey-500); }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.sidebar-nav-group { margin-bottom: 8px; }
.sidebar-nav-label {
  padding: 8px 12px 4px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-400);
}
.sidebar-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: var(--radius-sm); color: var(--grey-600); font-size: 0.88rem;
  font-weight: 500; transition: var(--transition); cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
}
.sidebar-link:hover { background: var(--grey-50); color: var(--dark); }
.sidebar-link.active { background: var(--green-50); color: var(--green-500); font-weight: 600; }
.sidebar-link.active svg { stroke: var(--green-500); }
.sidebar-link svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--grey-400); }
.sidebar-link .badge {
  margin-left: auto; background: var(--green-500); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 2px 8px;
  border-radius: var(--radius-full); min-width: 20px; text-align: center;
}

.sidebar-footer {
  padding: 12px 14px; border-top: 1px solid var(--grey-100);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-user {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: var(--radius-sm); cursor: pointer;
  transition: var(--transition);
}
.sidebar-user:hover { background: var(--grey-50); }
.sidebar-user-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--green-500);
  overflow: hidden; flex-shrink: 0; background-size: cover; background-position: center;
}
.sidebar-user-info strong { display: block; font-size: 0.82rem; line-height: 1.3; }
.sidebar-user-info small { color: var(--grey-500); font-size: 0.72rem; }
.sidebar-logout {
  padding: 8px; border-radius: var(--radius-sm); background: none;
  border: none; color: var(--grey-400); transition: var(--transition);
}
.sidebar-logout:hover { background: var(--red-50); color: var(--red-500); }

/* ---- MAIN CONTENT ---- */
.main-content {
  flex: 1; margin-left: var(--sidebar-w); min-height: 100vh;
  display: flex; flex-direction: column; position: relative;
}

/* ---- TOPBAR ---- */
.topbar {
  height: var(--topbar-h); padding: 0 28px; display: flex;
  align-items: center; gap: 16px; background: var(--white);
  border-bottom: 1px solid var(--grey-100); position: sticky;
  top: 0; z-index: 50;
}
.topbar-menu {
  display: none; background: none; border: none; color: var(--grey-600);
  padding: 4px;
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.topbar-notif {
  position: relative; background: none; border: none; padding: 8px;
  border-radius: var(--radius-sm); color: var(--grey-500); transition: var(--transition);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.topbar-notif:hover { background: var(--grey-100); }

/* Notification dropdown */
.notif-dropdown {
  position: absolute; top: var(--topbar-h); right: 28px;
  width: 360px; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); z-index: 60;
  overflow: hidden;
}
.notif-header { padding: 16px 20px; border-bottom: 1px solid var(--grey-100); }
.notif-header h4 { font-size: 0.95rem; }
.notif-list { max-height: 320px; overflow-y: auto; }
.notif-item {
  padding: 14px 20px; border-bottom: 1px solid var(--grey-50);
  cursor: pointer; transition: var(--transition);
}
.notif-item:hover { background: var(--grey-50); }
.notif-item strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.notif-item p { font-size: 0.8rem; color: var(--grey-500); line-height: 1.5; }
.notif-item small { font-size: 0.72rem; color: var(--grey-400); }

/* Search overlay */

/* ---- PAGE CONTENT ---- */
.page-content { padding: 28px; flex: 1; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  margin-bottom: 28px;
}
.page-header h1 {
  font-size: 1.7rem; font-weight: 700; letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.page-header p { color: var(--grey-500); font-size: 0.95rem; }
.page-header-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 22px;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.stat-card-icon.green { background: var(--green-50); color: var(--green-500); }
.stat-card-icon.blue { background: var(--blue-50); color: var(--blue-500); }
.stat-card-icon.purple { background: var(--purple-50); color: var(--purple-500); }
.stat-card-icon.orange { background: var(--orange-50); color: var(--orange-500); }
.stat-card h3 { font-size: 1.6rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.stat-card p { font-size: 0.82rem; color: var(--grey-500); }

/* ============================================================
   CUSTOMER DASHBOARD (vemo.ch style)
   ============================================================ */

/* -- Hero / Greeting -- */

/* -- Inline Stats -- */

/* -- Subscription Banners -- */

/* -- Section Headers -- */

/* -- Continue Learning Cards (large visual) -- */

/* -- All Courses Grid -- */
.dash-course-creator {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: #475467; margin-right: auto;
}
.dash-course-creator:empty { display: none; }
.dash-course-creator img {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
}

/* -- Course Card Hover Overlay -- */

/* -- Dashboard Empty State -- */

/* -- Referral Page -- */

/* -- Dashboard Upgrade Hero -- */

/* -- Dashboard Social Proof -- */

/* -- Dashboard Premium Teaser -- */

/* -- Dashboard Responsive -- */

/* ============================================================
   COURSE CARDS
   ============================================================ */

/* ============================================================
   COURSE DETAIL
   ============================================================ */

/* -- Course Detail Premium Upsell Box -- */

/* Lessons list */

/* ============================================================
   VIDEO PLAYER
   ============================================================ */

/* ============================================================
   CREATOR DASHBOARD
   ============================================================ */

/* Upload modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0,0,0,.2);
}
.modal-header {
  padding: 24px 28px 0; display: flex; align-items: center;
  justify-content: space-between;
}
.modal-header h2 { font-size: 1.3rem; font-weight: 700; }
.modal-body { padding: 20px 28px 28px; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-table {
  width: 100%; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); overflow: hidden;
}
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; padding: 14px 18px; font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--grey-500); background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}
.admin-table td {
  padding: 14px 18px; font-size: 0.88rem;
  border-bottom: 1px solid var(--grey-50);
}
.admin-table tr:hover td { background: var(--grey-50); }
.admin-table .user-cell { display: flex; align-items: center; gap: 10px; }
.admin-table .user-cell-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-100); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 0.8rem;
  color: var(--green-500); flex-shrink: 0; background-size: cover;
  background-position: center; line-height: 1; font-family: 'Poppins', sans-serif;
}
.role-badge {
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
}
.role-badge.admin { background: var(--orange-50); color: var(--orange-500); }
.role-badge.creator { background: var(--purple-50); color: var(--purple-500); }
.role-badge.customer { background: var(--green-50); color: var(--green-500); }
.role-badge.student { background: #eff6ff; color: #2563eb; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px;
}
.status-dot.active { background: var(--green-500); }
.status-dot.draft { background: var(--yellow-500); }
.status-dot.inactive { background: var(--grey-400); }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-header {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); padding: 32px;
  display: flex; align-items: center; gap: 24px; margin-bottom: 24px;
}
.profile-avatar-wrapper {
  position: relative; cursor: pointer; flex-shrink: 0;
  width: 80px; height: 80px; border-radius: 50%;
}
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: var(--white);
  flex-shrink: 0; background-size: cover; background-position: center;
}
.avatar-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,0.55); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  opacity: 0; transition: opacity 0.2s; color: white; font-size: 0.65rem;
}
.avatar-overlay svg { width: 16px; height: 16px; stroke: white; }
.profile-avatar-wrapper:hover .avatar-overlay { opacity: 1; }
.profile-info h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 2px; }
.profile-info p { color: var(--grey-500); font-size: 0.9rem; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar {
  height: 8px; background: var(--grey-200); border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--green-500); border-radius: var(--radius-full);
  transition: width 0.6s ease;
}
.progress-bar.sm { height: 5px; }

/* ============================================================
   CERTIFICATES
   ============================================================ */

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--grey-400);
}
.empty-state svg { margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; color: var(--grey-600); margin-bottom: 6px; }
.empty-state p { font-size: 0.9rem; margin-bottom: 20px; }

/* ============================================================
   CATEGORY PILLS / FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.filter-pill {
  padding: 7px 18px; border-radius: var(--radius-full);
  border: 1.5px solid var(--grey-200); background: var(--white);
  font-size: 0.82rem; font-weight: 600; color: var(--grey-600);
  cursor: pointer; transition: var(--transition);
}
.filter-pill:hover { border-color: var(--green-500); color: var(--green-500); }
.filter-pill.active { background: var(--green-500); color: var(--white); border-color: var(--green-500); }

/* ============================================================
   SECTION CARDS
   ============================================================ */
.section-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 24px;
}
.section-card-header {
  padding: 20px 24px; border-bottom: 1px solid var(--grey-100);
  display: flex; align-items: center; justify-content: space-between;
}
.section-card-header h3 { font-size: 1.05rem; font-weight: 700; }
.section-card-body { padding: 20px 24px; }

/* ============================================================
   CONTINUE LEARNING CARDS (horizontal)
   ============================================================ */

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-spinner {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 80px 20px; color: var(--grey-400);
}
.spinner {
  width: 40px; height: 40px; border: 3px solid var(--spinner-bahn);
  border-top-color: var(--spinner-zeiger); border-radius: 50%;
  animation: spin 1s linear infinite; margin-bottom: 16px;
}
.loading-spinner p { font-size: 0.9rem; }

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

/* ============================================================
   ADMIN USER DETAIL
   ============================================================ */
.admin-detail-header {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); padding: 28px 32px;
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
  position: relative;
}
.admin-detail-header .profile-avatar {
  width: 72px; height: 72px; font-size: 1.6rem;
}
.admin-detail-meta { flex: 1; }
.admin-detail-meta h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 2px; display: flex; align-items: center; gap: 10px; }
.admin-detail-meta p { color: var(--grey-500); font-size: 0.88rem; }
.admin-detail-actions {
  display: flex; gap: 8px; position: absolute; top: 24px; right: 28px;
}
.admin-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.admin-detail-section {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); overflow: hidden;
}
.admin-detail-section-header {
  padding: 18px 24px; border-bottom: 1px solid var(--grey-100);
  font-size: 0.95rem; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
}
.admin-detail-section-body { padding: 20px 24px; }

/* Edit form */
.admin-edit-row { margin-bottom: 16px; }
.admin-edit-row label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--grey-600); margin-bottom: 5px;
}
.admin-edit-row input,
.admin-edit-row select {
  width: 100%; padding: 9px 14px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md); font-size: 0.9rem;
  font-family: 'Poppins', sans-serif; transition: var(--transition);
}
.admin-edit-row input:focus,
.admin-edit-row select:focus {
  border-color: var(--green-500); outline: none;
  box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.12);
}

/* Admin Notes */
.admin-note-input-row {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.admin-note-input-row textarea {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md); font-size: 0.88rem; resize: vertical;
  min-height: 60px; font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.admin-note-input-row textarea:focus {
  border-color: var(--green-500); outline: none;
  box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.12);
}
.admin-note-item {
  padding: 12px 0; border-bottom: 1px solid var(--grey-100);
}
.admin-note-item:last-child { border-bottom: none; }
.admin-note-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.admin-note-author {
  font-size: 0.8rem; font-weight: 600; color: var(--grey-600);
}
.admin-note-date { font-size: 0.75rem; color: var(--grey-400); }
.admin-note-content { font-size: 0.88rem; color: var(--text-primary); line-height: 1.5; }
.admin-note-delete {
  background: none; border: none; color: var(--grey-400);
  cursor: pointer; font-size: 1rem; padding: 2px 6px;
  border-radius: var(--radius-sm); transition: var(--transition);
}
.admin-note-delete:hover { color: #e53e3e; background: #fff5f5; }

/* Course progress items */

/* Certificates list in admin */

/* Bookmark list in admin */

/* Badges */
.badge-deactivated {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
  background: #fff5f5; color: #e53e3e;
}
.badge-approved {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
  background: var(--green-50); color: var(--green-500);
}

/* Extra button variants (used in admin/creator views) */
.btn-outline-danger {
  background: transparent; color: #e53e3e;
  border: 1.5px solid #e53e3e; padding: 8px 18px; border-radius: var(--radius-md);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: 'Poppins', sans-serif;
}
.btn-outline-danger:hover { background: #fff5f5; }
.btn-success {
  background: var(--green-500); color: var(--white);
  border: none; padding: 8px 18px; border-radius: var(--radius-md);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: 'Poppins', sans-serif;
}
.btn-success:hover { background: var(--green-500); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-xl); z-index: 9999; }
  .sidebar-close { display: block; }
  .main-content { margin-left: 0; }
  .topbar-menu { display: block; }
}

@media (max-width: 768px) {
  .login-left { display: none; }
  .page-content { padding: 20px 16px; }
  .profile-header { flex-direction: column; text-align: center; }
  .notif-dropdown { right: 10px; width: calc(100vw - 20px); }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-detail-header { flex-direction: column; text-align: center; padding: 20px; }
  .admin-detail-actions { position: static; justify-content: center; margin-top: 12px; }

  /* Admin-Tabellen mobile */
  .admin-table { border-radius: 12px; }
  .admin-table table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table th, .admin-table td { padding: 10px 12px; font-size: 0.82rem; white-space: nowrap; }
  .admin-table .user-cell { gap: 8px; }
  .admin-table .user-cell-avatar { width: 28px; height: 28px; font-size: 0.7rem; }

  /* Zertifikate mobile */

  /* Kursprogress mobile */

  /* Admin-Noten mobile */

  /* Admin Zertifikats-Items mobile */

  /* Admin Lesezeichen mobile */

  /* Section Cards mobile */
  .section-card-header { padding: 16px; }
  .section-card-body { padding: 16px; }

  /* Filter Bar mobile */
  .filter-bar { gap: 6px; }
  .filter-pill { padding: 6px 14px; font-size: 0.78rem; }

  /* Feedback Screenshot mobile */

  /* Einstellungen mobile */
}

@media (max-width: 480px) {

  /* Admin-Tabellen extra small */
  .admin-table th, .admin-table td { padding: 8px 10px; font-size: 0.78rem; }
  .page-content { padding: 16px 12px; }
}

/* ============================================================
   PUBLIC VIEW — Landing Page
   ============================================================ */

.public-view {
  min-height: 100vh;
  background: var(--white);
}

/* --- Header --- */
/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.public-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  height: 64px;
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.public-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  flex: 1;
  justify-content: center;
}

/* --- Nav Links with animated underline --- */
.public-nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  height: 36px;
  white-space: nowrap;
  position: relative;
}
/* Animated green underline on hover */
.public-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #7ed957;
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.public-nav-link:hover::after,
.public-nav-link.active::after {
  width: 60%;
  left: 20%;
}
.public-nav-link:hover {
  color: #1e293b;
}
.public-nav-link.active {
  color: #7ed957;
  font-weight: 600;
}
/* Chevron animation in dropdowns */
.public-nav-link svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.public-nav-dropdown-wrap:hover > .public-nav-link svg {
  transform: rotate(180deg);
}

/* --- Dropdown Wrapper — padding-bottom creates hover bridge --- */
.public-nav-dropdown-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.public-nav-dropdown-wrap > .public-nav-link {
  cursor: default;
}
/* Invisible hover bridge between link and dropdown */
.public-nav-dropdown-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: none;
}
.public-nav-dropdown-wrap:hover::after {
  pointer-events: auto;
}

/* --- Standard Dropdown --- */
.public-nav-dropdown {
  position: absolute;
  top: calc(100%);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.96);
  transform-origin: top center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.04);
  min-width: 220px;
  padding: 8px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s;
}
.public-nav-dropdown-wrap:hover .public-nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Dropdown items */
.public-nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, padding-left 0.2s ease;
  text-decoration: none;
}
.public-nav-dropdown a:hover {
  background: rgba(126,217,87,0.08);
  color: #7ed957;
  padding-left: 18px;
}

/* --- Mega Dropdown (Tools) --- */
.public-nav-dropdown--mega {
  min-width: 560px;
  padding: 16px;
  left: 0;
  transform: translateX(0) translateY(8px) scale(0.96);
  transform-origin: top left;
}
.public-nav-dropdown-wrap:hover .public-nav-dropdown--mega {
  transform: translateX(0) translateY(0) scale(1);
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px !important;
  border-radius: 12px !important;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease !important;
}
.nav-dropdown-item:hover {
  background: rgba(126,217,87,0.06) !important;
  transform: translateX(4px);
}
.nav-dropdown-item:hover .nav-dropdown-icon {
  transform: scale(1.05);
}
.nav-dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-dropdown-item span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-item strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  transition: color 0.15s ease;
}
.nav-dropdown-item small {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
}
.nav-dropdown-item:hover strong {
  color: #7ed957;
}

/* Nav CTA Button */
.nav-cta {
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  font-size: 0.85rem !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease !important;
}
.nav-cta:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 16px rgba(126,217,87,0.3);
}

/* ============================================================
   DARK MODE HEADER
   ============================================================ */
body.dark-mode .public-header {
  background: rgba(15,23,42,0.85);
  border-bottom-color: rgba(255,255,255,0.06);
}
body.dark-mode .public-logo { color: #e2e8f0; }
body.dark-mode .public-nav-link { color: #94a3b8; }
body.dark-mode .public-nav-link:hover { color: #e2e8f0; }
body.dark-mode .public-nav-link.active { color: #7ed957; }
body.dark-mode .public-nav-link::after { background: #7ed957; }
body.dark-mode .public-nav-dropdown {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
body.dark-mode .public-nav-dropdown a { color: #94a3b8; }
body.dark-mode .public-nav-dropdown a:hover { background: rgba(255,255,255,0.06); }
body.dark-mode .nav-dropdown-item strong { color: #e2e8f0; }
body.dark-mode .nav-dropdown-item small { color: #64748b; }
body.dark-mode .nav-dropdown-item:hover strong { color: #7ed957; }
body.dark-mode .nav-dropdown-item:hover { background: rgba(255,255,255,0.06) !important; }
body.dark-mode .public-header-actions { background: transparent; }
body.dark-mode .public-nav { background: transparent; border-color: #334155; }

.public-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.public-mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  padding: 4px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.public-mobile-menu:focus-visible {
  outline: 2px solid var(--green-400);
  outline-offset: 2px;
  border-radius: 8px;
}
/* Kein schwarzes Tap-Highlight auf ALLEN Nav-Elementen */
.public-nav-link,
.public-nav-dropdown a,
.nav-dropdown-item,
.public-darkmode-toggle,
.public-header-actions .btn,
.public-header-actions a {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.public-view .btn-sm { padding: 7px 16px; }
.public-view .btn-lg { padding: 14px 32px; }

.btn-ghost {
  background: transparent !important;
  border: none !important;
  color: var(--grey-500);
  font-weight: 600;
  padding: 14px 20px;
  gap: 6px;
}
.btn-ghost:hover {
  color: var(--green-500);
  background: transparent !important;
}
body.dark-mode .btn-ghost { color: #94a3b8; }
body.dark-mode .btn-ghost:hover { color: #7ed957; }

.btn-secondary {
  background: var(--grey-100);
  color: var(--dark);
  font-weight: 600;
}
.btn-secondary:hover {
  background: var(--grey-200);
}
body.dark-mode .btn-secondary {
  background: #334155;
  color: #e2e8f0;
}
body.dark-mode .btn-secondary:hover {
  background: #475569;
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--grey-50);
}

/* --- Hero --- */
.lp-hero {
  background: var(--grey-50);
  padding: 80px 40px 0;
  overflow: hidden;
  position: relative;
}

.lp-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-50);
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.lp-hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--dark);
}

.lp-hero-text p {
  font-size: 1.1rem;
  color: var(--grey-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.lp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Visual / Mockup */
.lp-hero-visual {
  position: relative;
}

.lp-hero-mockup {
  background: var(--dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.05);
}

.lp-mockup-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--dark-800);
}

.lp-mockup-dots {
  display: flex;
  gap: 6px;
}

.lp-mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark-600);
}

.lp-mockup-dots span:first-child { background: #ff5f57; }
.lp-mockup-dots span:nth-child(2) { background: #febc2e; }
.lp-mockup-dots span:last-child { background: #7ed957; }

.lp-mockup-url {
  font-size: 0.72rem;
  color: var(--grey-400);
  background: var(--dark-700);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  flex: 1;
  text-align: center;
}

.lp-mockup-screen {
  aspect-ratio: 16/10;
  background: var(--grey-50);
  position: relative;
}

/* CSS-only mockup placeholder */

/* Floating badges */
.lp-hero-floating {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: -8px 10px 30px rgba(0,0,0,0.25), -2px 4px 12px rgba(0,0,0,0.12);
  font-size: 0.82rem;
  animation: floatBadge 6s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 769px) {
  .lp-hero-floating:hover {
    transform: translateY(-6px) scale(1.05) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  }
}

.lp-hero-floating strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.lp-hero-floating small {
  display: block;
  color: var(--grey-500);
  font-size: 0.72rem;
}

.lp-float-1 {
  top: 45%;
  right: -90px;
  animation-delay: 0s;
}

.lp-float-2 {
  bottom: 12%;
  left: -70px;
  animation-delay: 1.5s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* --- Stats Bar --- */
.lp-stats {
  background: var(--dark);
  padding: 40px;
}

.lp-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.lp-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.lp-stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(126,217,87,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  flex-shrink: 0;
}

.lp-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  line-height: 1.1;
}

.lp-stat-label {
  font-size: 0.82rem;
  color: var(--grey-400);
  display: block;
}

.lp-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--dark-700);
}

/* --- Section Utilities --- */
.lp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.lp-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.lp-section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7ed957;
  margin-bottom: 12px;
}

.lp-section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lp-section-header p {
  font-size: 1rem;
  color: var(--grey-500);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Features --- */

/* --- Courses Section --- */
.lp-courses {
  padding: 80px 0;
  background: var(--grey-50);
}

/* Lock Badge on Course Cards */

/* --- Curriculum / Learning Paths --- */

/* --- How It Works --- */

/* --- Testimonials --- */
.lp-testimonials {
  padding: 80px 0;
  background: var(--white);
}

.lp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-testimonial-stars {
  color: #fbbc04;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.lp-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.lp-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* --- FAQ --- */
.lp-faq {
  padding: 80px 0;
  background: var(--grey-50);
}

.lp-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-faq-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lp-faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}

.lp-faq-item summary:hover {
  background: var(--grey-50);
}

.lp-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--grey-500);
  transition: transform var(--transition);
}

.lp-faq-item[open] summary::after {
  content: '–';
}

.lp-faq-item p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--grey-500);
  line-height: 1.7;
}

/* --- Final CTA --- */
.lp-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
}

.lp-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.lp-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.lp-cta p {
  font-size: 1.05rem;
  color: var(--grey-300);
  margin-bottom: 32px;
  line-height: 1.7;
}

.lp-cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.lp-cta-sub {
  font-size: 0.8rem !important;
  color: var(--grey-400) !important;
  margin-bottom: 0 !important;
}

/* --- Footer --- */
.lp-footer {
  background: var(--dark);
  color: var(--grey-400);
}

.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
}

.lp-footer-brand p {
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.6;
  color: var(--grey-400);
}

.lp-footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.lp-footer-link {
  display: block;
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.lp-footer-link:hover {
  color: var(--green-400);
}

.lp-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.lp-footer-social a {
  width: 36px;
  height: 36px;
  background: var(--dark-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  transition: var(--transition);
}

.lp-footer-social a:hover {
  background: var(--green-500);
  color: var(--white);
}

.lp-footer-bottom {
  border-top: 1px solid var(--dark-700);
  padding: 20px 40px;
  text-align: center;
}

.lp-footer-bottom p {
  font-size: 0.78rem;
  color: var(--grey-500);
}

/* --- Announcement Bar --- */

/* --- Hero USPs --- */

/* --- Hero Trust Stars --- */
.lp-hero-trust-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-200);
}
.lp-hero-trust-stars {
  display: flex;
  gap: 2px;
}
.lp-hero-trust-mini > span {
  font-size: 0.85rem;
  color: var(--dark-600);
  font-weight: 600;
}

/* Hero trust avatars */
.lp-hero-trust-google {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-hero-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 8px;
}
.lp-hero-trust-text span {
  font-size: 0.82rem;
  color: var(--grey-500);
  font-weight: 500;
}
body.dark-mode .lp-hero-trust-mini { border-top-color: rgba(255,255,255,0.08); }
body.dark-mode .lp-hero-trust-text span { color: #94a3b8; }

/* Trust avatars stack */
.lp-hero-trust-avatars {
  display: flex;
  align-items: center;
}
.lp-hero-trust-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
}
.lp-hero-trust-avatars img:first-child {
  margin-left: 0;
}
body.dark-mode .lp-hero-trust-avatars img {
  border-color: #1e293b;
}

/* --- Hero Mockup Image (legacy) --- */

/* --- Hero Dashboard Mockup --- */
.lp-mockup-dashboard {
  display: flex;
  width: 100%;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.lp-md-sidebar {
  width: 160px;
  min-width: 160px;
  background: var(--white);
  border-right: 1px solid var(--grey-200);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
}

.lp-md-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  padding: 2px 8px;
  margin-bottom: 16px;
}
.lp-md-logo span { color: var(--green-500); }

.lp-md-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-md-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--grey-400);
  cursor: default;
  transition: all 0.15s;
}
.lp-md-nav-item.active {
  background: var(--green-50);
  color: var(--green-500);
  font-weight: 600;
}
.lp-md-nav-item.active svg { stroke: var(--green-500); }

.lp-md-main {
  flex: 1;
  padding: 14px 16px;
  background: var(--grey-50);
  overflow: hidden;
}

.lp-md-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.lp-md-greeting {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
}
.lp-md-avatar-small {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
}

.lp-md-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.lp-md-stat-card {
  background: var(--white);
  border-radius: 8px;
  padding: 10px 10px 8px;
  border: 1px solid var(--grey-100);
}
.lp-md-stat-card.accent {
  background: var(--dark);
  border-color: var(--dark);
}
.lp-md-stat-card.accent .lp-md-stat-label { color: var(--grey-400); }
.lp-md-stat-card.accent .lp-md-stat-value { color: var(--green-400); }
.lp-md-stat-label {
  display: block;
  font-size: 0.52rem;
  color: var(--grey-400);
  font-weight: 500;
  margin-bottom: 2px;
}
.lp-md-stat-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.lp-md-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-md-courses {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.lp-md-course {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.lp-md-course.active {
  border-color: var(--green-400);
  box-shadow: 0 0 0 2px var(--green-100);
}
.lp-md-course.locked { opacity: 0.45; }
.lp-md-course-icon { font-size: 1rem; }
.lp-md-course-name {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.lp-md-course-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-md-course-badge.done {
  background: var(--green-500);
  color: white;
}

/* Responsive mockup */
@media (max-width: 768px) {
  .lp-md-sidebar { display: none; }
  .lp-md-stats-row { grid-template-columns: 1fr 1fr; }
  .lp-md-stats-row .lp-md-stat-card:last-child { display: none; }
  .lp-md-courses { grid-template-columns: 1fr 1fr; }
  .lp-md-courses .lp-md-course:nth-child(n+5) { display: none; }
}

/* --- Module Section --- */

/* --- Comparison Section --- */
.lp-compare {
  padding: 80px 0;
  background: var(--dark);
}
.lp-compare .lp-section-header h2 {
  color: #fff;
}
.lp-compare .lp-section-header p {
  color: #cbd5e1;
}
body.dark-mode .lp-compare .lp-section-header h2 {
  color: #f1f5f9;
}
body.dark-mode .lp-compare .lp-section-header p {
  color: #94a3b8;
}
.lp-compare-bad {
  background: rgba(239,68,68,0.08);
  border: 2px solid rgba(239,68,68,0.25);
}
.lp-compare-good {
  background: rgba(126,217,87,0.08);
  border: 2px solid rgba(126,217,87,0.3);
}
.lp-compare-bad ul li svg {
  color: #f87171;
}
.lp-compare-good ul li svg {
  color: var(--green-400);
}

/* --- Finanz-Tunnel Section --- */

/* Tunnel Quiz Container */

/* Progress Bar */

/* Tunnel Steps */
@keyframes tunnelFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tunnel Options */

/* 2-col option cards (gender/goal) */
/* Grid option cards (age) */

/* Tunnel Result */

/* Breakdown Bars */

/* Recommendation Card */

/* Personalized Power-Moves */

/* Tunnel Actions */

/* Tunnel Fun Comparisons */

/* Compact Breakdown Chips */

/* Fun grid — exactly 3 columns */

/* Tunnel Packages Section — uses .pkg-selection class, rendered outside lp-section-inner */

/* Tunnel Footnote */

/* --- Goal CTA Section --- */

/* --- Was du lernst / Vorteile pro Bereich --- */

/* --- Video Section --- */

/* --- Advantages Section --- */
/* --- Team Detail Modal --- */
.team-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 110000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.team-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.team-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border: none;
  background: var(--grey-100);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--dark);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-modal-close:hover {
  background: var(--grey-200);
  transform: rotate(90deg);
}
.team-modal-content {
  display: grid;
  grid-template-columns: 450px 1fr;
}
.team-modal-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  min-height: 500px;
}
.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-modal-body {
  padding: 40px 36px;
}
.team-modal-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-modal-role {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.team-modal-section {
  margin-bottom: 20px;
}
.team-modal-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-400);
  margin-bottom: 8px;
}
.team-modal-section p {
  font-size: 0.88rem;
  color: var(--dark-600);
  line-height: 1.7;
}
.team-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-modal-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--green-50);
  color: var(--green-500);
  border: 1px solid var(--green-200);
}

/* --- Booking Section --- */
.lp-booking {
  background: var(--dark);
  padding: 80px 40px;
}
.lp-booking-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.lp-booking-split {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  text-align: left;
}
.lp-booking-inner h2,
.lp-booking-split h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.lp-booking-inner > p,
.lp-booking-text > p {
  font-size: 1rem;
  color: var(--grey-400);
  line-height: 1.7;
  margin-bottom: 32px;
}
.lp-booking-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.lp-booking-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--grey-300);
  font-weight: 500;
}
.lp-booking-list li svg {
  flex-shrink: 0;
}
.lp-booking-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-booking-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lp-booking-calendly {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* --- Footer Legal --- */
.lp-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-footer-legal {
  display: flex;
  gap: 20px;
}
.lp-footer-legal a {
  font-size: 0.78rem;
  color: var(--grey-500);
  transition: color var(--transition);
}
.lp-footer-legal a:hover {
  color: var(--green-400);
}

/* ============================================================
   LANDING PAGE — MOBILE RESPONSIVE (complete fix)
   ============================================================ */

@media (max-width: 1024px) {
.lp-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Announcement */

  /* Body lock when menu is open — padding-top verhindert Content-Sprung */
  body.menu-open {
    overflow: hidden !important;
    padding-top: 60px !important;
  }
  /* Header — mobile: fixed, flex-wrap für Zeilen-Layout */
  .public-header {
    padding: 0 16px;
    min-height: 60px;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  /* Erste Zeile: Logo links, Toggle+Hamburger rechts */
  .public-header .public-logo { order: 1 !important; }
  .public-header .public-darkmode-toggle { order: 2 !important; margin-left: auto !important; }
  .public-header .public-mobile-menu { order: 3 !important; margin-left: 8px !important; }
  /* Zweite Zeile: Nav + Actions (volle Breite, unter der ersten Zeile) */
  .public-header .public-nav { order: 10 !important; }
  .public-header .public-header-actions { order: 11 !important; }
  /* Spacer damit Content nicht hinter dem fixed Header verschwindet */
  .public-header + * {
    margin-top: 60px;
  }
  .public-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 16px 0 8px;
    gap: 2px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 0;
    height: auto;
  }
  .public-nav-link {
    padding: 10px 14px;
    font-size: 0.9rem;
    height: auto;
    border-radius: 8px;
  }
  .public-nav-link::after { display: none; }
  .public-header.nav-open {
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: 80vh;
  }
  body.dark-mode .public-header.nav-open {
    background: var(--dark);
  }
  .public-header.nav-open .public-nav {
    display: flex;
    animation: navSlideDown 0.15s ease-out;
  }
  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* Mobile dropdowns open inline */
  .public-nav-dropdown-wrap {
    height: auto;
    flex-direction: column;
  }
  .public-nav-dropdown-wrap > .public-nav-link {
    width: 100%;
  }
  .public-nav-dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 0 0 12px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
    background: transparent !important;
  }
  .public-nav-dropdown-wrap.mobile-open .public-nav-dropdown {
    display: block;
    animation: navSlideDown 0.25s ease;
  }
  .public-nav-dropdown--mega {
    min-width: 0 !important;
    padding: 4px 0 4px 8px !important;
  }
  .nav-dropdown-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2px !important;
  }
  .nav-dropdown-item {
    padding: 8px 8px !important;
    gap: 8px !important;
  }
  .nav-dropdown-item strong {
    font-size: 0.78rem !important;
  }
  .nav-dropdown-item small {
    display: none !important;
  }
  .nav-dropdown-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px !important;
  }
  /* Mobile: header-actions komplett versteckt (Toggle ist separates Element) */
  .public-header-actions {
    display: none !important;
  }
  .public-mobile-menu {
    margin-left: 8px;
  }
  /* Wenn offen: header-actions als Button-Zeile unten */
  .public-header.nav-open .public-header-actions {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    order: 11;
    padding: 10px 0 8px;
    gap: 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 4px;
  }
  .public-header.nav-open .public-header-actions .btn {
    display: flex !important;
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }
  .public-mobile-menu { display: block; }

  /* Hero */
  .lp-hero { padding: 24px 20px 0; }
  .lp-hero-content { grid-template-columns: 1fr; gap: 20px; }
  .lp-hero-text h1 { font-size: 2rem; }
  .lp-hero-text p { font-size: 1rem; }
  .lp-hero-actions { flex-direction: column; }
  .lp-hero-actions .btn { width: 100%; justify-content: center; }
  .lp-hero-trust-mini {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
  }
  .lp-hero-trust-avatars img {
    width: 28px;
    height: 28px;
  }
  .lp-hero-trust-google svg {
    width: 22px;
    height: 22px;
  }
  .lp-hero-trust-text {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .lp-hero-trust-stars svg {
    width: 12px;
    height: 12px;
  }
  .lp-hero-trust-text span {
    font-size: 0.75rem;
  }
  .lp-hero-floating { display: none; }

  /* Stats */
  .lp-stats { padding: 24px 20px; }
  .lp-stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .lp-stat-divider { display: none; }
  .lp-stat {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    min-width: auto;
  }
  .lp-stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }
  .lp-stat-number { font-size: 1.1rem; }
  .lp-stat-label { font-size: 0.7rem; white-space: nowrap; }

  /* Features */
  .lp-section-header h2 { font-size: 1.5rem; }

  /* Courses */
  .lp-courses { padding: 60px 0; }

  /* Module */

  /* Comparison */
  .lp-compare { padding: 60px 0; }

  /* Finanz-Tunnel */

  /* Goal CTA */

  /* Was du lernst */

  /* Video */

  /* Advantages */
  /* Team Modal */
  .team-modal-content { grid-template-columns: 1fr; }
  .team-modal-photo { min-height: 260px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .team-modal-body { padding: 24px 20px 32px; }
  .team-modal { max-width: 100%; margin: 0 12px; border-radius: var(--radius-lg); }
  .team-modal-overlay { padding: 12px; }

  /* Booking */
  .lp-booking { padding: 60px 16px; }
  .lp-booking-inner, .lp-booking-split { padding: 0; }
  .lp-booking-split { grid-template-columns: 1fr; }
  .lp-booking-inner h2, .lp-booking-split h2 { font-size: 1.5rem; }
  .lp-booking-calendly {
    margin: 0 -4px;
    overflow: hidden;
    border-radius: 12px;
  }

  /* How it works */

  /* Testimonials */
  .lp-testimonials { padding: 60px 0; }
  .lp-testimonials-grid { grid-template-columns: 1fr; }
  .lp-testimonial-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    overflow: hidden;
  }
  .lp-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  .lp-testimonials-grid .lp-testimonial-card:nth-child(n+4):not(.lp-testimonial-hidden) {
    display: none;
  }
  .lp-testimonials-grid.show-all .lp-testimonial-card:nth-child(n+4):not(.lp-testimonial-hidden) {
    display: block;
  }

  /* FAQ */
  .lp-faq { padding: 60px 0; }

  /* Tunnel CTA row */

  /* Floating button — smaller on mobile */
  .floating-beratung-btn { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 0.82rem; }
  .floating-beratung-btn span { display: none; }

  /* CTA */
  .lp-cta { padding: 60px 20px; }
  .lp-cta h2 { font-size: 1.5rem; }
  .lp-cta-actions { flex-direction: column; gap: 12px; }
  .lp-cta-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .lp-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }
  .lp-footer-col h4 { font-size: 0.82rem; margin-bottom: 8px; }
  .lp-footer-link { font-size: 0.78rem; }
  .lp-footer-bottom { padding: 16px 20px; }
  .lp-footer-bottom-inner { flex-direction: column; text-align: center; }
  .lp-footer-legal { justify-content: center; }

  /* Section inner padding */
  .lp-section-inner { padding: 0 20px; }

}

@media (max-width: 480px) {
  .lp-hero-text h1 { font-size: 1.7rem; }
  .lp-stats-inner { gap: 12px; }
  .lp-stat { flex-direction: column; text-align: center; gap: 6px; }  .lp-footer-links { grid-template-columns: 1fr; }
}

/* ============================================================
   SALES / PRICING PAGE (v2 — Quiz + 3 Pakete + Beratung)
   ============================================================ */

.sales-page {
  min-height: 100vh;
  background: var(--grey-50);
  overflow-x: hidden;
}

.sales-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0 0;
}

/* --- Quiz Section --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Sales Hero (above pricing) --- */

/* --- Billing Toggle --- */

/* --- Pricing Grid (3 cols) --- */

/* Highlighted (middle) card */

/* VIP button */

/* Feature list */

/* Booking link under CTA */

/* --- Social proof bar --- */

/* --- Comparison Table --- */

/* --- Beratung / Consultation CTA --- */

/* --- Calendly Modal --- */

/* --- Floating Beratung Button --- */
.floating-beratung-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-500);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(126,217,87,0.35), 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}
.floating-beratung-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.floating-beratung-btn:hover {
  background: var(--green-500);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(126,217,87,0.45), 0 4px 12px rgba(0,0,0,0.2);
}
.floating-beratung-btn svg {
  flex-shrink: 0;
}
body.dark-mode .floating-beratung-btn {
  color: #fff !important;
}

/* --- Outline White Button (for Final CTA) --- */

/* Override Calendly popup z-index to be above floating button */

/* --- Sales Guarantee --- */

/* --- Sales FAQ --- */

/* --- Sales Final CTA --- */

/* --- Sales back link --- */

/* Auth Welcome Avatar */
.auth-welcome-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grey-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px dashed var(--grey-300);
  transition: border-color 0.2s;
  background-size: cover;
  background-position: center;
}
.auth-welcome-avatar:hover {
  border-color: var(--green-500);
}
.auth-avatar-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.7rem;
  padding: 4px 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.auth-welcome-avatar:hover .auth-avatar-overlay {
  opacity: 1;
}

/* Beta Access Gate */
/* Beta Keypad */

/* Shake animation for wrong code */
@keyframes betaShake {
  0%, 100% { transform: translateX(0); }
  10%, 50%, 90% { transform: translateX(-6px); }
  30%, 70% { transform: translateX(6px); }
}

/* Email Verification Screen */
.email-verify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-50);
  margin-bottom: 4px;
  animation: emailPulse 2s ease-in-out infinite;
}
@keyframes emailPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(126, 217, 87, 0); }
}
.email-verify-tips {
  border: 1px solid var(--grey-100);
}
.email-verify-tips ul li {
  margin-bottom: 2px;
}

/* Sidebar Premium Link */

/* Pricing recommended badge */

/* Hide default ::before when custom badge is used */

/* Sales Guarantee */

/* Sales FAQ */

/* Sales Final CTA */

/* Sales back link */

/* ============================================================
   RESPONSIVE — Public View & Auth Modal & Sales
   ============================================================ */

@media (max-width: 768px) {
  .public-header { padding: 12px 20px; }
  .sales-content { padding: 32px 20px 60px; }
}

/* ═══════════════════════════════════════════════════
   POST-REGISTRATION FLOW — Hide "Zurück" during onboarding
   ═══════════════════════════════════════════════════ */
.sales-page.postreg-flow .public-header-actions {
  display: none;
}

/* ═══════════════════════════════════════════════════
   POST-REGISTRATION TUNNEL (Fullscreen Quiz)
   ═══════════════════════════════════════════════════ */
/* Reuse existing tunnel-option styles from landing page */

/* ═══════════════════════════════════════════════════
   PACKAGE SELECTION PAGE
   ═══════════════════════════════════════════════════ */
/* Skip / X button */

/* Result hero */

/* Breakdown bars */

/* Fun comparisons */

/* Power moves */

/* Investment vs. Gewinn Grafik */

/* Compact Hero Section (top of package selection) */

/* Value Proposition Strip */

/* Compact Analysis Section (collapsible, below packages) */

/* Analysis Breakdown (compact horizontal) */

/* Analysis Power Moves (compact grid) */

/* Analysis Fun Comparisons (compact chips) */

/* Analysis ROI (compact inline) */

/* Package heading */

/* 3-col package grid */

/* Personalized goals in cards */

/* Crossed-out features for Starter card */

/* Responsive Package Grid — match .pricing-grid breakpoints */

/* ============================================================
   LIVE CALLS
   ============================================================ */
/* Badges */
@keyframes lc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
/* Admin live call table */
/* Edit form inline */
/* Responsive */

/* ============================================================
   CALL ROOM PAGE
   ============================================================ */
.call-room {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 64px);
  overflow: hidden;
}

@keyframes pulse-end {
  0%, 100% { box-shadow: 0 0 0 2px rgba(220,38,38,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(220,38,38,0.15); }
}

/* Main area: video + chat */

/* Waiting state */

/* Chat Sidebar */

/* ============================================================
   CLICKABLE CARDS + DASHBOARD WIDGETS
   ============================================================ */

/* Dashboard Live Call Widget */

/* Call Detail Modal */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */

/* ============================================================
   DARK MODE TOGGLE BUTTON
   ============================================================ */
.topbar-theme-toggle {
  position: relative; background: none; border: none; padding: 8px;
  border-radius: var(--radius-sm); color: var(--grey-500); transition: var(--transition);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.topbar-theme-toggle:hover { background: var(--grey-100); }
.topbar-theme-toggle .icon-moon { display: none; }
.topbar-theme-toggle .icon-sun { display: block; }
body.dark-mode .topbar-theme-toggle .icon-moon { display: block; }
body.dark-mode .topbar-theme-toggle .icon-sun { display: none; }

/* ============================================================
   DARK MODE
   ============================================================ */
body.dark-mode {
  --dm-card-bg: #1e293b;
  /* Ein gesperrter gruener Knopf im dunklen Thema: deckend, nicht gruen (siehe .btn-primary oben). */
  --knopf-gesperrt-grund: #475569;
  --knopf-gesperrt-schrift: #fff;
  --dm-toggle-knob: #e2e8f0;
  --dark: #e2e8f0;
  --dark-800: #cbd5e1;
  --dark-700: #94a3b8;
  --dark-600: #94a3b8;
  --grey-50: #0f172a;
  --grey-100: #1e293b;
  --grey-200: #334155;
  --grey-300: #475569;
  --grey-400: #94a3b8;
  --grey-500: #cbd5e1;
  --grey-600: #e2e8f0;
  --white: #1e293b;
  --border: #334155;

  --green-50: rgba(126,217,87,.08);
  --green-100: rgba(126,217,87,.12);
  --blue-50: rgba(37,99,235,.12);
  --purple-50: rgba(124,58,237,.12);
  --orange-50: rgba(234,88,12,.12);
  --red-50: rgba(220,38,38,.12);
  --yellow-50: rgba(245,158,11,.12);

  --shadow-xs: 0 1px 2px rgba(0,0,0,.2);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.15);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.3), 0 2px 4px -2px rgba(0,0,0,.2);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.35), 0 4px 6px -4px rgba(0,0,0,.2);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.4), 0 8px 10px -6px rgba(0,0,0,.2);

  color-scheme: dark;
}

body.dark-mode { background: #0f172a; color: #e2e8f0; }

/* Sidebar */
body.dark-mode .sidebar { background: #1e293b; border-right-color: #334155; }
body.dark-mode .sidebar-header { border-bottom-color: #334155; }
body.dark-mode .sidebar-logo .logo { color: #e2e8f0; }
body.dark-mode .sidebar-footer { border-top-color: #334155; }
body.dark-mode .sidebar-link:hover { background: #334155; color: #e2e8f0; }

/* Topbar */
body.dark-mode .topbar { background: #1e293b; border-bottom-color: #334155; }
body.dark-mode .topbar-notif:hover,
body.dark-mode .topbar-theme-toggle:hover { background: #334155; }

/* Cards & content */
body.dark-mode .stat-card { background: #1e293b; border-color: #334155; }
body.dark-mode .stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.4); }

/* Tables */
/* Dark mode: Neue Nutzer section */
body.dark-mode .card { background: #1e293b; border-color: #334155; }
body.dark-mode .admin-new-user-card { background: #0f172a !important; border-color: #334155 !important; }
body.dark-mode .admin-new-user-card strong { color: #e2e8f0 !important; }
body.dark-mode .admin-new-user-section { background: #1a2e1a !important; border-color: #7ed957 !important; }
body.dark-mode .admin-new-user-section h3 { color: var(--green-400) !important; }
body.dark-mode .admin-new-user-section p { color: var(--green-300) !important; }
body.dark-mode .admin-table { background: #1e293b; border-color: #334155; }
body.dark-mode .admin-table th { background: #0f172a; border-bottom-color: #334155; color: #94a3b8; }
body.dark-mode .admin-table td { border-bottom-color: #334155; color: #e2e8f0; }
body.dark-mode .admin-table tr:hover td { background: #334155; }

/* Admin detail sections */
body.dark-mode .admin-detail-section { background: #1e293b; border-color: #334155; }
body.dark-mode .admin-detail-section-header { border-bottom-color: #334155; }
body.dark-mode .admin-detail-header { background: #1e293b; border-color: #334155; }

/* Notification dropdown */
body.dark-mode .notif-dropdown { background: #1e293b; border-color: #334155; }

/* Dashboard teaser dark mode */

/* Referral dark mode */

/* Logo dark mode */
body.dark-mode .logo { color: #e2e8f0; }
/* dark-mode header styles moved to main header section */

/* Dashboard subscription banners dark mode */
body.dark-mode .notif-header { border-bottom-color: #334155; }

/* Search overlay */

/* Buttons */
body.dark-mode .btn { color: #e2e8f0; }
body.dark-mode .btn:hover { background: #334155; }
body.dark-mode .btn-outline { border: 2px solid #475569; color: #94a3b8; }
body.dark-mode .btn-outline:hover { background: #334155; color: #e2e8f0; }

/* Inputs & forms
   DAS THEMA DER FELDER ENDET AN DER DUNKLEN FLÄCHE (Gegner 28.09.2026, R12): `.vs-sign-dunkel` ist in jedem Thema dunkel
   und malt ihre Felder selbst (mandate.css). Ohne diese Grenze machte der Dunkelmodus der App aus dem gläsernen
   Feedback-Feld am Ende des Löschwegs einen nachtblauen Kasten: eine Fläche mit festem Grund, deren Feld dem Thema
   folgt (Wand onboarding-feinschliff K, «Klasse»). `:where` hält die Gewichtung dieser Regeln, wie sie war. Dieselbe
   Grenze tragen die Regeln «global override» weiter unten. */
body.dark-mode input:where(:not(.vs-sign-dunkel *)),
body.dark-mode textarea:where(:not(.vs-sign-dunkel *)),
body.dark-mode select:where(:not(.vs-sign-dunkel *)) {
  background: #0f172a; border-color: #334155; color: #e2e8f0;
}
body.dark-mode input:focus:where(:not(.vs-sign-dunkel *)),
body.dark-mode textarea:focus:where(:not(.vs-sign-dunkel *)),
body.dark-mode select:focus:where(:not(.vs-sign-dunkel *)) {
  border-color: var(--green-500); background: #1e293b;
}
body.dark-mode input:where(:not(.vs-sign-dunkel *))::placeholder,
body.dark-mode textarea:where(:not(.vs-sign-dunkel *))::placeholder { color: #475569; }

/* Progress bars */

/* Tabs */

/* Lesson viewer */

/* Dashboard sections */

/* Badges & tags */
body.dark-mode .badge,
body.dark-mode .status-badge { border-color: #475569; }

/* Profile page */

/* Referral box */

/* Settings page */

/* Modals */
body.dark-mode .modal-content { background: #1e293b; border-color: #334155; }

/* Charts & finance */

/* Scrollbar */
body.dark-mode ::-webkit-scrollbar { width: 8px; }
body.dark-mode ::-webkit-scrollbar-track { background: #0f172a; }
body.dark-mode ::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
body.dark-mode ::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Live calls */

/* Upgrade banner */

/* ============================================================
   FEEDBACK SYSTEM
   ============================================================ */

/* --- Floating Feedback Button --- */

/* --- Feedback Modal --- */

/* Priority Buttons */

/* Dark mode priority buttons */

/* --- Feedback Page (list) --- */
/* Small action buttons for feedback cards */

/* --- Feedback Detail --- */

/* Chat / comments */

/* User reply section */
/* User chat bubble */

/* Feedback notification dot */
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* WhatsApp-Style Chat Bubbles */
.chat-msg { display: flex; margin-bottom: 8px; }
.chat-bubble { max-width: 75%; padding: 10px 14px; border-radius: 12px; position: relative; }

/* Fixli = links, blau */

/* Admin/Vemo Team = links, grün */

/* User = rechts, grau */

/* Dark mode chat */

/* Confirm resolution */
/* Done tickets toggle */

/* Admin feedback controls */

/* Sidebar badge */
.sidebar-feedback-badge {
  background: var(--red-500);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

/* Stats row for admin feedback overview */

/* Dark mode feedback */

/* ============================================================
   FIX #2: Dark mode — more contrast for dashboard elements
   ============================================================ */
body.dark-mode .stat-card { background: #1e293b; border-color: #475569; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
body.dark-mode .card { background: #1e293b; border-color: #475569; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
body.dark-mode .admin-detail-section { background: #1e293b; border-color: #475569; }
body.dark-mode .admin-detail-header { background: #1e293b; border-color: #475569; }
body.dark-mode .sidebar { border-right-color: #475569; }
body.dark-mode .topbar { border-bottom-color: #475569; }
body.dark-mode .notif-dropdown { border-color: #475569; }
body.dark-mode .admin-table { border-color: #475569; }
body.dark-mode .admin-table th { border-bottom-color: #475569; }
body.dark-mode .admin-table td { border-bottom-color: #3b4a63; }

/* ============================================================
   FIX #6 + #12: Better mobile responsive for dashboard
   ============================================================ */
@media (max-width: 768px) {
  .stat-card { padding: 16px; }
  .stat-card h3 { font-size: 1.3rem; }
  .stat-card p { font-size: 0.75rem; }
  .page-content { padding: 16px; }
  .page-header h1 { font-size: 1.3rem; }
  .section-card { overflow-x: auto; }
}
@media (max-width: 480px) {
  .stat-card { padding: 14px; }
  .stat-card h3 { font-size: 1.1rem; }
  .page-header h1 { font-size: 1.1rem; }
}

/* ============================================================
   FIX #7: Mobile menu z-index, page width containment
   ============================================================ */
/* body: clip statt hidden. hidden macht body zum Scroll-Container (html hat overflow-y: scroll,
   darum erbt der Viewport bodys overflow nicht), und in einem Scroll-Container, der nie scrollt,
   klebt kein position: sticky (gemessen 02.09.2026: die Bubble der Startseite lief davon).
   clip schneidet gleich ab, ohne einen Scroll-Container zu machen. */
html { max-width: 100vw; overflow-x: hidden; }
body { max-width: 100vw; overflow-x: clip; }
.app-shell { max-width: 100vw; overflow-x: hidden; }
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); z-index: 9999; }
  .main-content { margin-left: 0; }
  .topbar-menu { display: flex; }
  .sidebar-close { display: block; }
  .public-header.nav-open .public-nav {
    display: flex !important;
  }
  .public-header.nav-open .public-header-actions {
    display: flex !important;
  }
}

/* ============================================================
   FIX #9: Comparison table mobile scroll
   ============================================================ */

/* ============================================================
   FIX #14: Button hover color on "Kostenlos beraten lassen"
   ============================================================ */

/* ============================================================
   FIX #16: Dark mode toggle on landing page + LP dark mode
   ============================================================ */
.public-darkmode-toggle {
  background: none;
  border: none;
  border-radius: 0;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-500);
  transition: var(--transition);
}
.public-darkmode-toggle:hover { background: none; color: var(--dark); }
.public-darkmode-toggle .icon-moon { display: none; }
.public-darkmode-toggle .icon-sun { display: block; }
body.dark-mode .public-darkmode-toggle { color: #94a3b8; }
body.dark-mode .public-darkmode-toggle:hover { background: none; color: #e2e8f0; }
body.dark-mode .public-darkmode-toggle .icon-moon { display: block; }
body.dark-mode .public-darkmode-toggle .icon-sun { display: none; }

/* Landing page dark mode */
body.dark-mode .lp-hero { background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); }
body.dark-mode .lp-hero-text h1 { color: #f1f5f9; }
body.dark-mode .lp-hero-text p { color: #94a3b8; }
body.dark-mode .lp-hero-badge { background: rgba(126,217,87,.1); border-color: #7ed957; color: #e2e8f0; }
body.dark-mode .lp-stats { background: #1e293b; border-color: #475569; }
body.dark-mode .lp-stat-number { color: #f1f5f9; }
body.dark-mode .lp-stat-label { color: #94a3b8; }
body.dark-mode .lp-section-header h2 { color: #f1f5f9; }
body.dark-mode .lp-section-header p { color: #94a3b8; }
body.dark-mode .lp-compare { background: #0f172a; }
body.dark-mode .lp-compare-bad { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); }
body.dark-mode .lp-compare-good { background: rgba(126,217,87,0.08); border-color: #334155; }
body.dark-mode .lp-faq-item { background: #1e293b; border-color: #334155; }
body.dark-mode .lp-footer { background: #0f172a; border-top-color: #334155; }
body.dark-mode .lp-footer-col h4 { color: #f1f5f9; }
body.dark-mode .lp-footer-col a { color: #94a3b8; }
body.dark-mode .lp-footer-col p { color: #94a3b8; }
body.dark-mode .lp-cta { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
body.dark-mode .lp-cta h2 { color: #f1f5f9; }
body.dark-mode .lp-cta p { color: #94a3b8; }
body.dark-mode .lp-cta-sub { color: #94a3b8; }
body.dark-mode .lp-service-card { background: #1e293b !important; border: none !important; box-shadow: 0 1px 3px rgba(0,0,0,0.15), 0 4px 20px rgba(0,0,0,0.2); }
body.dark-mode .lp-service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.15); }
body.dark-mode .lp-service-card h3 { color: #f1f5f9; }
body.dark-mode .lp-service-card p { color: #94a3b8; }
body.dark-mode .lp-service-icon { background: rgba(255,255,255,0.06) !important; }
body.dark-mode .lp-service-link { color: #7ed957; }
body.dark-mode .lp-services { background: #0f172a; }
body.dark-mode .lp-blog-card { background: #1e293b; border-color: #334155; }
body.dark-mode .lp-blog-body p { color: #94a3b8; }
body.dark-mode .lp-blog-meta { color: #94a3b8; }
body.dark-mode .lp-stat-divider { background: #334155; }
body.dark-mode .lp-courses { background: #0f172a; }
body.dark-mode .lp-faq-count { color: #94a3b8; }body.dark-mode .lp-testimonial { background: #1e293b; border-color: #334155; }
body.dark-mode .lp-booking { background: #0f172a; }
body.dark-mode .lp-booking h2 { color: #f1f5f9; }
body.dark-mode .lp-booking-list li { color: #e2e8f0; }
body.dark-mode .lp-booking-trust-item { color: #cbd5e1; }
body.dark-mode .lp-booking-text > p { color: #e2e8f0; }
body.dark-mode .lp-booking .lp-section-tag { color: var(--green-400); }
/* Funnel/Tunnel Dark Mode — mehr Kontrast */
body.dark-mode .hf-q { color: #f1f5f9; }
body.dark-mode .hf-label { color: var(--green-400); }
body.dark-mode .hf-opt { color: #e2e8f0; }
body.dark-mode .hf-flabel { color: #cbd5e1; }
body.dark-mode .hf-back { color: #94a3b8; }
body.dark-mode .team-modal { background: #1e293b; }
body.dark-mode .team-modal-body { color: #e2e8f0; }
body.dark-mode .team-modal-close { color: #94a3b8; }
body.dark-mode .team-modal-tag { background: #0f172a; color: #94a3b8; border-color: #475569; }

/* ============================================================
   Dark mode: ALL remaining pkg-* components
   ============================================================ */

/* Selection header */

/* Savings hero */

/* Skip button */

/* Result hero */

/* Breakdown */

/* Fun comparisons */

/* Power moves */

/* Investment graphic */

/* Hero ROI badge */

/* Value strip text */

/* Analysis header & toggle */

/* Analysis breakdown labels/values */

/* Analysis power moves */

/* Analysis fun chips */

/* Analysis ROI section */

/* Heading section & recommendation */

/* Goal items inside pricing cards */

/* Mobile dark mode toggle — now standalone in header, styled in MOBILE FINAL OVERRIDES */

/* ============================================================
   FIX #3: Video speed control dark mode
   ============================================================ */

/* ============================================================
   FIX #4: Sidebar backdrop overlay for mobile
   ============================================================ */
.sidebar-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9998;
}

/* ============================================================
   FIX #5: Dark mode — dashboard greeting text
   ============================================================ */

/* ============================================================
   FIX #6: Dark mode — course card badges, labels, filter pills
   ============================================================ */
body.dark-mode .filter-pill { background: #334155; color: #e2e8f0; border-color: #475569; }
body.dark-mode .filter-pill.active { background: var(--green-500); color: white; }

/* ============================================================
   FIX #7: Dark mode — topbar background consistency
   ============================================================ */
body.dark-mode .topbar { background: #0f172a; border-bottom-color: #1e293b; }

/* ============================================================
   FIX #8: Loading screen dark mode
   ============================================================ */
body.dark-mode #appLoader { background: #0f172a; }
body.dark-mode #appLoader .logo { color: #e2e8f0; }

/* ============================================================
   FIX: Dark mode — landing page section backgrounds
   Ticket #476e4d55 + #ce3389cf
   ============================================================ */
body.dark-mode .lp-faq { background: #1e293b; }
body.dark-mode .lp-section-tag { color: var(--green-400); }

/* ============================================================
   FIX: Comprehensive mobile optimization — customer area
   Ticket #ff9fe091
   ============================================================ */
@media (max-width: 768px) {
  /* Course detail page */

  /* Section cards */
  .section-card-body { padding: 14px 16px; }
  .section-card-header { padding: 14px 16px; }

  /* Lesson items */

  /* Profile page */
  .profile-header { padding: 16px; gap: 12px; }

  /* Referral page */

  /* Continue learning cards */

  /* Topbar */
  .topbar { padding: 10px 16px; }

  /* General tables horizontal scroll */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Cards full width */
  .card { width: 100%; }

  /* Reduce heading sizes */
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }

  /* Chat area */
  .chat-messages { padding: 12px; }
}

@media (max-width: 480px) {
  /* Even smaller screens */
  .page-content { padding: 12px; }
  .section-card-body { padding: 10px 12px; }
  .section-card-header { padding: 10px 12px; }
  .topbar { padding: 8px 12px; }
}

/* ============================================================
   TICKET #978a0cba: Dark mode search bar gray background fix
   ============================================================ */

/* ============================================================
   TICKET #6157e7f0: Dark mode admin course edit styling
   ============================================================ */
body.dark-mode .section-card { background: #1e293b; border-color: #334155; }
body.dark-mode .section-card-header { border-bottom-color: #334155; color: #e2e8f0; }
body.dark-mode .section-card-header h3 { color: #e2e8f0; }
body.dark-mode .section-card-body { color: #cbd5e1; }
body.dark-mode .form-group label { color: #cbd5e1; }
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: #0f172a; border-color: #334155; color: #e2e8f0;
}
body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder { color: #64748b; }

/* ============================================================
   TICKET #09f01637: Dark mode lessons section white background
   ============================================================ */

/* ============================================================
   TICKET #572cf0e8: Dark mode back button / btn-ghost fix
   ============================================================ */
body.dark-mode .btn-ghost { background: transparent; color: #e2e8f0; }
body.dark-mode .btn-ghost:hover { background: #334155; color: #f1f5f9; }

/* ============================================================
   TICKET #10f52d67 + #dafaa2a7: Player sidebar full height
   ============================================================ */

/* ============================================================
   TICKET #24e7d6bb: Remove black border on video
   ============================================================ */

/* (Moved to consolidated section below) */

/* ============================================================
   TICKET #3201ee9e: Bookmark active state
   ============================================================ */

/* ============================================================
   TICKET #6157e7f0: Dark mode lesson edit modal
   ============================================================ */

/* ============================================================
   TICKET #59222217 + #66138c91: Profile avatar border aligned
   ============================================================ */
.profile-avatar-wrapper {
  width: 88px;
  height: 88px;
  border: 2px solid var(--grey-200);
  border-radius: 50%;
  padding: 2px;
  transition: border-color 0.2s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-avatar-wrapper .profile-avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.profile-avatar-wrapper:hover {
  border-color: var(--green-500);
}
body.dark-mode .profile-avatar-wrapper {
  border-color: #475569;
}
body.dark-mode .profile-avatar-wrapper:hover {
  border-color: var(--green-400);
}

/* ============================================================
   TICKET #dc3b791b: Speed dropdown arrow more spacing
   ============================================================ */

/* ============================================================
   Services / Dienstleistungen Section
   ============================================================ */
.lp-services { padding: 80px 0; }
.lp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.lp-service-card {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.25s ease, color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.lp-service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}
.lp-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.lp-service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.lp-service-card p {
  font-size: 0.92rem;
  color: var(--grey-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lp-service-link {
  color: var(--green-500);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
  margin-top: auto;
}
.lp-service-link:hover { color: var(--green-500); }

/* Dark mode services */
[data-theme="dark"] .lp-service-card {
  background: var(--grey-800);
  border-color: var(--grey-700);
}
[data-theme="dark"] .lp-service-card:hover {
  border-color: var(--green-500);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .lp-services { padding: 48px 0; }
  .lp-services-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .lp-service-card { padding: 24px; }
}

/* Kostenvergleich Tool */
.lp-cost-compare { padding: 80px 0; background: var(--grey-50); }

/* Dark mode cost compare */
body.dark-mode .lp-cost-compare { background: #0f172a; }

@media (max-width: 768px) {
  .lp-cost-compare { padding: 48px 0; }
}

/* Scroll Animations */
.lp-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
}
.lp-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-animate-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
}
.lp-animate-children.visible > *:nth-child(1) { transition-delay: 0s; }
.lp-animate-children.visible > *:nth-child(2) { transition-delay: 0.05s; }
.lp-animate-children.visible > *:nth-child(3) { transition-delay: 0.08s; }
.lp-animate-children.visible > *:nth-child(4) { transition-delay: 0.11s; }
.lp-animate-children.visible > *:nth-child(5) { transition-delay: 0.14s; }
.lp-animate-children.visible > *:nth-child(6) { transition-delay: 0.17s; }
.lp-animate-children.visible > *:nth-child(7) { transition-delay: 0.20s; }
.lp-animate-children.visible > *:nth-child(8) { transition-delay: 0.23s; }
.lp-animate-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Counter animation pulse */
.lp-stat-number.counting {
  color: var(--green-500);
  transition: color 0.3s ease;
}

/* Hero Team Photo */
/* Hero Team Image — cool effects */
.lp-hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.lp-hero-img-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,217,87,0.15) 0%, rgba(126,217,87,0.05) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: heroPulse 4s ease-in-out infinite;
}
.lp-hero-img-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(126,217,87,0.2) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
/* Crossfade container for light/dark hero images */
.lp-hero-team-img {
  width: 120%;
  max-width: none;
  height: auto;
  object-fit: contain;
  margin-left: -10%;
  margin-top: -40px;
  margin-bottom: -30px;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  animation: heroFloat 8s ease-in-out infinite;
}
.lp-hero-img-ring {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 2px solid rgba(126,217,87,0.15);
  z-index: 0;
  animation: heroRingSpin 20s linear infinite;
}
.lp-hero-img-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 12px var(--green-400);
}

/* Floating badge 3 */
.lp-hero-floating.lp-float-3 {
  bottom: 28%;
  left: -80px;
  animation-delay: 1.5s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}
@keyframes heroRingSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

body.dark-mode .lp-hero-img-bg {
  background: radial-gradient(circle, rgba(126,217,87,0.1) 0%, rgba(126,217,87,0.03) 50%, transparent 70%);
}
body.dark-mode .lp-hero-img-ring {
  border-color: rgba(126,217,87,0.1);
}

@media (max-width: 768px) {
  .lp-hero-img-wrap { max-width: 340px; }
  .lp-hero-team-img { width: 120%; max-width: none; margin-left: -10%; margin-bottom: -40px; }
  .lp-hero-img-bg { width: 280px; height: 280px; }
  .lp-hero-img-ring { width: 260px; height: 260px; }
  .lp-hero-floating.lp-float-3 { display: none; }
}

/* Kundentool Section */
.lp-kundentool { padding: 80px 0; background: var(--grey-50); }
.lp-kundentool-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.lp-kundentool-mockup { position: relative; }
.lp-kundentool-login {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.lp-kundentool-login h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.lp-kundentool-login p {
  color: var(--grey-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
body.dark-mode .lp-kundentool { background: #1e293b; }
body.dark-mode .lp-kundentool-login { background: #334155; }
body.dark-mode .lp-kundentool-login h3 { color: #f1f5f9; }
body.dark-mode .lp-kundentool-login p { color: #94a3b8; }
@media (max-width: 768px) {
  .lp-kundentool-content { grid-template-columns: 1fr; }
  .lp-kundentool { padding: 48px 0; }
}

/* ============================================================
   TOOLS SECTION
   ============================================================ */
.lp-tools {
  padding: 80px 0;
  background: #fff !important;
}
.lp-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.lp-tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.lp-tool-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126,217,87,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.lp-tool-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}
.lp-tool-card:hover::after {
  opacity: 1;
}
.lp-tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lp-tool-card:hover .lp-tool-icon {
  transform: scale(1.05);
}
.lp-tool-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  transition: color 0.15s ease;
}
.lp-tool-card:hover h3 {
  color: #7ed957;
}
.lp-tool-card p {
  font-size: 0.88rem;
  color: var(--grey-500);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.lp-tool-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #7ed957;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, letter-spacing 0.2s ease;
}
.lp-tool-card:hover .lp-tool-link {
  gap: 8px;
  letter-spacing: 0.02em;
}
body.dark-mode .lp-tools { background: #0f172a !important; }
body.dark-mode .lp-tool-card { background: #1e293b !important; border: none; box-shadow: 0 1px 3px rgba(0,0,0,0.15), 0 4px 20px rgba(0,0,0,0.2); }
body.dark-mode .lp-tool-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.15); }
body.dark-mode .lp-tool-card:hover h3 { color: #f1f5f9; }
body.dark-mode .lp-tool-card::after { background: linear-gradient(135deg, rgba(126,217,87,0.04) 0%, transparent 60%); }
body.dark-mode .lp-tool-card h3 { color: #f1f5f9; }
body.dark-mode .lp-tool-card p { color: #94a3b8; }
body.dark-mode .lp-tool-link { color: #94a3b8; }
body.dark-mode .lp-tool-card:hover .lp-tool-link { color: #e2e8f0; }
@media (max-width: 768px) {
  .lp-tools { padding: 48px 0; }
  .lp-tools-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VISUAL UPGRADE — MEISTERWERK STYLES
   ============================================================ */

/* ============================================================
   DAY / NIGHT — GREEN DOTS → STARS TRANSITION
   ============================================================ */

/* No transition on hero bg — instant switch, green dots do the magic */

/* Sky container */
.hero-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* ---- PERMANENT STARS (visible in dark mode) ---- */
.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-star {
  position: absolute;
  border-radius: 50%;
  background: #e2e8f0;
  opacity: 0;
  transition: opacity 1.5s ease-out;
  will-change: opacity;
}

body.dark-mode .hero-star {
  opacity: var(--star-opacity, 0.6);
  animation:
    starTwinkle var(--twinkle-duration, 3s) ease-in-out var(--twinkle-delay, 0s) infinite,
    starDrift var(--drift-duration, 20s) ease-in-out var(--twinkle-delay, 0s) infinite alternate;
}

@keyframes starTwinkle {
  0%, 100% { opacity: var(--star-opacity, 0.6); }
  50% { opacity: calc(var(--star-opacity, 0.6) * 0.25); }
}

@keyframes starDrift {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(var(--drift-x, 3px), var(--drift-y, -2px)) scale(1.1); }
  50% { transform: translate(calc(var(--drift-x, 3px) * -0.5), calc(var(--drift-y, -2px) * 1.5)) scale(0.9); }
  75% { transform: translate(calc(var(--drift-x, 3px) * 0.8), calc(var(--drift-y, -2px) * -0.7)) scale(1.05); }
  100% { transform: translate(calc(var(--drift-x, 3px) * -1), calc(var(--drift-y, -2px) * -1)) scale(1); }
}

.hero-star-bright {
  background: #f1f5f9;
}

body.dark-mode .hero-star-bright {
  box-shadow:
    0 0 4px rgba(241,245,249,0.5),
    0 0 8px rgba(241,245,249,0.2);
}

/* ---- TRANSITION DOTS (green → white → fade) ---- */
.hero-transition-dot {
  position: absolute;
  border-radius: 50%;
  background: #7ed957;
  opacity: 0;
  transform: scale(0.2);
  box-shadow: 0 0 8px rgba(126,217,87,0.6), 0 0 16px rgba(126,217,87,0.3);
  transition:
    opacity 0.4s ease-in,
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 1s ease,
    box-shadow 1s ease;
  z-index: 2;
  pointer-events: none;
}

/* Phase 1: green dot appears and grows — visible on LIGHT bg */
.hero-transition-dot.dot-phase-green {
  opacity: var(--dot-opacity, 0.9);
  transform: scale(1);
}

/* Phase 2: dot turns white (becomes a star) */
.hero-transition-dot.dot-phase-star {
  opacity: var(--dot-opacity, 0.8);
  transform: scale(1);
  background: #e2e8f0;
  box-shadow: 0 0 4px rgba(226,232,240,0.4);
}

/* Phase 3: most dots fade out */
.hero-transition-dot.dot-phase-fade {
  opacity: 0;
  transform: scale(0.5);
  background: #e2e8f0;
  box-shadow: none;
  transition:
    opacity 3s ease-out,
    transform 3s ease-out;
}

/* ---- SHOOTING STAR ---- */
.hero-shooting-star {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e2e8f0 40%, transparent);
  border-radius: 2px;
  opacity: 0;
  transform: rotate(-35deg);
  z-index: 1;
  pointer-events: none;
}

body.dark-mode .hero-shooting-star {
  animation: shootingStar 8s 4s ease-in infinite;
}

@keyframes shootingStar {
  0% { opacity: 0; transform: rotate(-35deg) translateX(0); }
  2% { opacity: 1; }
  6% { opacity: 1; transform: rotate(-35deg) translateX(500px); }
  8% { opacity: 0; transform: rotate(-35deg) translateX(600px); }
  100% { opacity: 0; transform: rotate(-35deg) translateX(600px); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-shooting-star { display: none; }
}

/* --- Hero Background Effects --- */
.lp-hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.lp-hero-content {
  position: relative;
  z-index: 1;
}

/* --- Glassmorphism Floating Badges --- */
.lp-hero-floating {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: -8px 10px 30px rgba(0,0,0,0.25), -2px 4px 12px rgba(0,0,0,0.12) !important;
  z-index: 10;
}
body.dark-mode .lp-hero-floating {
  background: rgba(30,41,59,0.85) !important;
  border-color: rgba(126,217,87,0.15);
}

/* --- Glow Button Effect --- */
.lp-btn-glow {
  position: relative;
  overflow: visible;
}
.lp-btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green-400), var(--green-500));
  z-index: -1;
  filter: blur(12px);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.lp-btn-glow:hover::after {
  opacity: 0.7;
}

/* --- Stats Bar Glassmorphism Upgrade --- */
.lp-stats {
  background: linear-gradient(135deg, #282f47 0%, #1a2332 50%, #1e293b 100%) !important;
  position: relative;
  overflow: hidden;
}
body.dark-mode .lp-stats {
  background: linear-gradient(135deg, #0f172a 0%, #1a2332 50%, #1e293b 100%) !important;
  border-color: #334155 !important;
}
.lp-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,217,87,0.08), transparent 70%);
  pointer-events: none;
}
.lp-stat-icon {
  background: rgba(126,217,87,0.12) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(126,217,87,0.15);
  transition: var(--transition);
}
.lp-stat:hover .lp-stat-icon {
  background: rgba(126,217,87,0.2) !important;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(126,217,87,0.2);
}
.lp-stat-number {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* --- Service Cards Upgrade --- */
.lp-service-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.4,0,.2,1) !important;
}
.lp-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--green-500), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.lp-service-card:hover::before {
  transform: scaleX(1);
}
.lp-service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(126,217,87,0.2) !important;
}
.lp-service-icon {
  transition: all 0.3s ease;
}
.lp-service-card:hover .lp-service-icon {
  transform: scale(1.05);
}

/* --- Feature Cards Upgrade --- */

/* --- Section Dividers with Gradient --- */
.lp-services,
.lp-features,
.lp-cost-compare,
.lp-kundentool {
  position: relative;
}
.lp-services::after,
.lp-features::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-200), transparent);
}

/* --- Cost Compare Section Upgrade --- */
.lp-cost-compare {
  background: linear-gradient(180deg, var(--white) 0%, var(--grey-50) 100%) !important;
}

/* --- Compare Section (dark) Upgrade --- */
.lp-compare {
  position: relative;
  overflow: hidden;
}
.lp-compare::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,217,87,0.06), transparent 70%);
  pointer-events: none;
}
.lp-compare::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.05), transparent 70%);
  pointer-events: none;
}

/* --- Booking CTA Upgrade --- */
.lp-booking::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(126,217,87,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(37,99,235,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* --- Testimonial Cards Upgrade --- */
.lp-testimonial-card {
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}
.lp-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08) !important;
}
.lp-testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(126,217,87,0.06);
  line-height: 1;
  pointer-events: none;
}

/* --- FAQ Upgrade --- */
.lp-faq {
  position: relative;
}
.lp-faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,217,87,0.04), transparent 70%);
  pointer-events: none;
}

/* --- Animated Section Tags --- */
.lp-section-tag {
  position: relative;
  padding: 4px 16px;
  background: rgba(126,217,87,0.1);
  border-radius: var(--radius-full);
  border: none;
  transition: all 0.3s ease;
}
.lp-section-tag:hover {
  background: rgba(126,217,87,0.15);
}

/* --- Scroll Progress Indicator --- */
.lp-scroll-progress {
  display: none; /* DISABLED: scroll progress bar removed */
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--green-500), var(--blue-500));
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(126,217,87,0.5);
}

/* --- Enhanced reveal animations (upgrades the base .lp-animate rules above) --- */

/* --- Fachwissen / Knowledge Section --- */

@media (max-width: 768px) {
  .lp-hero-bg-effects { display: block; opacity: 1; }
}

/* --- Partner / Trust Logos Bar --- */

/* ============================================================
   MEISTERWERK UPGRADE — Visual Effects & Animations
   ============================================================ */

/* --- Particle Canvas (behind hero) --- */
#heroParticles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* --- Hero Visual: align bottom flush --- */
.lp-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* --- Animated gradient border on hero section --- */
/* shimmer line removed */

/* --- Trust Bar Marquee --- */
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Section Backgrounds with Animated Mesh --- */
.lp-services {
  background: #fff !important;
}
body.dark-mode .lp-services {
  background: #0f172a !important;
}

/* --- Floating shapes for section backgrounds --- */
@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(5deg); }
  50% { transform: translate(-10px, 20px) rotate(-3deg); }
  75% { transform: translate(15px, 10px) rotate(2deg); }
}

/* --- Enhanced Scroll Reveal Animations --- */
.lp-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
}
.lp-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-animate-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
}
.lp-animate-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.lp-animate-children.visible > *:nth-child(1) { transition-delay: 0s; }
.lp-animate-children.visible > *:nth-child(2) { transition-delay: 0.05s; }
.lp-animate-children.visible > *:nth-child(3) { transition-delay: 0.08s; }
.lp-animate-children.visible > *:nth-child(4) { transition-delay: 0.11s; }
.lp-animate-children.visible > *:nth-child(5) { transition-delay: 0.14s; }
.lp-animate-children.visible > *:nth-child(6) { transition-delay: 0.17s; }
.lp-animate-children.visible > *:nth-child(7) { transition-delay: 0.20s; }
.lp-animate-children.visible > *:nth-child(8) { transition-delay: 0.23s; }

/* --- Parallax-like depth on scroll (via JS class) --- */

/* --- Glassmorphism Cards (universal) --- */

/* --- Gradient Text Utility --- */

/* --- Enhanced Hero H1 --- */
.lp-hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
}

/* --- Animated gradient border on cards --- */

/* --- Testimonial: animated quote mark --- */

/* --- Stats bar counter glow --- */
.lp-stat-number.counting {
  animation: counterPulse 0.4s ease-in-out infinite alternate !important;
}
@keyframes counterPulse {
  from { text-shadow: 0 0 10px rgba(126,217,87,0.3); }
  to { text-shadow: 0 0 25px rgba(126,217,87,0.6); }
}
/* --- Compare section: animated list items --- */
.lp-compare-good li {
  transform: translateX(20px);
}

/* --- Booking section: pulse ring on CTA --- */
.lp-booking-text .btn-primary {
  position: relative;
}
.lp-booking-text .btn-primary::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--green-400);
  animation: ctaPulseRing 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaPulseRing {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

/* --- Knowledge card: number counter shimmer --- */
@keyframes statShimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* --- Cost Compare: animated saving highlight --- */
@keyframes savingPulse {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

/* --- FAQ: smooth hover on items --- */
.lp-faq-item {
  transition: all 0.3s ease !important;
}
.lp-faq-item:hover {
  border-color: var(--green-200) !important;
  box-shadow: 0 4px 16px rgba(126,217,87,0.08) !important;
}

/* --- Smooth page transitions --- */
html {
  scroll-behavior: smooth;
}

/* --- Mobile hero: show glow but hide ring --- */
@media (max-width: 768px) {
  .lp-hero-img-ring { display: none; }
  .lp-hero-img-bg { width: 300px; height: 300px; }
  .lp-hero-img-glow { width: 280px; }
  .lp-hero-img-wrap { max-width: 360px; }
  .lp-hero-team-img { width: 120% !important; max-width: none !important; margin-left: -10% !important; margin-bottom: -40px !important; }
  .lp-hero { padding: 40px 20px 0 !important; overflow: hidden !important; }
  .lp-hero-content { align-items: center !important; }
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.lp-blog {
  padding: 80px 0;
  background: var(--white);
}
body.dark-mode .lp-blog {
  background: #0f172a;
}
.lp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.lp-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--grey-200);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.lp-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
  border-color: var(--green-300);
}
.lp-blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green-300), var(--green-500), var(--blue-400));
  opacity: 0;
  z-index: -1;
  filter: blur(10px);
  transition: opacity 0.4s ease;
}
.lp-blog-card:hover::after {
  opacity: 0.15;
}
.lp-blog-img {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.lp-blog-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.lp-blog-card:hover .lp-blog-img img {
  transform: scale(1.08);
}
.lp-blog-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
  z-index: 1;
}
.lp-blog-category {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.lp-blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lp-blog-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--dark);
}
.lp-blog-body p {
  font-size: 0.88rem;
  color: var(--grey-500);
  line-height: 1.6;
  flex: 1;
}
.lp-blog-meta {
  font-size: 0.78rem;
  color: var(--grey-400);
  margin-top: 14px;
  font-weight: 500;
}
body.dark-mode .lp-blog-card {
  background: #1e293b;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .lp-blog-body h3 { color: #e2e8f0; }
body.dark-mode .lp-blog-category {
  background: rgba(30,41,59,0.9);
  color: #e2e8f0;
}
@media (max-width: 1024px) {
  .lp-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .lp-blog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lp-blog-card { font-size: 0.85rem; }
  .lp-blog-body h3 { font-size: 0.85rem; }
  .lp-blog-body p { font-size: 0.72rem; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .lp-blog-meta { font-size: 0.68rem; }
  .lp-blog-img { height: 150px; }
}

/* ============================================================
   FAQ REDESIGN — Categories + Better UX
   ============================================================ */
.lp-faq-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.lp-faq-cat-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-500);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}
.lp-faq-cat-btn:hover {
  border-color: var(--green-400);
  color: var(--green-500);
  background: var(--green-50);
}
.lp-faq-cat-btn.active {
  background: var(--green-500);
  color: white;
  border-color: var(--green-500);
  box-shadow: 0 4px 14px rgba(126,217,87,0.3);
}
body.dark-mode .lp-faq-cat-btn {
  background: #1e293b;
  border-color: rgba(255,255,255,0.1);
  color: #94a3b8;
}
body.dark-mode .lp-faq-cat-btn:hover {
  border-color: #7ed957;
  background: rgba(126,217,87,0.1);
  color: #7ed957;
}
body.dark-mode .lp-faq-cat-btn.active {
  background: #7ed957;
  color: white;
  border-color: #7ed957;
}
.lp-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.lp-faq-item {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s ease;
}
.lp-faq-item[open] {
  border-color: var(--green-300);
  box-shadow: 0 4px 20px rgba(126,217,87,0.1);
}
.lp-faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
  color: var(--dark);
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: '';
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}
.lp-faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a9a2d' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.lp-faq-item[open] summary {
  color: var(--green-500);
}
.lp-faq-item p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--grey-500);
  margin: 0;
}
body.dark-mode .lp-faq-item {
  background: #1e293b;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .lp-faq-item[open] {
  border-color: #7ed957;
}
body.dark-mode .lp-faq-item summary { color: #f1f5f9; }
body.dark-mode .lp-faq-item[open] summary { color: #7ed957; }
body.dark-mode .lp-faq-item summary::after {
  background-color: #454d68;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
body.dark-mode .lp-faq-item[open] summary::after {
  background-color: rgba(126,217,87,0.15);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237ed957' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
body.dark-mode .lp-faq-item p { color: var(--grey-400); }
.lp-faq-item[data-hidden="true"] {
  display: none;
}
#faqList .lp-faq-item:not([data-hidden="false"]) {
  display: none;
}
.lp-faq-count {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--grey-400);
}

/* ============================================================
   FOOTER REDESIGN — Modern & Clean
   ============================================================ */
.lp-footer {
  background: linear-gradient(180deg, var(--grey-50) 0%, #f1f5f9 100%);
  border-top: 1px solid var(--grey-200);
  position: relative;
  overflow: hidden;
}
.lp-footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,217,87,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 40px;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
}
.lp-footer-brand p {
  color: var(--grey-500);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}
.lp-footer-social {
  display: flex;
  gap: 12px;
}
.lp-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-500);
  transition: all 0.3s ease;
}
.lp-footer-social a:hover {
  background: var(--green-500);
  color: white;
  border-color: var(--green-500);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(126,217,87,0.3);
}
.lp-footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.lp-footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 18px;
}
.lp-footer-link {
  display: block;
  font-size: 0.88rem;
  color: var(--grey-500);
  text-decoration: none;
  padding: 5px 0;
  transition: all 0.2s ease;
  position: relative;
}
.lp-footer-link:hover {
  color: var(--green-500);
  padding-left: 6px;
}
.lp-footer-bottom {
  border-top: 1px solid var(--grey-200);
  margin-top: 0;
}
.lp-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-footer-bottom p {
  font-size: 0.82rem;
  color: var(--grey-400);
}
.lp-footer-legal {
  display: flex;
  gap: 24px;
}
.lp-footer-legal a {
  font-size: 0.82rem;
  color: var(--grey-400);
  text-decoration: none;
  transition: color 0.2s ease;
}
.lp-footer-legal a:hover { color: var(--green-500); }

/* Footer CTA banner */

/* Footer Swiss badge */
.lp-footer-badge {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--grey-400);
  display: flex;
  align-items: center;
}

/* Footer social spacing */
.lp-footer-social {
  margin-top: 20px;
}

/* Footer dark mode */
body.dark-mode .lp-footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-top-color: rgba(255,255,255,0.06);
}
body.dark-mode .lp-footer-badge { color: #94a3b8; }
body.dark-mode .lp-footer-brand p { color: #94a3b8; }
body.dark-mode .lp-footer-col h4 { color: #e2e8f0; }
body.dark-mode .lp-footer-link { color: #94a3b8; }
body.dark-mode .lp-footer-link:hover { color: #7ed957; }
body.dark-mode .lp-footer-social a {
  background: #334155;
  border-color: rgba(255,255,255,0.08);
  color: #cbd5e1;
}
body.dark-mode .lp-footer-social a:hover {
  background: var(--green-500);
  color: white;
  border-color: var(--green-500);
}
body.dark-mode .lp-footer-bottom { border-top-color: rgba(255,255,255,0.06); }
body.dark-mode .lp-footer-bottom p { color: var(--grey-500); }
body.dark-mode .lp-footer-legal a { color: var(--grey-500); }

@media (max-width: 1024px) {
  .lp-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .lp-footer-inner { padding: 50px 20px 30px; }
  .lp-footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lp-footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .lp-footer-links { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES SECTION — CREATIVE UPGRADE
   ============================================================ */

/* Rotating gradient border on hover */
@keyframes serviceGradientRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes serviceIconPulse {
  0%, 100% { transform: scale(1); }
  50%  { transform: scale(1.06); }
}

/* Card numbering */
.lp-services-grid {
  counter-reset: service-counter;
}
.lp-service-card {
  counter-increment: service-counter;
  will-change: transform, box-shadow;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Numbered badge top-right */
.lp-service-card::after {
  content: counter(service-counter, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(126,217,87,0.5);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease, transform 0.4s ease;
  z-index: 0;
}
.lp-service-card:hover::after {
  color: rgba(255,255,255,0.7) !important;
  transform: scale(1.15) translateY(-4px);
}

/* Animated gradient border wrap */
.lp-service-card::before {
  content: '' !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: 18px !important;
  background: #7ed957 !important;
  background-size: 300% 300% !important;
  z-index: -1 !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
  height: auto !important;
  transform: none !important;
}
.lp-service-card:hover::before {
  opacity: 1 !important;
  animation: serviceGradientRotate 3s ease infinite !important;
  transform: none !important;
}

/* Inner background needs to mask the gradient border */
.lp-service-card {
  background-clip: padding-box !important;
  z-index: 1;
}

/* Card fill green on hover — text turns white for contrast */
.lp-service-card:hover {
  background: #7ed957 !important;
}
.lp-service-card:hover h3,
.lp-service-card:hover p,
.lp-service-card:hover .lp-service-icon,
.lp-service-card:hover .lp-service-link {
  color: #fff !important;
}
body.dark-mode .lp-service-card:hover {
  background: #7ed957 !important;
}
body.dark-mode .lp-service-card:hover h3,
body.dark-mode .lp-service-card:hover p,
body.dark-mode .lp-service-card:hover .lp-service-icon,
body.dark-mode .lp-service-card:hover .lp-service-link {
  color: #fff !important;
}

/* Icon bounce on hover */
.lp-service-card:hover .lp-service-icon {
  animation: serviceIconPulse 0.8s ease forwards !important;
  transform: none !important;
}

/* Shimmer sweep across card on hover */
.lp-service-card > * {
  position: relative;
  z-index: 1;
}

/* Subtle background pattern (dots) */
.lp-services-grid::before {
  content: '';
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(circle, rgba(126,217,87,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.lp-services-grid {
  position: relative;
}

/* Link arrow animation */
.lp-service-link {
  transition: color 0.2s, gap 0.3s, letter-spacing 0.3s !important;
}
.lp-service-card:hover .lp-service-link {
  gap: 8px !important;
  letter-spacing: 0.02em;
}

/* 3D tilt perspective container */
.lp-service-card[data-tilt] {
  transition: transform 0.15s ease-out, box-shadow 0.3s ease !important;
}

/* Dark mode service cards */
body.dark-mode .lp-service-card::after {
  color: var(--green-500);
}
body.dark-mode .lp-service-card:hover::after {
  color: rgba(255,255,255,0.7) !important;
}

/* ============================================================
   COMPARE SECTION — CREATIVE UPGRADE
   ============================================================ */

/* VS Badge between columns */

@keyframes vsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3), 0 0 20px rgba(126,217,87,0.2); transform: translate(-50%, -50%) scale(1); }
  50%      { box-shadow: 0 0 0 12px rgba(255,255,255,0), 0 0 40px rgba(126,217,87,0.4); transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes vsPulseMobile {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3), 0 0 20px rgba(126,217,87,0.2); transform: scale(1); }
  50%      { box-shadow: 0 0 0 12px rgba(255,255,255,0), 0 0 40px rgba(126,217,87,0.4); transform: scale(1.08); }
}

/* Column color tinting */
.lp-compare-bad {
  background: rgba(239,68,68,0.06) !important;
  box-shadow: inset 0 0 60px rgba(239,68,68,0.04);
  transition: all 0.4s ease;
}
.lp-compare-good {
  background: rgba(126,217,87,0.06) !important;
  box-shadow: inset 0 0 60px rgba(126,217,87,0.04);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Sparkle overlay on good column */

.lp-compare-good::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(126,217,87,0.6) 50%, transparent 100%),
    radial-gradient(2px 2px at 50% 60%, rgba(126,217,87,0.4) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 75% 20%, rgba(126,217,87,0.5) 50%, transparent 100%),
    radial-gradient(2px 2px at 85% 70%, rgba(126,217,87,0.3) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 80%, rgba(126,217,87,0.5) 50%, transparent 100%),
    radial-gradient(2px 2px at 60% 90%, rgba(126,217,87,0.4) 50%, transparent 100%);
  animation: sparkleShimmer 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.lp-compare.visible .lp-compare-good::after {
  opacity: 1;
}

@keyframes sparkleShimmer {
  0%   { opacity: 0.3; filter: blur(0px); }
  50%  { opacity: 0.7; filter: blur(0.5px); }
  100% { opacity: 0.3; filter: blur(0px); }
}

/* SVG check/cross draw-in effect */
/* Stagger the SVG draw-in per li */

/* Row hover: highlight corresponding row in other column */

/* Bad column: red glow on header hover */

/* Good column: green glow on header hover */

/* Compare column hover lift */
.lp-compare-good:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(126,217,87,0.12), inset 0 0 60px rgba(126,217,87,0.04) !important;
}
.lp-compare-bad:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(239,68,68,0.08), inset 0 0 60px rgba(239,68,68,0.04) !important;
}

/* Dark mode compare overrides (hardcoded hex) */

/* Mobile: hide VS badge, adjust columns */
@media (max-width: 768px) {
  .lp-service-card::after {
    font-size: 1.8rem;
    top: 12px;
    right: 14px;
  }
}

/* ============================================================
   GLOBAL MICRO-INTERACTIONS & CREATIVE EFFECTS
   ============================================================ */

/* --- Custom Cursor (Desktop only) --- DISABLED: too distracting ---
@media (min-width: 1025px) {
  .vemo-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 12px; height: 12px;
    background: #7ed957;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    mix-blend-mode: difference;
    transition: width 0.25s cubic-bezier(.4,0,.2,1),
                height 0.25s cubic-bezier(.4,0,.2,1),
                opacity 0.25s ease,
                background 0.25s ease;
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0;
  }
  .vemo-cursor.visible { opacity: 1; }
  .vemo-cursor.hovering {
    width: 40px; height: 40px;
    background: rgba(126,217,87,0.25);
    border: 2px solid #7ed957;
  }
  .vemo-cursor-trail {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: rgba(126,217,87,0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .vemo-cursor-trail.visible { opacity: 1; }
}
--- end disabled custom cursor --- */
.vemo-cursor, .vemo-cursor-trail { display: none !important; }

/* Kein Abschneiden an Knöpfen (Gegner 28.09.2026 zu Cyrills Punkt 7): hier stand `.btn { overflow: hidden }` für eine
   Welle beim Tippen, die die Kunden-App nie zeichnet (das Programm dazu steht nur in /app.js der Academy, nie in app/app.js).
   Die Folge war still und falsch: ein Knopf im Flex (etwa «Übernehmen» neben «Löschen» bei 320 px) durfte schmaler werden
   als sein Wort, und das Wort wurde abgeschnitten. Ohne sie ist ein Knopf mindestens so breit wie sein Wort. */
.btn {
  position: relative;
}

/* --- Magnetic Button Hover --- */
@media (min-width: 1025px) {
  .btn-primary,
  .btn-outline,
  .lp-btn-glow {
    transition: transform 0.2s cubic-bezier(.4,0,.2,1),
                box-shadow 0.2s ease,
                background-position 0.5s ease,
                background 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease;
  }
}

/* --- Link Hover Underline Grow --- */
.lp-nav-link,
.lp-footer-link {
  position: relative;
  display: block;
}
.lp-nav-link::after,
.lp-footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #7ed957;
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(.4,0,.2,1);
}
.lp-nav-link:hover::after,
.lp-footer-link:hover::after {
  width: 100%;
}

/* --- Card Hover: scale + subtle tilt --- */
.lp-service-card,
.lp-blog-card,
.lp-testimonial-card {
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              box-shadow 0.35s ease;
}
@media (min-width: 1025px) {
  .lp-blog-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 20px 40px rgba(126,217,87,0.1), 0 8px 16px rgba(0,0,0,0.06);
  }
  .lp-testimonial-card:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  }
}

/* --- Section Tag Slide-in with green line --- */
.lp-section-tag {
  position: relative;
}
.lp-section-tag::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  width: 3px; height: 0;
  background: #7ed957;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height 0.5s cubic-bezier(.34,1.56,.64,1);
}

/* --- Scroll Progress Dots (right edge) --- */
.scroll-nav-dots {
  display: none !important; /* DISABLED: scroll nav dots removed */
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.scroll-nav-dots.visible { opacity: 1; }
.scroll-nav-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(126,217,87,0.2);
  border: 2px solid rgba(126,217,87,0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.scroll-nav-dot:hover {
  background: rgba(126,217,87,0.5);
  transform: scale(1.3);
}
.scroll-nav-dot.active {
  background: #7ed957;
  border-color: #7ed957;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(126,217,87,0.5);
}
.scroll-nav-dot .dot-tooltip {
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #282f47;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}
.scroll-nav-dot:hover .dot-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 1024px) {
  .scroll-nav-dots { display: none; }
}

/* --- Sparkle / Celebration Effect --- */
.sparkle-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.sparkle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7ed957;
  animation: sparkleBurst 0.8s ease-out forwards;
}
@keyframes sparkleBurst {
  0% { transform: scale(0) translate(0,0); opacity: 1; }
  100% { transform: scale(1) translate(var(--sx), var(--sy)); opacity: 0; }
}

/* --- Confetti (Konami Easter Egg) --- */
.confetti-piece {
  position: fixed;
  width: 10px; height: 10px;
  z-index: 100001;
  animation: confettiFall linear forwards;
  pointer-events: none;
}
@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* --- SVG Wave Dividers between sections --- */

/* --- Dark mode overrides for new effects (hardcoded hex) --- */
body.dark-mode .scroll-nav-dot .dot-tooltip {
  background: #e2e8f0;
  color: #1e293b;
}
body.dark-mode .scroll-nav-dot {
  background: rgba(126,217,87,0.15);
  border-color: #334155;
}
body.dark-mode .scroll-nav-dot.active {
  background: #7ed957;
  border-color: #7ed957;
}
/* DISABLED: custom cursor removed
body.dark-mode .vemo-cursor {
  background: #7ed957;
}
*/

/* ============================================================
   TESTIMONIALS: MARQUEE AUTO-SCROLL + GLASSMORPHISM
   ============================================================ */

/* Testimonials multi-row grid */

/* Glassmorphism testimonial cards */

/* Avatar ring (subtle) */
.lp-testimonial-avatar {
  position: relative;
  z-index: 1;
}

/* Star cascade fall-in */
@keyframes starFallIn {
  0% { opacity: 0; transform: translateY(-18px) scale(0.3) rotate(-20deg); }
  60% { transform: translateY(2px) scale(1.15) rotate(3deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

/* Responsive: vertical stack on mobile */
@media (max-width: 768px) {
  .lp-testimonials-grid {
    flex-direction: column !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    animation: none !important;
    width: auto !important;
  }
}

/* ============================================================
   BOOKING SECTION: ANIMATED MESH BG + STROKE DRAW
   ============================================================ */

/* Animated gradient mesh overlay */

@keyframes bookingMeshFloat {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(20px, -10px); }
  66% { transform: scale(0.98) translate(-15px, 15px); }
  100% { transform: scale(1.03) translate(10px, -5px); }
}

/* Checkmark SVG stroke draw-in */
@keyframes checkDraw {
  0% { stroke-dashoffset: 24; opacity: 0.3; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Booking list items stagger slide-in */

/* "Kostenlos" last list item glow pulse */
/* kostenlosGlow removed */

/* Trust items fade-in stagger */

/* Calendly card entrance */

/* ============================================================
   BLOG CARDS: ZOOM, SLIDE-IN BADGE, STAGGER, SHIMMER
   ============================================================ */

/* Image zoom on hover */

/* Category badge slides in from left */

/* Staggered reveal on scroll */

/* Shimmer sweep on image hover */

/* Enhanced hover glow */

/* Reading time animated clock icon */
@keyframes clockTick {
  to { transform: translateY(-70%) rotate(360deg); }
}

/* Dark mode blog */

/* ============================================================
   REDUCED MOTION — respect user preference
   ============================================================ */

/* ============================================================
   TESTIMONIALS: CARD GRID + EXPANDABLE
   ============================================================ */

/* ── Testimonials Card Grid ── */
.lp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .lp-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lp-testimonials-grid { grid-template-columns: 1fr; }
}

.lp-testimonial-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
body.dark-mode .lp-testimonial-card {
  background: rgba(30,41,59,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
body.dark-mode .lp-testimonial-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.lp-testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.lp-testimonial-card-header .lp-testimonial-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
}
.lp-testimonial-card-header .lp-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-testimonial-card-header > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.lp-testimonial-card-header strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.dark-mode .lp-testimonial-card-header strong {
  color: #e2e8f0;
}
.lp-testimonial-card-header span {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.lp-google-icon {
  flex-shrink: 0;
  margin-left: auto;
}

.lp-testimonial-card-text p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--dark-700);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.dark-mode .lp-testimonial-card-text p {
  color: #94a3b8;
}
.lp-testimonial-card-text.expanded p {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.lp-testimonial-expand {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7ed957;
  cursor: pointer;
  transition: color 0.2s;
}
.lp-testimonial-expand:hover {
  color: #7ed957;
}

/* Hidden testimonials for "mehr anzeigen" */
.lp-testimonial-hidden {
  display: none;
}
.lp-testimonials-grid.show-all .lp-testimonial-hidden {
  display: block;
}
.lp-testimonials-more {
  text-align: center;
  margin-top: 32px;
}
.lp-testimonials-more .btn {
  padding: 12px 32px;
  font-size: 0.95rem;
}

/* ============================================================
   BOOKING SECTION: ANIMATED MESH BG + STROKE DRAW
   ============================================================ */

.lp-booking {
  position: relative;
  overflow: hidden;
}

/* Animated gradient mesh overlay */
.lp-booking::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(126,217,87,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 70%, rgba(59,130,246,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 50%, rgba(139,92,246,0.08) 0%, transparent 70%);
  animation: bookingMeshFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

@keyframes bookingMeshFloat {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(20px, -10px); }
  66% { transform: scale(0.98) translate(-15px, 15px); }
  100% { transform: scale(1.03) translate(10px, -5px); }
}

.lp-booking > * {
  position: relative;
  z-index: 1;
}

/* Checkmark SVG stroke draw-in */
@keyframes checkDraw {
  0% { stroke-dashoffset: 24; opacity: 0.3; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.lp-booking.visible .lp-booking-list li svg polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: checkDraw 0.6s ease forwards;
}
.lp-booking.visible .lp-booking-list li:nth-child(1) svg polyline { animation-delay: 0.2s; }
.lp-booking.visible .lp-booking-list li:nth-child(2) svg polyline { animation-delay: 0.4s; }
.lp-booking.visible .lp-booking-list li:nth-child(3) svg polyline { animation-delay: 0.6s; }
.lp-booking.visible .lp-booking-list li:nth-child(4) svg polyline { animation-delay: 0.8s; }

/* Booking list items stagger slide-in */
.lp-booking-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.lp-booking.visible .lp-booking-list li {
  opacity: 1;
  transform: translateX(0);
}
.lp-booking.visible .lp-booking-list li:nth-child(1) { transition-delay: 0.15s; }
.lp-booking.visible .lp-booking-list li:nth-child(2) { transition-delay: 0.3s; }
.lp-booking.visible .lp-booking-list li:nth-child(3) { transition-delay: 0.45s; }
.lp-booking.visible .lp-booking-list li:nth-child(4) { transition-delay: 0.6s; }

/* "Kostenlos" last list item glow pulse */
/* kostenlosGlow removed */

/* Trust items fade-in stagger */
.lp-booking-trust-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lp-booking.visible .lp-booking-trust-item {
  opacity: 1;
  transform: translateY(0);
}
.lp-booking.visible .lp-booking-trust-item:nth-child(1) { transition-delay: 0.8s; }
.lp-booking.visible .lp-booking-trust-item:nth-child(2) { transition-delay: 0.95s; }
.lp-booking.visible .lp-booking-trust-item:nth-child(3) { transition-delay: 1.1s; }

/* Calendly card entrance */
.lp-booking-calendly {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.7s ease 0.3s, transform 0.7s cubic-bezier(.4,0,.2,1) 0.3s;
}
.lp-booking.visible .lp-booking-calendly {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   BLOG CARDS: ZOOM, SLIDE-IN BADGE, STAGGER, SHIMMER
   ============================================================ */

/* Image zoom on hover */
.lp-blog-img {
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.lp-blog-card:hover .lp-blog-img {
  transform: scale(1.06);
}

/* Category badge slides in from left */
.lp-blog-category {
  transform: translateX(-20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1), opacity 0.4s ease;
}
.lp-blog-card:hover .lp-blog-category {
  transform: translateX(0);
  opacity: 1;
}

/* Staggered reveal on scroll */
.lp-blog-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.4,0,.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.lp-blog.visible .lp-blog-card {
  opacity: 1;
  transform: translateY(0);
}
.lp-blog.visible .lp-blog-card:nth-child(1) { transition-delay: 0.1s; }
.lp-blog.visible .lp-blog-card:nth-child(2) { transition-delay: 0.25s; }
.lp-blog.visible .lp-blog-card:nth-child(3) { transition-delay: 0.4s; }

/* Shimmer sweep on image hover */
.lp-blog-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  z-index: 1;
  pointer-events: none;
}
.lp-blog-card:hover .lp-blog-img::after {
  transform: translateX(100%);
}

/* Enhanced hover glow */
.lp-blog-card:hover {
  border-color: rgba(126,217,87,0.4) !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.1), 0 0 0 1px rgba(126,217,87,0.15) !important;
}

/* Reading time animated clock icon */
.lp-blog-meta {
  position: relative;
  padding-left: 20px;
}
.lp-blog-meta::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.4;
}
.lp-blog-meta::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  width: 2px;
  height: 5px;
  background: currentColor;
  transform-origin: bottom center;
  transform: translateY(-70%);
  opacity: 0.4;
  animation: clockTick 2s steps(12) infinite;
}
@keyframes clockTick {
  to { transform: translateY(-70%) rotate(360deg); }
}

/* Dark mode blog */
body.dark-mode .lp-blog-card:hover {
  border-color: var(--green-500) !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(126,217,87,0.1) !important;
}
body.dark-mode .lp-blog-img::after {
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
}

/* ============================================================
   REDUCED MOTION — respect user preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .lp-testimonials-grid.marquee-active,
  .lp-booking::after,
  .lp-testimonial-avatar::before,
  .lp-blog-meta::after {
    animation: none !important;
  }
  .lp-blog-card, .lp-booking-list li, .lp-booking-trust-item, .lp-booking-calendly {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Print: hide ALL effects --- */

/* --- Print: hide ALL effects --- */
@media print {
  .lp-hero-bg-effects, #heroParticles, .lp-scroll-progress,
  .lp-hero-floating, .lp-hero-img-ring, .lp-hero-img-bg,
  .lp-hero-img-glow, .vemo-cursor, .vemo-cursor-trail,
  .scroll-nav-dots, .section-wave-divider,
  .confetti-piece, .sparkle-container { display: none !important; }
}

/* HONORARBERATUNG PORTFOLIO — Redesigned Kundenansicht v2 */

#kundePortfolioView {
  --ka-card: #ffffff;
  --ka-text: #282f47;
  --ka-text-muted: #6b7080;
  --ka-accent: #7ed957;
  --ka-accent-light: rgba(126,217,87,0.12);
  --ka-accent-border: rgba(126,217,87,0.3);
  --ka-border: rgba(0,0,0,0.06);
  --ka-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --ka-shadow: 0 4px 24px rgba(0,0,0,0.06);
  --ka-radius: 16px;
  --ka-radius-sm: 12px;
  color: var(--ka-text);
  font-family: inherit;
}

/* ---- Animations ---- */
@keyframes kaDonutFadeIn { from { opacity:0; transform:scale(0.85); } to { opacity:1; transform:scale(1); } }
@keyframes kaPulse { 0%,100% { box-shadow:0 0 0 0 rgba(126,217,87,0.3); } 50% { box-shadow:0 0 0 8px rgba(126,217,87,0); } }

/* ALL elements inside kundePortfolioView are always visible — no hiding at all */
#kundePortfolioView .ka-reveal { opacity:1 !important; transform:none !important; }
#kundePortfolioView .ka-stagger { opacity:1 !important; animation:none !important; }
/* ---- Hero Section ---- */
#kundePortfolioView .ka-hero {
  background: #f8faf8;
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 24px;
  border: 1px solid var(--ka-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
#kundePortfolioView .ka-hero-inner { display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between; }
#kundePortfolioView .ka-hero-title { margin:0 0 4px; font-size:1.3rem; font-weight:700; letter-spacing:-0.01em; color:var(--ka-text); }
#kundePortfolioView .ka-hero-sub { margin:0 0 8px; color:var(--ka-text-muted); font-size:0.92rem; }
#kundePortfolioView .ka-hero-meta { margin:0; color:var(--ka-text-muted); font-size:0.82rem; font-weight:500; }

/* ---- Main layout ---- */
#kundePortfolioView .ka-main { display:grid; gap:24px; }

/* ---- Sections ---- */
#kundePortfolioView .ka-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--ka-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
#kundePortfolioView .ka-section-title { margin:0 0 4px; font-size:1.1rem; font-weight:700; color:var(--ka-text); }
#kundePortfolioView .ka-section-sub { margin:0 0 20px; color:var(--ka-text-muted); font-size:0.82rem; line-height:1.5; }
#kundePortfolioView .ka-legal-note { margin:16px 0 0; color:var(--ka-text-muted); font-size:0.82rem; line-height:1.5; }

/* ---- Empty state ---- */
#kundePortfolioView .ka-empty { text-align:center; padding:32px 16px; color:var(--ka-text-muted); font-size:14px; }
/* ---- Card base ---- */
#kundePortfolioView .ka-card { background:#fff; border-radius:12px; padding:24px; border:1px solid var(--ka-border); box-shadow:0 2px 12px rgba(0,0,0,0.04); transition:all 0.2s ease; }
#kundePortfolioView .ka-card:hover { transform:translateY(-2px); box-shadow:0 4px 16px rgba(0,0,0,0.08); }

/* ---- Buttons ---- */
#kundePortfolioView .ka-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:10px 16px; border-radius:10px; font-weight:700; font-size:13px; text-decoration:none; cursor:pointer; border:none; transition:all 0.2s ease; line-height:1.2; white-space:nowrap; }
#kundePortfolioView .ka-btn-primary { background:#7ed957; color:#fff; }
#kundePortfolioView .ka-btn-primary:hover { background:#7ed957; }
#kundePortfolioView .ka-btn-secondary { background:var(--ka-card); color:var(--ka-text); border:1px solid #dfe3ec; box-shadow:var(--ka-shadow-sm); }
#kundePortfolioView .ka-btn-secondary:hover { background:#f1f5fb; border-color:#c5ccd8; transform:translateY(-1px); }
#kundePortfolioView .ka-btn-ghost { background:rgba(0,0,0,0.03); color:var(--ka-text); border:1px solid var(--ka-border); padding:8px 12px; font-size:12px; }
#kundePortfolioView .ka-btn-ghost:hover { background:rgba(0,0,0,0.06); }
#kundePortfolioView .ka-disabled { opacity:0.5; pointer-events:none; border-style:dashed; }
#kundePortfolioView .ka-btn:focus-visible { outline:2px solid var(--ka-accent); outline-offset:2px; }

/* ---- Mantel Grid ---- */
#kundePortfolioView .ka-mantel-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
#kundePortfolioView .ka-mantel-card { position:relative; cursor:pointer; border:2px solid rgba(0,0,0,0.06); opacity:0.8; transition:all 0.2s ease; }
#kundePortfolioView .ka-mantel-card:hover { opacity:0.95; box-shadow:0 4px 16px rgba(0,0,0,0.08); }
#kundePortfolioView .ka-mantel-card.active { border:2px solid #7ed957; box-shadow:0 0 0 3px rgba(126,217,87,0.12); background:#fafefa; opacity:1; }
#kundePortfolioView .ka-mantel-top { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; min-height:40px; }
#kundePortfolioView .ka-mantel-logo { width:48px; height:48px; object-fit:cover; border-radius:12px; background:#fff; border:1px solid var(--ka-border); padding:4px; box-shadow:var(--ka-shadow-sm); }
#kundePortfolioView .ka-mantel-title { margin:0 0 6px; font-size:16px; font-weight:700; color:var(--ka-text); line-height:1.3; }
#kundePortfolioView .ka-mantel-desc { margin:0 0 12px; color:var(--ka-text-muted); font-size:13px; line-height:1.5; }
#kundePortfolioView .ka-mantel-meta { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:12px; }
#kundePortfolioView .ka-meta-item { background:#f7f9fb; border:1px solid #edf0f5; border-radius:10px; padding:10px 12px; display:flex; flex-direction:column; gap:2px; }
#kundePortfolioView .ka-meta-label { font-size:11px; color:var(--ka-text-muted); font-weight:600; text-transform:uppercase; letter-spacing:0.3px; }
#kundePortfolioView .ka-meta-value { font-size:13px; font-weight:700; color:var(--ka-text); }

/* Mantel details (expandable) */
#kundePortfolioView .ka-mantel-details { transition:max-height 0.4s ease; }
#kundePortfolioView .ka-details-inner { padding:12px 0 0; }
#kundePortfolioView .ka-pros h4, #kundePortfolioView .ka-cons h4 { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:700; margin:0 0 8px; }
#kundePortfolioView .ka-pros ul, #kundePortfolioView .ka-cons ul { list-style:none; padding:0; margin:0 0 12px; display:grid; gap:6px; }
#kundePortfolioView .ka-pro { background:rgba(126,217,87,0.08); border:1px solid rgba(126,217,87,0.2); color:#7ed957; border-radius:8px; padding:8px 10px; font-size:12px; }
#kundePortfolioView .ka-con { background:rgba(239,68,68,0.06); border:1px solid rgba(239,68,68,0.15); color:#991b1b; border-radius:8px; padding:8px 10px; font-size:12px; }

/* Mantel actions */
#kundePortfolioView .ka-mantel-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:4px; }
#kundePortfolioView .ka-mantel-actions .ka-btn { width:100%; text-align:center; }
@media (max-width:520px) { #kundePortfolioView .ka-mantel-actions { grid-template-columns:1fr; } #kundePortfolioView .ka-mantel-meta { grid-template-columns:1fr; } }
/* ---- Tab Bar with sliding indicator ---- */
#kundePortfolioView .ka-tab-bar { display:flex; position:relative; background:rgba(0,0,0,0.04); border-radius:10px; padding:3px; gap:2px; margin-bottom:16px; flex-wrap:wrap; }
#kundePortfolioView .ka-tab-indicator { position:absolute; bottom:3px; top:3px; background:var(--ka-accent-light); border-radius:8px; transition:left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1); pointer-events:none; z-index:0; }
#kundePortfolioView .ka-tab { position:relative; z-index:1; border:none; background:transparent; color:var(--ka-text-muted); padding:8px 14px; border-radius:8px; cursor:pointer; font-weight:600; font-size:13px; transition:color 0.2s ease; display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
#kundePortfolioView .ka-tab.active { color:var(--ka-text); }
#kundePortfolioView .ka-tab:hover { color:var(--ka-text); }

/* ---- Portfolio list & shells ---- */
#kundePortfolioView .ka-portfolio-list { display:grid; gap:20px; }
#kundePortfolioView .ka-portfolio-shell { background:var(--ka-card); border:1px solid var(--ka-border); border-radius:var(--ka-radius); padding:24px; box-shadow:var(--ka-shadow); }
#kundePortfolioView .ka-portfolio-header { display:flex; align-items:center; gap:12px; margin-bottom:20px; flex-wrap:wrap; }
#kundePortfolioView .ka-portfolio-title { margin:0; font-size:17px; font-weight:700; color:var(--ka-text); }
#kundePortfolioView .ka-portfolio-chip { display:inline-flex; align-items:center; padding:5px 12px; border-radius:999px; background:rgba(126,217,87,0.1); color:var(--ka-text); font-weight:600; font-size:0.82rem; border:1px solid var(--ka-border); }

/* ---- SVG Donut Chart ---- */
#kundePortfolioView .ka-chart-section { display:grid; grid-template-columns:minmax(240px,280px) 1fr; gap:24px; align-items:center; padding:20px; background:#f9fafb; border:1px solid #edf0f5; border-radius:12px; margin-bottom:20px; }
#kundePortfolioView .ka-chart-visual { position:relative; display:grid; place-items:center; }
#kundePortfolioView .ka-donut-wrap { position:relative; width:220px; height:220px; }
#kundePortfolioView .ka-donut-svg { width:220px; height:220px; }
#kundePortfolioView .ka-donut-segment { transition:opacity 0.2s ease, transform 0.15s ease; cursor:pointer; }
#kundePortfolioView .ka-donut-segment.ka-segment-active { opacity:1 !important; filter:brightness(1.08); }
#kundePortfolioView .ka-donut-segment.ka-segment-dim { opacity:0.45; }
#kundePortfolioView .ka-donut-center { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:100px; height:100px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:rgba(255,255,255,0.95); border-radius:50%; box-shadow:0 4px 16px rgba(0,0,0,0.06); pointer-events:none; }
#kundePortfolioView .ka-donut-center-label { font-size:10px; text-transform:uppercase; letter-spacing:0.5px; color:var(--ka-text-muted); font-weight:600; }
#kundePortfolioView .ka-donut-center-value { font-size:16px; font-weight:800; color:var(--ka-text); }
#kundePortfolioView .ka-donut-tooltip { position:absolute; bottom:-8px; left:50%; transform:translateX(-50%); background:var(--ka-card); border:1px solid var(--ka-border); border-radius:8px; padding:6px 12px; font-size:12px; font-weight:600; display:flex; align-items:center; gap:6px; box-shadow:var(--ka-shadow); opacity:0; pointer-events:none; transition:opacity 0.2s ease; white-space:nowrap; z-index:5; }
#kundePortfolioView .ka-donut-tooltip.visible { opacity:1; }
#kundePortfolioView .ka-tt-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }

/* ---- Chart Legend ---- */
#kundePortfolioView .ka-chart-legend-col { display:grid; gap:12px; }
#kundePortfolioView .ka-chart-legend { display:grid; gap:6px; }
#kundePortfolioView .ka-legend-item { display:flex; align-items:center; justify-content:space-between; padding:8px 12px; background:#fff; border:1px solid #edf0f5; border-radius:8px; font-size:12px; transition:all 0.2s ease; }
#kundePortfolioView .ka-legend-item:hover { border-color:var(--ka-accent-border); background:#f8fdf6; }
#kundePortfolioView .ka-legend-left { display:flex; align-items:center; gap:8px; }
#kundePortfolioView .ka-legend-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
#kundePortfolioView .ka-legend-pct { font-weight:700; color:var(--ka-text); }
#kundePortfolioView .ka-portfolio-meta { margin:0; color:var(--ka-text-muted); font-size:13px; line-height:1.5; }

/* ---- Fund Cards ---- */
#kundePortfolioView .ka-funds-grid { display:grid; gap:14px; }
#kundePortfolioView .ka-fund-card { position:relative; background:var(--ka-card); border:1px solid var(--ka-border); border-radius:var(--ka-radius-sm); overflow:hidden; transition:all 0.3s ease; }
#kundePortfolioView .ka-fund-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.08); border-color:var(--fund-color, var(--ka-accent-border)); }
#kundePortfolioView .ka-fund-color-bar { height:4px; width:100%; }
#kundePortfolioView .ka-fund-body { padding:16px 18px; }
#kundePortfolioView .ka-fund-header { margin-bottom:8px; }
#kundePortfolioView .ka-fund-header h4 { margin:0 0 8px; font-size:15px; font-weight:700; color:var(--ka-text); }
#kundePortfolioView .ka-fund-badges { display:flex; gap:6px; flex-wrap:wrap; }
#kundePortfolioView .ka-fund-badge { display:inline-flex; padding:4px 10px; border-radius:999px; font-size:11px; font-weight:600; }
#kundePortfolioView .ka-fund-badge-muted { background:#f1f3f8; color:var(--ka-text-muted); border:1px solid #e5e8ef; }
#kundePortfolioView .ka-fund-desc { margin:0 0 10px; color:var(--ka-text-muted); font-size:13px; line-height:1.5; }
#kundePortfolioView .ka-fund-alloc-row { display:flex; justify-content:space-between; align-items:center; padding:8px 12px; background:#f7f9fb; border-radius:8px; border:1px solid #edf0f5; margin-bottom:10px; font-size:13px; }
#kundePortfolioView .ka-fund-alloc-val { font-weight:800; color:var(--ka-text); }
#kundePortfolioView .ka-fund-actions { display:flex; gap:8px; flex-wrap:wrap; }
#kundePortfolioView .ka-fund-details { background:#f9fafb; border-radius:10px; border:1px solid #edf0f5; padding:0; margin-top:10px; }
#kundePortfolioView .ka-fund-details.ka-expanded { padding:14px; }
#kundePortfolioView .ka-fund-stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:8px; margin-bottom:10px; }
#kundePortfolioView .ka-fund-stat { display:flex; flex-direction:column; gap:2px; padding:10px 12px; background:#fff; border:1px solid #edf0f5; border-radius:8px; }
#kundePortfolioView .ka-fund-stat-label { font-size:11px; color:var(--ka-text-muted); font-weight:600; }
#kundePortfolioView .ka-fund-stat-val { font-size:13px; font-weight:700; color:var(--ka-text); }
#kundePortfolioView .ka-fund-description { color:var(--ka-text-muted); font-size:13px; line-height:1.5; background:#fff; border:1px solid #edf0f5; border-radius:8px; padding:10px 12px; }
#kundePortfolioView .ka-legal-micro { margin:10px 0 0; color:var(--ka-text-muted); font-size:10px; line-height:1.4; opacity:0.7; }

/* ---- Ablauf ---- */

/* ---- Advisors ---- */

/* ---- Footer ---- */
#kundePortfolioView .ka-footer { margin-top:24px; }
#kundePortfolioView .ka-footer-inner { background:#f9fafb; border:1px solid var(--ka-border); border-radius:12px; padding:20px 24px; }
#kundePortfolioView .ka-footer-disclaimer { display:flex; gap:12px; align-items:flex-start; color:var(--ka-text-muted); font-size:12px; line-height:1.6; }
#kundePortfolioView .ka-footer-disclaimer svg { flex-shrink:0; color:var(--ka-text-muted); margin-top:2px; }
#kundePortfolioView .ka-footer-disclaimer p { margin:0 0 4px; }
#kundePortfolioView .ka-footer-meta { display:flex; justify-content:space-between; align-items:center; margin-top:12px; padding-top:12px; border-top:1px solid #edf0f5; font-size:11px; color:var(--ka-text-muted); font-weight:600; }

/* ---- Responsive ---- */
@media (max-width:720px) {
  #kundePortfolioView .ka-chart-section { grid-template-columns:1fr; }
  #kundePortfolioView .ka-hero-inner { flex-direction:column; }
}
@media (max-width:520px) {
  #kundePortfolioView .ka-hero { padding:20px 16px; }
  #kundePortfolioView .ka-hero-meta { font-size:0.82rem; }
  #kundePortfolioView .ka-section { padding:16px; }
  #kundePortfolioView .ka-mantel-grid { grid-template-columns:1fr; }
}

/* Mantel buttons always clickable */
#kundePortfolioView .ka-mantel-card .ka-mantel-actions,
#kundePortfolioView .ka-mantel-card .ka-mantel-actions .ka-btn {
  filter:none !important; opacity:1 !important; user-select:auto !important; cursor:pointer !important;
}

/* ============================================================
   MOBILE OPTIMIZATION v4 — Confident, Clean, Polished
   2026-03-21 — Big typography, clean layout, professional feel
   Design-Philosophie: Layout ändern, nicht Schriften schrumpfen
   ============================================================ */

/* ---- TABLET (max 1024px) ---- */
@media (max-width: 1024px) {
  .lp-services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .lp-tools-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .lp-blog-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---- MOBILE (max 768px) ---- */
@media (max-width: 768px) {

  /* === MOBILE MENU FIX === */
  .public-header {
    z-index: 10000 !important;
  }
  .public-header.nav-open {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    max-height: 100vh;
    overflow-y: auto;
    background: #fff !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  }
  body.dark-mode .public-header.nav-open {
    background: #1e293b !important;
  }

  /* === ANNOUNCEMENT: hide on mobile — redundant with trust === */

  /* === GLOBAL SECTIONS === */
  .lp-section-header { margin-bottom: 28px; }
  .lp-section-header h2 { font-size: 1.5rem !important; font-weight: 700 !important; line-height: 1.25 !important; }
  .lp-section-header p { font-size: 0.9rem; line-height: 1.6; }
  .lp-section-tag { font-size: 0.72rem; padding: 5px 14px; margin-bottom: 12px; }
  .lp-section-inner { padding: 0 24px; }

  /* === HERO — bold, confident, clean === */
  .lp-hero { padding: 28px 24px 0 !important; overflow: hidden !important; }
  .lp-hero-content { gap: 40px !important; align-items: center !important; }
  .lp-hero-text h1 {
    font-size: 1.75rem !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
  }
  .lp-hero-text > p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    color: var(--grey-500);
  }
  .lp-hero-actions { gap: 12px; margin-top: 12px; }
  .lp-hero-actions .btn {
    padding: 14px 24px;
    font-size: 0.92rem;
    border-radius: 14px;
    font-weight: 600;
  }
  /* Hero trust — single line, compact */
  .lp-hero-trust-mini {
    margin-top: 16px !important;
    padding-top: 16px !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 8px;
  }
  .lp-hero-trust-mini > span { font-size: 0.82rem; font-weight: 600; }
  .lp-hero-trust-stars svg { width: 14px; height: 14px; }
  .lp-hero-trust-google img,
  .lp-hero-trust-google svg { width: 20px !important; height: 20px !important; }
  /* Hero image */
  .lp-hero-img-wrap { max-width: 280px !important; margin: 32px auto 0; padding-bottom: 20px; }
  .lp-hero-img-bg { width: 250px !important; height: 250px !important; }
  .lp-hero-img-glow { width: 230px !important; }
  .lp-hero-img-ring { display: block !important; width: 240px !important; height: 240px !important; }
  .lp-hero-team-img { margin-bottom: -20px !important; }
  .lp-hero-floating { display: flex !important; opacity: 0.6 !important; transform: scale(0.75) !important; }
  .lp-hero-bg-effects { display: block !important; opacity: 1 !important; }
  .hero-shooting-star { display: none !important; }

  /* === STATS BAR — clean, readable === */
  .lp-stats { padding: 18px 24px !important; }
  .lp-stats-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    justify-items: center;
  }
  .lp-stat {
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    text-align: center;
  }
  .lp-stat-divider { display: none !important; }
  .lp-stat-icon { width: 32px !important; height: 32px !important; }
  .lp-stat-icon svg { width: 15px !important; height: 15px !important; }
  .lp-stat-number { font-size: 1.05rem !important; font-weight: 700 !important; }
  .lp-stat-label { font-size: 0.62rem !important; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.85; }

  /* === SERVICES — 2-col, professional === */
  .lp-services { padding: 44px 0 !important; }
  .lp-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }
  .lp-service-card { padding: 20px !important; border-radius: 16px !important; }
  .lp-service-icon { width: 44px !important; height: 44px !important; margin-bottom: 12px; border-radius: 12px; }
  .lp-service-card h3 { font-size: 0.95rem !important; font-weight: 700; margin-bottom: 6px; }
  .lp-service-card p { font-size: 0.82rem !important; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lp-service-link { font-size: 0.8rem; margin-top: 10px; }
  .lp-service-card::after { font-size: 1.4rem !important; top: 12px !important; right: 14px !important; opacity: 0.25; }

  /* === COMPARISON — clean === */
  .lp-compare { padding: 44px 0 !important; }
  /* === TOOLS — 2-col, clean cards === */
  .lp-tools { padding: 44px 0 !important; }
  .lp-tools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .lp-tool-card { padding: 18px !important; gap: 10px !important; border-radius: 16px !important; }
  .lp-tool-icon { width: 40px !important; height: 40px !important; border-radius: 12px; }
  .lp-tool-icon svg { width: 20px !important; height: 20px !important; }
  .lp-tool-card h3 { font-size: 0.92rem !important; }
  .lp-tool-card p { font-size: 0.78rem !important; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lp-tool-link { font-size: 0.78rem; }

  /* === BOOKING === */
  .lp-booking { padding: 44px 24px !important; }
  .lp-booking-inner h2,
  .lp-booking-split h2 { font-size: 1.4rem !important; }

  /* === TESTIMONIALS === */
  .lp-testimonials { padding: 44px 0 !important; }
  .lp-testimonial-stars { font-size: 0.92rem !important; margin-bottom: 10px !important; }
  .lp-testimonial-avatar { width: 34px !important; height: 34px !important; }

  /* === KUNDENTOOL === */
  .lp-kundentool { padding: 44px 0 !important; }
  .lp-kundentool-content { gap: 28px !important; margin-top: 24px !important; }
  .lp-kundentool-login { padding: 28px !important; border-radius: 18px; }
  .lp-kundentool-login h3 { font-size: 1.15rem; }
  .lp-kundentool-login p { font-size: 0.88rem; margin-bottom: 18px; }

  /* === COURSES === */
  .lp-courses { padding: 44px 0 !important; }

  /* === BLOG === */
  .lp-blog { padding: 44px 0 !important; }
  .lp-blog-grid { gap: 16px !important; margin-top: 24px !important; }
  .lp-blog-img { height: 140px !important; }
  .lp-blog-body { padding: 18px !important; }
  .lp-blog-body h3 { font-size: 0.95rem !important; margin-bottom: 6px; line-height: 1.3; }
  .lp-blog-body p { font-size: 0.82rem !important; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lp-blog-meta { font-size: 0.75rem !important; margin-top: 10px; }
  .lp-blog-category { font-size: 0.7rem; padding: 4px 10px; }
  .lp-blog-card { border-radius: 16px !important; }

  /* === FAQ === */
  .lp-faq { padding: 44px 0 !important; }
  .lp-faq-categories { gap: 8px; margin-bottom: 24px; }
  .lp-faq-cat-btn { padding: 7px 16px; font-size: 0.82rem; }
  .lp-faq-item { margin-bottom: 10px; border-radius: 14px !important; }
  .lp-faq-item summary { padding: 16px 18px; font-size: 0.92rem; }
  .lp-faq-item summary::after { width: 26px; height: 26px; min-width: 26px; }
  .lp-faq-item p { padding: 0 18px 16px; font-size: 0.85rem; line-height: 1.7; }

  /* === CTA === */
  .lp-cta { padding: 44px 24px !important; }
  .lp-cta h2 { font-size: 1.4rem !important; margin-bottom: 12px; }
  .lp-cta p { font-size: 0.9rem; }
  .lp-cta-sub { font-size: 0.75rem; margin-top: 14px; }
  .lp-cta-actions { gap: 12px !important; }
  .lp-cta-actions .btn { padding: 14px 24px; font-size: 0.9rem; }

  /* === FOOTER === */
  .lp-footer-inner { padding: 36px 24px 28px !important; gap: 32px !important; }
  .lp-footer-brand p { font-size: 0.85rem; margin-top: 12px; }
  .lp-footer-social { margin-top: 14px; gap: 10px; }
  .lp-footer-social a { width: 36px; height: 36px; }
  .lp-footer-links { gap: 24px !important; }
  .lp-footer-col h4 { font-size: 0.78rem; margin-bottom: 12px; }
  .lp-footer-link { font-size: 0.85rem; padding: 4px 0; }
  .lp-footer-bottom-inner { padding: 18px 24px !important; }
  .lp-footer-bottom p { font-size: 0.75rem; }
  .lp-footer-legal a { font-size: 0.75rem; }
  .lp-footer-legal { gap: 18px; }
  .lp-footer-badge { font-size: 0.72rem; }

  /* === MISC === */
  .lp-cost-compare { padding: 44px 0 !important; }
  .lp-md-stats-row { gap: 8px !important; }
}

/* ---- SMALL MOBILE (max 480px) ---- */
@media (max-width: 480px) {
  .lp-hero-text h1 { font-size: 1.5rem !important; }
  .lp-hero { padding: 24px 20px 0 !important; }
  .lp-section-inner { padding: 0 20px; }
  .lp-section-header h2 { font-size: 1.3rem !important; }

  /* Services: show descriptions + action buttons */
  .lp-service-card p { display: block !important; font-size: 0.78rem !important; -webkit-line-clamp: unset; }
  .lp-service-link { display: inline-block !important; font-size: 0.78rem !important; margin-top: 8px !important; padding: 6px 14px !important; background: rgba(126,217,87,0.15) !important; border-radius: 8px !important; font-weight: 600 !important; }
  .lp-service-card::after { display: none !important; }
  /* Tools: show descriptions + action links */
  .lp-tool-card p { display: block !important; font-size: 0.78rem !important; }
  .lp-tool-link { display: inline-block !important; font-size: 0.78rem !important; margin-top: 6px !important; }

  /* Blog 1-column on mobile */
  .lp-blog-grid { grid-template-columns: 1fr !important; }

  /* Footer single column */
  .lp-footer-links { grid-template-columns: 1fr !important; }
}

/* ---- EXTRA SMALL (max 360px) ---- */
@media (max-width: 360px) {
  .lp-hero-text h1 { font-size: 1.35rem !important; }
  .lp-hero-img-wrap { max-width: 220px !important; }}

/* ============================================================
   MOBILE REDESIGN 2026 — Premium Startup Look
   ============================================================ */

/* --- GLOBAL MOBILE TYPOGRAPHY & SPACING --- */
@media (max-width: 768px) {
  /* Section headers - bigger, bolder */
  .lp-section-header h2 {
    font-size: 1.75rem !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .lp-section-header p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .lp-section-tag {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }
  .lp-section-inner {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .lp-section-header h2 {
    font-size: 1.5rem !important;
  }
}

/* --- HERO SECTION — Impactful Mobile --- */
@media (max-width: 768px) {
  .lp-hero {
    padding: 32px 24px 0 !important;
    min-height: auto;
  }
  .lp-hero-content {
    gap: 32px !important;
  }
  .lp-hero-badge {
    font-size: 0.8rem;
    padding: 8px 14px;
    border-radius: 99px;
  }
  .lp-hero-text h1 {
    font-size: 2.2rem !important;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
  }
  .lp-hero-text > p {
    font-size: 1.05rem !important;
    line-height: 1.6;
    color: var(--grey-500);
    margin-bottom: 24px;
  }
  .lp-hero-actions {
    gap: 12px !important;
  }
  .lp-hero-actions .btn {
    padding: 16px 24px !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
  }
  .lp-hero-trust-mini {
    margin-top: 28px;
    padding: 16px;
    background: rgba(126,217,87,0.06);
    border-radius: 16px;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .lp-hero-trust-avatars img {
    width: 32px;
    height: 32px;
  }
  .lp-hero-trust-text span {
    font-size: 0.82rem;
  }

  /* Team image in hero */
  .lp-hero-img-wrap {
    max-width: 300px !important;
  }
  .lp-hero-team-img {
    margin-bottom: -30px !important;
  }
}

@media (max-width: 480px) {
  .lp-hero-text h1 {
    font-size: 1.85rem !important;
  }
  .lp-hero {
    padding: 24px 20px 0 !important;
  }
}

/* --- STATS SECTION — 2x2 Grid --- */
@media (max-width: 768px) {
  .lp-stats {
    padding: 28px 20px !important;
  }
  .lp-stats-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px !important;
    justify-content: center;
  }
  .lp-stat {
    flex-direction: column !important;
    text-align: center;
    gap: 10px !important;
    padding: 16px 12px;
    background: rgba(126,217,87,0.04);
    border-radius: 16px;
    min-width: auto !important;
  }
  .lp-stat-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto;
  }
  .lp-stat-number {
    font-size: 1.4rem !important;
    font-weight: 700;
  }
  .lp-stat-label {
    font-size: 0.78rem;
    line-height: 1.3;
  }
}

/* --- SERVICES — 2-Column Grid on Tablet, 1 on Small --- */
@media (max-width: 768px) {
  .lp-services {
    padding: 56px 0 !important;
  }
  .lp-services-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    margin-top: 28px !important;
  }
  .lp-service-card {
    padding: 20px !important;
    border-radius: 16px;
  }
  .lp-service-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px;
    margin-bottom: 14px !important;
  }
  .lp-service-icon svg {
    width: 24px;
    height: 24px;
  }
  .lp-service-card h3 {
    font-size: 0.95rem !important;
    margin-bottom: 8px;
  }
  .lp-service-card p {
    font-size: 0.82rem !important;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .lp-service-link {
    display: inline-block !important;
    font-size: 0.78rem !important;
    margin-top: 10px !important;
    padding: 6px 14px !important;
    background: rgba(126,217,87,0.15) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
  }
  .lp-service-card p {
    display: block !important;
    font-size: 0.82rem !important;
    line-height: 1.5;
    margin-bottom: 8px !important;
  }
}

@media (max-width: 420px) {
  .lp-services-grid {
    grid-template-columns: 1fr !important;
  }
  .lp-service-card {
    padding: 24px !important;
  }
  .lp-service-card h3 {
    font-size: 1.05rem !important;
  }
  .lp-service-card p {
    font-size: 0.88rem !important;
  }
}

/* --- COMPARE SECTION — Better Mobile Cards --- */
@media (max-width: 768px) {
  .lp-compare {
    padding: 56px 0 !important;
  }
}

/* --- TOOLS — 2-Column Grid --- */
@media (max-width: 768px) {
  .lp-tools {
    padding: 56px 0 !important;
  }
  .lp-tools-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .lp-tool-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    gap: 10px !important;
  }
  .lp-tool-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
  }
  .lp-tool-icon svg {
    width: 22px;
    height: 22px;
  }
  .lp-tool-card h3 {
    font-size: 0.92rem !important;
  }
  .lp-tool-card p {
    font-size: 0.78rem !important;
    line-height: 1.4;
  }
  .lp-tool-link {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 420px) {
  .lp-tools-grid {
    grid-template-columns: 1fr !important;
  }
  .lp-tool-card {
    padding: 24px 20px !important;
  }
  .lp-tool-card h3 {
    font-size: 1.05rem !important;
  }
  .lp-tool-card p {
    font-size: 0.85rem !important;
  }
}

/* --- BOOKING SECTION --- */
@media (max-width: 768px) {
  .lp-booking {
    padding: 56px 16px !important;
  }
}

/* --- TESTIMONIALS — Horizontal Scroll Carousel --- */
@media (max-width: 768px) {
  .lp-testimonials {
    padding: 56px 0 !important;
  }
  .lp-testimonials-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    padding: 0 20px 20px !important;
    margin: 0 -20px;
    scrollbar-width: none;
  }
  .lp-testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  .lp-testimonials-grid .lp-testimonial-card {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    scroll-snap-align: center;
    margin: 0 !important;
  }
  /* Show all testimonial cards in carousel mode */
  .lp-testimonials-grid .lp-testimonial-hidden {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  .lp-testimonial-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }
  .lp-testimonial-card-text p {
    font-size: 0.9rem !important;
    line-height: 1.6;
  }
  /* Hide "show more" button on mobile since carousel shows all */
  .lp-testimonials-more {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .lp-testimonials-grid .lp-testimonial-card {
    flex: 0 0 90% !important;
    max-width: 90% !important;
  }
}

/* --- KUNDENTOOL SECTION --- */
@media (max-width: 768px) {
  .lp-kundentool {
    padding: 56px 0 !important;
  }
  .lp-kundentool-content {
    gap: 32px !important;
  }
  .lp-kundentool-login {
    padding: 28px 24px !important;
    border-radius: 20px;
  }
  .lp-kundentool-login h3 {
    font-size: 1.2rem;
  }
  .lp-kundentool-login .btn {
    padding: 14px !important;
    font-size: 0.95rem;
    border-radius: 14px !important;
  }
}

/* --- COURSES SECTION --- */
@media (max-width: 768px) {
  .lp-courses {
    padding: 56px 0 !important;
  }
}

/* --- BLOG — 1 Column, Bigger Cards --- */
@media (max-width: 768px) {
  .lp-blog {
    padding: 56px 0 !important;
  }
  .lp-blog-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .lp-blog-card {
    border-radius: 20px !important;
    overflow: hidden;
  }
  .lp-blog-img img {
    height: 200px;
    object-fit: cover;
  }
  .lp-blog-body {
    padding: 20px !important;
  }
  .lp-blog-body h3 {
    font-size: 1.05rem !important;
    line-height: 1.3;
  }
  .lp-blog-body p {
    font-size: 0.88rem !important;
    line-height: 1.5;
  }
}

/* --- FAQ — Horizontal Scroll Filter + Better Accordion --- */
@media (max-width: 768px) {
  .lp-faq {
    padding: 56px 0 !important;
  }
  .lp-faq-categories {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding: 0 20px 16px !important;
    margin: 0 -20px !important;
    scrollbar-width: none;
    flex-wrap: nowrap !important;
  }
  .lp-faq-categories::-webkit-scrollbar {
    display: none;
  }
  .lp-faq-cat-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 99px !important;
  }
  .lp-faq-item summary {
    padding: 18px 16px !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    line-height: 1.4;
  }
  .lp-faq-item p {
    padding: 0 16px 18px !important;
    font-size: 0.88rem !important;
    line-height: 1.65;
  }
}

/* --- FINAL CTA --- */
@media (max-width: 768px) {
  .lp-cta {
    padding: 56px 0 !important;
  }
  .lp-cta-inner {
    padding: 48px 24px !important;
    border-radius: 24px !important;
  }
  .lp-cta-inner h2 {
    font-size: 1.6rem !important;
    line-height: 1.2;
  }
  .lp-cta-inner > p {
    font-size: 0.95rem !important;
  }
  .lp-cta-actions .btn {
    padding: 16px 28px !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
  }
  .lp-cta-sub {
    font-size: 0.8rem !important;
  }
}

/* --- FOOTER — Better Spacing & Layout --- */
@media (max-width: 768px) {
  .lp-footer {
    padding-top: 48px !important;
  }
  .lp-footer-inner {
    padding: 0 24px !important;
    gap: 40px !important;
  }
  .lp-footer-brand {
    text-align: center;
  }
  .lp-footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
    margin: 12px auto;
  }
  .lp-footer-social {
    justify-content: center;
    margin-top: 16px;
  }
  .lp-footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 24px !important;
  }
  .lp-footer-col h4 {
    font-size: 0.9rem !important;
    margin-bottom: 14px !important;
    font-weight: 700;
  }
  .lp-footer-link {
    display: block !important;
    padding: 6px 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.4;
  }
  .lp-footer-bottom {
    margin-top: 32px;
  }
  .lp-footer-bottom-inner {
    padding: 20px 24px !important;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .lp-footer-legal {
    gap: 16px;
  }
  .lp-footer-legal a {
    font-size: 0.82rem;
  }
}

/* --- FLOATING BUTTONS — Non-overlapping, Modern --- */
@media (max-width: 768px) {
  .floating-beratung-btn {
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    padding: 14px 20px !important;
    border-radius: 99px !important;
    font-size: 0.88rem !important;
    box-shadow: 0 4px 20px rgba(126,217,87,0.35), 0 2px 8px rgba(0,0,0,0.1) !important;
    z-index: 999 !important;
  }
  .floating-beratung-btn span {
    display: inline !important;
  }
}

/* --- SMOOTHER SCROLL ANIMATIONS --- */
@media (max-width: 768px) {
  .lp-animate {
    transform: translateY(30px) !important;
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1) !important;
  }
  .lp-animate.visible {
    transform: translateY(0) !important;
  }
  .lp-animate-children > * {
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(.16,1,.3,1), transform 0.5s cubic-bezier(.16,1,.3,1) !important;
  }
  .lp-animate-children.visible > * {
    transform: translateY(0);
  }
}

/* --- MOBILE NAVIGATION POLISH --- */
@media (max-width: 768px) {
  .public-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .public-header.nav-open {
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }
  .public-nav-link {
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
    border-radius: 12px;
  }
  .public-nav-link:hover {
    background: rgba(126,217,87,0.06);
  }
  .public-header-actions .btn {
    border-radius: 12px !important;
    padding: 12px 20px !important;
  }
}

/* --- DARK MODE MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
  body.dark-mode .lp-stat {
    background: rgba(126,217,87,0.06);
  }
  body.dark-mode .lp-hero-trust-mini {
    background: rgba(126,217,87,0.08);
  }
  body.dark-mode .lp-service-card {
    background: #1e293b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  body.dark-mode .lp-tool-card {
    background: #1e293b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  body.dark-mode .lp-testimonial-card {
    background: #1e293b;
  }
}

/* --- SCROLL PROGRESS BAR — Thinner on Mobile --- */
@media (max-width: 768px) {
  .lp-scroll-progress {
    height: 3px !important;
  }
}

/* --- COMPARE SECTION — VS Badge Mobile --- */

/* --- BETA GATE MOBILE --- */

/* Mobile-only nav links — HIDE on desktop */
.mobile-only-nav {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE FINAL OVERRIDES — 2026-03-22 v3
   Premium glassmorphism menu with silky-smooth animations
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* --- 1. HERO: Mehr Abstand oben --- */
  .lp-hero {
    padding: 52px 24px 0 !important;
  }

  /* --- 2A. HAMBURGER BUTTON --- */
  .public-mobile-menu {
    width: 44px !important;
    height: 44px !important;
    position: relative !important;
    z-index: 10001 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 6 !important;
    margin-left: 6px !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* --- 2B. HAMBURGER ICON → X ANIMATION (smooth spring) --- */
  .hamburger-icon {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 20px !important;
    height: 20px !important;
    position: relative !important;
    gap: 0 !important;
  }
  .hamburger-icon span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: currentColor !important;
    border-radius: 2px !important;
    transition: top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s,
                opacity 0.2s ease !important;
    position: absolute !important;
    transform-origin: center !important;
  }
  .hamburger-icon span:nth-child(1) { top: 4px !important; }
  .hamburger-icon span:nth-child(2) { top: 9px !important; }
  .hamburger-icon span:nth-child(3) { top: 14px !important; }

  /* X state: smooth spring rotation */
  .public-header.nav-open .hamburger-icon span {
    transition: top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s,
                opacity 0.2s ease !important;
  }
  .public-header.nav-open .hamburger-icon span:nth-child(1) {
    top: 9px !important;
    transform: rotate(45deg) !important;
  }
  .public-header.nav-open .hamburger-icon span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }
  .public-header.nav-open .hamburger-icon span:nth-child(3) {
    top: 9px !important;
    transform: rotate(-45deg) !important;
  }

  /* --- Dark Toggle: neben Hamburger, rechts --- */
  .public-darkmode-toggle {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    order: 2 !important;
    flex-shrink: 0 !important;
    order: 2 !important;
    color: #475569 !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .public-darkmode-toggle svg {
    stroke-width: 2 !important;
    width: 22px !important;
    height: 22px !important;
    position: absolute !important;
  }
  .public-darkmode-toggle .icon-sun { display: block !important; }
  .public-darkmode-toggle .icon-moon { display: block !important; }
  body.dark-mode .public-darkmode-toggle .icon-sun { opacity: 0 !important; transform: rotate(90deg) scale(0) !important; pointer-events: none !important; }
  body.dark-mode .public-darkmode-toggle .icon-moon { opacity: 1 !important; transform: rotate(0deg) scale(1) !important; }
  body:not(.dark-mode) .public-darkmode-toggle .icon-sun { opacity: 1 !important; transform: rotate(0deg) scale(1) !important; }
  body:not(.dark-mode) .public-darkmode-toggle .icon-moon { opacity: 0 !important; transform: rotate(-90deg) scale(0) !important; pointer-events: none !important; }
  body.dark-mode .public-darkmode-toggle { color: #94a3b8 !important; }

  /* ============================================================
     GLASSMORPHISM MENU — Premium Overlay
     ============================================================ */

  /* --- Open State: Glassmorphism with strong transparency --- */
  .public-header.nav-open {
    height: auto !important;
    flex-wrap: wrap !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(32px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
    z-index: 10000 !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.06) !important;
  }
  body.dark-mode .public-header.nav-open {
    background: rgba(15, 23, 42, 0.82) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }

  /* --- Nav Container --- */
  .public-header.nav-open .public-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 16px 0 8px !important;
    gap: 0 !important;
    margin-top: 8px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  }
  body.dark-mode .public-header.nav-open .public-nav {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
  }

  /* --- Nav Links: clean, centered, subtle hover --- */
  .public-nav .public-nav-link,
  .public-nav .public-nav-dropdown-wrap > .public-nav-link {
    padding: 14px 24px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    border-bottom: none !important;
    border-radius: 12px !important;
    margin: 0 8px !important;
    text-align: center !important;
    justify-content: center !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  body.dark-mode .public-nav .public-nav-link,
  body.dark-mode .public-nav .public-nav-dropdown-wrap > .public-nav-link {
    color: #e2e8f0 !important;
  }

  /* Hover/Active: subtle highlight */
  .public-header.nav-open .public-nav-link:hover,
  .public-header.nav-open .public-nav-link:active {
    background: rgba(0, 0, 0, 0.03) !important;
  }
  body.dark-mode .public-header.nav-open .public-nav-link:hover,
  body.dark-mode .public-header.nav-open .public-nav-link:active {
    background: rgba(255, 255, 255, 0.06) !important;
  }

  /* --- Chevron Animation --- */
  .public-nav-dropdown-wrap > .public-nav-link svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    will-change: transform;
  }
  .public-nav-dropdown-wrap.mobile-open > .public-nav-link svg {
    transform: rotate(180deg) !important;
  }

  /* --- Dropdown: smooth accordion with reverse animation --- */
  .public-header.nav-open .public-nav-dropdown {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 8px !important;
    margin: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transform: translateY(-4px) !important;
    /* CLOSE animation: smooth collapse */
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.3s ease !important;
  }
  .public-nav-dropdown-wrap.mobile-open .public-nav-dropdown {
    max-height: 500px !important;
    opacity: 1 !important;
    padding: 8px 8px !important;
    transform: translateY(0) !important;
    /* OPEN animation: smooth expand with slight delay */
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
                opacity 0.4s ease 0.08s,
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
                padding 0.4s ease 0.05s !important;
  }

  /* --- Tool Grid: 2 columns --- */
  .public-header.nav-open .nav-dropdown-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 8px !important;
  }

  /* --- Tool Cards: glassmorphism cards with staggered animation --- */
  .public-header.nav-open .nav-dropdown-item {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 14px !important;
    padding: 12px !important;
    gap: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }
  .public-header.nav-open .nav-dropdown-item:active {
    transform: scale(0.97) !important;
  }

  /* Cards: staggered pop-in on open */
  .public-nav-dropdown-wrap.mobile-open .nav-dropdown-item {
    animation: toolCardIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  }
  .public-nav-dropdown-wrap.mobile-open .nav-dropdown-item:nth-child(1) { animation-delay: 0.1s !important; }
  .public-nav-dropdown-wrap.mobile-open .nav-dropdown-item:nth-child(2) { animation-delay: 0.14s !important; }
  .public-nav-dropdown-wrap.mobile-open .nav-dropdown-item:nth-child(3) { animation-delay: 0.18s !important; }
  .public-nav-dropdown-wrap.mobile-open .nav-dropdown-item:nth-child(4) { animation-delay: 0.22s !important; }
  .public-nav-dropdown-wrap.mobile-open .nav-dropdown-item:nth-child(5) { animation-delay: 0.26s !important; }
  .public-nav-dropdown-wrap.mobile-open .nav-dropdown-item:nth-child(6) { animation-delay: 0.30s !important; }
  .public-nav-dropdown-wrap.mobile-open .nav-dropdown-item:nth-child(7) { animation-delay: 0.34s !important; }

  /* Cards: reverse animation on close */
  .public-nav-dropdown-wrap:not(.mobile-open) .nav-dropdown-item {
    animation: toolCardOut 0.25s cubic-bezier(0.4, 0, 0.2, 1) both !important;
  }

  @keyframes toolCardIn {
    0% { opacity: 0; transform: translateY(10px) scale(0.92); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes toolCardOut {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
  }

  .public-header.nav-open .nav-dropdown-item strong {
    font-size: 0.82rem !important;
    color: #1e293b !important;
  }
  .public-header.nav-open .nav-dropdown-item small { display: none !important; }
  .public-header.nav-open .nav-dropdown-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  }

  /* Dark mode cards */
  body.dark-mode .public-header.nav-open .nav-dropdown-item {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }
  body.dark-mode .public-header.nav-open .nav-dropdown-item strong { color: #e2e8f0 !important; }

  /* --- Buttons: ALWAYS visible when menu open (JS handles animation) --- */
  .public-header.nav-open .public-header-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    order: 11 !important;
    padding: 12px 8px 16px !important;
    gap: 8px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin-top: 4px !important;
    /* No CSS animation — JS controls opacity/transform for smooth open/close */
  }
  body.dark-mode .public-header.nav-open .public-header-actions {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
  }
  .public-header.nav-open .public-header-actions .public-darkmode-toggle {
    display: none !important;
  }
  .public-header.nav-open .public-header-actions .btn {
    display: flex !important;
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .public-header.nav-open .public-header-actions .btn:active {
    transform: scale(0.97) !important;
  }

  /* --- Mobile-only Links --- */
  .mobile-only-nav { display: block !important; }

  /* --- 4. TRUST-BEREICH: Alles auf einer Linie --- */
  .lp-hero-trust-mini {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 16px !important;
    padding: 10px 14px !important;
    overflow: hidden !important;
  }
  .lp-hero-trust-avatars {
    flex-shrink: 0 !important;
    display: flex !important;
  }
  .lp-hero-trust-avatars img {
    width: 24px !important;
    height: 24px !important;
    margin-left: -6px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
  }
  .lp-hero-trust-avatars img:first-child {
    margin-left: 0 !important;
  }
  .lp-hero-trust-google {
    flex-shrink: 0 !important;
  }
  .lp-hero-trust-google svg {
    width: 18px !important;
    height: 18px !important;
  }
  .lp-hero-trust-text {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }
  .lp-hero-trust-stars {
    display: flex !important;
    gap: 1px !important;
  }
  .lp-hero-trust-stars svg {
    width: 11px !important;
    height: 11px !important;
  }
  .lp-hero-trust-text > span {
    font-size: 0.68rem !important;
    white-space: nowrap !important;
  }

  /* --- 5. TEAM-BILDER: Grösser --- */
  .lp-hero-visual {
    margin-top: -20px !important;
  }
  .lp-hero-team-img {
    width: 130% !important;
    margin-left: -8% !important;
    margin-bottom: -35px !important;
  }

  /* --- 6. HINTERGRUND-ANIMATIONEN: Sichtbar auf Mobile --- */
  .lp-hero-bg-effects {
    display: block !important;
    opacity: 1 !important;
  }
  #heroParticles {
    display: block !important;
    opacity: 0.5 !important;
  }
  .hero-sky {
    display: block !important;
    opacity: 0.35 !important;
  }
  .lp-hero-floating {
    display: flex !important;
    opacity: 0.7 !important;
    transform: scale(0.62) !important;
    animation: none !important;
    transition: none !important;
  }
  .lp-hero-floating:hover,
  .lp-hero-floating:active,
  .lp-hero-floating:focus {
    transform: scale(0.62) !important;
    box-shadow: none !important;
    animation: none !important;
  }
  .lp-hero-floating.lp-float-1 {
    top: 48% !important;
    right: -14% !important;
    z-index: 12 !important;
    opacity: 0.85 !important;
  }
  .lp-hero-floating.lp-float-2 {
    bottom: 20% !important;
    left: -10% !important;
    opacity: 0.85 !important;
  }
  .lp-hero-floating.lp-float-3 {
    display: none !important;
  }

  /* --- 7. STATS: Horizontal in einer Reihe (Original) --- */
  .lp-stats-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  .lp-stat {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    text-align: center !important;
    padding: 10px 4px !important;
  }
  .lp-stat-divider {
    display: none !important;
  }
  .lp-stat-icon {
    width: 30px !important;
    height: 30px !important;
  }
  .lp-stat-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .lp-stat-number {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .lp-stat-label {
    font-size: 0.58rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
  }

  /* --- 8. VS-ZEICHEN: Zwischen den Spalten --- */

  /* --- 9. CALENDLY: Kleiner --- */
  .lp-booking-calendly {
    margin: 0 !important;
    padding: 0 !important;
  }
  .lp-booking {
    padding: 48px 20px !important;
  }

  /* --- 10. REZENSIONEN: Runde Avatare --- */
  .lp-testimonial-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
  }
  .lp-testimonial-avatar img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
  }

  /* --- 10B. TESTIMONIALS: Single column, centered button, no overflow --- */
  .lp-testimonials-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    overflow-x: visible !important;
    overflow: hidden !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-items: center !important;
  }
  .lp-testimonials-grid.show-all {
    grid-template-columns: 1fr !important;
  }
  .lp-testimonials-grid .lp-testimonial-card {
    flex: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    scroll-snap-align: unset !important;
    overflow: hidden !important;
  }
  .lp-testimonial-card {
    max-width: 100% !important;
    overflow: hidden !important;
  }
  /* Hide 9th+ visible card (not .lp-testimonial-hidden) */
  .lp-testimonials-grid .lp-testimonial-card:nth-child(n+9):not(.lp-testimonial-hidden) {
    display: none !important;
  }
  /* Hidden cards stay hidden until show-all */
  .lp-testimonials-grid .lp-testimonial-hidden {
    display: none !important;
  }
  .lp-testimonials-grid.show-all .lp-testimonial-hidden {
    display: block !important;
  }
  .lp-testimonials-grid.show-all .lp-testimonial-card:nth-child(n+9):not(.lp-testimonial-hidden) {
    display: block !important;
  }
  /* "Mehr anzeigen" button — centered */
  .lp-testimonials-more {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
    margin: 24px 0 0 !important;
  }
  .lp-testimonials-more .btn {
    margin: 0 auto !important;
  }
  #showMoreTestimonials {
    display: inline-flex !important;
    margin: 0 auto !important;
  }

  a.lp-testimonial-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  a.lp-testimonial-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
  }

  /* --- 11. BLOG: 1 pro Reihe auf Mobile --- */
  .lp-blog-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .lp-blog-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .lp-blog-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
  }
  .lp-blog-img img {
    height: 110px !important;
    object-fit: cover !important;
    width: 100% !important;
  }
  .lp-blog-body {
    padding: 10px !important;
  }
  .lp-blog-body h3 {
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }
  .lp-blog-body p {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .lp-blog-meta {
    font-size: 0.62rem !important;
  }
  .lp-blog-category {
    font-size: 0.58rem !important;
    padding: 2px 6px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE LOAD ANIMATIONS — Premium entrance effects
   Header slides from top, hero content rises from bottom
   ═══════════════════════════════════════════════════════════ */

/* Initial hidden state (no-JS fallback: elements are visible) */
.public-header.page-entering {
  opacity: 0;
  transform: translateY(-100%);
}
.lp-hero.page-entering .lp-hero-text,
.lp-hero.page-entering .lp-hero-visual,
.lp-hero.page-entering .lp-hero-trust-mini {
  opacity: 0;
  transform: translateY(40px);
}

/* Animated entrance */
.public-header.page-entered {
  animation: headerSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lp-hero.page-entered .lp-hero-text {
  animation: heroContentUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.lp-hero.page-entered .lp-hero-visual {
  animation: heroContentUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}
.lp-hero.page-entered .lp-hero-trust-mini {
  animation: heroContentUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes headerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroContentUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   FINAL MOBILE OVERRIDE — CSS GRID statt Flex (kein Wrapping-Problem)
   ============================================================ */
@media (max-width: 768px) {
  .public-header {
    display: grid !important;
    grid-template-columns: auto 1fr auto auto !important;
    grid-template-rows: 60px !important;
    align-items: center !important;
    padding: 0 16px !important;
    gap: 0 8px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
  }
  /* Row 1: Logo | [space] | Toggle | Hamburger */
  .public-header .public-logo { grid-column: 1 !important; grid-row: 1 !important; }
  .public-header .public-darkmode-toggle { grid-column: 3 !important; grid-row: 1 !important; justify-self: end !important; }
  .public-header .public-mobile-menu { grid-column: 4 !important; grid-row: 1 !important; }
  /* Row 2+: Nav und Actions (volle Breite, nur sichtbar wenn offen) */
  .public-header .public-nav { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  .public-header .public-header-actions { grid-column: 1 / -1 !important; grid-row: 3 !important; }

  .public-header.nav-open {
    grid-template-rows: 60px auto auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: 85vh !important;
  }
}

/* ---- Ablaufmanagement new design ---- */
#kundePortfolioView .ka-ablauf-info-card { background:rgba(126,217,87,0.06); border:1px solid rgba(126,217,87,0.2); border-radius:12px; padding:20px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; margin-bottom:20px; }
#kundePortfolioView .ka-ablauf-info-text { font-size:1rem; font-weight:600; color:var(--ka-text); margin:0; }
#kundePortfolioView .ka-ablauf-info-sub { font-size:0.85rem; color:var(--ka-text-muted); margin:0; }
#kundePortfolioView .ka-ablauf-strategies { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin-bottom:20px; }
#kundePortfolioView .ka-ablauf-strategy-card { background:white; border:2px solid var(--ka-border); border-radius:12px; padding:16px 14px; text-align:center; cursor:pointer; transition:all .2s ease; }
#kundePortfolioView .ka-ablauf-strategy-card:hover { border-color:rgba(126,217,87,0.5); box-shadow:0 2px 8px rgba(0,0,0,0.05); }
#kundePortfolioView .ka-ablauf-strategy-card.active { border-color:#7ed957; background:rgba(126,217,87,0.04); }
#kundePortfolioView .ka-ablauf-strategy-card h4 { margin:0 0 4px; font-size:0.92rem; font-weight:700; color:var(--ka-text); }
#kundePortfolioView .ka-ablauf-strategy-card p { margin:0; font-size:0.82rem; color:var(--ka-text-muted); line-height:1.4; }
#kundePortfolioView .ka-ablauf-chart-wrapper { background:white; border:1px solid var(--ka-border); border-radius:12px; padding:20px; margin-bottom:16px; }
#kundePortfolioView .ka-ablauf-summary { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
#kundePortfolioView .ka-ablauf-summary-item { background:rgba(0,0,0,0.04); padding:6px 14px; border-radius:20px; font-size:0.82rem; font-weight:600; color:var(--ka-text); }

/* ---- Deine Zahlen personalized cards ---- */
#kundePortfolioView .ka-zahlen-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
@media (max-width:900px) { #kundePortfolioView .ka-zahlen-grid { grid-template-columns:1fr; } }
#kundePortfolioView .ka-zahlen-card { display:flex; flex-direction:column; gap:6px; padding:24px; }
#kundePortfolioView .ka-zahlen-card:hover { border-color:var(--ka-accent-border); transform:translateY(-2px); }
#kundePortfolioView .ka-zahlen-card-title { margin:0; font-size:1rem; font-weight:700; color:var(--ka-text); }
#kundePortfolioView .ka-zahlen-card-desc { margin:0; font-size:0.82rem; color:var(--ka-text-muted); line-height:1.5; }
#kundePortfolioView .ka-zahlen-card-hint { margin:4px 0 0; font-size:0.82rem; color:var(--grey-400); text-align:center; }
#kundePortfolioView .ka-zahlen-counter { font-size:1.8rem; font-weight:800; color:#7ed957; }

/* ---- Flip Card (Vermögensprognose / Zinseszinsrechner) ---- */
#kundePortfolioView .ka-flip-card { overflow:hidden; }
#kundePortfolioView .ka-flip-card:hover { transform:none; }
#kundePortfolioView .ka-flip-inner { position:relative; transition:transform 0.25s ease, opacity 0.25s ease; }
#kundePortfolioView .ka-flip-inner.ka-shrinking { transform:scale(0.92); opacity:0; }
#kundePortfolioView .ka-flip-front { }
#kundePortfolioView .ka-flip-back { display:none; }

/* ---- Prognose Scenarios (front of flip card) ---- */
#kundePortfolioView .ka-prognose-scenarios { display:flex; flex-direction:column; gap:10px; }
#kundePortfolioView .ka-prognose-row { display:flex; align-items:center; justify-content:space-between; padding:6px 0; border-bottom:1px solid #f1f5f9; }
#kundePortfolioView .ka-prognose-row:last-child { border-bottom:none; }
#kundePortfolioView .ka-prognose-label { display:flex; align-items:center; gap:8px; font-size:0.82rem; font-weight:600; }
#kundePortfolioView .ka-prognose-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
#kundePortfolioView .ka-prognose-vals { text-align:right; display:flex; flex-direction:column; gap:1px; }
#kundePortfolioView .ka-prognose-end { font-size:0.92rem; font-weight:700; color:var(--ka-text); }
#kundePortfolioView .ka-prognose-gewinn { font-size:0.82rem; font-weight:600; }

/* ---- Zinseszinsrechner Inputs ---- */
#kundePortfolioView .ka-zins-inputs { display:flex; flex-direction:column; gap:12px; margin-top:8px; }
#kundePortfolioView .ka-zins-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#kundePortfolioView .ka-zins-label { font-size:0.82rem; font-weight:600; color:var(--ka-text-muted); flex:1; }
#kundePortfolioView .ka-zins-input-wrap { display:flex; align-items:center; gap:6px; background:#f7f9fb; border:1px solid #e2e8f0; border-radius:10px; padding:6px 12px; transition:border-color 0.2s, box-shadow 0.2s; }
#kundePortfolioView .ka-zins-input-wrap:focus-within { border-color:#7ed957; box-shadow:0 0 0 3px rgba(126,217,87,0.15); }
#kundePortfolioView .ka-zins-input { border:none; background:transparent; width:70px; font-size:0.95rem; font-weight:700; color:var(--ka-text); text-align:right; outline:none; -moz-appearance:textfield; }
#kundePortfolioView .ka-zins-input::-webkit-outer-spin-button,
#kundePortfolioView .ka-zins-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
#kundePortfolioView .ka-zins-unit { font-size:0.82rem; font-weight:600; color:#94a3b8; white-space:nowrap; }
#kundePortfolioView .ka-zins-divider { height:1px; background:#e2e8f0; margin:14px 0; }
#kundePortfolioView .ka-zins-results { display:flex; flex-direction:column; gap:8px; }
#kundePortfolioView .ka-zins-result-row { display:flex; align-items:center; justify-content:space-between; }
#kundePortfolioView .ka-zins-result-label { font-size:0.82rem; font-weight:600; color:var(--ka-text-muted); }
#kundePortfolioView .ka-zins-result-value { font-weight:700; font-size:0.95rem; }

/* Bar comparison */
#kundePortfolioView .ka-zahlen-bars { display:flex; flex-direction:column; gap:10px; margin-top:8px; }
#kundePortfolioView .ka-zahlen-bar-row { display:flex; flex-direction:column; gap:4px; }
#kundePortfolioView .ka-zahlen-bar-label { font-size:0.82rem; font-weight:600; color:var(--ka-text-muted); }
#kundePortfolioView .ka-zahlen-bar-track { height:28px; background:var(--grey-100); border-radius:8px; overflow:hidden; position:relative; }
#kundePortfolioView .ka-zahlen-bar-fill { height:100%; border-radius:8px; width:0%; transition:width 1.2s cubic-bezier(.4,0,.2,1); display:flex; align-items:center; justify-content:flex-end; padding-right:8px; font-size:0.75rem; font-weight:700; color:white; white-space:nowrap; min-width:0; }
#kundePortfolioView .ka-zahlen-bar-fill::after { content:attr(data-value); }
#kundePortfolioView .ka-zahlen-bar-fill.ka-bar-visible { width:var(--bar-pct); }

/* Portfolio profile grid */

/* Progress bars in profile card */

/* Portfolio Setup Animation */
@keyframes kaFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   WISSENSBIBLIOTHEK
   ============================================================ */

/* Container */

/* Header */

/* Search */
.wissen-search { 
  width: 100%; padding: 14px 16px 14px 48px; 
  border: 2px solid var(--grey-100); border-radius: var(--radius-lg); 
  font-size: 1rem; font-family: inherit; background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wissen-search-clear { 
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--grey-300); cursor: pointer; padding: 4px;
  display: none;
}

/* Category Tabs */
.wissen-tabs { 
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; 
  padding-bottom: 4px;
}

/* Progress Bar */

/* Article Grid */

/* Article Card */

.wissen-card-badges { display: flex; gap: 8px; padding: 0 20px 16px; }

/* Expanded Content */
.wissen-card.expanded .wissen-content { display: block; }
.wissen-content h3 { font-size: 1.15rem; font-weight: 600; margin: 24px 0 12px; color: var(--dark); }
.wissen-content h4 { font-size: 1rem; font-weight: 600; margin: 20px 0 8px; color: var(--dark); }
.wissen-content p { margin: 0 0 12px; }
.wissen-content ul, .wissen-content ol { margin: 0 0 16px; padding-left: 24px; }
.wissen-content li { margin-bottom: 6px; }
.wissen-content strong { color: var(--dark); font-weight: 600; }

/* Info Box inside content */

/* Tables inside content */

/* Collapse button */

/* Empty State */

/* Dark mode */
.dark-mode .wissen-content th { background: var(--grey-500); color: #fff; }
.dark-mode .wissen-content td { border-color: var(--grey-500); }
.dark-mode .wissen-badge { background: var(--grey-500); color: var(--grey-200); }
.dark-mode .wissen-info { background: rgba(126,217,87,0.1); }
.dark-mode .wissen-collapse-btn { background: var(--grey-500); border-color: var(--grey-400); color: var(--grey-200); }

/* Responsive */

/* ============================================================
   KUNDE EMPFEHLUNG — Clean Tunnel UI
   ============================================================ */

/* Tunnel Wrap */
.ke-tunnel-wrap {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 20px;
  padding: 40px 36px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ke-tunnel-wrap > div { max-width: 520px; margin: 0 auto; }

/* Tunnel Animation & Progress */
.ke-tunnel-step { opacity: 1; transform: translateY(0); transition: opacity 0.25s ease, transform 0.25s ease; }
.ke-tunnel-step.ke-step-hidden { opacity: 0; transform: translateY(6px); pointer-events: none; }
.ke-tunnel-step.ke-step-active { opacity: 1; transform: translateY(0); }
.ke-tunnel-progress { height: 3px; background: var(--border, #e2e8f0); border-radius: 3px; margin-bottom: 32px; overflow: hidden; }
.ke-tunnel-bar { height: 100%; background: #7ed957; border-radius: 3px; transition: width 0.4s ease; }

/* Tunnel Header */
.ke-tunnel-header { text-align: center; margin-bottom: 28px; }
.ke-tunnel-emoji { font-size: 2.5rem; margin-bottom: 12px; }
.ke-tunnel-header h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 10px; color: var(--text-primary, #1a1a2e); }
.ke-tunnel-header p { font-size: 0.95rem; color: var(--text-secondary, #64748b); margin: 0; line-height: 1.6; }

/* Tunnel Input */
.ke-tunnel-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-primary, #1a1a2e); margin-bottom: 10px; text-align: center; }
.ke-tunnel-label span { font-weight: 400; color: var(--text-secondary, #94a3b8); }
.ke-tunnel-input { width: 100%; padding: 16px 20px; border: 2px solid var(--border, #e2e8f0); border-radius: 14px; font-size: 1.1rem; font-family: inherit; background: var(--card-bg, #fff); color: var(--text-primary); text-align: center; transition: border-color 0.2s, box-shadow 0.2s; outline: none; box-sizing: border-box; margin-bottom: 24px; }
.ke-tunnel-input:focus { border-color: #7ed957; box-shadow: 0 0 0 4px rgba(126,217,87,0.12); }
.ke-tunnel-input::placeholder { color: var(--text-secondary, #94a3b8); }

/* Tunnel Button */
.ke-tunnel-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px; background: #7ed957; color: #fff; border: none; border-radius: 14px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.ke-tunnel-btn:hover { background: #7ed957; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(126,217,87,0.3); }
.ke-tunnel-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.ke-tunnel-btn-outline { background: none; border: 1.5px solid var(--border, #e2e8f0); color: var(--text-secondary, #64748b); margin-top: 16px; }
.ke-tunnel-btn-outline:hover { border-color: #7ed957; color: #7ed957; background: none; box-shadow: none; }

/* Tunnel Options */
.ke-tunnel-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ke-tunnel-option { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 2px solid var(--border, #e2e8f0); border-radius: 14px; background: var(--card-bg, #fff); cursor: pointer; text-align: left; font-family: inherit; transition: all 0.2s; }
.ke-tunnel-option:hover { border-color: #7ed957; background: rgba(126,217,87,0.03); }
.ke-tunnel-option.selected { border-color: #7ed957; background: rgba(126,217,87,0.06); box-shadow: 0 0 0 3px rgba(126,217,87,0.12); }
.ke-tunnel-option svg { flex-shrink: 0; color: var(--text-secondary, #94a3b8); }
.ke-tunnel-option.selected svg { color: #7ed957; }
.ke-tunnel-option div { flex: 1; }
.ke-tunnel-option strong { display: block; font-size: 0.95rem; color: var(--text-primary, #1a1a2e); }
.ke-tunnel-option span { font-size: 0.82rem; color: var(--text-secondary, #94a3b8); }
.ke-tunnel-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--text-secondary, #94a3b8); font-size: 0.88rem; cursor: pointer; padding: 8px 0; font-family: inherit; transition: color 0.2s; }
.ke-tunnel-back:hover { color: var(--text-primary, #1a1a2e); }

/* Result */
.ke-link-success { text-align: center; padding: 8px 0 20px; }
.ke-link-success-icon { margin-bottom: 12px; }
.ke-link-success h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 6px; color: var(--text-primary, #1a1a2e); }
.ke-link-success p { margin: 0; font-size: 0.9rem; color: var(--text-secondary, #64748b); }
.ke-link-box { display: flex; gap: 8px; margin-bottom: 16px; }
.ke-link-box input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--border, #e2e8f0); border-radius: 12px; font-size: 0.85rem; background: var(--bg, #f8fafc); color: var(--text-primary); font-family: monospace; }
.ke-link-box .btn { white-space: nowrap; }
.ke-share-row { display: flex; gap: 10px; margin-bottom: 12px; }
.ke-share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 12px; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: all 0.2s; flex: 1; justify-content: center; }
.ke-share-whatsapp { background: #7ED957; color: #fff; }
.ke-share-whatsapp:hover { background: #7ed957; }
.ke-share-email { background: var(--bg, #f1f5f9); color: var(--text-primary); border: 1px solid var(--border, #e2e8f0); }
.ke-share-email:hover { border-color: #7ed957; }
.ke-result-info { text-align: center; padding: 12px 16px; background: rgba(126,217,87,0.06); border-radius: 10px; margin-top: 4px; }
.ke-result-info p { margin: 0; font-size: 0.85rem; color: var(--text-secondary, #64748b); line-height: 1.5; }

/* History */
.ke-history { margin-bottom: 28px; }
.ke-history h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 16px; color: var(--text-primary, #1a1a2e); }
.ke-history-list { display: flex; flex-direction: column; gap: 12px; }

/* History Cards */
.ke-history-card { background: var(--card-bg, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 16px; padding: 20px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: border-color 0.2s; }
.ke-history-card:hover { border-color: #7ed957; }
.ke-history-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ke-history-name-row { display: flex; align-items: center; gap: 10px; }
.ke-history-name-row strong { font-size: 1rem; font-weight: 700; color: var(--text-primary, #1a1a2e); }
.ke-delete-btn { background: none; border: none; color: var(--text-secondary, #c4c4c4); cursor: pointer; padding: 6px; border-radius: 8px; transition: all 0.2s; }
.ke-delete-btn:hover { color: #ef4444; background: rgba(239,68,68,0.08); }
.ke-history-date { font-size: 0.8rem; color: var(--text-secondary, #94a3b8); }

/* History Actions */
.ke-history-actions { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border, #f1f5f9); }
.ke-copy-link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--border, #e2e8f0); border-radius: 8px; padding: 6px 14px; font-size: 0.8rem; font-weight: 500; color: var(--text-secondary, #64748b); cursor: pointer; font-family: inherit; transition: all 0.2s; }
.ke-copy-link-btn:hover { border-color: #7ed957; color: #7ed957; }

/* Pipeline — modern flat */
.ke-pipeline { display: flex; align-items: center; gap: 0; position: relative; }
.ke-pipe-step { display: flex; align-items: center; gap: 8px; flex: 1; position: relative; z-index: 1; }
.ke-pipe-dot { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; background: var(--border, #e5e7eb); color: var(--text-secondary, #c4c4c4); flex-shrink: 0; transition: all 0.3s; }
.ke-pipe-step.done .ke-pipe-dot { background: #7ed957; color: #fff; }
.ke-pipe-step.active .ke-pipe-dot { box-shadow: 0 0 0 3px rgba(126,217,87,0.2); }
.ke-pipe-num { font-weight: 700; font-size: 0.65rem; }
.ke-pipe-step span { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary, #94a3b8); white-space: nowrap; }
.ke-pipe-step.done span { color: #7ed957; font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
  .ke-tunnel-wrap { padding: 28px 20px; margin-left: 0; margin-right: 0; }
  .ke-tunnel-header h2 { font-size: 1.2rem; }
  .ke-link-box { flex-direction: column; }
  .ke-share-row { flex-direction: column; }
  .ke-pipeline { flex-wrap: wrap; gap: 8px; }
  .ke-pipe-step span { font-size: 0.75rem; }
  .ke-history-card { padding: 16px 18px; }
  .ke-history { margin-left: 0; margin-right: 0; }
}

/* ============================================================
   EMPFEHLUNG LANDING PAGE (Public, ohne Login)
   ============================================================ */
.emp-landing { font-family: 'Poppins', sans-serif; color: #1a1a2e; background: #fff; }
.emp-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid #e5e7eb; }
.emp-header-inner { max-width: 1100px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.emp-logo { font-size: 1.6rem; font-weight: 400; color: #1a1a2e; text-decoration: none; letter-spacing: -0.3px; }

/* Hero */
.emp-hero { background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%); padding: 80px 24px 60px; text-align: center; }
.emp-hero-content { max-width: 700px; margin: 0 auto; }
.emp-badge { display: inline-block; background: rgba(126,217,87,0.15); color: #7ed957; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; }
.emp-hero h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.3; margin: 0 0 20px; color: #1a1a2e; }
.emp-hero-sub { font-size: 1.1rem; color: #64748b; line-height: 1.65; margin: 0 0 32px; }
.emp-hero-cta { display: inline-flex; align-items: center; gap: 8px; background: #7ed957; color: #fff; padding: 16px 36px; border-radius: 14px; font-size: 1.05rem; font-weight: 700; text-decoration: none; transition: all 0.2s; box-shadow: 0 4px 16px rgba(126,217,87,0.3); }
.emp-hero-cta:hover { background: #7ed957; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(126,217,87,0.35); }

/* Sections */
.emp-section { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
.emp-section h2 { font-size: 1.6rem; font-weight: 700; text-align: center; margin: 0 0 36px; color: #1a1a2e; }
.emp-section-alt { background: #f8fafc; }

/* Personal Message from Cyrill */
.emp-personal { display: flex; gap: 28px; align-items: flex-start; max-width: 720px; margin: 0 auto; }
.emp-personal-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid #7ed957; }
.emp-personal h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 10px; color: #1a1a2e; }
.emp-personal p { font-size: 0.95rem; color: #64748b; line-height: 1.65; margin: 0 0 10px; }
.emp-personal p:last-child { margin: 0; }

/* Gesprächsablauf */
.emp-flow { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.emp-flow-step { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #f1f5f9; }
.emp-flow-step:last-child { border-bottom: none; }
.emp-flow-num { width: 36px; height: 36px; border-radius: 50%; background: #7ed957; color: #fff; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.emp-flow-step strong { display: block; font-size: 0.95rem; color: #1a1a2e; margin-bottom: 4px; }
.emp-flow-step p { margin: 0; font-size: 0.88rem; color: #64748b; line-height: 1.5; }

@media (max-width: 768px) {
  .emp-personal { flex-direction: column; text-align: center; align-items: center; }
  .emp-personal-photo { margin: 0 auto; }
}

/* Cards grid */
.emp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.emp-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; text-align: center; transition: all 0.2s; }
.emp-card:hover { border-color: #7ed957; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }
.emp-card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.emp-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.emp-card p { font-size: 0.9rem; color: #64748b; line-height: 1.55; margin: 0; }

/* Benefits */

/* Testimonials */

/* CTA Section */
.emp-cta-section { padding: 80px 24px; background: linear-gradient(135deg, #f0fdf4, #ecfdf5); }
.emp-cta-card { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 8px 40px rgba(0,0,0,0.08); text-align: center; }
.emp-cta-card h2 { font-size: 1.4rem; margin: 0 0 12px; }
.emp-cta-card > p { color: #64748b; font-size: 0.95rem; margin: 0 0 28px; }
.emp-register-form input { width: 100%; padding: 14px 18px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 0.95rem; font-family: inherit; margin-bottom: 12px; box-sizing: border-box; transition: border-color 0.2s; }
.emp-register-form input:focus { outline: none; border-color: #7ed957; box-shadow: 0 0 0 3px rgba(126,217,87,0.12); }
.emp-cta-btn { width: 100%; padding: 16px; background: #7ed957; color: #fff; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-top: 4px; }
.emp-cta-btn:hover { background: #7ed957; transform: translateY(-1px); }
.emp-cta-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.emp-cta-note { margin: 24px 0 0; font-size: 0.82rem; color: #94a3b8; }

/* Team Hero Photo */

/* Footer */
.emp-footer { text-align: center; padding: 32px 24px; color: #94a3b8; font-size: 0.85rem; border-top: 1px solid #e5e7eb; }

/* Responsive */
@media (max-width: 768px) {
  .emp-hero { padding: 48px 20px 40px; }
  .emp-hero h1 { font-size: 1.6rem; }
  .emp-hero-sub { font-size: 0.95rem; }
  .emp-hero-cta { padding: 14px 28px; font-size: 0.95rem; }
  .emp-grid-3 { grid-template-columns: 1fr; }
  .emp-section { padding: 40px 20px; }
  .emp-cta-card { padding: 28px 20px; }
  .emp-cta-section { padding: 48px 20px; }
}

/* ============================================================
   EMPFEHLUNG DARK MODE
   ============================================================ */
/* Landing wrapper */
body.dark-mode .emp-landing { color: #e2e8f0; background: #0f172a; }

/* Header */
body.dark-mode .emp-header { background: rgba(15,23,42,0.95); border-bottom-color: #334155; }
body.dark-mode .emp-logo { color: #e2e8f0; }

/* Hero */
body.dark-mode .emp-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); }
body.dark-mode .emp-badge { background: rgba(126,217,87,0.12); color: #7ed957; }
body.dark-mode .emp-hero h1 { color: #e2e8f0; }
body.dark-mode .emp-hero-sub { color: #94a3b8; }

/* Sections */
body.dark-mode .emp-section h2 { color: #e2e8f0; }
body.dark-mode .emp-section-alt { background: #1e293b; }

/* Personal Message */
body.dark-mode .emp-personal h2 { color: #e2e8f0; }
body.dark-mode .emp-personal p { color: #94a3b8; }

/* Flow Steps */
body.dark-mode .emp-flow-step { border-bottom-color: #334155; }
body.dark-mode .emp-flow-step strong { color: #e2e8f0; }
body.dark-mode .emp-flow-step p { color: #94a3b8; }

/* Cards */
body.dark-mode .emp-card { background: #1e293b; border-color: #334155; }
body.dark-mode .emp-card:hover { border-color: #7ed957; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
body.dark-mode .emp-card h3 { color: #e2e8f0; }
body.dark-mode .emp-card p { color: #94a3b8; }

/* Benefits */

/* Testimonials */

/* CTA Section */
body.dark-mode .emp-cta-section { background: linear-gradient(135deg, #0f172a, #1e293b); }
body.dark-mode .emp-cta-card { background: #1e293b; box-shadow: 0 8px 40px rgba(0,0,0,0.3); }
body.dark-mode .emp-cta-card h2 { color: #e2e8f0; }
body.dark-mode .emp-cta-card > p { color: #94a3b8; }
body.dark-mode .emp-cta-note { color: #64748b; }

/* Register Form */
body.dark-mode .emp-register-form input { background: #0f172a; border-color: #334155; color: #e2e8f0; }
body.dark-mode .emp-register-form input::placeholder { color: #64748b; }
body.dark-mode .emp-register-form input:focus { border-color: #7ed957; box-shadow: 0 0 0 3px rgba(126,217,87,0.15); }

/* Team Hero Photo */

/* Footer */
body.dark-mode .emp-footer { color: #64748b; border-top-color: #334155; }

/* ============================================================
   WISSENSBIBLIOTHEK
   ============================================================ */
.wissen-container { max-width: 1200px; margin: 0 auto; }
.wissen-header { margin-bottom: 32px; }
.wissen-header h1 { font-size: 2rem; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.wissen-header p { color: var(--grey-400); font-size: 1rem; margin: 0; }
.wissen-search-wrap { position: relative; margin-bottom: 24px; }
.wissen-search { width: 100%; padding: 14px 16px 14px 48px; border: 2px solid var(--grey-100); border-radius: var(--radius-lg); font-size: 1rem; font-family: inherit; background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; }
.wissen-search:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(126,217,87,0.15); }
.wissen-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--grey-300); pointer-events: none; }
.wissen-search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--grey-300); cursor: pointer; padding: 4px; display: none; font-size: 1.1rem; }
.wissen-search-clear.visible { display: block; }
.wissen-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.wissen-tab { padding: 8px 18px; border-radius: var(--radius-xl); border: 1.5px solid var(--grey-100); background: var(--white); color: var(--grey-400); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit; white-space: nowrap; }
.wissen-tab:hover { border-color: var(--green-500); color: var(--green-500); }
.wissen-tab.active { background: var(--green-500); color: #fff; border-color: var(--green-500); }
.wissen-tab small { opacity: 0.7; }
.wissen-progress { background: var(--grey-50); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 28px; display: flex; align-items: center; gap: 16px; }
.wissen-progress-bar { flex: 1; height: 8px; background: var(--grey-100); border-radius: 4px; overflow: hidden; }
.wissen-progress-fill { height: 100%; background: var(--green-500); border-radius: 4px; transition: width 0.5s ease; }
.wissen-progress-text { font-size: 0.85rem; color: var(--grey-400); white-space: nowrap; }
.wissen-progress-text strong { color: var(--green-500); }
.wissen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.wissen-card { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--grey-100); overflow: hidden; transition: all 0.25s ease; cursor: pointer; position: relative; }
.wissen-card:hover { border-color: var(--green-500); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.wissen-card.read { border-left: 4px solid var(--green-500); }
.wissen-card.expanded { grid-column: 1 / -1; cursor: default; transform: none; border-color: var(--green-500); }
.wissen-card-header { padding: 20px 20px 16px; display: flex; gap: 14px; align-items: flex-start; }
.wissen-card-icon { width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green-50), #e8f5e0); color: var(--green-500); }
.wissen-card-meta { flex: 1; }
.wissen-card-meta h3 { font-size: 1rem; font-weight: 600; color: var(--dark); margin: 0 0 4px; line-height: 1.4; }
.wissen-card-meta p { font-size: 0.85rem; color: var(--grey-400); margin: 0; line-height: 1.4; }
.wissen-card-badges { display: flex; gap: 8px; padding: 0 20px 16px; flex-wrap: wrap; }
.wissen-badge { font-size: 0.75rem; padding: 3px 10px; border-radius: var(--radius-xl); background: var(--grey-50); color: var(--grey-400); font-weight: 500; }
.wissen-badge-cat { background: rgba(126,217,87,0.12); color: var(--green-500); }
.wissen-badge-read { background: rgba(126,217,87,0.2); color: var(--green-500); }
.wissen-content { display: none; padding: 0 24px 24px; border-top: 1px solid var(--grey-100); font-size: 0.925rem; line-height: 1.7; color: var(--dark); }
.wissen-card.expanded .wissen-content { display: block; padding-top: 20px; }
.wissen-content h3 { font-size: 1.15rem; font-weight: 600; margin: 24px 0 12px; color: var(--dark); }
.wissen-content h3:first-child { margin-top: 0; }
.wissen-content h4 { font-size: 1rem; font-weight: 600; margin: 20px 0 8px; color: var(--dark); }
.wissen-content p { margin: 0 0 12px; }
.wissen-content ul, .wissen-content ol { margin: 0 0 16px; padding-left: 24px; }
.wissen-content li { margin-bottom: 6px; }
.wissen-content strong { color: var(--dark); font-weight: 600; }
.wissen-info { background: var(--green-50); border-left: 4px solid var(--green-500); padding: 14px 18px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 16px 0; font-size: 0.9rem; }
.wissen-info strong { color: var(--green-500); }
.wissen-warn { background: #fff8e1; border-left: 4px solid #ffc107; padding: 14px 18px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 16px 0; font-size: 0.9rem; }
.wissen-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.875rem; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--grey-100); }
.wissen-content th { background: var(--grey-50); padding: 10px 14px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--grey-100); color: var(--dark); font-size: 0.85rem; }
.wissen-content td { padding: 10px 14px; border-bottom: 1px solid var(--grey-50); }
.wissen-content tr:last-child td { border-bottom: none; }
.wissen-content tr:hover td { background: rgba(126,217,87,0.04); }
.wissen-collapse-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 16px; border-radius: var(--radius-md); background: var(--grey-50); border: 1px solid var(--grey-100); cursor: pointer; font-size: 0.85rem; color: var(--grey-400); font-family: inherit; transition: all 0.2s; }
.wissen-collapse-btn:hover { background: var(--grey-100); }
.wissen-empty { text-align: center; padding: 60px 20px; color: var(--grey-300); }
.wissen-empty svg { margin-bottom: 16px; opacity: 0.5; }
.wissen-empty h3 { color: var(--grey-400); margin: 0 0 8px; }
.wissen-empty p { margin: 0; }
.dark-mode .wissen-header h1 { color: #fff; }
.dark-mode .wissen-header p { color: var(--grey-300); }
.dark-mode .wissen-search { background: var(--grey-600); border-color: var(--grey-500); color: #fff; }
.dark-mode .wissen-search::placeholder { color: var(--grey-300); }
.dark-mode .wissen-tab { background: var(--grey-600); border-color: var(--grey-500); color: var(--grey-200); }
.dark-mode .wissen-tab.active { background: var(--green-500); color: #fff; }
.dark-mode .wissen-progress { background: var(--grey-600); }
.dark-mode .wissen-card { background: var(--grey-600); border-color: var(--grey-500); }
.dark-mode .wissen-card-meta h3, .dark-mode .wissen-content h3, .dark-mode .wissen-content h4 { color: #fff; }
.dark-mode .wissen-card-meta p { color: var(--grey-200); }
.dark-mode .wissen-content { color: var(--grey-100); border-color: var(--grey-500); }
.dark-mode .wissen-content strong { color: #fff; }
.dark-mode .wissen-content th { background: var(--grey-500); color: #fff; border-color: var(--grey-400); }
.dark-mode .wissen-content td { border-color: var(--grey-500); }
.dark-mode .wissen-badge { background: var(--grey-500); color: var(--grey-200); }
.dark-mode .wissen-info { background: rgba(126,217,87,0.1); }
.dark-mode .wissen-warn { background: rgba(255,193,7,0.1); }
.dark-mode .wissen-collapse-btn { background: var(--grey-500); border-color: var(--grey-400); color: var(--grey-200); }
@media (max-width: 768px) {
  .wissen-grid { grid-template-columns: 1fr; }
  .wissen-header h1 { font-size: 1.5rem; }
  .wissen-tabs { gap: 6px; }
  .wissen-tab { padding: 6px 14px; font-size: 0.8rem; }
  .wissen-content { padding: 0 16px 16px; font-size: 0.875rem; }
  .wissen-content table { font-size: 0.8rem; }
  .wissen-content th, .wissen-content td { padding: 8px 10px; }
  .wissen-progress { flex-direction: column; gap: 8px; align-items: stretch; }
}

/* Wissensbibliothek Search Highlights */
.wissen-highlight { background: rgba(126,217,87,0.35); color: inherit; padding: 1px 2px; border-radius: 3px; font-weight: inherit; }
.dark-mode .wissen-highlight { background: rgba(255,255,255,.12); }

/* ============================================================
   ADMIN PORTFOLIOS REDESIGN (ap- prefix)
   ============================================================ */

/* Segment Control Tabs */
.ap-tabs { display:flex; background:#f1f5f9; border-radius:10px; padding:3px; gap:2px; margin-bottom:24px; }
.ap-tab-btn { flex:1; padding:9px 16px; border:none; background:transparent; border-radius:8px; font-weight:600; font-size:0.88rem; cursor:pointer; transition:all 0.2s; color:#64748b; white-space:nowrap; }
.ap-tab-btn:hover { color:#374151; }
.ap-tab-btn.active { background:#fff; color:#1a1a2e; box-shadow:0 1px 3px rgba(0,0,0,0.1); }

/* Section Header */
.ap-section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.ap-section-header h3 { margin:0; font-size:1.05rem; font-weight:700; color:#1a1a2e; }
.ap-count { font-weight:400; color:#94a3b8; font-size:0.9rem; margin-left:6px; }

/* Buttons */
.ap-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:8px; font-weight:600; font-size:0.85rem; cursor:pointer; transition:all 0.15s; border:none; font-family:inherit; line-height:1.4; }
.ap-btn-primary { background:#7ed957; color:#fff; }
.ap-btn-primary:hover { background:#7ed957; }
.ap-btn-ghost { background:transparent; border:1px solid #e2e8f0; color:#374151; }
.ap-btn-ghost:hover { background:#f8fafc; border-color:#cbd5e1; }
.ap-btn-danger { background:transparent; color:#ef4444; border:1px solid #fecaca; }
.ap-btn-danger:hover { background:#fef2f2; }
.ap-btn-sm { padding:6px 12px; font-size:0.8rem; }
.ap-btn-xs { padding:4px 8px; font-size:0.75rem; }
.ap-btn:disabled { opacity:0.4; cursor:not-allowed; }
.ap-btn-icon { padding:6px; width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; border:1px solid #e2e8f0; background:transparent; color:#64748b; cursor:pointer; transition:all 0.15s; font-size:0.85rem; }
.ap-btn-icon:hover { background:#f8fafc; color:#374151; }
.ap-btn-icon:disabled { opacity:0.3; cursor:not-allowed; }

/* Mantel List Items */
.ap-mantel-list { display:flex; flex-direction:column; gap:2px; }
.ap-mantel-item { display:flex; align-items:center; gap:16px; padding:14px 18px; background:#fff; border:1px solid #f1f5f9; border-radius:10px; transition:all 0.15s; }
.ap-mantel-item:hover { border-color:#e2e8f0; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
.ap-mantel-rank { display:flex; flex-direction:column; align-items:center; gap:2px; min-width:28px; }
.ap-mantel-rank-num { font-size:0.72rem; color:#94a3b8; font-weight:600; }
.ap-mantel-info { flex:1; min-width:0; }
.ap-mantel-title-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.ap-mantel-logo { height:20px; width:auto; flex-shrink:0; }
.ap-mantel-title { font-weight:700; font-size:0.95rem; color:#1a1a2e; }
.ap-badge { font-size:0.68rem; font-weight:600; padding:2px 8px; border-radius:6px; white-space:nowrap; }
.ap-badge-active { background:#ecfdf5; color:#7ed957; }
.ap-badge-new { background:#fff7ed; color:#ea580c; }
.ap-badge-type { background:#f0f9ff; color:#0284c7; }
.ap-mantel-desc { font-size:0.83rem; color:#64748b; margin-top:3px; line-height:1.4; }
.ap-mantel-meta { font-size:0.78rem; color:#94a3b8; margin-top:4px; display:flex; gap:12px; flex-wrap:wrap; }
.ap-mantel-actions { display:flex; gap:6px; flex-shrink:0; }

/* Portfolio Groups */
.ap-portfolio-group { margin-bottom:20px; }
.ap-portfolio-group-header { display:flex; align-items:center; gap:8px; padding:10px 0; margin-bottom:8px; border-bottom:1px solid #f1f5f9; }
.ap-portfolio-group-logo { height:18px; }
.ap-portfolio-group-title { font-weight:700; font-size:0.9rem; color:#374151; }
.ap-portfolio-group-count { font-weight:400; color:#94a3b8; font-size:0.82rem; }

/* Portfolio Cards */
.ap-portfolio-list { display:flex; flex-direction:column; gap:2px; }
.ap-portfolio-item { display:flex; align-items:flex-start; gap:14px; padding:12px 16px; background:#fff; border:1px solid #f1f5f9; border-radius:10px; transition:all 0.15s; }
.ap-portfolio-item:hover { border-color:#e2e8f0; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
.ap-portfolio-info { flex:1; min-width:0; }
.ap-portfolio-title-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.ap-portfolio-title { font-weight:700; font-size:0.9rem; color:#1a1a2e; }
.ap-portfolio-meta { font-size:0.78rem; color:#94a3b8; margin-top:3px; }
.ap-portfolio-funds { display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; }
.ap-portfolio-fund-tag { font-size:0.7rem; background:#f8fafc; color:#475569; padding:3px 8px; border-radius:5px; border:1px solid #f1f5f9; }
.ap-portfolio-actions { display:flex; gap:6px; flex-shrink:0; }

/* Modal */
.ap-modal-overlay { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(15,23,42,0.4); backdrop-filter:blur(4px); z-index:1000; overflow-y:auto; }
.ap-modal { max-width:640px; margin:40px auto; background:#fff; border-radius:14px; overflow:hidden; position:relative; box-shadow:0 20px 60px rgba(0,0,0,0.15); }
.ap-modal-lg { max-width:720px; }
.ap-modal-header { display:flex; justify-content:space-between; align-items:center; padding:20px 24px 0; }
.ap-modal-header h3 { margin:0; font-size:1.05rem; font-weight:700; color:#1a1a2e; }
.ap-modal-close { width:32px; height:32px; border-radius:8px; border:none; background:#f1f5f9; color:#64748b; font-size:1.1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.15s; }
.ap-modal-close:hover { background:#e2e8f0; color:#1a1a2e; }
.ap-modal-body { padding:20px 24px 24px; }

/* Form fields */
.ap-form-group { margin-bottom:14px; }
.ap-form-label { font-size:0.78rem; font-weight:600; color:#374151; display:block; margin-bottom:4px; }
.ap-form-row { display:grid; gap:12px; }
.ap-form-row-2 { grid-template-columns:1fr 1fr; }
.ap-form-row-3 { grid-template-columns:1fr 1fr 1fr; }
.ap-form-row-rank { grid-template-columns:80px 1fr; }
.ap-form-section { margin-top:18px; padding-top:16px; border-top:1px solid #f1f5f9; }
.ap-form-section-title { font-size:0.82rem; font-weight:700; color:#374151; margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.ap-form-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:20px; padding-top:16px; border-top:1px solid #f1f5f9; }
.ap-form-input { width:100%; padding:9px 12px; border:1px solid #e2e8f0; border-radius:8px; font-size:0.88rem; outline:none; background:#fff; font-family:inherit; box-sizing:border-box; color:#1a1a2e; transition:border-color 0.15s, box-shadow 0.15s; }
.ap-form-input:focus { border-color:#7ed957; box-shadow:0 0 0 3px rgba(126,217,87,0.15); }
.ap-form-input::placeholder { color:#94a3b8; }
textarea.ap-form-input { resize:vertical; }
select.ap-form-input { cursor:pointer; }
.ap-checkbox-row { display:flex; gap:20px; margin-top:4px; }
.ap-checkbox-label { display:flex; align-items:center; gap:6px; font-size:0.85rem; cursor:pointer; color:#374151; }

/* Fund rows in portfolio modal */
.ap-fund-card { background:#f8fafc; border-radius:8px; padding:12px; margin-bottom:8px; border:1px solid #f1f5f9; }
.ap-fund-card-row { display:grid; gap:8px; }
.ap-fund-card-row-2 { grid-template-columns:1fr 1fr; }
.ap-fund-card-row-5 { grid-template-columns:1fr 1fr 1fr 1fr auto; }
.ap-fund-card .ap-form-label { font-size:0.72rem; }
.ap-fund-card .ap-form-input { font-size:0.83rem; padding:6px 10px; }

/* Ablauf Table */
.ap-ablauf-table { width:100%; border-collapse:separate; border-spacing:0; background:#fff; border-radius:10px; overflow:hidden; border:1px solid #f1f5f9; }
.ap-ablauf-table thead { background:#f8fafc; }
.ap-ablauf-table th { padding:10px 12px; font-size:0.78rem; font-weight:600; color:#64748b; text-align:center; border-bottom:1px solid #f1f5f9; }
.ap-ablauf-table th:first-child { text-align:left; min-width:140px; }
.ap-ablauf-table td { padding:6px 8px; text-align:center; border-bottom:1px solid #f8fafc; }
.ap-ablauf-table td:first-child { text-align:left; }
.ap-ablauf-table tr:last-child td { border-bottom:none; }
.ap-ablauf-table tr:hover td { background:#fafbfc; }
.ap-ablauf-table .ap-form-input { text-align:center; width:60px; padding:5px 6px; font-size:0.82rem; }
.ap-ablauf-table td:first-child .ap-form-input { text-align:left; width:100%; font-weight:600; }
.ap-ablauf-actions { display:flex; gap:8px; margin-top:14px; }
.ap-ablauf-risk-tabs { display:flex; background:#f1f5f9; border-radius:8px; padding:2px; gap:2px; margin-bottom:16px; max-width:360px; }
.ap-ablauf-risk-tab { flex:1; padding:7px 14px; border:none; background:transparent; border-radius:6px; font-weight:600; font-size:0.82rem; cursor:pointer; transition:all 0.2s; color:#64748b; }
.ap-ablauf-risk-tab:hover { color:#374151; }
.ap-ablauf-risk-tab.active { background:#fff; color:#1a1a2e; box-shadow:0 1px 2px rgba(0,0,0,0.08); }

/* Empty state */
.ap-empty { color:#94a3b8; font-size:0.88rem; padding:20px 0; }

/* Dark mode */
body.dark-mode .ap-tabs { background:#1e293b; }
body.dark-mode .ap-tab-btn { color:#94a3b8; }
body.dark-mode .ap-tab-btn:hover { color:#cbd5e1; }
body.dark-mode .ap-tab-btn.active { background:#334155; color:#f1f5f9; box-shadow:0 1px 3px rgba(0,0,0,0.3); }
body.dark-mode .ap-mantel-item,
body.dark-mode .ap-portfolio-item { background:#1e293b; border-color:#334155; }
body.dark-mode .ap-mantel-item:hover,
body.dark-mode .ap-portfolio-item:hover { border-color:#475569; }
body.dark-mode .ap-mantel-title,
body.dark-mode .ap-portfolio-title { color:#f1f5f9; }
body.dark-mode .ap-mantel-desc { color:#94a3b8; }
body.dark-mode .ap-mantel-meta,
body.dark-mode .ap-portfolio-meta { color:#64748b; }
body.dark-mode .ap-section-header h3 { color:#f1f5f9; }
body.dark-mode .ap-modal { background:#1e293b; }
body.dark-mode .ap-modal-header h3 { color:#f1f5f9; }
body.dark-mode .ap-modal-close { background:#334155; color:#94a3b8; }
body.dark-mode .ap-modal-close:hover { background:#475569; color:#f1f5f9; }
body.dark-mode .ap-form-input { background:#0f172a; border-color:#334155; color:#e2e8f0; }
body.dark-mode .ap-form-input:focus { border-color:#7ed957; box-shadow:0 0 0 3px rgba(126,217,87,0.1); }
body.dark-mode .ap-form-label { color:#cbd5e1; }
body.dark-mode .ap-form-section { border-top-color:#334155; }
body.dark-mode .ap-form-actions { border-top-color:#334155; }
body.dark-mode .ap-btn-ghost { border-color:#475569; color:#cbd5e1; }
body.dark-mode .ap-btn-ghost:hover { background:#334155; }
body.dark-mode .ap-btn-danger { border-color:#7f1d1d; color:#f87171; }
body.dark-mode .ap-btn-danger:hover { background:#1c1917; }
body.dark-mode .ap-btn-icon { border-color:#475569; color:#94a3b8; }
body.dark-mode .ap-btn-icon:hover { background:#334155; color:#e2e8f0; }
body.dark-mode .ap-fund-card { background:#0f172a; border-color:#334155; }
body.dark-mode .ap-portfolio-fund-tag { background:#0f172a; border-color:#334155; color:#94a3b8; }
body.dark-mode .ap-portfolio-group-header { border-bottom-color:#334155; }
body.dark-mode .ap-portfolio-group-title { color:#e2e8f0; }
body.dark-mode .ap-ablauf-table { background:#1e293b; border-color:#334155; }
body.dark-mode .ap-ablauf-table thead { background:#0f172a; }
body.dark-mode .ap-ablauf-table th { color:#94a3b8; border-bottom-color:#334155; }
body.dark-mode .ap-ablauf-table td { border-bottom-color:#1e293b; }
body.dark-mode .ap-ablauf-table tr:hover td { background:#334155; }
body.dark-mode .ap-ablauf-risk-tabs { background:#1e293b; }
body.dark-mode .ap-ablauf-risk-tab { color:#94a3b8; }
body.dark-mode .ap-ablauf-risk-tab.active { background:#334155; color:#f1f5f9; }
body.dark-mode .ap-badge-active { background:rgba(126,217,87,0.15); color:#7ed957; }
body.dark-mode .ap-badge-new { background:rgba(234,88,12,0.15); color:#fb923c; }
body.dark-mode .ap-badge-type { background:rgba(2,132,199,0.15); color:#38bdf8; }

/* Responsive */
@media (max-width:768px) {
  .ap-tabs { flex-direction:column; }
  .ap-mantel-item { flex-direction:column; gap:10px; align-items:stretch; }
  .ap-mantel-actions { justify-content:flex-end; }
  .ap-portfolio-item { flex-direction:column; gap:8px; align-items:stretch; }
  .ap-portfolio-actions { justify-content:flex-end; }
  .ap-form-row-2, .ap-form-row-3, .ap-form-row-rank { grid-template-columns:1fr; }
  .ap-fund-card-row-5 { grid-template-columns:1fr 1fr; }
  .ap-modal { margin:16px; border-radius:12px; }
  .ap-ablauf-table { font-size:0.8rem; }
}

/* ============================================================
   COMMUNITY — Reddit-Style Forum
   ============================================================ */

/* Layout */

/* Header */

/* Sort Tabs */

/* Tag Filter Chips */

/* New Post Button & Form */

/* Avatar */

/* Post Card — Reddit Style */
.community-post {
  display:flex; gap:0; background:#fff; border-radius:12px; margin-bottom:12px;
  border:1px solid #e2e8f0; overflow:hidden; transition:border-color 0.2s;
}
.community-post:hover { border-color:#cbd5e1; }

/* Vote Column */

/* Post Content */

/* Post Footer */

/* Admin Actions */

/* Comments Section */

/* Comment Input */

/* Sidebar Cards */

/* Empty State */

/* Activation Screen */
.community-activation-card {
  background:#fff; border-radius:20px; padding:48px 40px; max-width:640px; width:100%;
  text-align:center; box-shadow:0 8px 40px rgba(0,0,0,0.08); border:1px solid #e2e8f0;
}

/* Responsive */
@media (max-width:768px) {
  .community-post { flex-direction:column; }
  .community-activation-card { padding:24px 16px; }
}

/* ============================================================
   NOTIFICATION CENTER
   ============================================================ */
.notif-center { display:flex; flex-direction:column; gap:0; }
.notif-row {
  display:flex; align-items:center; gap:16px;
  padding:16px 0;
  border-bottom:1px solid var(--grey-100, #f1f5f9);
}
.notif-row:last-child { border-bottom:none; }
.notif-icon {
  width:40px; height:40px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; font-size:1.2rem;
}
.notif-icon.live { background:#ede9fe; color:#7c3aed; }
.notif-icon.video { background:#dbeafe; color:#2563eb; }
.notif-icon.chat { background:#fce7f3; color:#db2777; }
.notif-icon.empfehlung { background:#fef3c7; color:#d97706; }
.notif-icon.portfolio { background:#d1fae5; color:#7ed957; }
.notif-icon.vemo { background:#e0e7ff; color:#4338ca; }
.notif-icon.newsletter { background:#f0fdf4; color:#7ed957; }
.notif-text { flex:1; min-width:0; }
.notif-text h4 { margin:0; font-size:0.92rem; font-weight:600; color:var(--dark, #1a1a2e); }
.notif-text p { margin:2px 0 0; font-size:0.8rem; color:var(--text-muted, #94a3b8); line-height:1.3; }
.notif-toggle {
  position:relative; width:48px; height:26px; flex-shrink:0;
  background:var(--grey-200, #e2e8f0); border-radius:13px;
  cursor:pointer; transition:background 0.25s;
}
.notif-toggle.active { background:#7ed957; }
.notif-toggle::after {
  content:''; position:absolute; top:3px; left:3px;
  width:20px; height:20px; background:#fff;
  border-radius:50%; transition:transform 0.25s;
  box-shadow:0 1px 3px rgba(0,0,0,0.15);
}
.notif-toggle.active::after { transform:translateX(22px); }
@media (max-width:640px) {
  .notif-row { gap:12px; padding:12px 0; }
  .notif-icon { width:36px; height:36px; font-size:1rem; }
  .notif-text h4 { font-size:0.85rem; }
  .notif-text p { font-size:0.75rem; }
}

/* Emoji Picker */

/* ============================================================
   DARK MODE — kundePortfolioView (ka-* classes)
   ============================================================ */

/* Override CSS custom properties for dark mode */
body.dark-mode #kundePortfolioView {
  --ka-card: #1e293b;
  --ka-text: #e2e8f0;
  --ka-text-muted: #94a3b8;
  --ka-border: #334155;
  --ka-shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --ka-shadow: 0 4px 24px rgba(0,0,0,0.4);
  --ka-accent-light: rgba(126,217,87,0.15);
  --ka-accent-border: var(--green-500);
  color: #e2e8f0;
}

/* ---- Hero Section ---- */
body.dark-mode #kundePortfolioView .ka-hero {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
body.dark-mode #kundePortfolioView .ka-hero-title { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-hero-sub { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-hero-meta { color: #94a3b8; }

/* ---- Sections ---- */
body.dark-mode #kundePortfolioView .ka-section {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
body.dark-mode #kundePortfolioView .ka-section-title { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-section-sub { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-legal-note { color: #94a3b8; }

/* ---- Empty state ---- */
body.dark-mode #kundePortfolioView .ka-empty { color: #94a3b8; }

/* ---- Card base ---- */
body.dark-mode #kundePortfolioView .ka-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
body.dark-mode #kundePortfolioView .ka-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

/* ---- Buttons ---- */
body.dark-mode #kundePortfolioView .ka-btn-secondary {
  background: #0f172a;
  color: #e2e8f0;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
body.dark-mode #kundePortfolioView .ka-btn-secondary:hover {
  background: #334155;
  border-color: #475569;
}
body.dark-mode #kundePortfolioView .ka-btn-ghost {
  background: rgba(255,255,255,0.04);
  color: #e2e8f0;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-btn-ghost:hover {
  background: rgba(255,255,255,0.08);
}
body.dark-mode #kundePortfolioView .ka-disabled {
  opacity: 0.4;
}

/* ---- Mantel Grid ---- */
body.dark-mode #kundePortfolioView .ka-mantel-card {
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-mantel-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
body.dark-mode #kundePortfolioView .ka-mantel-card.active {
  border-color: #7ed957;
  box-shadow: 0 0 0 3px rgba(126,217,87,0.15);
  background: #1a2e1f;
}
body.dark-mode #kundePortfolioView .ka-mantel-logo {
  background: #0f172a;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
body.dark-mode #kundePortfolioView .ka-mantel-title { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-mantel-desc { color: #94a3b8; }

/* Mantel meta items */
body.dark-mode #kundePortfolioView .ka-meta-item {
  background: #0f172a;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-meta-label { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-meta-value { color: #e2e8f0; }

/* Mantel details (expandable) */
body.dark-mode #kundePortfolioView .ka-pro {
  background: rgba(126,217,87,0.1);
  border-color: #334155;
  color: #4ade80;
}
body.dark-mode #kundePortfolioView .ka-con {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.15);
  color: #f87171;
}
body.dark-mode #kundePortfolioView .ka-pros h4 { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-cons h4 { color: #e2e8f0; }

/* Mantel new border highlight */

/* ---- Tab Bar ---- */
body.dark-mode #kundePortfolioView .ka-tab-bar {
  background: rgba(255,255,255,0.04);
}
body.dark-mode #kundePortfolioView .ka-tab-indicator {
  background: rgba(126,217,87,0.15);
}
body.dark-mode #kundePortfolioView .ka-tab {
  color: #94a3b8;
}
body.dark-mode #kundePortfolioView .ka-tab.active {
  color: #e2e8f0;
}
body.dark-mode #kundePortfolioView .ka-tab:hover {
  color: #e2e8f0;
}

/* ---- Portfolio list & shells ---- */
body.dark-mode #kundePortfolioView .ka-portfolio-shell {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
body.dark-mode #kundePortfolioView .ka-portfolio-title { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-portfolio-chip {
  background: rgba(126,217,87,0.1);
  color: #e2e8f0;
  border-color: #334155;
}

/* ---- SVG Donut Chart ---- */
body.dark-mode #kundePortfolioView .ka-chart-section {
  background: #0f172a;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-donut-center {
  background: rgba(15,23,42,0.95);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
body.dark-mode #kundePortfolioView .ka-donut-center-label { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-donut-center-value { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-donut-tooltip {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

/* ---- Chart Legend ---- */
body.dark-mode #kundePortfolioView .ka-legend-item {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
body.dark-mode #kundePortfolioView .ka-legend-item:hover {
  border-color: var(--green-500);
  background: #1a2e1f;
}
body.dark-mode #kundePortfolioView .ka-legend-pct { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-portfolio-meta { color: #94a3b8; }

/* ---- Fund Cards ---- */
body.dark-mode #kundePortfolioView .ka-fund-card {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-fund-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
body.dark-mode #kundePortfolioView .ka-fund-header h4 { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-fund-badge-muted {
  background: #0f172a;
  color: #94a3b8;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-fund-desc { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-fund-alloc-row {
  background: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}
body.dark-mode #kundePortfolioView .ka-fund-alloc-val { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-fund-details {
  background: #0f172a;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-fund-stat {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-fund-stat-label { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-fund-stat-val { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-fund-description {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}
body.dark-mode #kundePortfolioView .ka-legal-micro { color: #64748b; }

/* ---- Ablauf ---- */

/* ---- Advisors ---- */

/* ---- Footer ---- */
body.dark-mode #kundePortfolioView .ka-footer-inner {
  background: #0f172a;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-footer-disclaimer { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-footer-disclaimer svg { color: #64748b; }
body.dark-mode #kundePortfolioView .ka-footer-meta {
  border-top-color: #334155;
  color: #64748b;
}

/* ---- Ablauf Info & Strategy Cards ---- */
body.dark-mode #kundePortfolioView .ka-ablauf-info-card {
  background: rgba(126,217,87,0.08);
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-ablauf-info-text { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-ablauf-info-sub { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-ablauf-strategies { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-ablauf-strategy-card {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-ablauf-strategy-card:hover {
  border-color: var(--green-500);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
body.dark-mode #kundePortfolioView .ka-ablauf-strategy-card.active {
  border-color: #7ed957;
  background: rgba(126,217,87,0.06);
}
body.dark-mode #kundePortfolioView .ka-ablauf-strategy-card h4 { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-ablauf-strategy-card p { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-ablauf-chart-wrapper {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-ablauf-summary-item {
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
}

/* ---- Zahlen (Numbers) Cards ---- */
body.dark-mode #kundePortfolioView .ka-zahlen-card {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-zahlen-card:hover {
  border-color: var(--green-500);
}
body.dark-mode #kundePortfolioView .ka-zahlen-card-title { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-zahlen-card-desc { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-zahlen-card-hint { color: #64748b; }

/* Zahlen Bars */
body.dark-mode #kundePortfolioView .ka-zahlen-bar-label { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-zahlen-bar-track {
  background: #334155;
}

/* Zahlen Profil */

/* ---- Prognose ---- */
body.dark-mode #kundePortfolioView .ka-prognose-row {
  border-bottom-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-prognose-label { color: #e2e8f0; }
body.dark-mode #kundePortfolioView .ka-prognose-end { color: #e2e8f0; }

/* ---- Zins (Interest) Calculator ---- */
body.dark-mode #kundePortfolioView .ka-zins-label { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-zins-input-wrap {
  background: #0f172a;
  border-color: #334155;
}
body.dark-mode #kundePortfolioView .ka-zins-input-wrap:focus-within {
  border-color: #7ed957;
  box-shadow: 0 0 0 3px rgba(126,217,87,0.15);
}
body.dark-mode #kundePortfolioView .ka-zins-input {
  color: #e2e8f0;
}
body.dark-mode #kundePortfolioView .ka-zins-unit { color: #64748b; }
body.dark-mode #kundePortfolioView .ka-zins-divider {
  background: #334155;
}
body.dark-mode #kundePortfolioView .ka-zins-result-label { color: #94a3b8; }
body.dark-mode #kundePortfolioView .ka-zins-result-value { color: #e2e8f0; }

/* ---- Flip Card ---- */
body.dark-mode #kundePortfolioView .ka-flip-card {
  background: #1e293b;
  border-color: #334155;
}

/* ============================================================
   DARK MODE — Customer Onboarding Tunnel
   ============================================================ */
body.dark-mode .onboarding-berater-option {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
body.dark-mode .onboarding-berater-option:hover {
  border-color: #7ed957 !important;
}
body.dark-mode .onboarding-berater-option strong { color: #e2e8f0 !important; }
body.dark-mode .onboarding-berater-option span { color: #94a3b8 !important; }
body.dark-mode .onboarding-check { border-color: #475569 !important; }
body.dark-mode .ob-step h2 { color: #e2e8f0 !important; }
body.dark-mode .ob-step p { color: #94a3b8 !important; }
body.dark-mode #onboardingAlterInput,
body.dark-mode #onboardingMonatlichInput {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}
body.dark-mode #onboardingAlterInput::placeholder,
body.dark-mode #onboardingMonatlichInput::placeholder { color: #64748b !important; }
body.dark-mode #onboardingHorizontDisplay {
  background: rgba(126,217,87,0.1) !important;
  border-color: #7ed957 !important;
  color: #7ed957 !important;
}
body.dark-mode #obBackBtn {
  color: #94a3b8 !important;
  border-color: #334155 !important;
}
body.dark-mode #obBackBtn:hover {
  border-color: #7ed957 !important;
  color: #7ed957 !important;
}
body.dark-mode #obStepNum { color: #94a3b8 !important; }
body.dark-mode .onboarding-berater-option span[style*="color:#1a1a2e"] { color: #e2e8f0 !important; }
body.dark-mode .onboarding-berater-option div[style*="background:#f3f4f6"] { background: #334155 !important; }

/* --- Base styles for onboarding elements (light mode defaults) --- */
.onboarding-berater-option {
  background: #fff;
  border: 2px solid #e5e7eb;
}
.onboarding-check {
  border: 2px solid #d1d5db;
}
.ob-outer-container {
  background: linear-gradient(180deg, #f8fdf5 0%, #fff 50%);
}
.ob-progress-track {
  background: #e5e7eb;
}
.ob-step h2 {
  color: #1a1a1a;
}
#obBackBtn {
  border: 1px solid #e5e7eb;
  color: #6b7280;
}
#onboardingAlterInput,
#onboardingMonatlichInput {
  background: #fff;
  border: 2px solid #e5e7eb;
}
#onboardingHorizontDisplay {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #7ed957;
}

/* --- Dark mode overrides for onboarding outer container & progress --- */
body.dark-mode .ob-outer-container {
  background: linear-gradient(180deg, #0f172a 0%, #0f172a 50%);
}
body.dark-mode .ob-progress-track {
  background: #334155;
}

/* --- Base styles for chat/card elements (light mode defaults) --- */
.dm-text {
  color: #1a1a1a;
}
.dm-emoji-picker {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}
.dm-chat-form {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
}
.dm-badge {
  background: #f8f9fa;
  color: #98a2b3;
}
.dm-contact-row {
  background: #f8f9fa;
}
.dm-contact-icon {
  background: #f1f5f9;
}

/* --- Dark mode overrides for chat/card elements --- */
body.dark-mode .dm-text {
  color: #e2e8f0;
}
body.dark-mode .dm-emoji-picker {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
body.dark-mode .dm-chat-form {
  background: #0f172a;
  border-color: #334155;
}
body.dark-mode .dm-badge {
  background: #334155;
  color: #94a3b8;
}
body.dark-mode .dm-contact-row {
  background: #0f172a;
}
body.dark-mode .dm-contact-icon {
  background: #1e293b;
}

/* ============================================================
   DARK MODE — Finanz-Tunnel (Quiz + Results)
   ============================================================ */

/* ============================================================
   DARK MODE — Post-Registration Tunnel
   ============================================================ */

/* ============================================================
   DARK MODE — Modals, Overlays, Dropdowns, Floating UI
   Comprehensive fix for ALL floating UI elements
   ============================================================ */

/* ---- Upload Modal (generic .modal) ---- */
body.dark-mode .modal-overlay { background: rgba(0,0,0,0.7); }
body.dark-mode .modal { background: #1e293b; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
body.dark-mode .modal-header h2 { color: #f1f5f9; }
body.dark-mode .modal-body { color: #e2e8f0; }

/* ---- Upload zone inside modals ---- */

/* ---- Admin notes inside modals/panels ---- */
body.dark-mode .admin-note-input-row textarea {
  background: #0f172a; border-color: #334155; color: #e2e8f0;
}
body.dark-mode .admin-note-input-row textarea:focus {
  border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(126,217,87,0.12);
}
body.dark-mode .admin-note-item { border-bottom-color: #334155; }
body.dark-mode .admin-note-author { color: #94a3b8; }
body.dark-mode .admin-note-date { color: #64748b; }
body.dark-mode .admin-note-content { color: #e2e8f0; }
body.dark-mode .admin-note-delete { color: #64748b; }
body.dark-mode .admin-note-delete:hover { color: #f87171; background: rgba(239,68,68,0.1); }

/* ---- Admin edit row inputs ---- */
body.dark-mode .admin-edit-row input,
body.dark-mode .admin-edit-row select {
  background: #0f172a; border-color: #334155; color: #e2e8f0;
}
body.dark-mode .admin-edit-row input:focus,
body.dark-mode .admin-edit-row select:focus {
  border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(126,217,87,0.12);
}

/* ---- Notification dropdown items ---- */
body.dark-mode .notif-list { background: #1e293b; }
body.dark-mode .notif-item { border-bottom-color: #334155; }
body.dark-mode .notif-item:hover { background: #334155; }
body.dark-mode .notif-item strong { color: #e2e8f0; }
body.dark-mode .notif-item p { color: #94a3b8; }
body.dark-mode .notif-item small { color: #64748b; }
body.dark-mode .notif-header h4 { color: #e2e8f0; }

/* ---- Search overlay items ---- */

/* ---- Sidebar backdrop (mobile) ---- */
body.dark-mode .sidebar-backdrop { background: rgba(0,0,0,0.7); }

/* ---- Team modal overlay & missing children ---- */
body.dark-mode .team-modal-overlay { background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); }
body.dark-mode .team-modal { box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
body.dark-mode .team-modal-content { background: #1e293b; }
body.dark-mode .team-modal-body h2 { color: #f1f5f9; }
body.dark-mode .team-modal-role { color: var(--green-400); }
body.dark-mode .team-modal-section h4 { color: #e2e8f0; }
body.dark-mode .team-modal-section p { color: #94a3b8; }

/* ---- Calendly modal overlay & close ---- */

/* ---- Feedback modal overlay ---- */

/* ---- Feedback add comment textarea ---- */

/* ---- Feedback comment details ---- */

/* ---- Feedback detail header & page header ---- */

/* ---- Role badges ---- */
body.dark-mode .role-badge.admin { background: rgba(249,115,22,0.15); color: #fb923c; }
body.dark-mode .role-badge.creator { background: rgba(168,85,247,0.15); color: #c084fc; }
body.dark-mode .role-badge.customer { background: rgba(126,217,87,0.15); color: #86efac; }
body.dark-mode .role-badge.student { background: rgba(37,99,235,0.15); color: #93c5fd; }

/* ---- Status dots (ensure visibility) ---- */
body.dark-mode .status-dot.inactive { background: #64748b; }

/* ---- Notification center (settings page) ---- */
body.dark-mode .notif-center { background: transparent; }
body.dark-mode .notif-row { border-bottom-color: #334155; }
body.dark-mode .notif-icon.live { background: rgba(124,58,237,0.15); color: #a78bfa; }
body.dark-mode .notif-icon.video { background: rgba(37,99,235,0.15); color: #93c5fd; }
body.dark-mode .notif-icon.chat { background: rgba(219,39,119,0.15); color: #f472b6; }
body.dark-mode .notif-icon.empfehlung { background: rgba(217,119,6,0.15); color: #fbbf24; }
body.dark-mode .notif-icon.portfolio { background: rgba(126,217,87,0.15); color: #6ee7b7; }
body.dark-mode .notif-icon.vemo { background: rgba(67,56,202,0.15); color: #a5b4fc; }
body.dark-mode .notif-icon.newsletter { background: rgba(126,217,87,0.15); color: #86efac; }
body.dark-mode .notif-text h4 { color: #e2e8f0; }
body.dark-mode .notif-text p { color: #94a3b8; }
body.dark-mode .notif-toggle { background: #334155; }
body.dark-mode .notif-toggle.active { background: #7ed957; }
body.dark-mode .notif-toggle::after { background: #e2e8f0; }

/* ---- Community section ---- */
body.dark-mode .community-post { background: #1e293b; border-color: #334155; }
body.dark-mode .community-post:hover { border-color: #475569; }
body.dark-mode .community-activation-card { background: #1e293b; border-color: #334155; box-shadow: 0 8px 40px rgba(0,0,0,0.3); }

/* ---- Community emoji picker ---- */

/* ---- Floating beratung button dark mode refinement ---- */
body.dark-mode .floating-beratung-btn svg { color: #fff; }

/* ---- AP modal overlay ---- */
body.dark-mode .ap-modal-overlay { background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); }

/* ---- Generic form inputs inside any modal ---- */
body.dark-mode .modal input,
body.dark-mode .modal textarea,
body.dark-mode .modal select {
  background: #0f172a; border-color: #334155; color: #e2e8f0;
}
body.dark-mode .modal input::placeholder,
body.dark-mode .modal textarea::placeholder { color: #475569; }
body.dark-mode .modal input:focus,
body.dark-mode .modal textarea:focus,
body.dark-mode .modal select:focus {
  border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(126,217,87,0.12);
}
body.dark-mode .modal label { color: #cbd5e1; }

/* ============================================================
   COMPREHENSIVE DARK MODE — remaining sections
   ============================================================ */

/* ---- Dashboard: Stat Inline Row ---- */

/* ---- Dashboard: Continue Learning Cards ---- */

/* ---- Dashboard: Course Card Detail Text ---- */
body.dark-mode .dash-course-creator { color: #94a3b8; }

/* ---- Dashboard: Live Call Cards ---- */

/* ---- Live Calls: LC Cards ---- */

/* ---- Call Room ---- */

/* ---- Call Detail Modal ---- */

/* ---- Player Controls & Tabs ---- */

/* ---- Profile Header ---- */
body.dark-mode .profile-header { background: #1e293b; border-color: #334155; }
body.dark-mode .profile-info h2 { color: #e2e8f0; }
body.dark-mode .profile-info p { color: #94a3b8; }

/* ---- Creator Course Cards ---- */

/* ---- Empty State ---- */
body.dark-mode .empty-state { color: #64748b; }
body.dark-mode .empty-state h3 { color: #94a3b8; }
body.dark-mode .empty-state p { color: #64748b; }

/* ---- Progress Bar ---- */
body.dark-mode .progress-bar { background: #334155; }

/* ---- Certificate Card (text is white already, just ensure icon area) ---- */

/* ---- Admin Detail Sub-elements ---- */
body.dark-mode .admin-detail-meta h2 { color: #e2e8f0; }
body.dark-mode .admin-detail-meta p { color: #94a3b8; }
body.dark-mode .admin-detail-section-body { color: #cbd5e1; }
body.dark-mode .admin-edit-row label { color: #cbd5e1; }

/* ---- Sidebar: Active Link, User, Premium, Close ---- */
body.dark-mode .sidebar-link { color: #94a3b8; }
body.dark-mode .sidebar-link.active { background: rgba(126,217,87,0.1); color: var(--green-400); }
body.dark-mode .sidebar-link.active svg { stroke: var(--green-400); }
body.dark-mode .sidebar-link svg { stroke: #64748b; }
body.dark-mode .sidebar-nav-label { color: #64748b; }
body.dark-mode .sidebar-user { color: #e2e8f0; }
body.dark-mode .sidebar-user:hover { background: #334155; }
body.dark-mode .sidebar-user-info strong { color: #e2e8f0; }
body.dark-mode .sidebar-user-info small { color: #94a3b8; }
body.dark-mode .sidebar-logout { color: #94a3b8; }
body.dark-mode .sidebar-logout:hover { background: rgba(239,68,68,0.1); color: #f87171; }
body.dark-mode .sidebar-close { color: #94a3b8; }

/* ---- Feedback Badges ---- */

/* ---- Wissen (Knowledge Base) ---- */
body.dark-mode .wissen-header h1 { color: #e2e8f0; }
body.dark-mode .wissen-header p { color: #94a3b8; }
body.dark-mode .wissen-search { background: #0f172a; border-color: #334155; color: #e2e8f0; }
body.dark-mode .wissen-search:focus { border-color: var(--green-500); }
body.dark-mode .wissen-search-icon { color: #64748b; }
body.dark-mode .wissen-search-clear { color: #64748b; }
body.dark-mode .wissen-tab { background: #1e293b; border-color: #334155; color: #94a3b8; }
body.dark-mode .wissen-tab:hover { border-color: var(--green-500); color: var(--green-400); }
body.dark-mode .wissen-tab.active { background: var(--green-500); color: #fff; border-color: var(--green-500); }
body.dark-mode .wissen-progress-bar { background: #334155; }
body.dark-mode .wissen-progress-text { color: #64748b; }
body.dark-mode .wissen-progress-text strong { color: var(--green-400); }
body.dark-mode .wissen-card { background: #1e293b; border-color: #334155; }
body.dark-mode .wissen-card:hover { border-color: var(--green-500); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
body.dark-mode .wissen-card-icon { background: rgba(126,217,87,0.1); color: var(--green-400); }
body.dark-mode .wissen-card-meta h3 { color: #e2e8f0; }
body.dark-mode .wissen-card-meta p { color: #94a3b8; }
body.dark-mode .wissen-badge { background: #334155; color: #94a3b8; }
body.dark-mode .wissen-badge-cat { background: rgba(126,217,87,0.12); color: var(--green-400); }
body.dark-mode .wissen-badge-read { background: var(--pille-grund); color: var(--pille-schrift); }
body.dark-mode .wissen-content { border-top-color: #334155; color: #cbd5e1; }
body.dark-mode .wissen-content h3,
body.dark-mode .wissen-content h4 { color: #e2e8f0; }
body.dark-mode .wissen-content strong { color: #e2e8f0; }
body.dark-mode .wissen-content table { border-color: #334155; }
body.dark-mode .wissen-content th { background: #0f172a; border-bottom-color: #334155; color: #e2e8f0; }
body.dark-mode .wissen-content td { border-bottom-color: #334155; color: #cbd5e1; }
body.dark-mode .wissen-content tr:hover td { background: rgba(126,217,87,0.04); }
body.dark-mode .wissen-info { background: rgba(126,217,87,0.08); border-left-color: var(--green-500); }
body.dark-mode .wissen-info strong { color: var(--green-400); }
body.dark-mode .wissen-warn { background: rgba(255,193,7,0.08); border-left-color: #fbbf24; color: #e2e8f0; }
body.dark-mode .wissen-collapse-btn { background: #334155; border-color: #475569; color: #94a3b8; }
body.dark-mode .wissen-collapse-btn:hover { background: #475569; color: #e2e8f0; }

/* ---- Stat Card text colors ---- */
body.dark-mode .stat-card h3 { color: #e2e8f0; }
body.dark-mode .stat-card p { color: #94a3b8; }

/* ---- Course Card detail text ---- */

/* ---- Course Detail Hero ---- */

/* ---- Lesson Items ---- */

/* ============================================================
   DARK MODE UTILITY CLASSES (inline-style replacements)
   ============================================================ */

/* --- Base (light) defaults --- */
.dm-text-primary { color: #1a1a1a; }
.dm-card { background: #fff; border: 1px solid #f0f0f0; }
.dm-modal { background: #fff; }
.dm-surface-alt { background: #f8fafc; }
.dm-input { background: #fff; }

/* --- Dark overrides --- */
body.dark-mode .dm-text-primary { color: #e2e8f0; }
body.dark-mode .dm-card { background: #1e293b; border-color: #334155; }
body.dark-mode .dm-modal { background: #1e293b; }
body.dark-mode .dm-surface-alt { background: #0f172a; }
body.dark-mode .dm-input { background: #0f172a; color: #e2e8f0; }

/* --- Berater chip (dashboard) --- */
.dm-berater-chip { background: #f8f9fa; }
.dm-berater-avatar { background: #e8f5e9; color: #7ed957; }
body.dark-mode .dm-berater-chip { background: #334155; }
body.dark-mode .dm-berater-avatar { background: rgba(126,217,87,0.15); color: #7ed957; }

/* --- Chat bubble (received / not mine) --- */
.dm-chat-bubble-other { background: #f3f4f6; color: #1a1a1a; }
body.dark-mode .dm-chat-bubble-other { background: #334155; color: #e2e8f0; }

/* --- Weekday checkbox label --- */
.dm-wd-label { background: #fff; border-color: #e2e8f0; }
.dm-wd-label.checked { background: #eff6ff; border-color: #3b82f6; }
body.dark-mode .dm-wd-label { background: #1e293b; border-color: #475569; }
body.dark-mode .dm-wd-label.checked { background: rgba(59,130,246,0.15); border-color: #3b82f6; }

/* --- Document upload drop zone --- */
.dm-upload-zone { background: #fafafa; border-color: #d1d5db; }
.dm-upload-zone.has-docs { background: #f0fdf4; border-color: var(--green-300); }
body.dark-mode .dm-upload-zone { background: #0f172a; border-color: #475569; }
body.dark-mode .dm-upload-zone.has-docs { background: rgba(126,217,87,0.08); border-color: var(--green-500); }

/* --- Mini status dot (neutral/not-due) --- */
.dm-dot-neutral { background: #e2e8f0; }
body.dark-mode .dm-dot-neutral { background: #475569; }

/* --- Provider selection card --- */

/* --- Admin KPI icon containers --- */

/* ============================================================
   DARK MODE — AGGRESSIVE CATCH-ALL OVERRIDES
   Forces dark mode on ALL remaining white/light elements
   ============================================================ */

/* --- Force all dm-* utility cards, containers, modals to dark --- */
body.dark-mode .dm-card,
body.dark-mode .dm-modal,
body.dark-mode .dm-input,
body.dark-mode .dm-surface-alt {
  color: #e2e8f0 !important;
}

body.dark-mode .dm-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-mode .dm-modal {
  background: #1e293b !important;
}

body.dark-mode .dm-surface-alt {
  background: #0f172a !important;
}

body.dark-mode .dm-input {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}

body.dark-mode .dm-text-primary {
  color: #e2e8f0 !important;
}

/* --- Global: Force dark on ANY element with inline white bg --- */
body.dark-mode [style*="background:#fff"],
body.dark-mode [style*="background: #fff"],
body.dark-mode [style*="background:white"],
body.dark-mode [style*="background: white"],
body.dark-mode [style*="background:#ffffff"],
body.dark-mode [style*="background: #ffffff"] {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-mode [style*="background-color:#fff"],
body.dark-mode [style*="background-color: #fff"],
body.dark-mode [style*="background-color:white"],
body.dark-mode [style*="background-color: white"],
body.dark-mode [style*="background-color:#ffffff"],
body.dark-mode [style*="background-color: #ffffff"] {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-mode [style*="background:#f8f9fa"],
body.dark-mode [style*="background: #f8f9fa"],
body.dark-mode [style*="background:#f3f4f6"],
body.dark-mode [style*="background: #f3f4f6"],
body.dark-mode [style*="background:#f8fafc"],
body.dark-mode [style*="background: #f8fafc"],
body.dark-mode [style*="background:#f1f5f9"],
body.dark-mode [style*="background: #f1f5f9"],
body.dark-mode [style*="background:#f0f0f0"],
body.dark-mode [style*="background:#f9fafb"],
body.dark-mode [style*="background: #f9fafb"] {
  background: #0f172a !important;
}

/* --- Force dark text colors on elements with hardcoded dark text --- */
body.dark-mode [style*="color:#1a1a1a"],
body.dark-mode [style*="color: #1a1a1a"],
body.dark-mode [style*="color:#1a1a2e"],
body.dark-mode [style*="color: #1a1a2e"],
body.dark-mode [style*="color:#282f47"],
body.dark-mode [style*="color: #282f47"],
body.dark-mode [style*="color:#1f2937"],
body.dark-mode [style*="color: #1f2937"],
body.dark-mode [style*="color:#101828"],
body.dark-mode [style*="color: #101828"],
body.dark-mode [style*="color:#0f172a"],
body.dark-mode [style*="color: #0f172a"],
body.dark-mode [style*="color:#000"],
body.dark-mode [style*="color: #000"],
body.dark-mode [style*="color:black"],
body.dark-mode [style*="color: black"] {
  color: #e2e8f0 !important;
}

/* --- Force light borders on elements with hardcoded light borders --- */
body.dark-mode [style*="border:1px solid #e2e8f0"],
body.dark-mode [style*="border:1px solid #e5e7eb"],
body.dark-mode [style*="border:1px solid #f0f0f0"],
body.dark-mode [style*="border:2px solid #e5e7eb"],
body.dark-mode [style*="border:2px solid #d1d5db"],
body.dark-mode [style*="border:1px solid #edf0f5"],
body.dark-mode [style*="border:1px solid #dfe3ec"],
body.dark-mode [style*="border-bottom:1px solid #e"],
body.dark-mode [style*="border-bottom:2px solid #e"] {
  border-color: #334155 !important;
}

/* --- Force light-colored secondary text --- */
body.dark-mode [style*="color:#6b7280"],
body.dark-mode [style*="color: #6b7280"],
body.dark-mode [style*="color:#98a2b3"],
body.dark-mode [style*="color: #98a2b3"],
body.dark-mode [style*="color:#64748b"],
body.dark-mode [style*="color: #64748b"] {
  color: #94a3b8 !important;
}

/* --- Force dark on light green/blue tinted backgrounds --- */
body.dark-mode [style*="background:#f0fdf4"],
body.dark-mode [style*="background: #f0fdf4"],
body.dark-mode [style*="background:#e8f5e9"],
body.dark-mode [style*="background: #e8f5e9"],
body.dark-mode [style*="background:#eff6ff"],
body.dark-mode [style*="background: #eff6ff"],
body.dark-mode [style*="background:#eef2ff"],
body.dark-mode [style*="background: #eef2ff"],
body.dark-mode [style*="background:#fff7ed"],
body.dark-mode [style*="background: #fff7ed"],
body.dark-mode [style*="background:#fef3c7"],
body.dark-mode [style*="background: #fef3c7"],
body.dark-mode [style*="background:#fee2e2"],
body.dark-mode [style*="background: #fee2e2"],
body.dark-mode [style*="background:#fef2f2"],
body.dark-mode [style*="background: #fef2f2"],
body.dark-mode [style*="background:#fff5f5"],
body.dark-mode [style*="background: #fff5f5"],
body.dark-mode [style*="background:#dcfce7"],
body.dark-mode [style*="background: #dcfce7"],
body.dark-mode [style*="background:#dbeafe"],
body.dark-mode [style*="background: #dbeafe"] {
  background: rgba(30,41,59,0.8) !important;
}

/* --- Force dark on light gradient backgrounds --- */
body.dark-mode [style*="background:linear-gradient(180deg,#f0fdf4"],
body.dark-mode [style*="background:linear-gradient(180deg,#f8fdf5"],
body.dark-mode [style*="background:linear-gradient(145deg, #f0fdf4"],
body.dark-mode [style*="background:linear-gradient(135deg,#f0fdf4"] {
  background: linear-gradient(145deg, rgba(126,217,87,0.06) 0%, #1e293b 60%) !important;
}

/* --- Input and form elements global override --- (nicht auf der immer dunklen Fläche `.vs-sign-dunkel`, siehe «Inputs & forms») */
body.dark-mode input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):where(:not(.vs-sign-dunkel *)),
body.dark-mode textarea:where(:not(.vs-sign-dunkel *)),
body.dark-mode select:where(:not(.vs-sign-dunkel *)) {
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}

/* Platzhalter im dunklen Feld (#0f172a): #64748b hatte 3.75:1 (unter WCAG 4.5:1), #94a3b8 hat 6.96:1 (Gegner R9). */
body.dark-mode input:where(:not(.vs-sign-dunkel *))::placeholder,
body.dark-mode textarea:where(:not(.vs-sign-dunkel *))::placeholder {
  color: #94a3b8 !important;
}

/* --- Table overrides --- */
body.dark-mode table {
  border-color: #334155 !important;
}

body.dark-mode th {
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}

body.dark-mode td {
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

body.dark-mode tr:hover td {
  background: rgba(51,65,85,0.3) !important;
}

/* --- Status badges with colored backgrounds - keep colors but adapt for dark --- */
body.dark-mode [style*="background:#fef3c7"][style*="color:#92400e"] {
  background: rgba(245,158,11,0.15) !important;
  color: #fbbf24 !important;
}

body.dark-mode [style*="background:#fee2e2"][style*="color:#991b1b"],
body.dark-mode [style*="background:#fef2f2"][style*="color:#991b1b"] {
  background: rgba(239,68,68,0.15) !important;
  color: #f87171 !important;
}

body.dark-mode [style*="background:#dbeafe"][style*="color:#1e40af"] {
  background: rgba(59,130,246,0.15) !important;
  color: #60a5fa !important;
}

/* ============================================================
   DARK MODE — SPECIFIC CLASS OVERRIDES (remaining gaps)
   ============================================================ */

/* --- Community page missing overrides --- */

/* --- Notification toggle in dark mode --- */
body.dark-mode .notif-toggle {
  background: #475569 !important;
}
body.dark-mode .notif-toggle.active {
  background: #7ed957 !important;
}
body.dark-mode .notif-toggle::after {
  background: #e2e8f0 !important;
}

/* --- Onboarding inputs --- */
body.dark-mode #onboardingAlterInput,
body.dark-mode #onboardingMonatlichInput {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
body.dark-mode #onboardingHorizontDisplay {
  background: rgba(126,217,87,0.1) !important;
  border-color: #334155 !important;
  color: #7ed957 !important;
}

/* --- Landing page service/tool cards --- */
body.dark-mode .lp-service-card {
  background: #1e293b !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 8px 32px rgba(0,0,0,0.15) !important;
}

body.dark-mode .lp-tools {
  background: #0f172a !important;
}

body.dark-mode .lp-tool-card {
  background: #1e293b !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 8px 32px rgba(0,0,0,0.15) !important;
}

/* --- Employer landing page --- */
body.dark-mode .emp-landing {
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

body.dark-mode .emp-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-mode .emp-cta-card {
  background: #1e293b !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3) !important;
}

/* --- Wissen warn box --- */
body.dark-mode .wissen-warn {
  background: rgba(255,193,7,0.08) !important;
  border-left-color: #fbbf24 !important;
  color: #e2e8f0 !important;
}

/* --- Additional background-color overrides for inline styles --- */
body.dark-mode [style*="background-color:#f8f9fa"],
body.dark-mode [style*="background-color: #f8f9fa"],
body.dark-mode [style*="background-color:#f3f4f6"],
body.dark-mode [style*="background-color: #f3f4f6"],
body.dark-mode [style*="background-color:#f8fafc"],
body.dark-mode [style*="background-color: #f8fafc"],
body.dark-mode [style*="background-color:#f1f5f9"],
body.dark-mode [style*="background-color: #f1f5f9"] {
  background-color: #0f172a !important;
}

/* --- Inline tinted background-color overrides --- */
body.dark-mode [style*="background-color:#f0fdf4"],
body.dark-mode [style*="background-color: #f0fdf4"],
body.dark-mode [style*="background-color:#e8f5e9"],
body.dark-mode [style*="background-color:#eff6ff"],
body.dark-mode [style*="background-color:#eef2ff"],
body.dark-mode [style*="background-color:#fff7ed"],
body.dark-mode [style*="background-color:#fef3c7"],
body.dark-mode [style*="background-color:#fee2e2"],
body.dark-mode [style*="background-color:#fef2f2"],
body.dark-mode [style*="background-color:#dcfce7"],
body.dark-mode [style*="background-color:#dbeafe"] {
  background-color: rgba(30,41,59,0.8) !important;
}

/* --- Inline box-shadow overrides (lighten heavy shadows in dark) --- */
body.dark-mode [style*="box-shadow:0 2px 8px rgba(0,0,0,0.06)"],
body.dark-mode [style*="box-shadow:0 4px 12px rgba(0,0,0,0.06)"],
body.dark-mode [style*="box-shadow:0 8px 32px rgba(0,0,0,0.08)"],
body.dark-mode [style*="box-shadow:0 8px 40px rgba(0,0,0,0.08)"] {
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

/* --- Remaining #fffbeb (amber warning) backgrounds --- */
body.dark-mode [style*="background:#fffbeb"],
body.dark-mode [style*="background: #fffbeb"],
body.dark-mode [style*="background:#fff8e1"],
body.dark-mode [style*="background: #fff8e1"] {
  background: rgba(245,158,11,0.08) !important;
}

/* --- Force white text in dark cards that might have dark text --- */
body.dark-mode [style*="color:#475569"],
body.dark-mode [style*="color: #475569"],
body.dark-mode [style*="color:#374151"],
body.dark-mode [style*="color: #374151"],
body.dark-mode [style*="color:#334155"],
body.dark-mode [style*="color: #334155"] {
  color: #94a3b8 !important;
}

body.dark-mode [style*="color:#1e293b"],
body.dark-mode [style*="color: #1e293b"],
body.dark-mode [style*="color:#111827"],
body.dark-mode [style*="color: #111827"],
body.dark-mode [style*="color:#0a0a0a"],
body.dark-mode [style*="color: #0a0a0a"] {
  color: #e2e8f0 !important;
}

/* --- Inline border overrides (more patterns) --- */
body.dark-mode [style*="border:1px solid #f1f5f9"],
body.dark-mode [style*="border:1px solid #f8fafc"],
body.dark-mode [style*="border:1px solid #f0f0f0"],
body.dark-mode [style*="border:2px solid #e2e8f0"],
body.dark-mode [style*="border:1px solid #d1d5db"],
body.dark-mode [style*="border:1px solid #e8edf4"],
body.dark-mode [style*="border:1px solid #dee2e6"] {
  border-color: #334155 !important;
}

/* --- Force dark on rgb/rgba near-white backgrounds --- */
body.dark-mode [style*="background:rgb(255"],
body.dark-mode [style*="background: rgb(255"],
body.dark-mode [style*="background-color:rgb(255"],
body.dark-mode [style*="background-color: rgb(255"] {
  background: #1e293b !important;
}

/* --- Additional inline overrides for #fff8e1, #fff5f5, #fffbeb warn/error tints --- */
body.dark-mode [style*="background-color:#fffbeb"],
body.dark-mode [style*="background-color:#fff8e1"],
body.dark-mode [style*="background-color:#fff5f5"],
body.dark-mode [style*="background-color:#fff7ed"] {
  background-color: rgba(30,41,59,0.8) !important;
}

/* --- SVG / icon color fixes for dark mode --- */
body.dark-mode [style*="color:#1e40af"],
body.dark-mode [style*="color: #1e40af"] {
  color: #60a5fa !important;
}

body.dark-mode [style*="color:#92400e"],
body.dark-mode [style*="color: #92400e"] {
  color: #fbbf24 !important;
}

body.dark-mode [style*="color:#991b1b"],
body.dark-mode [style*="color: #991b1b"] {
  color: #f87171 !important;
}

body.dark-mode [style*="color:#ea580c"],
body.dark-mode [style*="color: #ea580c"] {
  color: #fb923c !important;
}

/* ============================================================
   DARK MODE — Chat Contact Fix (mb-chat-contact)
   ============================================================ */
body.dark-mode .mb-chat-contact {
  border-bottom-color: #334155 !important;
}
body.dark-mode .mb-chat-contact.active {
  background: rgba(126,217,87,0.1) !important;
}
body.dark-mode .mb-chat-contact:hover {
  background: rgba(51,65,85,0.5) !important;
}

/* Video call button in chat */
body.dark-mode button[onclick*="startChatVideoCall"] {
  background: rgba(126,217,87,0.1) !important;
  border-color: #334155 !important;
  color: #7ed957 !important;
}

/* Berater ansehen button */
body.dark-mode button[onclick*="navigate('meine-berater')"] {
  background: rgba(126,217,87,0.1) !important;
  border-color: #334155 !important;
}

/* Dashboard berater card gradient in Kunde-Dashboard */
body.dark-mode [style*="background:linear-gradient"][style*="#f0fdf4"][style*="#ffffff"] {
  background: linear-gradient(145deg, rgba(126,217,87,0.08) 0%, #1e293b 100%) !important;
}

/* ============================================================
   DARK MODE FIX — Protect avatar/gradient elements from catch-all override
   The green-gradient avatar circles and profile images in chat must
   keep their background-image and gradient colors in dark mode.
   ============================================================ */
body.dark-mode .mb-chat-contact div[style*="background-image:url("] {
  background-color: transparent !important;
  background-size: cover !important;
  background-position: center !important;
}
body.dark-mode div[style*="background-image:url("][style*="background-size:cover"] {
  background-color: transparent !important;
  background-size: cover !important;
  background-position: center !important;
}

/* ============================================================
   DARK MODE FIX — Wissensbibliothek progress bar white line
   ============================================================ */
body.dark-mode .wissen-progress {
  background: #1e293b !important;
  border: 1px solid #334155;
}

/* ============================================================
   DARK MODE FIX — Empfehlungsprogramm (Referral) cards
   ============================================================ */
body.dark-mode .ke-tunnel-wrap {
  background: #1e293b !important;
  border-color: #334155 !important;
}
body.dark-mode .ke-tunnel-header h2 {
  color: #e2e8f0 !important;
}
body.dark-mode .ke-tunnel-header p {
  color: #94a3b8 !important;
}
body.dark-mode .ke-tunnel-label {
  color: #e2e8f0 !important;
}
body.dark-mode .ke-tunnel-label span {
  color: #64748b !important;
}
body.dark-mode .ke-tunnel-input {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
body.dark-mode .ke-tunnel-input:focus {
  border-color: #7ed957 !important;
}
body.dark-mode .ke-tunnel-option {
  background: #0f172a !important;
  border-color: #334155 !important;
}
body.dark-mode .ke-tunnel-option:hover {
  border-color: #7ed957 !important;
  background: rgba(126,217,87,0.05) !important;
}
body.dark-mode .ke-tunnel-option.selected {
  background: rgba(126,217,87,0.08) !important;
  border-color: #7ed957 !important;
}
body.dark-mode .ke-tunnel-option strong {
  color: #e2e8f0 !important;
}
body.dark-mode .ke-tunnel-option span {
  color: #94a3b8 !important;
}
body.dark-mode .ke-tunnel-progress {
  background: #334155 !important;
}
body.dark-mode .ke-tunnel-btn-outline {
  border-color: #334155 !important;
  color: #94a3b8 !important;
}
body.dark-mode .ke-tunnel-btn-outline:hover {
  border-color: #7ed957 !important;
  color: #7ed957 !important;
}
body.dark-mode .ke-tunnel-back {
  color: #94a3b8 !important;
}
body.dark-mode .ke-tunnel-back:hover {
  color: #e2e8f0 !important;
}
body.dark-mode .ke-link-success h3 {
  color: #e2e8f0 !important;
}
body.dark-mode .ke-link-success p {
  color: #94a3b8 !important;
}
body.dark-mode .ke-link-box input {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
body.dark-mode .ke-share-email {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
body.dark-mode .ke-result-info {
  background: rgba(126,217,87,0.06) !important;
}
body.dark-mode .ke-result-info p {
  color: #94a3b8 !important;
}
body.dark-mode .ke-history h3 {
  color: #e2e8f0 !important;
}
body.dark-mode .ke-history-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}
body.dark-mode .ke-history-card:hover {
  border-color: #7ed957 !important;
}
body.dark-mode .ke-history-name-row strong {
  color: #e2e8f0 !important;
}
body.dark-mode .ke-history-date {
  color: #64748b !important;
}
body.dark-mode .ke-history-actions {
  border-top-color: #334155 !important;
}
body.dark-mode .ke-copy-link-btn {
  border-color: #334155 !important;
  color: #94a3b8 !important;
}
body.dark-mode .ke-copy-link-btn:hover {
  border-color: #7ed957 !important;
  color: #7ed957 !important;
}
body.dark-mode .ke-pipe-dot {
  background: #334155 !important;
  color: #64748b !important;
}
body.dark-mode .ke-pipe-step.done .ke-pipe-dot {
  background: #7ed957 !important;
  color: #fff !important;
}
body.dark-mode .ke-pipe-step span {
  color: #94a3b8 !important;
}
body.dark-mode .ke-pipe-step.done span {
  color: #7ed957 !important;
}
body.dark-mode .ke-delete-btn {
  color: #64748b !important;
}
body.dark-mode .ke-delete-btn:hover {
  color: #ef4444 !important;
  background: rgba(239,68,68,0.1) !important;
}

/* =========================================================
   DARKMODE KOMPLETT-FIX — öffentliche Seiten
   Vemo Academy — Public Pages Dark Mode Perfektion
   ========================================================= */

/* --- GLOBAL Brand-Regel: Grüne Buttons IMMER weißer Text --- */
body.dark-mode .btn-primary,
body.dark-mode .btn-primary:hover,
body.dark-mode .btn-primary:active,
body.dark-mode .btn-primary:focus {
  color: #fff !important;
}
body.dark-mode .nav-cta,
body.dark-mode .nav-cta:hover {
  color: #fff !important;
}
body.dark-mode button#nlBtn,
body.dark-mode button#nlBtn:hover {
  color: #fff !important;
}

/* --- INDEX: Hero-Mockup & Stat-Cards --- */
body.dark-mode .lp-hero-mockup {
  background: #0f172a !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08) !important;
}
body.dark-mode .lp-mockup-topbar {
  background: #1e293b !important;
  border-bottom: 1px solid #334155 !important;
}
body.dark-mode .lp-mockup-url {
  background: #334155 !important;
  color: #94a3b8 !important;
}
body.dark-mode .lp-md-stat-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}
body.dark-mode .lp-md-stat-card.accent {
  background: #334155 !important;
  border-color: #475569 !important;
}
body.dark-mode .lp-md-stat-card .lp-md-stat-label,
body.dark-mode .lp-md-stat-card.accent .lp-md-stat-label {
  color: #94a3b8 !important;
}
body.dark-mode .lp-md-stat-card .lp-md-stat-value {
  color: #e2e8f0 !important;
}
body.dark-mode .lp-md-stat-card.accent .lp-md-stat-value {
  color: #7ed957 !important;
}
body.dark-mode .blog-tb {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}
body.dark-mode #appLoader { background: #0f172a !important; }

/* --- TEAM-PAGE: Card-Fix (dark-800 invertiert) --- */
body.dark-mode .tp-card {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
}
body.dark-mode .tp-card-name { color: #f1f5f9 !important; }
body.dark-mode .tp-card-role { color: #86efac !important; }
body.dark-mode .tp-card-meta { color: #cbd5e1 !important; }
body.dark-mode .tp-card-bio { color: #94a3b8 !important; }
body.dark-mode .tp-badge {
  background: rgba(126,217,87,0.15) !important;
  color: #86efac !important;
}
body.dark-mode .tp-exp {
  background: #334155 !important;
  color: #e2e8f0 !important;
}

/* --- BROKER-VERGLEICH: Kompletter Darkmode (war komplett fehlend) --- */
body.dark-mode .bv-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #e2e8f0 !important;
}
body.dark-mode .bv-hero h1 { color: #f1f5f9 !important; }
body.dark-mode .bv-hero p { color: #94a3b8 !important; }
body.dark-mode .bv-badge {
  background: rgba(126,217,87,0.15) !important;
  color: #7ed957 !important;
}
body.dark-mode .bv-filter-btn {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}
body.dark-mode .bv-filter-btn:hover {
  border-color: #7ed957 !important;
  background: rgba(126,217,87,0.1) !important;
}
body.dark-mode .bv-filter-btn.active {
  background: #7ed957 !important;
  color: #fff !important;
  border-color: #7ed957 !important;
}
body.dark-mode .bv-top-card {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4) !important;
}
body.dark-mode .bv-top-card.gold {
  border-color: #7ed957 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
}
body.dark-mode .bv-top-card .bv-broker-name { color: #f1f5f9 !important; }
body.dark-mode .bv-top-card .bv-meta { color: #94a3b8 !important; }
body.dark-mode .bv-top-card .bv-meta-row strong { color: #e2e8f0 !important; }
body.dark-mode .bv-rank-badge.rank-2 { background: #334155 !important; color: #e2e8f0 !important; }
body.dark-mode .bv-rank-badge.rank-3 { background: rgba(251,146,60,0.2) !important; color: #fb923c !important; }
body.dark-mode .bv-tag-yes {
  background: rgba(126,217,87,0.15) !important;
  color: #7ed957 !important;
}
body.dark-mode .bv-tag-no {
  background: #334155 !important;
  color: #94a3b8 !important;
}
body.dark-mode .bv-table-wrap {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3) !important;
}
body.dark-mode .bv-table-title { color: #f1f5f9 !important; }
body.dark-mode .bv-table thead th {
  color: #94a3b8 !important;
  border-bottom-color: #334155 !important;
  background: #0f172a !important;
}
body.dark-mode .bv-table tbody tr { border-bottom-color: #334155 !important; }
body.dark-mode .bv-table tbody tr:hover { background: rgba(126,217,87,0.05) !important; }
body.dark-mode .bv-table .bv-cell-rank { color: #94a3b8 !important; }
body.dark-mode .bv-table .bv-cell-broker { color: #e2e8f0 !important; }
body.dark-mode .bv-table .bv-cell-score { color: #7ed957 !important; }
body.dark-mode .bv-disclaimer {
  background: rgba(126,217,87,0.08) !important;
  border-color: #334155 !important;
}
body.dark-mode .bv-disclaimer p { color: #cbd5e1 !important; }
body.dark-mode .bv-disclaimer strong { color: #f1f5f9 !important; }
body.dark-mode .bv-mobile-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}
body.dark-mode .bv-mobile-rank { background: #334155 !important; color: #e2e8f0 !important; }
body.dark-mode .bv-mobile-card-name { color: #f1f5f9 !important; }
body.dark-mode .bv-mobile-score { color: #7ed957 !important; }
body.dark-mode .bv-mobile-card-item { border-bottom-color: #334155 !important; }
body.dark-mode .bv-mobile-card-item .label { color: #94a3b8 !important; }
body.dark-mode .bv-mobile-card-item .value { color: #e2e8f0 !important; }

/* --- INVESTIEREN: CTA & Headings-Fix --- */
body.dark-mode .inv-section.inv-bg-dark,
body.dark-mode .inv-cta {
  background: #0f172a !important;
  color: #e2e8f0 !important;
}
body.dark-mode .inv-section.inv-bg-dark h2,
body.dark-mode .inv-section.inv-bg-dark h3,
body.dark-mode .inv-section.inv-bg-dark h4,
body.dark-mode .inv-cta h2,
body.dark-mode .inv-cta h3 {
  color: #f1f5f9 !important;
}
body.dark-mode .inv-section.inv-bg-dark p,
body.dark-mode .inv-section.inv-bg-dark li,
body.dark-mode .inv-cta p {
  color: #cbd5e1 !important;
}

/* --- BUDGETRECHNER: Meter-Balken --- */
body.dark-mode .vb-meter { background: #334155 !important; }

/* --- ZINSESZINSRECHNER: Range-Slider --- */
body.dark-mode #zinseszins-app input[type="range"] {
  background: linear-gradient(90deg, var(--green-500) var(--val, 0%), #334155 var(--val, 0%)) !important;
}
body.dark-mode #zinseszins-app input[type="range"]::-moz-range-track {
  background: #334155 !important;
}

/* --- ANLAGERISIKO: Chart-Panel --- */
body.dark-mode #vemo-ui .chartPanel.panel,
body.dark-mode #vemo-ui .panel {
  background: #1e293b !important;
  border-color: #334155 !important;
}
body.dark-mode #vemo-ui input[type="range"].input {
  background: #334155 !important;
}
body.dark-mode #vemo-ui input[type="range"] {
  background: linear-gradient(90deg, var(--green-500) var(--val, 0%), #334155 var(--val, 0%)) !important;
}

/* --- FINANZIELLE-FREIHEIT: KPI-Hover-Fix --- */
body.dark-mode #freiheit .kpi.endcap,
body.dark-mode #freiheit .kpi.status,
body.dark-mode #freiheit .kpi.accent,
body.dark-mode #freiheit .kpi {
  background: #1e293b !important;
  border-color: #334155 !important;
}
body.dark-mode #freiheit .kpi.endcap:hover,
body.dark-mode #freiheit .kpi.status:hover,
body.dark-mode #freiheit .kpi.accent:hover,
body.dark-mode #freiheit .kpi:hover {
  background: #263247 !important;
}
body.dark-mode #freiheit .kpi.endcap { border-top-color: #5b7cfa !important; }
body.dark-mode #freiheit .kpi.status { border-top-color: #7ed957 !important; }
body.dark-mode #freiheit .kpi.status.warn { border-top-color: #eab308 !important; }
body.dark-mode #freiheit .kpi.status.danger { border-top-color: #ef4444 !important; }
body.dark-mode #freiheit .kpi.accent { border-top-color: #7ed957 !important; }
body.dark-mode #freiheit .kpi .kpi-label { color: #94a3b8 !important; }
body.dark-mode #freiheit .kpi .kpi-value { color: #f1f5f9 !important; }

/* --- BLOG-ARTIKEL: Inline-styled Info-Boxes aus CMS --- */
body.dark-mode .blog-article-content div[style*="background:#f0f4f8"],
body.dark-mode .blog-article-content div[style*="background: #f0f4f8"],
body.dark-mode .blog-article-content div[style*="#f0f4f8"] {
  background: rgba(37,99,235,0.12) !important;
  border-left-color: #60a5fa !important;
  color: #e2e8f0 !important;
}
body.dark-mode .blog-article-content div[style*="#f0f4f8"] h3,
body.dark-mode .blog-article-content h3[style*="color:#1a73e8"],
body.dark-mode .blog-article-content h3[style*="color: #1a73e8"] {
  color: #60a5fa !important;
}
body.dark-mode .blog-article-content div[style*="#f0f4f8"] p,
body.dark-mode .blog-article-content div[style*="#f0f4f8"] li,
body.dark-mode .blog-article-content div[style*="#f0f4f8"] strong {
  color: #e2e8f0 !important;
}
body.dark-mode .blog-article-content tr[style*="background:#1a73e8"],
body.dark-mode .blog-article-content tr[style*="background: #1a73e8"] {
  background: #1e3a8a !important;
}
body.dark-mode .blog-article-content tr[style*="#1a73e8"] th {
  color: #e2e8f0 !important;
}
body.dark-mode .blog-article-content [style*="background:#fff"],
body.dark-mode .blog-article-content [style*="background: #fff"],
body.dark-mode .blog-article-content [style*="background:#f0"],
body.dark-mode .blog-article-content [style*="background: #f0"] {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}
body.dark-mode .blog-article-content blockquote {
  background: rgba(255,255,255,0.04) !important;
  border-left-color: #7ed957 !important;
  color: #cbd5e1 !important;
}

/* --- DATENSCHUTZ: Tabellen-Card-Optik --- */
body.dark-mode .legal-content table {
  background: #1e293b !important;
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid #334155;
}
body.dark-mode .legal-content td {
  color: #cbd5e1 !important;
}

/* =========================================================
   ENDE DARKMODE KOMPLETT-FIX
   ========================================================= */

/* --- TEAM-PAGE: Quote-Box Konsistenz --- */
body.dark-mode .tp-card-quote {
  background: rgba(126,217,87,0.08) !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}
body.dark-mode .tp-card-quote::before,
body.dark-mode .tp-card-quote::after {
  color: #86efac !important;
}

/* ═══════════════════════════════════════════════════
   MOBILE FIXES (Touch-Optimierung, Admin-Bereich)
   ═══════════════════════════════════════════════════ */

/* Touch-Devices: Mindestgrößen für Buttons und Inputs */
@media (hover: none) and (pointer: coarse) {
  .btn, .btn-primary, .btn-secondary, .btn-danger,
  .btn-sm, .sidebar-link, .nav-link, .tab-btn, .filter-chip,
  .admin-action-btn, .pill, .secondary-btn {
    min-height: 44px;
  }
  input[type="text"], input[type="email"], input[type="password"],
  input[type="search"], input[type="tel"], input[type="number"],
  input[type="url"], input[type="date"], input[type="time"],
  textarea, select {
    min-height: 44px;
    font-size: 16px !important; /* iOS Auto-Zoom Prevention */
  }
}

/* Mobile: Topbar & Page-Content kompakter */
@media (max-width: 640px) {
  .topbar { padding: 0 12px; }
  .page-content { padding: 12px; }
  .admin-table th, .admin-table td { padding: 10px 8px; font-size: 0.82rem; white-space: normal; }
}

@media (max-width: 480px) {
  .topbar { padding: 0 10px; }
  .page-content { padding: 10px; }
  .sidebar { padding: 16px 12px; }
  .btn { padding: 12px 18px; }
}

@media (max-width: 360px) {
  .topbar { padding: 0 8px; }
  .page-content { padding: 8px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════
   ADMIN-VERTEILER (Lead-Verteiler) — Mobile-Fixes
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .vt-container { padding: 0 12px !important; max-width: 100% !important; }
  .vt-tabs { margin-bottom: 16px !important; }
  .vt-tab-btn { padding: 10px 14px !important; font-size: 0.85rem !important; min-height: 44px; }
  /* Log-Rows auf Handy umbrechen */
  .vt-log-row { flex-wrap: wrap !important; }
  .vt-log-row > div:first-child { flex-basis: 100%; }
  .vt-log-row > div:not(:first-child) { flex: 0 0 auto; }
  /* KPI-Karten in Verteiler */
  .vt-container > div[style*="display:flex"][style*="gap:"] { flex-wrap: wrap !important; }
}
@media (max-width: 480px) {
  .vt-container { padding: 0 8px !important; }
  .vt-tabs { gap: 0 !important; }
  .vt-tab-btn { padding: 10px 12px !important; font-size: 0.8rem !important; }
  .vt-container h1 { font-size: 1.25rem !important; }
}

/* ═══════════════════════════════════════════════════════
   ADMIN-VIEWS — Universelle Mobile-Fixes (für alle renderAdmin*)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Alle inline-styled Container mit max-width werden auf Handy full-width */
  .page-content > div[style*="max-width:1200px"],
  .page-content > div[style*="max-width:1100px"],
  .page-content > div[style*="max-width:1000px"],
  .page-content > div[style*="max-width:900px"] {
    max-width: 100% !important;
    padding: 0 !important;
  }
  /* Flex-Container mit mehreren Inline-Cards brechen um */
  .page-content div[style*="display:flex"][style*="min-width"] {
    flex-wrap: wrap !important;
  }
  /* Tabellen im Admin scrollen horizontal */
  .page-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  /* KPI-Cards in Admin-Übersichten: mind. 1 pro Zeile, nicht kleiner als 140px */
  .page-content div[style*="flex:1"][style*="min-width:200px"] { min-width: 140px !important; }
}
@media (max-width: 480px) {
  /* Inline h1 kleiner */
  .page-content h1[style*="font-size:1.5rem"],
  .page-content h1[style*="font-size: 1.5rem"] { font-size: 1.25rem !important; }
  .page-content h2[style*="font-size:1.2rem"] { font-size: 1.05rem !important; }
  /* Action-Buttons in Admin-Headers voll breit */
  .page-content div[style*="display:flex"][style*="gap"][style*="margin-bottom"] button,
  .page-content div[style*="display:flex"][style*="gap"][style*="margin-bottom"] a.btn { min-height: 40px; }
}

/* ═══════════════════════════════════════════════════════
   INLINE GRIDS in Admin/Creator/Kunde Views → Responsive
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* 4-spaltige Grids werden 2-spaltig */
  .page-content div[style*="grid-template-columns:repeat(4,1fr)"],
  .page-content div[style*="grid-template-columns:repeat(4, 1fr)"],
  .page-content div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"],
  .page-content div[style*="grid-template-columns:1fr 1fr 1fr 1fr"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  /* 3-spaltige Grids werden 2-spaltig (außer Emoji-Grids mit 8) */
  .page-content div[style*="grid-template-columns:repeat(3,1fr)"]:not([id*="Emoji"]),
  .page-content div[style*="grid-template-columns:repeat(3, 1fr)"]:not([id*="Emoji"]),
  .page-content div[style*="grid-template-columns: 1fr 1fr 1fr"]:not([style*="1fr 1fr 1fr 1fr"]):not([id*="Emoji"]),
  .page-content div[style*="grid-template-columns:1fr 1fr 1fr"]:not([style*="1fr 1fr 1fr 1fr"]):not([id*="Emoji"]) {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Auto-fill Grids min 240px werden kleiner */
  .page-content div[style*="minmax(380px"],
  .page-content div[style*="minmax(340px"],
  .page-content div[style*="minmax(280px"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 768px) {
  /* Split-Views (Sidebar + Content): stacken auf Mobile */
  .page-content div[style*="grid-template-columns: 240px 1fr"],
  .page-content div[style*="grid-template-columns:240px 1fr"],
  .page-content div[style*="grid-template-columns: 260px 1fr"],
  .page-content div[style*="grid-template-columns:260px 1fr"],
  .page-content div[style*="grid-template-columns: 280px 1fr"],
  .page-content div[style*="grid-template-columns:280px 1fr"],
  .page-content div[style*="grid-template-columns: 300px 1fr"],
  .page-content div[style*="grid-template-columns:300px 1fr"],
  .page-content div[style*="grid-template-columns: 320px 1fr"],
  .page-content div[style*="grid-template-columns:320px 1fr"],
  .page-content div[style*="grid-template-columns: 1fr 240px"],
  .page-content div[style*="grid-template-columns:1fr 240px"],
  .page-content div[style*="grid-template-columns: 1fr 280px"],
  .page-content div[style*="grid-template-columns:1fr 280px"],
  .page-content div[style*="grid-template-columns: 1fr 300px"],
  .page-content div[style*="grid-template-columns:1fr 300px"] {
    grid-template-columns: 1fr !important;
  }
}
/* ═══════════════════════════════════════════════════════
   GLOBAL OVERFLOW-SAFETY (verhindert Handy-Überlauf rechts)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  /* body: clip statt hidden, sonst klebt unter 900 px kein position: sticky (die Bubble der Startseite
     lief auf dem Handy davon; gemessen 02.09.2026). Gleiche Wirkung gegen Querueberlauf. */
  body {
    overflow-x: clip !important;
    max-width: 100vw !important;
  }
  .page-content, main, .main-content, .app-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  /* Bilder, Videos, iFrames nie breiter als Container */
  .page-content img,
  .page-content video,
  .page-content iframe,
  main img, main video, main iframe {
    max-width: 100% !important;
    height: auto !important;
  }
  /* Lange URLs / Texte brechen um */
  .page-content p,
  .page-content span,
  .page-content div,
  .page-content a,
  .page-content li,
  .page-content td,
  .page-content h1,
  .page-content h2,
  .page-content h3,
  .page-content h4 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  /* Code-Blöcke scrollen statt überlaufen */
  .page-content pre, .page-content code {
    overflow-x: auto;
    max-width: 100%;
  }
  /* Absolut/Fixed positionierte Popups max 100vw */
  .notif-dropdown, .tooltip, .popover, .dropdown-menu, .user-menu,
  [class*="dropdown"], [class*="popup"], [class*="tooltip"] {
    max-width: calc(100vw - 20px) !important;
  }
  /* Emoji-Picker etc max 100vw */
  .dm-emoji-picker, [class*="emoji-picker"] {
    max-width: calc(100vw - 20px) !important;
  }
  /* Inline breite Elemente auf 100% */
  .page-content [style*="width:400px"],
  .page-content [style*="width: 400px"],
  .page-content [style*="width:500px"],
  .page-content [style*="width: 500px"],
  .page-content [style*="width:600px"],
  .page-content [style*="width: 600px"],
  .page-content [style*="min-width:400px"],
  .page-content [style*="min-width: 400px"],
  .page-content [style*="min-width:500px"],
  .page-content [style*="min-width: 500px"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  /* Chat-Bubbles + lange Nachrichten-Container */
  .chat-message, .message-bubble, .msg-bubble, [class*="message-"] {
    max-width: 85% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* Modals + Dialogs Mobile-friendly */
@media (max-width: 768px) {
  .modal-overlay { padding: 12px !important; align-items: flex-start !important; padding-top: 40px !important; }
  .modal { max-width: 100% !important; max-height: calc(100vh - 80px) !important; border-radius: 14px !important; }
  .modal-header { padding: 18px 20px 0 !important; }
  .modal-header h2 { font-size: 1.1rem !important; }
  .modal-body { padding: 16px 20px 20px !important; }
  /* Inline modals mit max-width */
  div[style*="max-width:600px"][style*="margin:"],
  div[style*="max-width:500px"][style*="margin:"],
  div[style*="max-width:680px"][style*="margin:"] { max-width: calc(100vw - 24px) !important; }
}
@media (max-width: 480px) {
  .modal-overlay { padding: 8px !important; padding-top: 30px !important; }
  .modal-header { padding: 14px 16px 0 !important; }
  .modal-body { padding: 12px 16px 16px !important; }
  .modal-header h2 { font-size: 1rem !important; }
}

@media (max-width: 560px) {
  /* Alle 2-3-4 spaltigen Grids werden 1-spaltig (außer Emoji) */
  .page-content div[style*="grid-template-columns:repeat(2,1fr)"]:not([id*="Emoji"]),
  .page-content div[style*="grid-template-columns:repeat(2, 1fr)"]:not([id*="Emoji"]),
  .page-content div[style*="grid-template-columns:repeat(3,1fr)"]:not([id*="Emoji"]),
  .page-content div[style*="grid-template-columns:repeat(3, 1fr)"]:not([id*="Emoji"]),
  .page-content div[style*="grid-template-columns:repeat(4,1fr)"],
  .page-content div[style*="grid-template-columns:repeat(4, 1fr)"],
  .page-content div[style*="grid-template-columns: 1fr 1fr"]:not([id*="Emoji"]),
  .page-content div[style*="grid-template-columns:1fr 1fr"]:not([id*="Emoji"]) {
    grid-template-columns: 1fr !important;
  }
  /* Padding der Container reduzieren */
  .page-content div[style*="padding:28px"],
  .page-content div[style*="padding: 28px"],
  .page-content div[style*="padding:32px"],
  .page-content div[style*="padding: 32px"] {
    padding: 16px !important;
  }
}

/* =========================================================
   DARKMODE FIX: Admin-Dashboard Lead-Preise Cards
   (Safety-Net für inline-styled #fff / #0b1117)
   ========================================================= */
body.dark-mode div[style*="background:#fff"][style*="border-radius:14px"] {
  background: #1e293b !important;
  border-color: #334155 !important;
}
body.dark-mode div[style*="color:#0b1117"] {
  color: #f1f5f9 !important;
}
/* Auch alle Cards auf dem Admin-Dashboard mit hart-codiertem #fff */
body.dark-mode div[style*="background:#fff"][style*="border:1px solid #e5e8ec"] {
  background: #1e293b !important;
  border-color: #334155 !important;
}
/* Text auf diesen Cards */
body.dark-mode div[style*="background:#fff"] [style*="color:#0b1117"],
body.dark-mode div[style*="background:#fff"] [style*="color: #0b1117"] {
  color: #f1f5f9 !important;
}

/* ============================================
   VEMO CI: em-Highlighting (Cyrill 2026-04-21)
   - keine Italic / Schrägstellung
   - gleiche font-weight wie Parent (nicht dünner)
   - exakt Vemo-Grün #7ed957 (nicht --accent-deep)
   ============================================ */
em, i { font-style: normal !important; font-weight: inherit !important; }
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
  font-style: normal !important;
  font-weight: inherit !important;
  color: #7ed957 !important;
}/* Cyrill 2026-05-09: Sun/Moon Drehung-Animation für Dark-Mode-Toggle */
.public-darkmode-toggle {
  position: relative;
  width: 32px;
  height: 32px;
}
.public-darkmode-toggle .icon-sun,
.public-darkmode-toggle .icon-moon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  display: block !important;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.public-darkmode-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.public-darkmode-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
  pointer-events: none;
}
body.dark-mode .public-darkmode-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0);
  pointer-events: none;
}
body.dark-mode .public-darkmode-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  pointer-events: auto;
}

/* ============================================
   VERSICHERUNGSCHECK (#versicherungscheck)
   AI-Check Phase A (Intro) + Phase B (Chat)
   ============================================ */

/* ---- Dashboard Service-Cards ---- */

/* ---- Intro-Phase ---- */
.vcheck-intro {
  max-width: 720px;
  margin: 0 auto;
}
.vcheck-hero {
  margin-bottom: 24px;
}

.vcheck-disclaimer {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 10px;
  margin: 24px 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #78350f;
}
.vcheck-disclaimer strong { color: #78350f; font-weight: 700; }

.vcheck-counter {
  text-align: center;
  margin: 24px 0 18px;
  font-size: 1rem;
  color: var(--grey-700, #334155);
  line-height: 1.5;
}
.vcheck-counter strong { color: var(--dark, #282f47); font-weight: 700; }

/* Intro-Hero mit Vera-Avatar */

.vcheck-info {
  background: var(--grey-50, #f8fafc);
  border: 1px solid var(--grey-200, #e2e8f0);
  padding: 20px 22px;
  border-radius: 12px;
  margin-top: 32px;
}
.vcheck-info h3 {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark, #282f47);
}
.vcheck-info ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.75;
  font-size: 0.9rem;
  color: var(--grey-600, #475569);
}
.vcheck-info li { margin: 2px 0; }

/* No-Mandate Empty State — vertikal mittig in der Page */
.vcheck-intro {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vcheck-empty {
  background: #fff;
  border: 1px solid var(--grey-200, #e2e8f0);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.vcheck-empty h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--dark, #282f47);
}
.vcheck-empty p {
  font-size: 0.95rem;
  color: var(--grey-600, #475569);
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Chat-Phase ---- */
.vcheck-chat {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}

.vcheck-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-500, #7ed957);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* Vemo-Logo: NIE fett */
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.vcheck-avatar .dot { color: rgba(255,255,255,0.85); }
@keyframes vcheckPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(126,217,87,0.6); }
  70% { box-shadow: 0 0 0 6px rgba(126,217,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(126,217,87,0); }
}

.vcheck-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 100%;
  animation: vcheckMsgIn 0.24s cubic-bezier(.34,1.4,.64,1) both;
}
.vcheck-msg.is-user { justify-content: flex-end; }
.vcheck-msg.is-ai { justify-content: flex-start; }
.vcheck-msg.is-tool { justify-content: flex-start; padding-left: 32px; }
.vcheck-msg.is-system { justify-content: center; }
.vcheck-msg.is-error { justify-content: center; }
@keyframes vcheckMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vcheck-bubble {
  max-width: 75%;
  padding: 10px 14px 8px;
  border-radius: 14px;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  font-size: 0.94rem;
  word-wrap: break-word;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.vcheck-bubble strong { font-weight: 600; }
.vcheck-bubble em { font-style: normal; color: var(--green-500, #7ed957); font-weight: inherit; }

/* Tool-Pill */
@keyframes vcheckSpin { to { transform: rotate(360deg); } }

/* Profile-Update Inline Pill */

/* Error-Pill */

/* Sticky-Disclaimer */

/* Input-Form */
#vcheck-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--grey-200, #e2e8f0);
  border-radius: 12px;
  font-size: 0.95rem;
  resize: none;
  font-family: inherit;
  background: #fff;
  color: var(--dark, #282f47);
  line-height: 1.4;
  min-height: 42px;
  max-height: 160px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#vcheck-input:focus {
  border-color: var(--green-400, #8edc59);
  box-shadow: 0 0 0 3px rgba(126,217,87,0.18);
}
#vcheck-input:disabled { opacity: 0.55; cursor: not-allowed; background: var(--grey-50, #f8fafc); }

/* ─── Chat Header: "Bericht ansehen"-Button ─────────────────────── */

/* ─── PHASE C: Gap-Report ───────────────────────────────────────── */

/* ─── PHASE D: Wizard ───────────────────────────────────────────── */

/* Summary cards */

/* Responsive */
@media (max-width: 720px) {
  .vcheck-bubble { max-width: 88%; font-size: 0.92rem; }
}

/* Dark-Mode */

body.dark-mode .vcheck-disclaimer { background: rgba(245,158,11,0.1); border-left-color: #f59e0b; color: #fcd34d; }
body.dark-mode .vcheck-disclaimer strong { color: #fcd34d; }
body.dark-mode .vcheck-counter { color: #cbd5e1; }
body.dark-mode .vcheck-counter strong { color: #f1f5f9; }
body.dark-mode .vcheck-info { background: #0f172a; border-color: #334155; }
body.dark-mode .vcheck-info h3 { color: #f1f5f9; }
body.dark-mode .vcheck-info ul { color: #cbd5e1; }
body.dark-mode .vcheck-empty { background: #1e293b; border-color: #334155; }
body.dark-mode .vcheck-empty h3 { color: #f1f5f9; }
body.dark-mode .vcheck-empty p { color: #cbd5e1; }

body.dark-mode .vcheck-chat { background: #0f172a; }
body.dark-mode #vcheck-input { background: #0f172a; border-color: #334155; color: #f1f5f9; }
body.dark-mode #vcheck-input:focus { border-color: var(--green-500, #7ed957); }
body.dark-mode #vcheck-input:disabled { background: #1e293b; }

/* Dark-Mode: Phase C+D */

/* ═══════════════════════════════════════════════════════════════════
   Scripted Vcheck — Quick-Reply Pills (Phase B Migration 009)
   Statt AI-Streaming: scripted Q&A mit Multiple-Choice Pills.
   ═══════════════════════════════════════════════════════════════════ */

@keyframes vcheckQRIn {
  from { opacity: 0; transform: translateY(4px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════════════
   Profile-Editor (Einstellungen → Profil-Tab) — Migration 009
   Multi-Section inline editierbar mit Auto-Save on blur.
   ═══════════════════════════════════════════════════════════════════ */
.profile-edit-container { display: flex; flex-direction: column; gap: 20px; }
.profile-completion-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(126,217,87,0.10) 0%, rgba(126,217,87,0.03) 100%);
  border: 1px solid rgba(126,217,87,0.25);
}
.profile-completion-track {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.profile-completion-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-400, #8edc59), var(--green-500));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}
.profile-completion-label {
  font-size: 0.85rem;
  color: var(--grey-600, #475569);
  font-weight: 500;
}
.profile-completion-label strong { color: var(--green-500); font-weight: 700; }
.profile-sections { display: flex; flex-direction: column; gap: 12px; }

.profile-section {
  background: #fff;
  border: 1px solid var(--grey-200, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.profile-section[open] { box-shadow: 0 1px 3px rgba(40,47,71,0.04); }
.profile-section-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}
.profile-section-summary::-webkit-details-marker { display: none; }
.profile-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark, #282f47);
}
.profile-section-chev {
  width: 18px;
  height: 18px;
  color: var(--grey-500, #64748b);
  transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}
.profile-section-chev svg { width: 18px; height: 18px; }
.profile-section[open] .profile-section-chev { transform: rotate(90deg); }
.profile-section-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 20px 20px;
  border-top: 1px solid var(--grey-100, #f1f5f9);
  padding-top: 18px;
}

.profile-field { display: flex; flex-direction: column; gap: 6px; }
.profile-field-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-500, #64748b);
}
.profile-field-input,
.profile-field input.profile-field-input,
.profile-field select.profile-field-input,
.profile-field textarea.profile-field-input {
  font-family: 'Poppins', sans-serif;
  font-size: 0.94rem;
  padding: 10px 13px;
  border: 1px solid var(--grey-200, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  color: var(--dark, #282f47);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  width: 100%;
}
.profile-field-input:focus {
  border-color: var(--green-500, #7ed957);
  box-shadow: 0 0 0 3px rgba(126,217,87,0.15);
}
.profile-field-readonly {
  padding: 10px 13px;
  border-radius: 10px;
  background: var(--grey-50, #f8fafc);
  border: 1px solid var(--grey-200, #e2e8f0);
  font-size: 0.94rem;
  color: var(--grey-600, #475569);
}
.profile-field-hint {
  font-size: 0.77rem;
  color: var(--grey-500, #64748b);
  line-height: 1.4;
}
.profile-field-status {
  font-size: 0.78rem;
  min-height: 1.1em;
  color: var(--grey-500, #64748b);
  transition: color 0.2s;
}
.profile-field-status.is-saving { color: var(--green-500); }
.profile-field-status.is-ok { color: var(--green-500); }
.profile-field-status.is-error { color: #b91c1c; }

/* Bool-Tri-Toggle (Ja / Nein / k.A.) */
.profile-tri-toggle {
  display: inline-flex;
  border: 1px solid var(--grey-200, #e2e8f0);
  border-radius: 10px;
  overflow: hidden;
  align-self: flex-start;
  background: #fff;
}
.profile-tri-btn {
  appearance: none;
  background: transparent;
  border: none;
  padding: 9px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-500, #64748b);
  cursor: pointer;
  transition: all 0.18s;
  border-right: 1px solid var(--grey-200, #e2e8f0);
}
.profile-tri-btn:last-child { border-right: none; }
.profile-tri-btn:hover { background: var(--grey-50, #f8fafc); }
.profile-tri-btn.is-active {
  background: var(--green-500, #7ed957);
  color: #fff;
}

/* Multi-Choice Chips */
.profile-multi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--grey-200, #e2e8f0);
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey-600, #475569);
  cursor: pointer;
  transition: all 0.16s;
}
.profile-chip:hover { border-color: var(--green-300, #a8e270); color: var(--green-500); }
.profile-chip.is-active {
  background: var(--green-500, #7ed957);
  border-color: var(--green-500, #7ed957);
  color: #fff;
}

/* Partner-Grid */
.profile-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.profile-partner-grid .profile-field-input { width: 100%; }
@media (max-width: 520px) {
  .profile-partner-grid { grid-template-columns: 1fr; }
}

/* Dark Mode */
body.dark-mode .profile-section { background: #1e293b; border-color: #334155; }
body.dark-mode .profile-section-title { color: #f1f5f9; }
body.dark-mode .profile-section-body { border-top-color: #334155; }
body.dark-mode .profile-section-chev { color: #94a3b8; }
body.dark-mode .profile-field-label { color: #94a3b8; }
body.dark-mode .profile-field-input { background: #0f172a; border-color: #334155; color: #f1f5f9; }
body.dark-mode .profile-field-readonly { background: #0f172a; border-color: #334155; color: #94a3b8; }
body.dark-mode .profile-field-hint { color: #94a3b8; }
body.dark-mode .profile-tri-toggle { background: #0f172a; border-color: #334155; }
body.dark-mode .profile-tri-btn { color: #94a3b8; border-right-color: #334155; }
body.dark-mode .profile-tri-btn:hover { background: #1e293b; }
body.dark-mode .profile-chip { background: #1e293b; border-color: #334155; color: #cbd5e1; }
body.dark-mode .profile-completion-bar { background: linear-gradient(135deg, rgba(126,217,87,0.14) 0%, rgba(126,217,87,0.04) 100%); border-color: #334155; }
body.dark-mode .profile-completion-track { background: rgba(255,255,255,0.08); }
body.dark-mode .profile-completion-label { color: #cbd5e1; }

/* ============================================================
 * Versicherungscheck — Modern Vemo-Redesign (.is-vcheck-modern)
 * Scoped overrides auf .claim-chat-* Pattern, ohne Schaden-Chat zu touchen.
 * Ziel: clean white card, no doodle background, keine WhatsApp-Tails, Vemo-Grün gradient User-Bubble, pill-input.
 * ============================================================ */
/* Cyrill 28.06.: kein eigener Page-Grund — der allgemeine .rdash-shell-Hintergrund
   (Default-Mesh ODER per Hintergrund-Regler getunt) scheint durch wie auf jeder
   anderen Route. Galt für Versicherungscheck + Schaden + Optimieren + Vera-Support. */
.is-vcheck-modern { background: transparent; }
.is-vcheck-modern .claim-app {
  background: transparent;
  padding: 18px;
  gap: 18px;
}
.is-vcheck-modern .claim-app::before { display: none; }

/* Chat-Card */
.is-vcheck-modern .claim-chat {
  background: #ffffff;
  border-radius: 22px;
  box-shadow:
    0 4px 28px rgba(40, 47, 71, 0.07),
    0 0 0 1px rgba(40, 47, 71, 0.04);
  overflow: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Header */
.is-vcheck-modern .claim-chat-header {
  /* Das Aussehen der Leiste: DIE EINE LEISTE DES HAUSES (mandate.css), seit 29.09.2026. */
  height: 76px;
  padding: 14px 24px;
  gap: 14px;
  position: relative;
}
.is-vcheck-modern .claim-chat-avatar {
  width: 46px; height: 46px;
  background: var(--green-500, #7ed957);
  font-weight: 400;
  font-size: 1.05rem;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}
.is-vcheck-modern .claim-chat-avatar .dot { color: rgba(255,255,255,0.85); font-weight: 400; }
/* Vera-Avatar mit Profilbild */
.is-vcheck-modern .claim-chat-avatar.claim-chat-avatar-vera {
  background: #f6f7f9;
}
.is-vcheck-modern .claim-chat-avatar img,
.is-vcheck-modern .claim-chat-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.is-vcheck-modern .claim-chat-header-title {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1a1f3a;
}
.is-vcheck-modern .claim-chat-header-sub {
  font-size: 0.79rem;
  color: #6b7280;
  margin-top: 2px;
}

/* Bericht-ansehen Button im Header */

/* Stream */
.is-vcheck-modern .claim-chat-stream {
  background: #ffffff;
  padding: 28px 32px 20px;
  gap: 16px;
  /* KEIN scroll-behavior hier: Cyrills Entscheid steht in mandate.css (.claim-chat-stream:
     auto — «smooth war zu langsam»). Diese Zeile trug bis 05.09.2026 «smooth» und gewann
     durch die hoehere Spezifitaet: Chrome verwarf jede programmatische scrollTop-Zuweisung
     des Nachfuehrers (gemessen: «set 2508 → ist 0», Ziel 64), der Chat oeffnete oben. */
}
.is-vcheck-modern .claim-chat-stream::-webkit-scrollbar-thumb {
  background: rgba(40, 47, 71, 0.12);
}

/* Bubble — no Tails, generous radius, no inline-time-padding */
.is-vcheck-modern .claim-chat-bubble {
  padding: 12px 16px 9px;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: none;
  max-width: 75%;
  position: relative;
  letter-spacing: -0.005em;
}
.is-vcheck-modern .claim-chat-msg.is-left .claim-chat-bubble {
  background: #f6f7f9;
  color: #1a1f3a;
  border: 1px solid #eef0f3;
  border-top-left-radius: 6px;
}
.is-vcheck-modern .claim-chat-msg.is-right .claim-chat-bubble {
  background: var(--green-500, #7ed957);
  color: #ffffff;
  border: none;
  border-top-right-radius: 6px;
  box-shadow: 0 2px 10px rgba(126, 217, 87, 0.25);
}
.is-vcheck-modern .claim-chat-msg.is-right .claim-chat-bubble em {
  color: rgba(255,255,255,0.95);
}
/* Tails ausblenden */
.is-vcheck-modern .claim-chat-msg.is-left .claim-chat-bubble::before,
.is-vcheck-modern .claim-chat-msg.is-right .claim-chat-bubble::before {
  display: none;
}
.is-vcheck-modern .claim-chat-bubble strong { font-weight: 600; }

/* Die Farbe der Uhrzeit. Wo sie steht, sagt die eine Regel (mandate.css, «DIE UHRZEIT IN JEDER BLASE»); hier stand bis
   27.10.2026 ein zweiter Weg: die Uhrzeit immer in einer eigenen Zeile unter dem Text. */
.is-vcheck-modern .claim-chat-time {
  color: rgba(40, 47, 71, 0.4);
}
.is-vcheck-modern .claim-chat-msg.is-right .claim-chat-time {
  color: rgba(255, 255, 255, 0.78);
}

/* Mini-Avatar — Vera-Profilbild rund */
.is-vcheck-modern .claim-chat-avatar-mini {
  width: 30px; height: 30px;
  background: #f6f7f9;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 400;
  border: none;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}
.is-vcheck-modern .claim-chat-avatar-mini .dot { color: rgba(255,255,255,0.85); font-weight: 400; }

/* Typing — moderne flache Bubble */

/* Inputbar — clean pill, flex row mit textarea + quickreplies inline + send */
.is-vcheck-modern .claim-chat-inputbar {
  /* Das Aussehen der Leiste: DIE EINE LEISTE DES HAUSES (mandate.css), seit 29.09.2026. */
  padding: 14px 22px 18px;
  /* T6: row-gap 0 — die Quick-Reply-Zeile (order:-1) sitzt als eigene Flex-Zeile
     über der Textarea. Wenn sie eingeklappt ist (max-height:0) darf KEIN
     vertikaler Gap entstehen, sonst springt die Textarea bei jedem Frage-Wechsel. */
  column-gap: 10px;
  row-gap: 0;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}
.is-vcheck-modern .claim-chat-inputbar textarea {
  transition: flex 0.35s cubic-bezier(.4, 0, .2, 1);
}

/* Quick-Replies Inline (rechts neben Textarea, slide-from-right) */
.is-vcheck-modern .claim-chat-inputbar {
  flex-wrap: wrap;
}
@keyframes vcheckQuickFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 720px) {
  /* Auf Mobile: Quick-Replies in 2. Reihe — sonst zu schmal */
  .is-vcheck-modern .claim-chat-inputbar { flex-wrap: wrap; }
}
.is-vcheck-modern .claim-chat-inputbar textarea {
  background: #f6f7f9;
  border: 1.5px solid transparent;
  border-radius: 22px;
  padding: 11px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.94rem;
  color: #1a1f3a;
  line-height: 1.4;
  resize: none;
  /* Scrollbar visuell wegblenden — autoResizeInput wächst die Textarea bis
     max-height 160px. Über 160px kann der User intern scrollen, aber die
     Scrollbar bleibt unsichtbar für sauberen Look. */
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: border-color 0.15s, background 0.15s, height 0.15s ease-out;
  flex: 1;
}
.is-vcheck-modern .claim-chat-inputbar textarea::-webkit-scrollbar { width: 0; height: 0; display: none; }
.is-vcheck-modern .claim-chat-inputbar textarea::placeholder { color: #9ca3af; }
.is-vcheck-modern .claim-chat-inputbar textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #7ed957;
  box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.12);
}
.is-vcheck-modern .claim-chat-send {
  /* Cyrill 2026-05-25: Animation-Bug ("kurz gross links unten") — stabilisieren
     mit fixen min/max + order:99 (immer rechts) + kein scale-Hover mehr. */
  width: 46px; height: 46px;
  min-width: 46px; max-width: 46px;
  min-height: 46px; max-height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: var(--green-500, #7ed957);
  color: #ffffff;
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 3px 10px rgba(126, 217, 87, 0.35);
  padding: 0;
  order: 99;
  align-self: flex-end;
  transform: none;
}
.is-vcheck-modern .claim-chat-send:hover:not(:disabled) {
  /* Kein scale/translate — war Ursache des Glitches wenn Quick-Replies daneben
     ein-/ausgeklappt sind. Nur Shadow für Feedback. */
  box-shadow: 0 5px 18px rgba(126, 217, 87, 0.55);
}
.is-vcheck-modern .claim-chat-send:disabled { opacity: 0.45; cursor: not-allowed; }

/* Quick-Reply Pills — modern */
.is-vcheck-modern .claim-quick-pick {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  color: #1a1f3a;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(40, 47, 71, 0.05);
  transition: all 0.15s cubic-bezier(.34,1.4,.64,1);
}
.is-vcheck-modern .claim-quick-pick:hover:not(:disabled) {
  background: #f6fce8;
  border-color: #7ed957;
  color: #7ed957;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(126, 217, 87, 0.22);
}
.is-vcheck-modern .claim-quick-pick:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* System-Pill (Profil aktualisiert) — zentriert, dezent */
.is-vcheck-modern .vcheck-msg.is-system { justify-content: center; }

/* Hint */

/* Error pill */

/* Mobile */
@media (max-width: 640px) {
  .is-vcheck-modern .claim-app { padding: 10px; }
  .is-vcheck-modern .claim-chat { border-radius: 16px; }
  .is-vcheck-modern .claim-chat-stream { padding: 20px 18px 16px; }
  .is-vcheck-modern .claim-chat-bubble { max-width: 85%; }
}

/* Dark mode */
body.dark-mode .is-vcheck-modern { background: transparent; } /* Cyrill 28.06.: Dark = .rdash-shell #0f172a scheint durch, kein eigener Page-Grund */
body.dark-mode .is-vcheck-modern .claim-chat { background: #1e293b; box-shadow: 0 4px 28px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05); }
body.dark-mode .is-vcheck-modern .claim-chat-header-title { color: #f1f5f9; }
body.dark-mode .is-vcheck-modern .claim-chat-header-sub { color: #94a3b8; }
body.dark-mode .is-vcheck-modern .claim-chat-stream { background: #1e293b; }
body.dark-mode .is-vcheck-modern .claim-chat-msg.is-left .claim-chat-bubble { background: #0f172a; border-color: #334155; color: #e2e8f0; }
body.dark-mode .is-vcheck-modern .claim-chat-inputbar textarea { background: #0f172a; color: #e2e8f0; }
body.dark-mode .is-vcheck-modern .claim-chat-inputbar textarea:focus { background: #1e293b; }
body.dark-mode .is-vcheck-modern .claim-quick-pick { background: #0f172a; border-color: #334155; color: #e2e8f0; }
body.dark-mode .is-vcheck-modern .claim-quick-pick:hover:not(:disabled) { background: #1e293b; border-color: #7ed957; color: #7ed957; }

/* ============================================================
 * Vcheck Antwort-Optionen IM CHAT-VERLAUF (Cyrill 2026-06-10)
 * Die Buttons erscheinen als umbruchfähiger Block direkt unter
 * Veras Frage (eingerückt wie eine Bubble) — nicht mehr unten
 * links in der Inputbar. Schreibfeld bleibt frei bedienbar.
 * ============================================================ */
@keyframes vcheckPillIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* "Genau eingeben" / "X oder mehr" — dezenter als normale Optionen */
/* Multi-Choice: Pills oben, Weiter-Footer darunter */
/* Dropdown mit Typeahead (Branche, Zimmerzahl) */
/* Dark mode für die neuen Blöcke */

/* ============================================================
 * Versicherungscheck — Feinschliff Pass 2
 * Send-Button SVG-Icon zentriert, weitere Polish-Tweaks
 * ============================================================ */
.is-vcheck-modern .claim-chat-send {
  /* SVG-Icon-Tuning */
  font-size: 0; /* falls Text-Reste */
  line-height: 0;
  padding: 0;
}
.is-vcheck-modern .claim-chat-send svg {
  width: 20px;
  height: 20px;
  /* Triangle hat Mass-Schwerpunkt links der Mitte → 2px nach rechts
     damit es optisch zentriert wirkt im runden Button */
  transform: translateX(2px);
  color: #ffffff;
  fill: currentColor;
  display: block;
}
.is-vcheck-modern .claim-chat-send:disabled {
  background: #e5e7eb;
  box-shadow: none;
  color: #9ca3af;
}
.is-vcheck-modern .claim-chat-send:disabled svg { color: #9ca3af; }
/* DER STOP-KNOPF IST DERSELBE KNOPF (Cyrills Entscheid 8a, 22.09.2026): dieselbe Stelle,
   dieselbe Groesse, dieselbe gruene Farbe — nur das Zeichen wechselt. Er ist ausdruecklich
   NICHT grau: grau heisst in diesem Haus «du kannst hier nichts tun», und stoppen kann der
   Kunde sehr wohl. Der 2px-Versatz der Regel darueber gehoert dem Papierflieger, dessen
   Schwerpunkt links der Mitte liegt; ein Quadrat ist von sich aus mittig und stuende damit
   sichtbar schief. */
.is-vcheck-modern .claim-chat-send.is-stop svg { transform: none; }

/* Active state — kurzer Press */
.is-vcheck-modern .claim-chat-send:not(:disabled):active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 2px 6px rgba(126, 217, 87, 0.4);
}

/* Stream-Padding etwas grosszuegiger oben */
.is-vcheck-modern .claim-chat-stream {
  padding-top: 32px;
}

/* Welcome-Bubble (erste Vemo-Begruessung) etwas hervorheben */
.is-vcheck-modern .claim-chat-msg.is-left:first-of-type .claim-chat-bubble {
  border: 1px solid rgba(126, 217, 87, 0.25);
  background: linear-gradient(180deg, rgba(126, 217, 87, 0.04) 0%, #f6f7f9 100%);
}

/* Time bei User-Bubble: dezenter in der gruenen Bubble (nur die Farbe; Groesse und Ort: die eine Regel in mandate.css) */
.is-vcheck-modern .claim-chat-msg.is-right .claim-chat-time {
  color: rgba(255, 255, 255, 0.72);
}

/* Bubble Hover: subtle lift bei AI-Bubbles (kein hover bei User-Pills) */
.is-vcheck-modern .claim-chat-msg.is-left .claim-chat-bubble {
  transition: box-shadow 0.18s, transform 0.18s;
}
.is-vcheck-modern .claim-chat-msg.is-left .claim-chat-bubble:hover {
  box-shadow: 0 2px 14px rgba(40, 47, 71, 0.05);
}

/* Quick-Reply Animation — staggered fade-in */
.is-vcheck-modern .claim-quick-pick {
  animation: vcheck-pop-in 0.32s cubic-bezier(.34,1.4,.64,1) both;
}
@keyframes vcheck-pop-in {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header-Status-Dot: gruener Pulse soll groesser/satter sein */
.is-vcheck-modern .claim-chat-header-sub-dot {
  width: 7px;
  height: 7px;
  background: #7ed957;
}

/* Inputbar Padding angleichen */
.is-vcheck-modern .claim-chat-inputbar {
  padding: 14px 22px 18px;
}

/* Dark-Mode Send-Button Disabled */
body.dark-mode .is-vcheck-modern .claim-chat-send:disabled {
  background: #334155;
  color: #64748b;
}
body.dark-mode .is-vcheck-modern .claim-chat-send:disabled svg { color: #64748b; }
body.dark-mode .is-vcheck-modern .claim-chat-msg.is-left:first-of-type .claim-chat-bubble {
  background: linear-gradient(180deg, rgba(126, 217, 87, 0.08) 0%, #0f172a 100%);
  border-color: #334155;
}

/* ============================================================
 * Versicherungscheck — Multi-Choice INLINE neben Textarea
 * Layout-Konzept: alles in EINER Zeile, gleiche Höhe wie Textarea.
 * [textarea (shrinks)] [pills-truncate (overflow:hidden)] [Keine davon] [Weiter] [Send]
 *
 * - textarea shrinkt bis min 110px wenn Pills mehr Platz brauchen
 * - Pills die nicht VOLL reinpassen werden von JS auf display:none gesetzt
 *   (ResizeObserver triggert applyTruncate)
 * - "Keine davon" + "Weiter" sind flex-shrink:0 → IMMER sichtbar rechts
 * - Top-Clipping vermieden via padding-block/margin-block Atemloch
 * ============================================================ */

/* Dezenter Error-Toast (statt fettem Chat-Banner) */
/* Cyrill 2026-06-04: Multi-Choice-Chips brechen jetzt sauber um (flex-wrap)
   statt in einer Single-Row zu clippen / rechts aus dem Display zu laufen.
   Vorher hing die Sichtbarkeit am JS-Truncate (applyTruncate) — schlug das fehl,
   ragten die langen Recheck-Labels (Wohnsituation/Familienstand/…) über den
   Chat-Rand. Jetzt: Chips umbrechend, lange Labels brechen intern (white-space:
   normal), nichts ragt mehr hinaus. applyTruncate bleibt als harmloses Backup
   (versteckt bei Wrap nichts, da keine Pille über den Containerrand hinausragt). */
/* "Keine davon"-Pille setzt sich visuell ab vs normale Pills */
/* Textarea darf für multi-choice noch stärker schrumpfen */
.is-vcheck-modern .claim-chat-inputbar:has(.is-multichoice.is-active) textarea {
  flex: 1 1 110px;
  min-width: 110px;
}

/* ============================================================
 * Versicherungscheck — KRITISCHER FIX: claim-chat-send::before
 * mandate.css rendert ein Material-Send-Icon als mask-image im
 * ::before Pseudo-Element. Das uebermalt unser eigenes SVG mit
 * dem ALTEN Icon (mit innerer Falten-Linie) → sieht aus wie 2
 * Icons. Komplett verstecken im is-vcheck-modern-Scope.
 * ============================================================ */
.is-vcheck-modern .claim-chat-send::before { content: none !important; display: none !important; }
.is-vcheck-modern .claim-chat-send::after { content: none !important; display: none !important; }

/* ============================================================
 * Versicherungscheck — Layout-Lock: Input bleibt UNTEN, Stream scrollt
 * Bug: rdash-page hatte computed height 1076px statt 100vh-64px weil
 * flex:1 die height-CSS-Rule overrode. Plus claim-chat-stream hatte
 * min-height:auto → konnte nicht schrumpfen unter Content-Hoehe.
 * Fix: hoehere Specificity + min-height:0 + flex:0 0 auto Lock.
 * ============================================================ */
.is-vcheck-modern.rdash-page.is-claim-app {
  height: calc(100vh - 64px) !important;
  max-height: calc(100vh - 64px) !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
}
.is-vcheck-modern .claim-app {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.is-vcheck-modern .claim-chat {
  flex: 1 1 0% !important;
  min-height: 0 !important;
}
.is-vcheck-modern .claim-chat-stream {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}
.is-vcheck-modern .claim-chat-inputbar {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}
.is-vcheck-modern .claim-chat-header {
  flex: 0 0 auto !important;
}

/* ============================================================= */
/* POLICY DETAIL V5 — Premium Design nach Cyrills Reference       */
/* ============================================================= */
.pd-page-v5 {
  padding: 12px 32px 48px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-feature-settings: "ss01";
}
/* Alte rdash-topbar verstecken auf Police-Detail V5 — pd-topbar-v5 ersetzt sie */
.rdash-main:has(.pd-page-v5) > .rdash-topbar { display: none; }

/* --- TOPBAR mit Zurück + Download --- */
.pd-topbar-v5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 12px;
}
.pd-topbar-left { display: flex; align-items: center; gap: 12px; }
.pd-back-v5 {
  display: inline-flex; align-items: center; gap: 6px;
  color: #6b7384;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 12px 6px 8px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.pd-back-v5:hover { background: #f3f4f8; color: #1a1f2e; }
.pd-back-v5 svg { width: 16px; height: 16px; }
.pd-topbar-divider { color: #c0c4cf; }
.pd-topbar-divider::before { content: ""; display: inline-block; width: 1px; height: 16px; background: #e8eaef; vertical-align: middle; }
.pd-topbar-current { font-size: 1rem; font-weight: 600; color: #1a1f2e; letter-spacing: -0.01em; }

/* --- HERO V5 --- Sidebar-Farbe (#1e2238) mit subtilen Gruen-Akzenten */
.pd-hero-v5 {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  /* Cyrill 2026-06-09: HELL statt dunkel — Einzelvertrag-Hero wie die Gruppen/Karten
     (alle hell). Subtiler Grün-Glow oben-links als Brand-Akzent. */
  background:
    radial-gradient(135% 120% at 0% 0%, rgba(126,217,87,0.10), transparent 55%),
    linear-gradient(145deg, #ffffff 0%, #f6f8fc 100%);
  border: 1px solid #ebedf2;
  padding: 36px 40px 28px;
  color: #1a1f2e;
  box-shadow: 0 1px 2px rgba(40,47,71,0.04), 0 18px 48px -28px rgba(40,47,71,0.16);
}

@keyframes v5Pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(255,184,48,0.25);} 50% { box-shadow: 0 0 0 7px rgba(255,184,48,0.08);} }

/* Timeline integriert im Hero */

/* --- 2-SPALTEN-GRID --- */

/* --- KARTEN V5 --- */

/* --- Stats-Liste mit Icons --- */

/* --- Banner unten in Karte --- */

/* --- Coverage V5 --- */

/* --- Upgrade-CTA --- */

/* --- UNTERLAGEN (volle Breite, Liste — spaeter mehrere Dokumente) --- */
.pd-docs-v5 {
  background: var(--white);
  border: 1px solid #ebedf2;
  border-radius: 24px;
  padding: 24px 30px 26px;
  box-shadow: 0 1px 2px rgba(40,47,71,0.04), 0 16px 40px -24px rgba(40,47,71,0.10);
}
.pd-docs-v5-header { margin-bottom: 14px; }
.pd-docs-v5-title { font-size: 1.05rem; font-weight: 600; color: #1a1f2e; letter-spacing: -0.015em; }
.pd-docs-v5-title .dot { color: var(--green-500, #7ed957); }
.pd-docs-v5-list { display: flex; flex-direction: column; gap: 10px; }
.pd-doc-v5 {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fafbfd;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  text-decoration: none;
  color: #1a1f2e;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1),
              border-color .35s cubic-bezier(.4, 0, .2, 1),
              box-shadow .35s cubic-bezier(.4, 0, .2, 1);
}
.pd-doc-v5:hover {
  border-color: var(--green-300, #a8e270);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(126, 217, 87, 0.15);
}
.pd-doc-v5-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--green-50, #f3fce9);
  color: var(--green-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-doc-v5-ico svg { width: 20px; height: 20px; stroke-width: 1.8; }
.pd-doc-v5-ico-muted { background: #f1f3f7; color: #94a3b8; }
.pd-doc-v5-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pd-doc-v5-name { font-size: 0.95rem; font-weight: 600; color: #1a1f2e; letter-spacing: -0.005em; }
.pd-doc-v5-meta { font-size: 0.8rem; color: #6b7384; letter-spacing: -0.005em; }
/* Der Kurzbeschrieb in der Unterlagen-Zeile (P7, 21.08.) — derselbe Satz, den auch die Karte
   auf der Startseite und die Karte im Chat zeigen. Er steht UNTER den Eckdaten, weil er ein
   Satz ist und in der punktgetrennten Meta-Zeile untergehen würde. Zwei Zeilen sind genug;
   der ganze Text steht im Dokument selbst, einen Klick entfernt. */
.pd-doc-v5-beschrieb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #55607a;
  letter-spacing: -0.005em;
}
.pd-doc-v5-action {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: #1a1f2e;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background .35s cubic-bezier(.4, 0, .2, 1),
              color .35s cubic-bezier(.4, 0, .2, 1),
              box-shadow .35s cubic-bezier(.4, 0, .2, 1);
  flex-shrink: 0;
}
.pd-doc-v5:hover .pd-doc-v5-action { background: #7ed957; color: #ffffff; box-shadow: 0 4px 12px rgba(126,217,87,0.35); }
.pd-doc-v5-action svg { stroke-width: 2; }
.pd-doc-v5-empty { cursor: default; }
.pd-doc-v5-empty:hover { background: #fafbfd; border-color: #eef0f5; transform: none; box-shadow: none; }

@media (max-width: 600px) {
  .pd-docs-v5 { padding: 20px 18px 22px; border-radius: 18px; }
  .pd-doc-v5 { flex-wrap: wrap; }
  .pd-doc-v5-action { width: 100%; justify-content: center; }
}

/* --- AKTIONEN --- */
.pd-actions-v5 {
  background: var(--white);
  border: 1px solid #ebedf2;
  border-radius: 24px;
  padding: 24px 30px 28px;
  box-shadow: 0 1px 2px rgba(40,47,71,0.04), 0 16px 40px -24px rgba(40,47,71,0.10);
}
.pd-actions-v5-grid {
  display: grid;
  /* auto-fit statt repeat(3,1fr) (21.08., P9): Die Kachel «Schaden melden» erscheint nur noch,
     wenn der Versicherer ein Schadenformular hinterlegt hat. Bei einem festen 3er-Raster stünden
     die verbleibenden zwei Kacheln dann auf zwei Dritteln der Breite mit einer leeren Zelle
     daneben. Mit auto-fit füllen 3 Kacheln weiterhin exakt drei Spalten (minmax-Untergrenze
     zwingt bei üblichen Breiten nicht auf zwei) und 2 Kacheln füllen die Reihe sauber aus. */
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.pd-action-v5 {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fafbfd;
  border: 1px solid #eef0f5;
  border-radius: 16px;
  text-decoration: none;
  color: #1a1f2e;
  transition: all .15s ease;
}
.pd-action-v5:hover {
  background: var(--white);
  border-color: #c6cdd9;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(40,47,71,0.18);
}
.pd-action-v5-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-action-v5-ico svg { width: 20px; height: 20px; stroke-width: 1.8; }
.pd-action-v5-ico-rose { background: #ffe5e5; color: #c54545; }
.pd-action-v5-ico-blue { background: #e2ebff; color: #3563ba; }
.pd-action-v5-ico-violet { background: #f0eafe; color: #6b4ed5; }
.pd-action-v5-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pd-action-v5-name { font-size: 0.95rem; font-weight: 600; color: #1a1f2e; letter-spacing: -0.01em; }
.pd-action-v5-sub { font-size: 0.8rem; color: #6b7384; letter-spacing: -0.005em; }
.pd-action-v5-arrow { color: #c0c4cf; font-size: 1.1rem; flex-shrink: 0; transition: transform .15s ease, color .15s ease; }
.pd-action-v5:hover .pd-action-v5-arrow { color: #1a1f2e; transform: translateX(4px); }
/* Primary-Variante (Police herunterladen) — dunkles Card, weisser Text,
   abgehoben durch Shadow + Hover-Lift */

/* --- FOOTER --- */

/* --- Responsive --- */
@media (max-width: 720px) {
  .pd-page-v5 { padding: 8px 16px 40px; gap: 16px; }
  .pd-hero-v5 { padding: 26px 22px 22px; border-radius: 20px; }
  .pd-actions-v5-grid { grid-template-columns: 1fr; }
  .pd-actions-v5 { padding: 20px 18px 22px; }
}

/* ============================================================= */
/* POLICY DETAIL V3 — Dashboard-Card-Stil (2026-05-22)            */
/* ============================================================= */

/* Hero-Banner V3 — Apple-Card-Stil: dunkel + premium
   WICHTIG: höhere Specificity (.rdash-shell .rdash-hero-banner.pd-hero-banner-v3)
   weil mandate.css 3757 .rdash-shell .rdash-hero-banner mit !important setzt. */

/* BENTO-GRID: 2 Spalten Desktop, stacked Mobile */

/* Aktionen-Card stacked-Variante (vertikal in der rechten Spalte) */

/* MEGA-CARD: Alles in einer durchgehenden Premium-Karte */

/* Header-Sektion */

/* Stats-Liste */

/* Timeline-Sektion */

/* Coverage-Sektion */

/* Aktionen-Sektion */

/* Responsive Mega-Card */

/* === Alte Master-Card-Styles bleiben für Backward-Compat === */

/* Status-Pill rechts neben Insurer */
@keyframes pdReviewPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(209,138,28,0.20); } 50% { box-shadow: 0 0 0 6px rgba(209,138,28,0.08); } }

/* Stats als simple Apple-Wallet-Liste (label-left, value-right) */

/* Inline-Timeline am Ende der Master-Card */

/* Coverage-Liste v3 */

/* Empty-State v3 */

/* Aktionen v3 — moderne Tiles mit dunklem Akzent */

/* AI-Strip Override fuer v3 */

/* Responsive */

/* ============================================================= */
/* POLICY DETAIL — Apple-Minimal v4 (2026-05-22) [DEPRECATED]     */
/* ============================================================= */
.rdash-breadcrumb-back { display:inline-flex; align-items:center; gap:6px; color:var(--grey-500); text-decoration:none; padding:6px 10px; border-radius:8px; transition:background .15s ease, color .15s ease; font-weight: 500; }
.rdash-breadcrumb-back:hover { background:var(--grey-100); color:var(--dark); }
.rdash-breadcrumb-back svg { width:18px; height:18px; }

/* Wärmerer Page-BG ohne Blau-Stich (statt #f8fafc) */

/* ─── HERO — clean, weiss, viel Negativraum ─────────────────── */

/* Pills — neutral weiss, Farbe nur im Icon/Dot. Kein "Tailwind"-Pattern mit
   getöntem BG + gleichfarbiger Schrift. */
/* Type-Pills — alle gleich weiss, nur Icon in Farbe */

/* ─── STATS-BAR ─────────────────────────────────────────────── */

/* ─── BODY: 2 Spalten ───────────────────────────────────────── */

/* Coverage-Liste */

/* Info-Liste (Vertrag) */

/* ─── AKTIONEN ──────────────────────────────────────────────── */

/* ─── TIMELINE-SEKTION ──────────────────────────────────────── */

@keyframes pdTlPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(126,217,87,.18), 0 4px 12px -2px rgba(126,217,87,.4); }
  50% { box-shadow: 0 0 0 8px rgba(126,217,87,.08), 0 4px 12px -2px rgba(126,217,87,.4); }
}

/* ─── Insurer-Logo Gradient-Ring ────────────────────────────── */

/* ─── Aktiv-Pill mit Pulse ──────────────────────────────────── */
@keyframes pdDotPulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ─── Premium-Card subtle Akzent ────────────────────────────── */

/* ─── Stat-Hover Akzente ────────────────────────────────────── */

/* ─── Hero subtle Akzent oben ───────────────────────────────── */

/* ─── Coverage-Items Hover ──────────────────────────────────── */

/* ─── Action-Primary subtle Glow ────────────────────────────── */

/* ─── AI-Strip ──────────────────────────────────────────────── */
@keyframes pdAiPulse {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1); }
}

/* ─── Responsive ────────────────────────────────────────────── */

/* ============================================================= */
/* BERATER-CARD im Dashboard (Phase 2.5)                          */
/* ============================================================= */
.rdash-advisor-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.rdash-advisor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-500, #7ed957);
}
.rdash-advisor-card-empty { background: var(--grey-50); border-style: dashed; }
.rdash-advisor-card-empty::before { background: var(--grey-300); }

.rdash-advisor-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-500, #7ed957);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  object-fit: cover;
}
.rdash-advisor-avatar-empty {
  background: var(--grey-200);
  color: var(--grey-500);
}
.rdash-advisor-info { flex: 1; min-width: 0; }
.rdash-advisor-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey-500);
  font-weight: 600;
  margin-bottom: 2px;
}
.rdash-advisor-label .dot { color: var(--green-500); }
.rdash-advisor-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}
.rdash-advisor-sub {
  font-size: .78rem;
  color: var(--grey-600);
  margin-top: 2px;
  line-height: 1.4;
  word-break: break-word;
}
.rdash-advisor-sub a {
  color: var(--green-500);
  text-decoration: none;
}
.rdash-advisor-sub a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .rdash-advisor-card { padding: 12px 14px; gap: 10px; }
  .rdash-advisor-avatar { width: 40px; height: 40px; font-size: .9rem; }
}

/* ============================================================
 * Vcheck Pro-Report (Gemini 2.5 Pro)
 * Wird angezeigt nach Vcheck-Abschluss mit AI-generierten Lücken,
 * Optimierungen und Renewals. User wählt aus was Vemo anpacken soll.
 * ============================================================ */

/* ============================================================
 * Pipeline-Kanban (verwendet von Schadens-Pipeline + Offerten-Pipeline)
 * grid-template-columns wird inline gesetzt (variable Spalten-Zahl).
 * ============================================================ */
.kanban-col-count {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--grey-600, #475569);
  padding: 2px 8px;
  min-width: 24px;
  text-align: center;
}

body.dark-mode .kanban-col-count { background: #0f172a; border-color: #334155; color: #cbd5e1; }

/* ============================================================
   FAKTOR-BALKEN (Hero-Dashboard, 2026-06-18)
   ============================================================ */
/* Desktop: Geld-zurück links + Faktor rechts auf GLEICHER Höhe (überschreibt
   liquid-glass.css grid-template-columns:1fr, das sonst den Faktor untendrunter stapelt).
   Spezifität 0,4,0 schlägt .rdash-shell .rdash-hero-banner.rdash-hero-banner-dark (0,3,0). */

/* Cyrill 2026-06-20 (Variante 5 Nr 1): KEIN Kasten mehr — zwei Spalten mit dünner
   senkrechter Trennlinie. Rechts NUR die grüne Zahl ×2.33, vertikal mittig. Kein Label. */
/* senkrechte Haarlinie zwischen "Geld zurück" und dem Faktor — volle Höhe */
/* "ca." Info-Icon neben dem CHF-Betrag */
@media (max-width: 640px) {
  /* Mobile-Layout der Variante 5 wird in liquid-glass.css erzwungen (lädt nach mobile-customer.css). */
}

/* ============================================================
   FAKTOR-INFO-MODAL (.rfi-*)
   ============================================================ */
/* Aufgeräumter Faktor-Popup */
/* VAG-Transparenz-Block (Art. 45b) */

/* ============================================================
   EMPFEHLUNGEN-SEITE (.rref-*)
   ============================================================ */
/* ============ EMPFEHLUNGEN — Vemo-Design (farbig, übersichtlich) ============ */
.rref-page { padding: 0; }
.rref-page-inner { display: flex; flex-direction: column; gap: 16px; padding: 0 0 44px; width: 100%; }
/* Akzent-Farben pro Block */

/* HERO */
/* Cyrill 18.06.: grüner Farb-Fleck/Glow entfernt (.rref-hero-glow raus) */
/* Link-Bar */
/* .rdash-shell-Präfix: schlägt mandate.css ".rdash-shell button { background:none }" (0,1,1) */

/* STEPS */

/* STATS */

/* LISTE */

/* EMPTY */

/* ════════════════════════════════════════════════════════════════════
   Empfehlungs-Seite v2 (Cyrill 2026-06-22) — Dashboard-Stil "Deine Verträge":
   dunkler Navy-Hero + "Link teilen" + "So funktioniert's" + moderne Liste.
   ════════════════════════════════════════════════════════════════════ */

/* Aktionen: Link teilen + Link-Zeile */

/* So funktioniert's */

/* Deine Empfehlungen — moderne Liste */

/* Empty */

/* Provisionen & Transparenz (Einstellungen → Auszahlung) */
.rdash-prov-card { background: var(--grey-50,#f8fafc); border: 1px solid var(--grey-100,#eef2f7); border-radius: 14px; padding: 16px 18px; }
.rdash-prov-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 0.86rem; color: var(--grey-600,#475569); padding: 6px 0; }
.rdash-prov-row b { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; color: var(--dark,#282f47); }
.rdash-prov-row.is-strong span { color: var(--green-500); font-weight: 600; }
.rdash-prov-row.is-strong b { color: var(--green-500); font-weight: 700; }
.rdash-prov-note { font-size: 0.74rem; color: var(--grey-500,#64748b); line-height: 1.5; margin: 10px 0 0; }
body.dark-mode .rdash-prov-card { background: #0f172a; border-color: #334155; }
body.dark-mode .rdash-prov-row b { color: #e2e8f0; }

/* GUT ZU WISSEN */

/* Dark mode */

/* ════════════════════════════════════════════════════════════════════
   Cyrill 2026-06-22 — Falsche Unterstreichungen weg.
   1) Dokument-Karten sind echte <a> (pd-doc-v5) → Link-Default-Unterstreichung killen.
   2) iOS verlinkt Texte wie "info.atw" automatisch (x-apple-data-detectors) und
      unterstreicht sie → neutralisieren (sieht aus wie normaler Text, kein Tap-Hijack).
   ════════════════════════════════════════════════════════════════════ */
.pd-doc-v5, .pd-doc-v5:hover, .pd-doc-v5:focus { text-decoration: none; }
a[x-apple-data-detectors],
a[x-apple-data-detectors] * {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}
.claim-list-item-title a[x-apple-data-detectors],
.claim-chat-header a[x-apple-data-detectors] { pointer-events: none !important; }

/* ════════════════════════════════════════════════════════════════════
   EMPFEHLUNGS-SEITE m4 "Soft Depth" (Cyrill 2026-06-22, aus 10 Varianten gewählt):
   Navy-Hero + frosted-Glass-Karten (geschichtete Schatten), EIN Grün-System,
   dezente Buttons, gekürzte Texte.
   ════════════════════════════════════════════════════════════════════ */
.m4-root {
  --green: #7ed957; --green-text: #7ed957; --green-hero: #8edc59;
  --ink: #282f47; --gray: #475569; --gray-soft: #64748b;
  --glass: rgba(255,255,255,0.62); --glass-border: rgba(255,255,255,0.6);
  width: 100%; box-sizing: border-box; color: var(--ink); -webkit-font-smoothing: antialiased;
  /* Cyrill 2026-06-22: Mesh-Hintergrund raus — er erzeugte einen sichtbaren Farb-Saum am Rand. */
}
.m4-root * { box-sizing: border-box; }
.m4-wrap { max-width: none; margin: 0; }
.m4-root .m4-dot { color: var(--green); }
.m4-root em { font-style: normal; font-weight: inherit; color: var(--green); }

.m4-foot { text-align: center; font-size: .74rem; color: var(--gray-soft); margin: 20px 0 2px; line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════════
   "So funktioniert's" — ultra-minimal (Cyrill 2026-06-22, von Hand gewählt):
   grosse freie Zahlen, jeder Schritt (Zahl + Inhalt) in feiner Umrandung, viel Luft.
   ════════════════════════════════════════════════════════════════════ */
/* Cyrill 2026-06-22: an "Deine Verträge" angeglichen — Titel 1rem wie Sektionstitel,
   Karten-Text in Dashboard-Grössen, Farbe #282f47, deutlich weniger Abstand. */
@keyframes rhowUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* === Empfehlungen Redesign — Status-Karte in Stufen-Farbe (Cyrill 2026-06-23) ============== */
.rdash-shell .ref2-eyebrow{font-size:.66rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#94a3b8;margin:24px 4px 12px;}
.rdash-shell .ref2-eyebrow-row{display:flex;align-items:baseline;justify-content:space-between;}
.rdash-shell .ref2-eyebrow-total{letter-spacing:.01em;text-transform:none;font-size:.82rem;font-weight:700;color:#7ed957;}
.rdash-shell .ref2-list{padding:6px;background:linear-gradient(135deg,rgba(255,255,255,.7),rgba(255,255,255,.6) 50%,rgba(255,255,255,.66));backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);border:1px solid rgba(255,255,255,.55);border-radius:20px;box-shadow:0 1px 0 rgba(255,255,255,.75) inset,0 4px 16px -2px rgba(15,23,42,.04);}
.rdash-shell .ref2-row{display:flex;align-items:center;gap:12px;padding:11px 10px;}
.rdash-shell .ref2-row + .ref2-row{border-top:1px solid rgba(15,23,42,.05);}
.rdash-shell .ref2-av{width:40px;height:40px;border-radius:50%;flex-shrink:0;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:#fff;background:#5a6b8c;box-shadow:0 4px 10px -4px rgba(20,30,60,.3);}
.rdash-shell .ref2-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.rdash-shell .ref2-row-mid{flex:1 1 auto;min-width:0;}
.rdash-shell .ref2-name{font-size:.92rem;font-weight:600;color:#282f47;letter-spacing:-.01em;}
.rdash-shell .ref2-rstatus{font-size:.74rem;color:#64748b;font-weight:500;margin-top:2px;}
.rdash-shell .ref2-bonus{flex-shrink:0;text-align:right;}
.rdash-shell .ref2-bonus-amt{font-size:.92rem;font-weight:700;color:#7ed957;letter-spacing:-.01em;line-height:1.2;}
.rdash-shell .ref2-bonus-amt small{display:block;font-size:.64rem;font-weight:600;color:#64748b;}
.rdash-shell .ref2-bonus-amt + .ref2-bonus-amt{margin-top:7px;} /* je Versicherungsjahr ein Block (Prämien je Jahr, W140) */
.rdash-shell .ref2-bonus-pct{font-size:.8rem;color:#94a3b8;font-weight:600;}
.rdash-shell .ref2-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 22px;gap:6px;}
.rdash-shell .ref2-empty-ico{width:44px;height:44px;color:#94a3b8;}
.rdash-shell .ref2-empty-ico svg{width:100%;height:100%;}
.rdash-shell .ref2-empty-t{font-size:.95rem;font-weight:600;color:#282f47;}
.rdash-shell .ref2-empty-s{font-size:.8rem;color:#64748b;max-width:30ch;line-height:1.5;}

/* GELOESCHT (20.09.2026): die Regeln fuer „VERA ARBEITET" — Partikel-Schwarm und Statuszeile
   (.claim-chat-msg.vera-arbeitet, .vera-arbeitet-schwarm, .vera-arbeitet-zeile, der Auslauf und
   die Sweep-Animation). Das Element gibt es nicht mehr: der Status lebt seit heute IN der einen
   Vera-Blase (.vsup-zug in mandate.css) und endet mit dem Zug. Es war das zweite Element neben
   der Blase, das Cyrill am 16.09. beanstandet hat. */
