/* ═══════════════════════════════════════════════════════════════════
   TMB INVEST – MAIN STYLESHEET v1.0
   Design system inspired by Solvior theme
   Dark navy + Electric blue + Professional
═══════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
  /* Colors */
  --c-navy-900: #030810;
  --c-navy-800: #060D1A;
  --c-navy-700: #0a1628;
  --c-navy-600: #0D1F35;
  --c-navy-500: #122640;
  --c-navy-400: #1a3355;
  --c-blue-600: #1245C8;
  --c-blue-500: #1E6BE6;
  --c-blue-400: #3B82F6;
  --c-blue-300: #60A5FA;
  --c-blue-glow: rgba(30, 107, 230, 0.18);
  --c-green: #10B981;
  --c-red: #EF4444;
  --c-amber: #F59E0B;
  /* Semantic aliases */
  --c-danger: var(--c-red);
  --c-success: var(--c-green);
  --c-warning: var(--c-amber);
  --c-white: #FFFFFF;
  --c-gray-50: #F8FAFC;
  --c-gray-100: #F0F4F8;
  --c-gray-200: #E2E8F0;
  --c-gray-300: #CBD5E1;
  --c-gray-400: #94A3B8;
  --c-gray-500: #64748B;
  --c-gray-600: #475569;
  --c-gray-900: #0F172A;

  /* Typography */
  --font-display: 'Unbounded', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;

  /* Borders */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-full: 0;
  --border-subtle: 1px solid rgba(255,255,255,.06);
  --border-subtle-dark: 1px solid rgba(0,0,0,.08);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --shadow-blue: 0 8px 32px rgba(30, 107, 230, 0.25);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
  --t-spring: cubic-bezier(.34,1.56,.64,1);

  /* Container */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 5vw, 2.5rem);
}

/* ── Reset & Base ──────────────────────────────────────────────── */
/* ── Hero Layout ───────────────────────────────────────────────── */
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
  padding-top: 115px;
  padding-bottom: var(--s-20);
  min-height: 100vh;
}

.hero-content {
  min-width: 320px;
  text-align: left;
}

.hero-subtitle { max-width: 520px; }
.hero-actions  { justify-content: flex-start; }


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Genau Header-Höhe (115px) — Section klebt unter dem opaken Header,
     kein Gap drüber, kein Streifen vom vorherigen Content sichtbar.
     Wert wird vom JS in initSmoothScroll() ausgelesen. */
  scroll-padding-top: 115px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* WP-Admin-Bar verschiebt Header um deren Höhe (Desktop 32 / Mobile 46) */
body.admin-bar { scroll-padding-top: 147px; }
@media screen and (max-width: 782px) {
  body.admin-bar { scroll-padding-top: 161px; }
}

/* Sicherheitsnetz: Sections mit ID bekommen scroll-margin als Fallback */
section[id],
.section[id] {
  scroll-margin-top: 115px;
}
body.admin-bar section[id],
body.admin-bar .section[id] {
  scroll-margin-top: 147px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-gray-900);
  background: var(--c-white);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
strong { font-weight: 600; }

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--dark {
  background: var(--c-navy-700);
  color: var(--c-white);
}

.section--gray {
  background: var(--c-gray-50);
}

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-blue-500);
  margin-bottom: var(--s-3);
  display: block;
}

.eyebrow--light { color: var(--c-blue-300); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--s-5);
}

.section-title em {
  font-style: italic;
  color: var(--c-blue-500);
}

.section-title--light { color: var(--c-white); }

.section-sub, .section-text {
  font-size: 1.05rem;
  color: var(--c-gray-500);
  max-width: 560px;
  line-height: 1.7;
}

.section--dark .section-sub,
.section--dark .section-text { color: var(--c-gray-400); }

.section-header { margin-bottom: var(--s-12); }

.section-header--center {
  text-align: center;
}
.section-header--center .section-title,
.section-header--center .section-sub,
.section-header--center .eyebrow { margin-left: auto; margin-right: auto; }

.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;      /* zentriert Text+Icon, wichtig für einzeilige Labels */
  gap: var(--s-2);
  padding: .65rem 1.5rem;       /* Default-Padding (entspricht btn--md); ohne dies haben
                                   Buttons ohne Size-Modifier keinen Innenabstand und
                                   sehen aus wie nackte Text-Links */
  line-height: 1.2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  border-radius: var(--radius-full);
  transition: all var(--t-base);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-blue-500);
  color: var(--c-white);
  border-color: var(--c-blue-500);
  box-shadow: 0 4px 16px rgba(30,107,230,.3);
}

.btn--primary:hover {
  background: var(--c-blue-600);
  border-color: var(--c-blue-600);
  box-shadow: 0 6px 24px rgba(30,107,230,.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--c-blue-500);
  border-color: var(--c-blue-500);
}

.btn--outline:hover {
  background: var(--c-blue-500);
  color: var(--c-white);
  box-shadow: var(--shadow-blue);
}

.btn--ghost {
  background: rgba(255,255,255,.06);
  color: var(--c-white);
  border-color: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
}

.btn--ghost-light {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.25);
}

.btn--ghost-light:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-navy-700);
  border-color: var(--c-white);
}

.btn--white:hover {
  background: var(--c-gray-100);
  transform: translateY(-1px);
}

.btn--sm  { padding: .45rem 1.1rem; font-size: .82rem; }
.btn--md  { padding: .65rem 1.5rem; }
.btn--lg  { padding: .85rem 2rem; font-size: .95rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Announcement Bar ──────────────────────────────────────────── */
.ann-bar { display: none !important; }
.ann-bar-x {
  background: linear-gradient(90deg, #0D1F35 0%, #0a1628 50%, #0D1F35 100%);
  border-bottom: 1px solid rgba(30,107,230,.18);
  padding: .55rem var(--container-pad);
  position: relative;
  z-index: 1001;
  transition: height .3s ease, opacity .3s ease, padding .3s ease;
  overflow: hidden;
}

.ann-bar.is-hidden {
  height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.ann-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ann-bar-content {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
}

.ann-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.ann-text strong { color: var(--c-white); font-weight: 700; }

.ann-link {
  color: var(--c-blue-300);
  font-weight: 600;
  margin-left: .375rem;
  transition: color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.ann-link:hover { color: var(--c-white); }

.ann-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(255,255,255,.4);
  border-radius: 0;
  transition: color var(--t-fast), background var(--t-fast);
  flex-shrink: 0;
  cursor: pointer;
}
.ann-close:hover { color: var(--c-white); background: rgba(255,255,255,.08); }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  --admin-bar-offset: 0px;
  position: sticky;
  top: var(--admin-bar-offset);
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(6, 13, 26, .75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.055);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}

/* Admin-Bar Offset für Header */
body.admin-bar .site-header {
  --admin-bar-offset: 46px;
}

@media screen and (min-width: 783px) {
  body.admin-bar .site-header {
    --admin-bar-offset: 32px;
  }
}

.site-header.is-scrolled {
  /* Voll opak — verhindert dass heller Content (z.B. White-Bg-Sections)
     durch den Header durchscheint, was sonst als heller Streifen oben sichtbar wäre */
  background: #060D1A;
  border-color: rgba(30,107,230,.12);
  box-shadow: 0 1px 0 rgba(30,107,230,.06), 0 8px 32px rgba(0,0,0,.35);
}

/* Glow line */
.header-glow-line {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(30,107,230,.0) 15%,
    rgba(30,107,230,.45) 50%,
    rgba(30,107,230,.0) 85%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .4s ease;
}

.site-header.is-scrolled .header-glow-line { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  height: 115px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo-img {
  display: block !important;
  height: 65px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  transition: filter .25s ease, transform .25s ease;
}

.site-logo:hover .site-logo-img {
  filter: brightness(1.1) drop-shadow(0 0 12px rgba(30,107,230,.4));
  transform: translateY(-1px);
}

.footer-logo .site-logo-img {
  height: 40px;
  opacity: .9;
  transition: opacity var(--t-fast);
}
.footer-logo:hover .site-logo-img { opacity: 1; }

/* ── Primary Nav ───────────────────────────────────────────────── */
.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  position: relative;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  border-radius: var(--radius-full);
  transition: color .2s ease, background .2s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover { color: var(--c-white); }

.nav-item.is-active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--c-blue-400);
  border-radius: 0;
}

.nav-item.is-active .nav-link {
  color: var(--c-white);
}

/* Nav chevron */
.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
  opacity: .5;
  flex-shrink: 0;
}
.nav-item.has-dropdown:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* Nav indicator hidden */
.nav-indicator { display: none; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: rgba(10, 22, 40, .98);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(30,107,230,.08);
  backdrop-filter: blur(20px);
  z-index: 10;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown arrow */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: rgba(10, 22, 40, .98);
  border-top: 1px solid rgba(255,255,255,.07);
  border-left: 1px solid rgba(255,255,255,.07);
  transform: translateX(-50%) rotate(45deg);
  top: -7px;
}

.nav-dropdown .nav-link {
  border-radius: var(--radius-md);
  padding: .625rem .875rem;
  font-size: .85rem;
  gap: .625rem;
  color: rgba(255,255,255,.6);
}

.nav-dropdown .nav-link:hover {
  background: rgba(30,107,230,.1);
  color: var(--c-white);
}

/* ── Header Actions ────────────────────────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  transition: opacity .2s;
}
.header-phone:hover { opacity: 1; }

.header-phone-icon {
  width: 30px;
  height: 30px;
  background: rgba(30,107,230,.12);
  border: 1px solid rgba(30,107,230,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-400);
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.header-phone:hover .header-phone-icon {
  background: rgba(30,107,230,.22);
  border-color: rgba(30,107,230,.4);
}

.header-phone-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: color .2s;
  letter-spacing: .01em;
}
.header-phone:hover .header-phone-text { color: var(--c-white); }

.header-divider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* CTA Button */
.btn-header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.375rem;
  border-radius: var(--radius-full);
  font-family: 'Unbounded', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  color: var(--c-white);
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s var(--t-spring), box-shadow .25s ease;
  letter-spacing: .02em;
  white-space: nowrap;
}

.btn-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1E6BE6 0%, #1245C8 60%, #0d3a8a 100%);
  border-radius: inherit;
  transition: opacity .25s ease;
  z-index: 0;
}

.btn-header-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3B82F6 0%, #1E6BE6 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,107,230,.45), 0 2px 8px rgba(30,107,230,.3);
}

.btn-header-cta:hover::after { opacity: 1; }
.btn-header-cta:active { transform: translateY(0); }

.btn-cta-label,
.btn-cta-arrow {
  position: relative;
  z-index: 2;
}

.btn-cta-arrow {
  transition: transform .2s ease;
}
.btn-header-cta:hover .btn-cta-arrow { transform: translateX(3px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  gap: 0;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  position: relative;
}

.hamburger:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.15);
}

.ham-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--c-white);
  border-radius: 0;
  position: absolute;
  transition: transform .3s cubic-bezier(.23,1,.32,1), opacity .2s ease, top .3s cubic-bezier(.23,1,.32,1);
}

.ham-bar--top { top: 14px; }
.ham-bar--mid { top: 20px; }
.ham-bar--bot { top: 26px; }

.hamburger.is-open .ham-bar--top { transform: rotate(45deg);  top: 20px; }
.hamburger.is-open .ham-bar--mid { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .ham-bar--bot { transform: rotate(-45deg); top: 20px; }

/* ── Mobile Nav ────────────────────────────────────────────────── */
.mobile-nav {
  --admin-bar-offset: 0px;
  position: fixed;
  top: var(--admin-bar-offset);
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  z-index: 9500;
  background: var(--c-navy-800);
  border-left: 1px solid rgba(255,255,255,.06);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.23,1,.32,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Admin-Bar Offset */
body.admin-bar .mobile-nav {
  --admin-bar-offset: 46px;
}

@media screen and (min-width: 783px) {
  body.admin-bar .mobile-nav {
    --admin-bar-offset: 32px;
  }
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--container-pad);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  transition: all .2s;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.07);
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.mobile-nav-close svg, .mobile-nav-close svg * { pointer-events: none; }
.mobile-nav-close:hover, .mobile-nav-close:focus { color: var(--c-white); background: rgba(255,255,255,.1); outline: none; }

.mobile-nav-body { flex: 1; padding: 1rem 0; }

.mobile-nav-list { padding: 0 1rem; }

.mobile-nav-list > li {
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem .75rem;
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color .2s, background .2s, padding-left .2s;
}

.mobile-nav-list > li > a:hover {
  color: var(--c-white);
  background: rgba(255,255,255,.04);
  padding-left: 1.25rem;
}

.mobile-nav-list .sub-menu {
  padding: .25rem .75rem .75rem 1.25rem;
}

.mobile-nav-list .sub-menu a {
  display: block;
  padding: .5rem .75rem;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .2s;
}
.mobile-nav-list .sub-menu a:hover { color: var(--c-blue-300); }

.mobile-nav-footer {
  padding: 1.5rem var(--container-pad);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex-shrink: 0;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: 'Unbounded', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
  background: var(--c-blue-500);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(30,107,230,.3);
  letter-spacing: .02em;
}

.mobile-cta-btn:hover {
  background: var(--c-blue-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,107,230,.4);
}

.mobile-cta-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: none;
}
.mobile-cta-btn--ghost:hover {
  background: rgba(255,255,255,.05);
  color: var(--c-white);
  border-color: rgba(255,255,255,.3);
  transform: none;
  box-shadow: none;
}

.mobile-contact-row {
  display: flex;
  justify-content: center;
  padding-top: .25rem;
}

.mobile-contact-row a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .2s;
}
.mobile-contact-row a:hover { color: rgba(255,255,255,.65); }

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9400;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayIn .35s ease forwards;
}

.mobile-overlay.is-visible { display: block; }

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-navy-800);
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 880px) {
  .hero {
    align-items: flex-start;
    padding-top: 140px;
    padding-bottom: 140px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,107,230,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,107,230,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,107,230,.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,.1) 0%, transparent 70%);
  bottom: 0;
  left: 20%;
  animation: glowPulse 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}



.hero-content {
  max-width: 680px;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: rgba(30,107,230,.12);
  border: 1px solid rgba(30,107,230,.25);
  color: var(--c-blue-300);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--s-5);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue-400);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--c-white);
  line-height: 1.1;
  letter-spacing: -.04em;
  margin-bottom: var(--s-5);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--c-gray-400);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: var(--s-8);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: var(--s-4);
  flex-wrap: nowrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-chart-card {
  background: rgba(255,255,255,.04);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(30,107,230,.08);
}

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-4);
}

.chart-info { display: flex; flex-direction: column; gap: 2px; }

.chart-label {
  font-size: .78rem;
  color: var(--c-gray-400);
  font-weight: 500;
}

.chart-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.positive { color: var(--c-green); }
.negative { color: var(--c-red); }

.chart-period-tabs {
  display: flex;
  gap: var(--s-1);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.period-tab {
  padding: var(--s-1) var(--s-3);
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-gray-400);
  border-radius: 0;
  transition: all var(--t-fast);
}

.period-tab.is-active {
  background: var(--c-blue-500);
  color: var(--c-white);
}

.chart-area { margin-bottom: var(--s-4); }

.perf-chart { width: 100%; height: 100px; }

.chart-fill { transition: d .5s ease; }

.chart-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  border-top: var(--border-subtle);
  padding-top: var(--s-4);
}

.chart-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-n {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
}

.stat-l {
  font-size: .7rem;
  color: var(--c-gray-500);
  text-align: center;
}

/* Hero Floating Badges */
.hero-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: rgba(255,255,255,.06);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--s-3) var(--s-4);
  backdrop-filter: blur(12px);
  animation: floatUp 4s ease-in-out infinite;
}

.hero-badge-float--award {
  bottom: -40px;
  left: -30px;
  animation-delay: 0s;
}

.hero-badge-float--traders {
  top: -40px;
  right: -20px;
  animation-delay: 2s;
}

.hero-badge-float div {
  display: flex;
  flex-direction: column;
}

.hero-badge-float strong {
  font-family: var(--font-display);
  font-size: .85rem;
  color: var(--c-white);
}

.hero-badge-float span {
  font-size: .72rem;
  color: var(--c-gray-400);
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue-400);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: .3; }
}

/* ── Animations ────────────────────────────────────────────────── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .6s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════
   HERO-SLIDER (Banner)
   ─── Crossfade-Slider als Wrapper um den bestehenden .hero-Canvas.
   ─── Slide 1: Standard-Hero ("Wir lesen die Sterne …")
   ─── Slide 2: Danke / 20K Downloads — DANKE20
   ── Inkl. Pfeile, Dots, Touch, Autoplay, prefers-reduced-motion.
   ══════════════════════════════════════════════════════════════════ */

.hero-slider { position: relative; }

/* Viewport stapelt alle Slides absolut in der Hero-Fläche */
.hero-slider__viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Slide deckt das gesamte Hero ab; nur einer ist sichtbar */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility 0s linear .55s;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 2;
}

@media (max-width: 880px) {
  .hero-slide {
    align-items: flex-start;
    padding-top: 140px;
    padding-bottom: 140px;
  }
}

/* Content-Animation läuft, sobald der Slide aktiv wird */
.hero-slide__anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--delay, 0s);
}
.hero-slide.is-active .hero-slide__anim {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll-Indikator nur auf erstem Slide */
.hero-slider .hero-scroll {
  opacity: 0;
  transition: opacity .4s ease .2s;
  pointer-events: none;
  z-index: 5;
}
.hero-slider[data-current="0"] .hero-scroll { opacity: 1; }

/* ── Pitch-Layout (Slides 2-5: Eyebrow, Title, Lead, Bullets, Meta, Actions) ── */
.hero-pitch { max-width: 720px; }

.hero-pitch__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: var(--s-5);
}
.hero-pitch__eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: rgba(30,107,230,.16);
  border: 1px solid rgba(30,107,230,.35);
  color: var(--c-blue-300);
}

.hero-pitch__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--c-white);
  margin-bottom: var(--s-5);
}
.hero-pitch__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--c-blue-400);
}

.hero-pitch__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-gray-400);
  max-width: 580px;
  margin-bottom: var(--s-5);
}
.hero-pitch__lead strong { color: #fff; font-weight: 600; }

.hero-pitch__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-8);
  display: grid;
  gap: .55rem;
  max-width: 580px;
}
.hero-pitch__bullets li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.hero-pitch__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(16, 185, 129, .35);
  color: #34d399;
  font-size: .78rem;
  font-weight: 700;
  margin-top: 1px;
}

.hero-pitch__meta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--s-8);
}
.hero-pitch__meta svg { color: rgba(255,255,255,.45); flex-shrink: 0; }
.hero-pitch__meta strong { color: rgba(255,255,255,.85); font-weight: 600; }

.hero-pitch__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5);
  row-gap: var(--s-4);
}
.hero-pitch__hint {
  flex-basis: 100%;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-top: -.25rem;
}

/* ── Pro-Slide Hintergrundbild (Layer unter Accent + Content) ───── */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-slide__bg-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,11,22,.92) 0%, rgba(5,11,22,.55) 45%, rgba(5,11,22,.25) 100%),
    linear-gradient(180deg, rgba(5,11,22,.4) 0%, transparent 30%, rgba(5,11,22,.4) 100%);
  z-index: 1;
}
.hero-slide__accent { z-index: 2; }
.hero-slide .container { position: relative; z-index: 3; }

/* ── Per-Slide Accent-Glows (Hintergrund-Tönung pro Slide) ───────── */
.hero-slide__accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Slide 2: Noélee — Purple+Blau (KI) */
.hero-slide--noelee .hero-slide__accent {
  background:
    radial-gradient(ellipse 55% 50% at 80% 35%, rgba(168, 85, 247, .22), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 75%, rgba(30, 107, 230, .18), transparent 60%);
}
.hero-slide--noelee .hero-pitch__eyebrow {
  color: #C4B5FD;
}
.hero-slide--noelee .hero-pitch__eyebrow-icon {
  background: rgba(168, 85, 247, .16);
  border-color: rgba(168, 85, 247, .4);
  color: #C4B5FD;
}
.hero-slide--noelee .hero-pitch__title em {
  color: #A78BFA;
}

/* Slide 3: stelaraX — Cyan+Emerald (Chart-Analyse) */
.hero-slide--stelarax .hero-slide__accent {
  background:
    radial-gradient(ellipse 55% 50% at 80% 50%, rgba(34, 211, 238, .22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 25% 30%, rgba(16, 185, 129, .16), transparent 60%);
}
.hero-slide--stelarax .hero-pitch__eyebrow {
  color: #67E8F9;
}
.hero-slide--stelarax .hero-pitch__eyebrow-icon {
  background: rgba(34, 211, 238, .14);
  border-color: rgba(34, 211, 238, .4);
  color: #67E8F9;
}
.hero-slide--stelarax .hero-pitch__title em {
  color: #22D3EE;
}

/* Slide 4: PineRelay — Cyan+Blau (Automation) */
.hero-slide--pinerelay .hero-slide__accent {
  background:
    radial-gradient(ellipse 55% 50% at 75% 45%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(ellipse 45% 45% at 25% 70%, rgba(30, 107, 230, .18), transparent 60%);
}
.hero-slide--pinerelay .hero-pitch__eyebrow {
  color: #7DD3FC;
}
.hero-slide--pinerelay .hero-pitch__eyebrow-icon {
  background: rgba(56, 189, 248, .14);
  border-color: rgba(56, 189, 248, .38);
  color: #7DD3FC;
}
.hero-slide--pinerelay .hero-pitch__title em {
  color: #38BDF8;
}

/* Slide 5: Danke / 20K — Blau-betont (TMB-Brand) */
.hero-slide--thanks .hero-slide__accent {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(30,107,230,.22), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(96,165,250,.14), transparent 60%);
}
.hero-slide--thanks .hero-pitch__eyebrow {
  color: var(--c-blue-300);
}
.hero-slide--thanks .hero-pitch__title em {
  color: var(--c-blue-400);
}

/* ── Coupon-Ticket ──────────────────────────────────────────────── */
.hero-thanks__ticket {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: .55rem .9rem .65rem;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(96,165,250,.55);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-thanks__ticket:hover {
  background: rgba(30,107,230,.12);
  border-color: rgba(96,165,250,.85);
  transform: translateY(-1px);
}
.hero-thanks__ticket:active { transform: translateY(0); }
.hero-thanks__ticket:focus-visible {
  outline: 2px solid var(--c-blue-400);
  outline-offset: 3px;
}

.hero-thanks__ticket-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-blue-300);
}
.hero-thanks__ticket-code {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Unbounded', 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.hero-thanks__ticket-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
}
.hero-thanks__icon-check { display: none; }

.hero-thanks__ticket.is-copied .hero-thanks__icon-copy  { display: none; }
.hero-thanks__ticket.is-copied .hero-thanks__icon-check { display: inline-flex; color: #34d399; }

.hero-thanks__ticket-hint {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .03em;
}
.hero-thanks__ticket.is-copied .hero-thanks__ticket-hint { color: #34d399; }

/* ── Pfeil-Buttons ──────────────────────────────────────────────── */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,13,26,.55);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-slider__arrow:hover {
  background: rgba(30,107,230,.55);
  border-color: rgba(96,165,250,.8);
}
.hero-slider__arrow:focus-visible {
  outline: 2px solid var(--c-blue-400);
  outline-offset: 3px;
}
.hero-slider__arrow--prev { left: max(1.25rem, calc((100% - 1280px) / 2 - 60px)); }
.hero-slider__arrow--next { right: max(1.25rem, calc((100% - 1280px) / 2 - 60px)); }

@media (max-width: 880px) {
  .hero-slider__arrow {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 90px;
    transform: none;
  }
  .hero-slider__arrow--prev { left: 1rem; }
  .hero-slider__arrow--next { right: 1rem; }
}

/* ── Dots ───────────────────────────────────────────────────────── */
.hero-slider__dots {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  gap: .6rem;
  padding: .45rem .7rem;
  background: rgba(6,13,26,.45);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255,255,255,.28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.hero-slider__dot:hover { background: rgba(255,255,255,.55); }
.hero-slider__dot.is-active {
  width: 24px;
  background: var(--c-blue-400);
  border-radius: 999px;
}
.hero-slider__dot:focus-visible {
  outline: 2px solid var(--c-blue-400);
  outline-offset: 3px;
}

@media (max-width: 880px) {
  .hero-slider__dots { bottom: 1.5rem; }
}

/* Reduced motion: kein Crossfade-Delay, keine Content-Animation */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide__anim,
  .hero-slider__arrow,
  .hero-slider__dot { transition: none !important; }
  .hero-slide__anim { opacity: 1; transform: none; }
}

/* ── Mobile-Fix: Hero-Slider auf kleinen Screens ──────────────────
   Bestehende mobile overflow-fixes setzen .hero auf min-height:auto/
   display:block (mit !important). Da unsere Slides standardmäßig
   position:absolute sind, kollabiert die Section dann auf 0px.
   Lösung: Slides werden relative-positioniert und per display:none/flex
   umgeschaltet. Der aktive Slide pusht die Section auf seine echte
   Inhaltshöhe. Crossfade entfällt auf Mobile — dafür ist alles
   sichtbar und lesbar.
   Layout-Philosophie auf Mobile: alles vertikal+horizontal zentriert,
   BG-Image bleibt sichtbar mit moderatem Dunkel-Overlay für Kontrast.
   Specificity .hero.hero-slider + !important schlägt die globalen
   mobile-overrides mit `.hero { ... !important }`. */
@media (max-width: 900px) {
  .hero.hero-slider {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: auto !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    background: var(--c-navy-800);
  }
  /* BG-Image BLEIBT sichtbar auf Mobile — moderater Dunkel-Overlay gewährleistet Text-Kontrast */
  .hero.hero-slider .hero-bg,
  .hero.hero-slider .hero-bg-image,
  .hero.hero-slider .hero-bg-fade,
  .hero.hero-slider .hero-slide__bg,
  .hero.hero-slider .hero-slide__bg-fade,
  .hero.hero-slider .hero-glow {
    display: block !important;
  }
  .hero.hero-slider .hero-bg-image,
  .hero.hero-slider .hero-slide__bg {
    background-position: center center !important;
    background-size: cover !important;
  }
  /* Auf Mobile vertikaler Gradient (statt L→R wie auf Desktop) — dunkler oben/unten,
     im Mittelbereich zeigt sich das Bild für Atmosphäre */
  .hero.hero-slider .hero-bg-fade,
  .hero.hero-slider .hero-slide__bg-fade {
    background: linear-gradient(180deg,
      rgba(5,11,22,.78) 0%,
      rgba(5,11,22,.65) 35%,
      rgba(5,11,22,.78) 70%,
      rgba(5,11,22,.92) 100%) !important;
  }
  .hero.hero-slider .hero-glow {
    opacity: .35;
  }
  .hero.hero-slider .hero-slide__accent {
    opacity: .8;
  }
  /* Slider-Viewport: relative statt absolute */
  .hero.hero-slider .hero-slider__viewport {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    z-index: 2;
  }
  /* Slides: relative + flex active, vertikal zentriert */
  .hero.hero-slider .hero-slide {
    position: relative !important;
    inset: auto !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 110px 1.5rem 130px !important;
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
  }
  .hero.hero-slider .hero-slide.is-active {
    display: flex !important;
  }
  .hero.hero-slider .hero-slide .container,
  .hero.hero-slider .hero-container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: auto !important;
  }
  /* CONTENT VOLL ZENTRIERT (horizontal + vertikal) */
  .hero-slider .hero-content,
  .hero-slider .hero-pitch {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Bullets: Block zentriert (margin auto + fit-content), Items innen left-aligned für Lesbarkeit */
  .hero-slider .hero-pitch__bullets {
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important;
    max-width: 100% !important;
    text-align: left !important;
  }
  /* Meta-Zeile (Datum Slide 5) zentriert */
  .hero-slider .hero-pitch__meta {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Actions: vertikal gestapelt, alles zentriert */
  .hero-slider .hero-actions,
  .hero-slider .hero-pitch__actions {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--s-4) !important;
  }
  /* Coupon-Ticket auch zentriert */
  .hero-slider .hero-thanks__ticket {
    align-self: center !important;
  }
  /* Animationen auf Mobile sofort sichtbar (kein Stagger-Fade) */
  .hero-slider .hero-slide__anim {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Buttons in Slider NICHT auf Full-Width strecken — schlägt theme-globale
     `.btn { width: 100% !important }` Mobile-Regeln dank höherer Specificity. */
  .hero.hero-slider .btn,
  .hero.hero-slider .btn--lg,
  .hero.hero-slider .hero-pitch__actions .btn,
  .hero.hero-slider .hero-actions .btn {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-self: center !important;
  }
  /* Title-Größen — kompakt für Mobile */
  .hero-slider .hero-title,
  .hero-slider .hero-pitch__title {
    font-size: clamp(1.7rem, 6vw, 2.1rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -.02em !important;
  }
  .hero-slider .hero-subtitle,
  .hero-slider .hero-pitch__lead {
    font-size: .95rem !important;
    line-height: 1.6 !important;
  }
  /* Bullets etwas kleiner */
  .hero-slider .hero-pitch__bullets li {
    font-size: .88rem;
  }
  /* Eyebrow knapper */
  .hero-slider .hero-pitch__eyebrow {
    font-size: .68rem !important;
    letter-spacing: .12em !important;
  }
  /* Pfeile über den Dots, klein & dezent */
  .hero-slider .hero-slider__arrow {
    top: auto !important;
    bottom: 78px !important;
    transform: none !important;
    width: 38px !important;
    height: 38px !important;
  }
  /* Dots mit mehr Abstand zum unteren Rand (iOS Safari Bottom-Bar) */
  .hero-slider .hero-slider__dots {
    bottom: 2rem !important;
  }
  /* Hint sitzt direkt unter dem Button */
  .hero-slider .hero-pitch__hint {
    margin-top: 0 !important;
    flex-basis: auto !important;
  }
}

/* ── Trust Bar – Auto-Scrolling Marquee ────────────────────────── */
.trust-bar {
  background: var(--c-navy-600);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  padding: .875rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.trust-bar-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray-600);
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: var(--container-pad);
}

.trust-track-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.trust-track:hover {
  animation-play-state: paused;
}

.trust-logo {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-gray-500);
  white-space: nowrap;
  letter-spacing: .04em;
  transition: color .2s ease;
  cursor: default;
  flex-shrink: 0;
}

.trust-logo:hover { color: var(--c-gray-300); }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ── About ─────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--s-12) var(--s-16);
  align-items: start;
}

.about-media { grid-row: 1 / 2; }
.about-content { grid-row: 1 / 2; }
.about-stats {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about-img-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-img-placeholder {
  background: var(--c-gray-100);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge-exp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--c-blue-500);
  color: var(--c-white);
  border-radius: var(--radius-md);
  padding: var(--s-4) var(--s-5);
  text-align: center;
  box-shadow: var(--shadow-blue);
}

.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: .75rem;
  font-weight: 500;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.about-text {
  color: var(--c-gray-500);
  line-height: 1.75;
  margin-bottom: var(--s-6);
  font-size: 1.02rem;
}

.about-checklist {
  margin-bottom: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: .95rem;
  font-weight: 500;
  color: var(--c-gray-700);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.stat-card {
  background: var(--c-gray-50);
  border: var(--border-subtle-dark);
  border-radius: var(--radius-md);
  padding: var(--s-5) var(--s-6);
  text-align: center;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-blue-500);
  line-height: 1;
}

.stat-card-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-blue-400);
}

.stat-card-label {
  display: block;
  font-size: .8rem;
  color: var(--c-gray-500);
  margin-top: var(--s-2);
  font-weight: 500;
  letter-spacing: .02em;
}

/* ── Solutions ─────────────────────────────────────────────────── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.service-card {
  background: rgba(255,255,255,.03);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base);
  cursor: pointer;
}

.service-card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(30,107,230,.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.service-card--highlight {
  background: rgba(30,107,230,.08);
  border-color: rgba(30,107,230,.3);
}

.service-card--highlight:hover {
  background: rgba(30,107,230,.12);
  border-color: rgba(30,107,230,.5);
}

.service-card-inner { padding: var(--s-6); }

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(30,107,230,.12);
  border: 1px solid rgba(30,107,230,.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-400);
}

.service-card--highlight .service-icon {
  background: rgba(30,107,230,.2);
  border-color: rgba(30,107,230,.4);
}

.service-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(30,107,230,.15);
  color: var(--c-blue-300);
  border: 1px solid rgba(30,107,230,.25);
  padding: 2px var(--s-2);
  border-radius: var(--radius-full);
}

.service-num {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-gray-600);
  margin-bottom: var(--s-2);
  letter-spacing: .06em;
}

.service-title {
  font-size: 1.1rem;
  color: var(--c-white);
  margin-bottom: var(--s-3);
}

.service-desc {
  font-size: .88rem;
  color: var(--c-gray-400);
  line-height: 1.65;
  margin-bottom: var(--s-5);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: .83rem;
  font-weight: 600;
  color: var(--c-blue-400);
  transition: gap var(--t-fast), color var(--t-fast);
}

.service-link:hover { gap: var(--s-3); color: var(--c-blue-300); }

/* ── Performance ───────────────────────────────────────────────── */
.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}

.perf-dashboard {
  background: var(--c-navy-700);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-xl);
}

.perf-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
}

.perf-dash-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-gray-300);
}

.perf-dash-live {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-green);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  animation: pulse 1.5s ease-in-out infinite;
}

.perf-chart-area { margin-bottom: var(--s-5); }
.equity-chart { width: 100%; height: 120px; }

.perf-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  border-top: var(--border-subtle);
  padding-top: var(--s-4);
}

.perf-kpi { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.perf-kpi-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
}

.perf-kpi-lab { font-size: .68rem; color: var(--c-gray-500); text-align: center; }

.perf-rings {
  display: flex;
  gap: var(--s-6);
  margin: var(--s-8) 0;
}

.ring-stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: var(--s-1) !important;
  position: static !important;
}

.ring-svg { width: 80px; height: 80px; }

.ring-val {
  position: static !important;
  transform: none !important;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-gray-900);
  margin-top: var(--s-2);
}

.ring-label {
  font-size: .72rem;
  font-weight: 500;
  color: var(--c-gray-500);
  text-align: center;
}

/* ── POOLS ─────────────────────────────────────────────────────── */
.pools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}

.pools-text {
  color: var(--c-gray-400);
  line-height: 1.75;
  margin-bottom: var(--s-8);
  font-size: 1.02rem;
}

.pools-steps {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}

.pool-step {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-blue-500);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content { display: flex; flex-direction: column; gap: var(--s-1); }

.step-content strong {
  font-size: .95rem;
  color: var(--c-white);
}

.step-content span {
  font-size: .85rem;
  color: var(--c-gray-400);
  line-height: 1.55;
}

/* POOLS Dashboard */
.pools-dashboard {
  background: rgba(255,255,255,.04);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  backdrop-filter: blur(12px);
}

.pools-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-gray-300);
}

.pools-live {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--c-green);
  font-size: .72rem;
}

.pools-accounts {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.pool-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.04);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--s-3) var(--s-4);
}

.pool-account--follower {
  background: rgba(255,255,255,.02);
  padding: var(--s-2) var(--s-4);
}

.pool-acc-info {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.pool-acc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-blue-500);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pool-acc-avatar.follower { background: var(--c-navy-500); font-size: .7rem; }

.pool-acc-name {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-white);
}

.pool-acc-id {
  font-size: .72rem;
  color: var(--c-gray-500);
}

.pool-acc-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px var(--s-2);
  border-radius: var(--radius-full);
}

.pool-acc-badge.master {
  background: rgba(30,107,230,.2);
  color: var(--c-blue-300);
  border: 1px solid rgba(30,107,230,.3);
}

.pool-acc-pnl {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
}

.pool-copy-arrow {
  display: flex;
  justify-content: center;
  padding: var(--s-1) 0;
  opacity: .4;
}

.pools-more {
  text-align: center;
  font-size: .75rem;
  color: var(--c-gray-500);
  padding: var(--s-2);
}

.pools-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  border-top: var(--border-subtle);
  padding-top: var(--s-4);
}

.pools-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.pools-stat-v {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
}

.pools-stat-l { font-size: .7rem; color: var(--c-gray-500); text-align: center; }

/* Signal Dashboard (MT5 Style) */
.signal-provider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(30, 107, 230, 0.08);
  border: 1px solid rgba(30, 107, 230, 0.2);
  margin-bottom: 1rem;
}

.signal-provider-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.signal-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.signal-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem;
  text-align: center;
}

.signal-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-white);
}

.signal-stat-value.positive {
  color: var(--c-green);
}

.signal-stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--c-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.signal-subscribers {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

.signal-subscribers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--c-gray-400);
}

.signal-sub-count {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-blue-400);
}

.signal-sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--c-gray-500);
  padding: 0.25rem 0;
}

.signal-sub-row span:last-child {
  color: var(--c-white);
  font-weight: 500;
}

.signal-sub-row span.positive {
  color: var(--c-green);
}

.signal-sub-row span.negative {
  color: var(--c-red);
}

.signal-disclaimer {
  font-size: 0.65rem;
  color: var(--c-gray-600);
  text-align: center;
  padding: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Team Banner */
.team-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 3rem;
  background: var(--c-white);
  border: 2px solid var(--c-gray-200);
  text-decoration: none;
  transition: all var(--t-base);
}

.team-banner:hover {
  border-color: var(--c-blue-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.team-banner-content {
  flex: 1;
}

.team-banner-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-navy-900);
  margin: 0.5rem 0;
}

.team-banner-text {
  color: var(--c-gray-600);
  margin: 0;
}

.team-banner-cta {
  flex-shrink: 0;
  margin-left: 2rem;
}

@media (max-width: 768px) {
  .team-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .team-banner-cta {
    margin-left: 0;
  }
}

/* Performance Disclaimer */
.performance-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 0;
}

.performance-disclaimer svg {
  flex-shrink: 0;
  color: #F59E0B;
}

.performance-disclaimer span {
  font-size: 0.75rem;
  color: var(--c-gray-500);
  line-height: 1.6;
}

.performance-disclaimer--inline {
  margin-top: 1.5rem;
  background: transparent;
  border: none;
  padding: 0;
}

.performance-disclaimer--inline span {
  color: var(--c-gray-400);
  font-size: 0.7rem;
}

/* Hero Risk Notice (für dark hero) */
.hero-risk-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.875rem 1.25rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  max-width: 600px;
}

.hero-risk-notice svg {
  flex-shrink: 0;
  color: #F59E0B;
}

.hero-risk-notice span {
  font-size: 0.75rem;
  color: var(--c-gray-400);
  line-height: 1.6;
}

/* ── Pricing ───────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--c-white);
  border: 2px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base);
}

.pricing-card:hover {
  border-color: var(--c-blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pricing-card--highlight {
  border-color: var(--c-blue-500);
  box-shadow: var(--shadow-blue);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-blue-500);
  color: var(--c-white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: var(--s-1) var(--s-4);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.pricing-card-inner { padding: var(--s-8); }

.pricing-card--highlight .pricing-card-inner { padding-top: calc(var(--s-8) + var(--s-4)); }

.pricing-name {
  font-size: 1.1rem;
  margin-bottom: var(--s-3);
  color: var(--c-gray-900);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--s-1);
  margin-bottom: var(--s-3);
}

.price-currency {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-blue-500);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-gray-900);
  line-height: 1;
}

.price-period {
  font-size: .78rem;
  color: var(--c-gray-400);
  white-space: nowrap;
}

.pricing-desc {
  font-size: .88rem;
  color: var(--c-gray-500);
  line-height: 1.6;
  margin-bottom: var(--s-6);
  border-bottom: 1px solid var(--c-gray-200);
  padding-bottom: var(--s-6);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: .88rem;
  color: var(--c-gray-700);
}

.pricing-features svg { color: var(--c-blue-500); flex-shrink: 0; }

/* ── Team ──────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: var(--c-gray-100);
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.team-card:hover .team-card-img img { transform: scale(1.04); }

.team-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--c-navy-600) 0%, var(--c-navy-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-initials {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-blue-400);
}

.team-card-info {
  padding: var(--s-4) var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-name {
  font-size: 1rem;
  margin-bottom: 2px;
}

.team-role {
  font-size: .78rem;
  color: var(--c-gray-500);
  display: block;
}

.team-social {
  color: var(--c-blue-500);
  opacity: .7;
  transition: opacity var(--t-fast);
}

.team-social:hover { opacity: 1; }

/* ── Testimonials ──────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-12);
}

.testimonial-card {
  position: relative;
  background: linear-gradient(145deg, var(--c-white) 0%, var(--c-gray-50) 100%);
  border: none;
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: Georgia, serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-blue-500);
  opacity: 0.08;
  pointer-events: none;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--c-blue-400) 0%, var(--c-blue-600) 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  box-shadow: 0 20px 40px rgba(30, 107, 230, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
}

.testimonial-card:hover::after {
  transform: scaleY(1);
  transform-origin: top;
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.testi-stars svg {
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.3));
}

.testi-text {
  font-size: 1.05rem;
  color: var(--c-gray-700);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}

.testi-avatar, .testi-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
}

.testi-avatar-placeholder {
  background: linear-gradient(135deg, var(--c-navy-600) 0%, var(--c-navy-800) 100%);
  color: var(--c-blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.testi-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-navy-900);
  margin-bottom: 0.25rem;
}

.testi-role {
  font-size: 0.8rem;
  color: var(--c-blue-500);
  font-weight: 500;
}

.testimonials-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  margin-top: 4rem;
}

.testi-big-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-blue-400) 0%, var(--c-blue-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.testi-big-num span {
  -webkit-text-fill-color: var(--c-blue-300);
}

.testi-big-text {
  font-size: 1.1rem;
  color: var(--c-gray-500);
  font-weight: 500;
}

/* ── Blog ──────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.blog-card {
  background: rgba(255,255,255,.04);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base);
}

.blog-card:hover {
  border-color: rgba(30,107,230,.25);
  transform: translateY(-3px);
}

.blog-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.blog-card:hover .blog-card-img-wrap img { transform: scale(1.04); }

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--c-navy-600) 0%, var(--c-navy-500) 100%);
}

.blog-card-date {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  background: var(--c-blue-500);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  padding: var(--s-2) var(--s-3);
  text-align: center;
  line-height: 1.2;
}

.date-day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.date-month {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-card-body { padding: var(--s-5); }

.blog-card-meta {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-blue-400);
  margin-bottom: var(--s-2);
}

.blog-card-meta a { color: inherit; }

.blog-card-title {
  font-size: 1.05rem;
  margin-bottom: var(--s-3);
  line-height: 1.3;
}

.blog-card-title a {
  color: var(--c-white);
  transition: color var(--t-fast);
}

.blog-card-title a:hover { color: var(--c-blue-300); }

.blog-card-excerpt {
  font-size: .85rem;
  color: var(--c-gray-400);
  line-height: 1.65;
  margin-bottom: var(--s-4);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-blue-400);
  transition: gap var(--t-fast);
}

.blog-read-more:hover { gap: var(--s-3); }

/* ── Contact ───────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-16);
  align-items: start;
}

.contact-text {
  color: var(--c-gray-500);
  line-height: 1.75;
  margin-bottom: var(--s-6);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--c-blue-glow);
  border: 1px solid rgba(30,107,230,.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-500);
  flex-shrink: 0;
}

.contact-info-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-item strong {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-gray-700);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.contact-info-item span,
.contact-info-item a {
  font-size: .95rem;
  color: var(--c-gray-900);
}

.contact-advantages {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.adv-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: .88rem;
  font-weight: 500;
  color: var(--c-gray-700);
}

.adv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue-500);
  flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--s-8);
  box-shadow: var(--shadow-lg);
}

.contact-form { display: flex; flex-direction: column; gap: var(--s-5); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-gray-700);
  letter-spacing: .02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--s-3) var(--s-4);
  background: var(--c-gray-50);
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--radius-md);
  font-size: .93rem;
  color: var(--c-gray-900);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--c-blue-500);
  box-shadow: 0 0 0 3px rgba(30,107,230,.1);
  background: var(--c-white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group input::-webkit-input-placeholder,
.form-group textarea::-webkit-input-placeholder,
.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder,
.form-group input:-ms-input-placeholder,
.form-group textarea:-ms-input-placeholder {
  color: var(--c-gray-600);  /* #475569 ~7:1 Kontrast auf --c-gray-50 Input-Background */
  opacity: 1;                /* Firefox/Edge dimmen Placeholder sonst auf ~50% */
}

/* Extra-spezifische Fallback-Regel — falls eine spätere, generischere Regel in main.css
   Placeholder aus Versehen wieder überschreibt, greift diese hier über .contact-form
   (größere Spezifität) als letzte Verteidigungslinie. */
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: var(--c-gray-600);
  opacity: 1;
}

.form-message {
  border-radius: var(--radius-md);
  padding: var(--s-3) var(--s-4);
  font-size: .88rem;
  font-weight: 500;
  display: none;
}

.form-message.is-success {
  display: block;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.25);
  color: #059669;
}

.form-message.is-error {
  display: block;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.25);
  color: #DC2626;
}

.form-privacy {
  font-size: .75rem;
  color: var(--c-gray-400);
  text-align: center;
}

.form-privacy a { color: var(--c-blue-500); }

/* ── CTA Band ──────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--c-blue-500) 0%, var(--c-blue-600) 60%, #0d3a8a 100%);
  padding: clamp(3rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='rgba(255,255,255,.05)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
}

.cta-band-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: var(--s-2);
}

.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -.03em;
}

/* ── Footer ────────────────────────────────────────────────────── */
/* ── Footer ──────────────────────────────────────────────────────
   FTMO-inspiriertes Layout:
   Row 1: Logo links + Social-Icons rechts   (.footer-head)
   ──   horizontaler Divider                  (.footer-divider)
   Row 2: 5-Spalten-Grid                       (.footer-main)
   Row 3: Risk-Accordion                       (.footer-risk)
   Row 4: Copyright-Bar                        (.footer-bottom)
   ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--c-navy-800); }

/* --- Row 1: Logo-Header ------------------------------------------ */
.footer-head { padding: var(--s-8) 0 var(--s-6); }

.footer-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.footer-brand:hover { opacity: .8; }
.footer-brand img {
  display: block;
  height: 44px;
  width: auto;
}

/* Social-Icons — minimalistisch, icon-only (à la FTMO) */
.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--c-gray-500);
  transition: color var(--t-fast), transform var(--t-fast);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.footer-social-link:hover {
  color: var(--c-white);
  transform: translateY(-1px);
}
.footer-social-link svg { display: block; }

/* --- Divider ------------------------------------------------------ */
.footer-divider {
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,.08);
}

/* --- Row 2: 5-Spalten-Grid --------------------------------------- */
.footer-main { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--s-10) var(--s-8);
}

.footer-col { min-width: 0; }

.footer-heading {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-white);
  margin: 0 0 var(--s-5);
}

/* Generische Link-Liste (Produkte / Unternehmen / Rechtliches) */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer-links a {
  font-size: .88rem;
  color: var(--c-gray-400);
  text-decoration: none;
  transition: color var(--t-fast);
  line-height: 1.4;
}
.footer-links a:hover { color: var(--c-white); }

.footer-link-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  padding: 1px 7px;
  margin-left: 4px;
  border-radius: var(--radius-full);
  background: rgba(30, 107, 230, 0.15);
  color: var(--c-blue-400);
  vertical-align: middle;
  letter-spacing: .02em;
}

/* Kontakt-Spalte mit Icon-Rows */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer-contact-row {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: .88rem;
  color: var(--c-gray-400);
  text-decoration: none;
  transition: color var(--t-fast);
  line-height: 1.4;
}
.footer-contact-row svg {
  flex-shrink: 0;
  color: var(--c-gray-500);
  transition: color var(--t-fast);
}
.footer-contact-row:hover { color: var(--c-white); }
.footer-contact-row:hover svg { color: var(--c-blue-400); }

/* Adresse-Block */
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  font-size: .88rem;
  color: var(--c-gray-400);
  line-height: 1.55;
}
.footer-address strong {
  color: var(--c-white);
  font-weight: 600;
  margin-bottom: var(--s-1);
}

/* --- Row 3: Risk-Accordion (unverändert übernommen) ------------- */
.footer-risk {
  border-top: var(--border-subtle);
  padding: var(--s-5) 0;
}

.risk-accordion { border: none; outline: none; }

.risk-summary {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-gray-500);
  list-style: none;
  user-select: none;
}

.risk-summary::-webkit-details-marker { display: none; }
.risk-summary svg:first-child { color: var(--c-amber); opacity: .85; }

.accordion-chevron { margin-left: auto; transition: transform var(--t-fast); }
.risk-accordion[open] .accordion-chevron { transform: rotate(180deg); }

.risk-content {
  padding: var(--s-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.risk-content p {
  font-size: .78rem;
  color: var(--c-gray-600);
  line-height: 1.65;
  margin: 0;
}

/* --- Row 4: Bottom-Bar ------------------------------------------- */
.footer-bottom {
  border-top: var(--border-subtle);
  padding: var(--s-5) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: .82rem;
  color: var(--c-gray-500);
  margin: 0;
}

.footer-madein {
  font-size: .82rem;
  color: var(--c-gray-500);
  margin: 0;
}

/* ── Back to Top ───────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--s-6);
  right: var(--s-6);
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--c-blue-500);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--t-base);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-2px); }

/* ── Generic Page ──────────────────────────────────────────────── */
.page-hero {
  background: var(--c-navy-800);
  padding: calc(115px + var(--s-12)) 0 var(--s-12);
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--c-white);
  margin-bottom: var(--s-4);
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--c-gray-400);
  max-width: 560px;
  margin: 0 auto;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--s-12) var(--container-pad);
}

.page-content h1,
.page-content h2 { font-family: var(--font-display); margin-bottom: var(--s-4); margin-top: var(--s-8); }

.page-content p { margin-bottom: var(--s-4); color: var(--c-gray-700); line-height: 1.75; }

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--c-navy-800); }
::-webkit-scrollbar-thumb { background: var(--c-navy-400); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--c-blue-600); }

/* ── Focus Styles ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-blue-500);
  outline-offset: 3px;
  border-radius: 0;
}

/* ── Utility ───────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

/* 1100px */
@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  /* Footer: 4→2 Spalten (saubere 2×2-Anordnung) */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-8);
  }
}

/* 900px */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .header-phone { display: none; }
  .header-divider { display: none; }
  .hamburger { display: flex; }
  .btn-header-cta { display: none; }

  
  .hero-visual { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { display: none; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .performance-grid { grid-template-columns: 1fr; }
  .pools-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  /* Footer: 3→2 Spalten */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: var(--s-3); }
  .section-header--split { flex-direction: column; align-items: flex-start; }
}

/* 600px */
@media (max-width: 600px) {
  :root { --container-pad: 1.25rem; }
  .solutions-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-label { display: none; }
  .perf-rings { flex-wrap: wrap; gap: var(--s-5); }
  .perf-dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .chart-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Unbounded font adjustments ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -.03em;
}
.hero-title {
  letter-spacing: -.04em;
  line-height: 1.05;
}
.cta-band-title {
  letter-spacing: -.04em;
}
/* Unbounded is heavier – scale section titles slightly */
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}
/* Fix nav font – keep Jakarta for readability */
.nav-link, .mobile-nav-list a {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn {
  font-family: 'Unbounded', sans-serif;
  font-size: .78rem;
}
.btn--sm { font-size: .72rem; }
/* Unbounded at small sizes needs more space */
.eyebrow { letter-spacing: .15em; }

/* ── Logo Image ─────────────────────────────────────────────────── */
.site-logo-img {
  display: block !important;
  height: 65px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.footer-logo .site-logo-img {
  height: 40px;
  opacity: .9;
  transition: opacity var(--t-fast);
}

.footer-logo:hover .site-logo-img {
  opacity: 1;
}

@media (max-width: 600px) {
  .site-logo-img { height: 50px !important; }
}

/* ── BaFin Notice ───────────────────────────────────────────────── */
.bafin-notice {
  background: rgba(245,158,11,.04);
  border-top: 1px solid rgba(245,158,11,.15);
  border-bottom: 1px solid rgba(245,158,11,.1);
  padding: .875rem 0;
}

.bafin-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}

.bafin-icon {
  width: 32px;
  height: 32px;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-amber);
  flex-shrink: 0;
  margin-top: 1px;
}

.bafin-text {
  font-size: .78rem;
  color: var(--c-gray-400);
  line-height: 1.65;
}

.bafin-text strong {
  color: var(--c-amber);
  font-weight: 700;
}

/* Perf data disclaimer tag */
.perf-disclaimer-tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--c-amber);
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-full);
  padding: 2px .625rem;
  margin-bottom: .75rem;
}

/* BaFin footer risk - enhanced */
.footer-risk { border-top: var(--border-subtle); }

.risk-content p:first-child {
  color: var(--c-amber);
  opacity: .75;
}

/* ── Mobile Logo Fix ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-logo-img {
    height: 32px !important;
    max-width: 130px;
  }

  .header-inner {
    height: 68px;
  }

  /* Fix hero gap on mobile */
  .hero {
    min-height: 100svh;
  }

  

  /* Fix all page-hero padding on mobile */
  .page-hero,
  [style*="padding-top:calc(115px"] {
    padding-top: calc(68px + 2rem) !important;
  }
}

@media (max-width: 600px) {
  .site-logo-img {
    height: 28px !important;
    max-width: 110px;
  }

  .header-inner {
    height: 60px;
  }

  
}

/* ══════════════════════════════════════════════════════════════
   MOBILE CRITICAL FIXES
══════════════════════════════════════════════════════════════ */

/* Force logo size – override everything including WP custom logo */
@media (max-width: 900px) {
  .site-logo,
  .site-logo a,
  .custom-logo-link {
    display: flex !important;
    align-items: center !important;
  }

  .site-logo img,
  .site-logo-img,
  .custom-logo-link img,
  .custom-logo {
    height: 34px !important;
    width: auto !important;
    max-width: 150px !important;
    max-height: 34px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .header-inner {
    height: 64px !important;
    min-height: 64px !important;
  }

  /* Fix hero gap: remove vertical centering on mobile */
  

  .hero {
    min-height: unset !important;
    height: auto !important;
    padding-top: 140px !important;
    padding-bottom: 140px !important;
  }
}

@media (max-width: 600px) {
  .site-logo img,
  .site-logo-img,
  .custom-logo-link img,
  .custom-logo {
    height: 28px !important;
    max-height: 28px !important;
    max-width: 120px !important;
  }

  .header-inner {
    height: 58px !important;
    min-height: 58px !important;
  }

  
}

/* ── Hamburger: right-aligned, no shadow/border ─────────────────── */
@media (max-width: 900px) {
  .header-inner {
    justify-content: space-between !important;
  }

  .hamburger {
    margin-left: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .hamburger:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}

/* ── Fix logo left + hamburger right (override previous rules) ── */
@media (max-width: 900px) {
  .header-inner {
    justify-content: flex-start !important;
  }

  .site-logo {
    flex: 0 0 auto !important;
    margin-right: 0 !important;
  }

  .header-actions {
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }
}

/* ── Desktop logo – restore correct size ───────────────────────── */
@media (min-width: 901px) {
  .site-logo img,
  .site-logo-img,
  .custom-logo-link img,
  .custom-logo {
    height: 46px !important;
    max-height: 46px !important;
    width: auto !important;
    max-width: 200px !important;
  }

  .header-inner {
    height: 115px !important;
  }
}

/* ── Risk disclaimer inline ─────────────────────────────────────── */
.risk-inline {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .72rem;
  color: var(--c-gray-500);
  font-style: italic;
}
.risk-inline::before {
  content: '*';
  color: var(--c-amber);
  font-style: normal;
  font-weight: 700;
}

/* ── MT5 Hero Mockup ────────────────────────────────────────────── */
.hero-mt5-card {
  background: rgba(10, 18, 32, .95);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(30,107,230,.1);
}

.mt5-titlebar {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .6rem 1rem;
}

.mt5-dots {
  display: flex;
  gap: .35rem;
}

.mt5-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mt5-dots span:nth-child(1) { background: #EF4444; }
.mt5-dots span:nth-child(2) { background: #F59E0B; }
.mt5-dots span:nth-child(3) { background: #10B981; }

.mt5-title {
  font-family: monospace;
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  flex: 1;
}

.mt5-live {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .65rem;
  font-weight: 700;
  color: var(--c-green);
  letter-spacing: .08em;
}

.mt5-chart-area {
  padding: .75rem 1rem .5rem;
  position: relative;
}

.mt5-candles {
  width: 100%;
  height: 130px;
  display: block;
}

.mt5-indicator-labels {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .375rem 0;
  flex-wrap: wrap;
}

.ind-label {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .68rem;
  font-family: monospace;
  color: rgba(255,255,255,.5);
}

.ind-dot {
  width: 8px;
  height: 2px;
  border-radius: 0;
  flex-shrink: 0;
}

.ind-label--ea {
  color: var(--c-blue-300);
  margin-left: auto;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
}

/* Product pills row */
.mt5-product-pills {
  display: flex;
  gap: .5rem;
  padding: .75rem 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
}

.product-pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  padding: .3rem .875rem;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  transition: all .2s;
}

.product-pill--active {
  background: rgba(30,107,230,.12);
  border-color: rgba(30,107,230,.3);
  color: var(--c-blue-300);
}

.pill-status {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-left: .2rem;
}

.pill-status--ind  { color: var(--c-amber); }
.pill-status--strat { color: var(--c-blue-300); }

/* ── Hero Product Showcase ──────────────────────────────────────── */
.hero-product-showcase {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.hps-card {
  display: flex;
  align-items: center;
  gap: .875rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: .875rem 1rem;
  transition: all .25s ease;
}

.hps-card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  transform: translateX(4px);
}

.hps-card--featured {
  background: rgba(30,107,230,.07);
  border-color: rgba(30,107,230,.25);
}

.hps-card--featured:hover {
  background: rgba(30,107,230,.1);
  border-color: rgba(30,107,230,.4);
}

.hps-card-icon {
  width: 42px;
  height: 42px;
  border: 1px solid;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hps-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hps-card-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-white);
  font-family: var(--font-display);
}

.hps-card-sub {
  font-size: .72rem;
  color: var(--c-gray-500);
}

.hps-card-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px .625rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.hps-badge--green {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  color: var(--c-green);
}

.hps-badge--amber {
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.2);
  color: var(--c-amber);
}

.hps-badge--blue {
  background: rgba(30,107,230,.12);
  border: 1px solid rgba(30,107,230,.25);
  color: var(--c-blue-300);
}

/* Tech stats row */
.hps-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .5rem;
  margin-top: .25rem;
}

.hps-stat {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: .75rem .625rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hps-stat-val {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.hps-stat-label {
  font-size: .65rem;
  color: var(--c-gray-600);
  line-height: 1.3;
}

/* Remove old chart card styles that no longer apply */
@media (max-width: 900px) {
  .hero-product-showcase { display: none; }
}

/* ── Hero Background Image ──────────────────────────────────────── */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .18;
  z-index: 0;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.6) 15%,
    rgba(0,0,0,.8) 50%,
    rgba(0,0,0,.4) 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.6) 15%,
    rgba(0,0,0,.8) 50%,
    rgba(0,0,0,.4) 85%,
    transparent 100%
  );
}





.hero-subtitle { max-width: 560px !important; }














/* ══════════════════════════════════════════════════════════════
   MEGA MENU
══════════════════════════════════════════════════════════════ */

.nav-link--btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem 1rem;
  color: rgba(255,255,255,.65);
  border-radius: var(--radius-full);
  transition: color .2s, background .2s;
}
.nav-link--btn:hover { color: var(--c-white); background: rgba(255,255,255,.06); }
.nav-item.has-mega:hover .nav-link--btn,
.nav-item.has-mega:focus-within .nav-link--btn {
  color: var(--c-white);
  background: rgba(255,255,255,.06);
}
.nav-item.has-mega:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* Mega-Items müssen position:static sein, sonst wird das Mega-Menü
   gegen das schmale nav-item positioniert statt gegen den Header */
.nav-item.has-mega { position: static; }

/* ── Mega Menu – Full-width dropdown ────────────────────────────── */
.mega-menu {
  position: fixed;
  /* --mega-top-cb wird in JS gesetzt und ist containing-block-relativ.
     Hintergrund: .site-header hat backdrop-filter, was einen eigenen
     Containing Block für fixed-Nachkommen erzeugt. Das Mega sitzt damit
     flush an der Header-Unterkante. Fallback 115px matcht die Default-
     Header-Höhe, falls JS nicht rechtzeitig ausgeführt wird. */
  top: var(--mega-top-cb, 115px);
  left: 0;
  right: 0;
  width: 100vw;
  background: #060D1A;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 48px rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 199;
}

/* Bridge: unsichtbarer Streifen zwischen Nav-Item und Mega,
   damit der Cursor ohne Unterbrechung wandern kann */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item.has-mega:hover .mega-menu,
.nav-item.has-mega.is-open .mega-menu,
.nav-item.has-mega:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Button aktiv-Styling solange Mega offen ist */
.nav-item.has-mega.is-open .nav-link--btn {
  color: var(--c-white);
  background: rgba(255,255,255,.06);
}
.nav-item.has-mega.is-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Schließ-Transition: ohne Delay, da JS das Timing handled */
.nav-item.has-mega .mega-menu {
  transition: opacity .2s ease, transform .2s ease;
}

.mega-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem var(--container-pad) 0;
  display: flex;
  flex-direction: column;
}

/* Section: Label links (240px Sidebar), Items flexibel rechts */
.mega-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 1.1rem 0 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mega-section:first-child { padding-top: .25rem; }
/* Letzte sichtbare Section: sowohl wenn sie wirklich letztes Kind ist
   ALS AUCH wenn ihr ein .mega-footer (ebenfalls <div>) folgt — sonst
   würde der border-bottom hier zusammen mit dem border-top des Footers
   eine doppelte Trennlinie ergeben. */
.mega-section:last-child,
.mega-section:has(+ .mega-footer) {
  border-bottom: none;
  padding-bottom: .75rem;
}

.mega-section-head {
  padding-top: .5rem;
}

.mega-section-eyebrow {
  display: block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--c-blue-400);
  margin-bottom: .6rem;
}

.mega-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 .4rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.mega-section-desc {
  font-size: .82rem;
  color: var(--c-gray-500);
  line-height: 1.55;
  margin: 0;
  max-width: 220px;
}

/* Grid der Link-Karten */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .35rem .5rem;
}

/* Link-Karten */
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .75rem .85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
  border: 1px solid transparent;
}
.mega-link:hover {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.06);
}
.mega-link:hover strong { color: var(--c-blue-300); }
.mega-link:hover .mega-link-icon { transform: scale(1.05); }

.mega-link-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .15s ease;
  margin-top: 1px;
}

.mega-link strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-white);
  transition: color .15s;
  line-height: 1.3;
  margin-bottom: 2px;
}
.mega-link span {
  display: block;
  font-size: .76rem;
  color: var(--c-gray-500);
  line-height: 1.45;
}

.mega-new-pill {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 6px;
  background: rgba(16,185,129,.18);
  color: #10B981;
  border-radius: 3px;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Footer-Bar: CTA am unteren Rand, volle Breite */
.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem 0 1.1rem;
  margin-top: .25rem;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
}

.mega-footer-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mega-footer-text strong {
  color: var(--c-white);
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.mega-footer-text span {
  color: var(--c-gray-500);
  font-size: .82rem;
  line-height: 1.45;
}

.mega-footer .btn {
  flex-shrink: 0;
}

/* Mobile sub list */
.mobile-sub-list {
  padding: .25rem 0 .5rem 1.25rem;
}
.mobile-sub-list li { border: none; }
.mobile-sub-list a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: .9rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,.45) !important;
  padding: .375rem 0 !important;
  display: block;
}
.mobile-sub-list a:hover { color: var(--c-blue-300) !important; }

/* ══════════════════════════════════════════════════════════════
   HERO SPLIT PHOTO STYLE
══════════════════════════════════════════════════════════════ */

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 1;
}

.hero-bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--c-navy-800) 0%,
    var(--c-navy-800) 35%,
    rgba(6,13,26,.85) 55%,
    rgba(6,13,26,.3) 75%,
    rgba(6,13,26,.1) 100%
  );
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-bg-fade {
    background: rgba(6,13,26,.75);
  }
}

/* ── FAQ Component (global) ─────────────────────────────────────── */
.faq-category        { margin-bottom: 3rem; }
.faq-category-title,
.faq-category-label  {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-blue-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--c-blue-500);
  display: inline-block;
}
.faq-list            { display: flex; flex-direction: column; gap: .75rem; }
.faq-item            { background: var(--c-white); border: 1px solid var(--c-gray-200); border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s; margin-bottom: .75rem; }
.faq-item[open]      { border-color: var(--c-blue-300); }
.faq-question        { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--c-gray-900); list-style: none; user-select: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover  { color: var(--c-blue-500); }
.faq-chevron         { flex-shrink: 0; transition: transform .2s; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer          { padding: 0 1.5rem 1.25rem; }
.faq-answer p        { font-size: .93rem; color: var(--c-gray-600); line-height: 1.7; }

.footer-mwst {
  font-size: .75rem;
  color: var(--c-gray-600);
  margin-bottom: .375rem;
}

/* ═══════════════════════════════════════════════════════════════════
   PERFORMANCE PAGE
═══════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────── */
.perf-hero {
  background: var(--c-navy-800);
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
  text-align: center;
}

.perf-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--s-5);
  line-height: 1.1;
}

.perf-hero-sub {
  font-size: 1.1rem;
  color: var(--c-gray-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── KPIs ──────────────────────────────────────────────────────── */
.perf-kpis {
  background: var(--c-white);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  padding-top: 0;
  padding-bottom: var(--s-16);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  box-shadow: var(--shadow-lg);
  border: var(--border-subtle-dark);
}

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .kpi-grid { grid-template-columns: 1fr; }
}

.kpi-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4);
}

.kpi-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-content {
  display: flex;
  flex-direction: column;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-gray-900);
  line-height: 1.2;
}

.kpi-suffix {
  font-size: 1rem;
  font-weight: 600;
}

.kpi-label {
  font-size: .85rem;
  color: var(--c-gray-500);
  margin-top: 2px;
}

/* ── EA Section ────────────────────────────────────────────────── */
.perf-eas {
  background: var(--c-navy-700);
}

.ea-filter {
  display: flex;
  gap: var(--s-2);
  margin-bottom: var(--s-10);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--s-2) var(--s-5);
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-gray-400);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: all var(--t-fast);
  cursor: pointer;
}

.filter-btn:hover {
  color: var(--c-white);
  background: rgba(255,255,255,.1);
}

.filter-btn.is-active {
  color: var(--c-white);
  background: var(--c-blue-500);
  border-color: var(--c-blue-500);
}

.ea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

@media (max-width: 1000px) {
  .ea-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .ea-grid { grid-template-columns: 1fr; }
}

/* ── EA Card ───────────────────────────────────────────────────── */
.ea-card {
  background: var(--c-navy-600);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  border: 1px solid rgba(255,255,255,.06);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

.ea-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,107,230,.3);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.ea-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-3);
}

.ea-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ea-status--live { color: #10B981; }
.ea-status--demo { color: #F59E0B; }

.ea-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.ea-pair {
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-gray-400);
  background: rgba(255,255,255,.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.ea-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: var(--s-2);
}

.ea-card-desc {
  font-size: .85rem;
  color: var(--c-gray-400);
  line-height: 1.5;
  margin-bottom: var(--s-4);
}

.ea-chart-mini {
  height: 60px;
  margin-bottom: var(--s-4);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.ea-sparkline {
  width: 100%;
  height: 100%;
}

.ea-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: var(--s-4);
}

.ea-stat {
  text-align: center;
}

.ea-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-white);
}

.ea-stat-val--green { color: #10B981; }
.ea-stat-val--red { color: #EF4444; }

.ea-stat-label {
  font-size: .7rem;
  color: var(--c-gray-500);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-top: 2px;
  display: block;
}

.ea-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-blue-400);
  margin-top: auto;
  transition: color var(--t-fast);
}

.ea-card-link:hover {
  color: var(--c-blue-300);
}

.ea-card-link svg {
  transition: transform var(--t-fast);
}

.ea-card-link:hover svg {
  transform: translateX(4px);
}

/* ── Disclaimer ────────────────────────────────────────────────── */
.perf-disclaimer {
  background: var(--c-navy-800);
  padding: var(--s-16) 0;
}

.disclaimer-box {
  display: flex;
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--c-navy-600);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--c-amber);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 4px solid var(--c-amber);
}

.disclaimer-icon {
  flex-shrink: 0;
  color: var(--c-amber);
}

.disclaimer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: var(--s-2);
}

.disclaimer-content p {
  font-size: .9rem;
  color: var(--c-gray-400);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .disclaimer-box {
    flex-direction: column;
    gap: var(--s-3);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   TIMELINE - CENTERED INFOGRAPHIC STYLE
═══════════════════════════════════════════════════════════════════ */

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-navy-700);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
  position: relative;
  gap: 0.75rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--c-white);
  border: 4px solid var(--c-navy-700);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-blue-500);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.timeline-item--left .timeline-center {
  flex-direction: row;
}

.timeline-item--left .timeline-year {
  order: 1;
}

.timeline-item--left .timeline-dot {
  order: 0;
}

.timeline-item--right .timeline-center {
  flex-direction: row;
}

.timeline-item--right .timeline-year {
  order: -1;
}

.timeline-item--right .timeline-dot {
  order: 0;
}

.timeline-content {
  display: flex;
  align-items: flex-start;
}

.timeline-item--left .timeline-content {
  justify-content: flex-end;
  padding-right: 2rem;
}

.timeline-item--right .timeline-content {
  justify-content: flex-start;
  padding-left: 2rem;
}

.timeline-spacer {
  /* Empty spacer for grid alignment */
}

.timeline-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  padding: 1.5rem 2rem;
  max-width: 380px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Arrow pointing to center */
.timeline-item--left .timeline-card::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 1.5rem;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid var(--c-white);
}

.timeline-item--left .timeline-card::before {
  content: '';
  position: absolute;
  right: -14px;
  top: 1.5rem;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 13px solid var(--c-gray-200);
}

.timeline-item--right .timeline-card::after {
  content: '';
  position: absolute;
  left: -12px;
  top: 1.5rem;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid var(--c-white);
}

.timeline-item--right .timeline-card::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 1.5rem;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 13px solid var(--c-gray-200);
}

.timeline-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-gray-900);
  margin-bottom: 0.5rem;
}

.timeline-card-text {
  font-size: 0.9rem;
  color: var(--c-gray-500);
  line-height: 1.7;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 0;
  }
  
  .timeline-line {
    left: 40px;
  }
  
  .timeline-spacer {
    display: none;
  }
  
  .timeline-item--left .timeline-content,
  .timeline-item--right .timeline-content {
    justify-content: flex-start;
    padding-left: 1.5rem;
    padding-right: 0;
  }
  
  .timeline-center {
    order: -1;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .timeline-item--left .timeline-year,
  .timeline-item--right .timeline-year {
    order: 1;
  }
  
  .timeline-item--left .timeline-dot,
  .timeline-item--right .timeline-dot {
    order: 0;
  }
  
  .timeline-card {
    max-width: 100%;
  }
  
  .timeline-item--left .timeline-card::after,
  .timeline-item--left .timeline-card::before,
  .timeline-item--right .timeline-card::after,
  .timeline-item--right .timeline-card::before {
    left: -12px;
    right: auto;
    border-left: none;
    border-right: 12px solid var(--c-white);
  }
  
  .timeline-item--left .timeline-card::before,
  .timeline-item--right .timeline-card::before {
    left: -14px;
    border-left: none;
    border-right: 13px solid var(--c-gray-200);
  }
  
  .timeline-year {
    font-size: 0.85rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   NEW TIMELINE - CLEAN CENTERED DESIGN
═══════════════════════════════════════════════════════════════════ */

.tl {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Vertikale Linie in der Mitte */
.tl::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c-navy-500);
  transform: translateX(-50%);
}

.tl-item {
  position: relative;
  width: 50%;
  padding: 0 40px 60px;
}

.tl-item--left {
  left: 0;
  text-align: right;
}

.tl-item--right {
  left: 50%;
  text-align: left;
}

/* Dot auf der Linie */
.tl-item::before {
  content: '';
  position: absolute;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--c-blue-500);
  border: 3px solid var(--c-navy-700);
}

.tl-item--left::before {
  right: -7px;
}

.tl-item--right::before {
  left: -7px;
}

.tl-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tl-item--left .tl-content {
  align-items: flex-end;
}

.tl-item--right .tl-content {
  align-items: flex-start;
}

.tl-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-blue-400);
}

.tl-card {
  background: var(--c-navy-600);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px 28px;
  max-width: 340px;
}

.tl-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}

.tl-card p {
  font-size: 0.9rem;
  color: var(--c-gray-400);
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
  .tl::before {
    display: none !important;
  }
  
  .tl-item {
    width: 100%;
    left: 0;
    padding: 0 0 1.5rem 0;
    text-align: left;
  }
  
  .tl-item--left,
  .tl-item--right {
    left: 0;
    text-align: left;
  }
  
  .tl-item::before {
    display: none !important;
  }
  
  .tl-item--left .tl-content,
  .tl-item--right .tl-content {
    align-items: flex-start;
  }
  
  .tl-card {
    max-width: 100%;
  }
  
  .tl-year {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════════
   EA LIVE DATA STYLES
   ══════════════════════════════════════════════════════════════════ */

/* EA Status Badge */
.ea-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ea-status::before {
  content: '';
  width: 8px;
  height: 8px;
}

.ea-status--online {
  background: rgba(16, 185, 129, 0.15);
  color: var(--c-green);
}

.ea-status--online::before {
  background: var(--c-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.ea-status--offline {
  background: rgba(100, 116, 139, 0.15);
  color: var(--c-gray-500);
}

.ea-status--offline::before {
  background: var(--c-gray-500);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* EA Card */
.ea-card {
  background: var(--c-navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.ea-card--online::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--c-green);
}

.ea-card--offline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--c-gray-500);
}

.ea-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-card-status {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.ea-card--online .ea-card-status {
  background: var(--c-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.ea-card--offline .ea-card-status {
  background: var(--c-gray-500);
}

.ea-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
  flex: 1;
}

.ea-card-symbol {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-blue-400);
  background: rgba(30, 107, 230, 0.15);
  padding: 0.2rem 0.5rem;
}

.ea-card-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.ea-card-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ea-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ea-stat-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-white);
}

.ea-card-stat--positive .ea-stat-value {
  color: var(--c-green);
}

.ea-card-stat--negative .ea-stat-value {
  color: var(--c-red);
}

.ea-card-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-card-updated {
  font-size: 0.7rem;
  color: var(--c-gray-500);
}

/* EA Cards Grid */
.ea-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* EA Dashboard Stats */
.ea-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.ea-dash-stat {
  background: var(--c-navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  text-align: center;
}

.ea-dash-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ea-dash-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════════════
   PERFORMANCE PAGE - LIVE EA DATA
   ══════════════════════════════════════════════════════════════════ */

/* Stats Overview Grid */
.perf-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .perf-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .perf-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.perf-stat-box {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  padding: 1.25rem;
  text-align: center;
}

.perf-stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.perf-stat-icon.online {
  color: var(--c-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.perf-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-gray-900);
  line-height: 1.2;
}

.perf-stat-value.positive {
  color: var(--c-green);
}

.perf-stat-value.negative {
  color: var(--c-red);
}

.perf-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* EA Grid */
.ea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.ea-grid-card {
  background: var(--c-navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  position: relative;
}

.ea-grid-card--online::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-green);
}

.ea-grid-card--offline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-gray-500);
}

.ea-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ea-grid-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ea-status-dot {
  width: 8px;
  height: 8px;
}

.ea-status-dot.online {
  background: var(--c-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.ea-status-dot.offline {
  background: var(--c-gray-500);
}

.ea-status-text {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-gray-400);
}

.ea-grid-symbol {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-blue-400);
  background: rgba(30, 107, 230, 0.15);
  padding: 0.25rem 0.75rem;
}

.ea-grid-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 0.25rem;
}

.ea-grid-version {
  font-size: 0.75rem;
  color: var(--c-gray-500);
  margin: 0 0 1rem;
}

.ea-grid-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-grid-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ea-grid-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--c-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ea-grid-stat-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
}

.ea-grid-stat-value.positive {
  color: var(--c-green);
}

.ea-grid-stat-value.negative {
  color: var(--c-red);
}

.ea-grid-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 0;
}

.ea-grid-detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

.ea-grid-detail-label {
  color: var(--c-gray-500);
}

.ea-grid-detail-value {
  color: var(--c-gray-300);
  font-weight: 600;
}

.ea-grid-signal {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-signal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.ea-signal-label {
  font-size: 0.7rem;
  color: var(--c-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ea-signal-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-gray-300);
}

.ea-signal-value.long {
  color: var(--c-green);
}

.ea-signal-value.short {
  color: var(--c-red);
}

.ea-grid-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
}

.ea-grid-updated {
  font-size: 0.65rem;
  color: var(--c-gray-500);
}

.ea-grid-broker {
  font-size: 0.65rem;
  color: var(--c-gray-500);
}

/* EA No Data */
.ea-no-data {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--c-navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-no-data-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.ea-no-data h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--c-white);
  margin: 0 0 0.5rem;
}

.ea-no-data p {
  color: var(--c-gray-400);
  margin: 0;
}

/* EA Details Grid */
.ea-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .ea-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ea-details-grid {
    grid-template-columns: 1fr;
  }
}

.ea-detail-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  padding: 1.5rem;
}

.ea-detail-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.ea-detail-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-gray-900);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ea-detail-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-blue-600);
  margin: 0 0 0.5rem;
}

.ea-detail-desc {
  font-size: 0.85rem;
  color: var(--c-gray-600);
  margin: 0;
  line-height: 1.5;
}

/* Risk Disclaimer */
.risk-disclaimer {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-left: 4px solid #F59E0B;
  padding: 1.5rem 2rem;
}

.risk-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.risk-disclaimer h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-gray-900);
  margin: 0 0 0.75rem;
}

.risk-disclaimer p {
  font-size: 0.85rem;
  color: var(--c-gray-600);
  margin: 0;
  line-height: 1.6;
}

/* Performance Dashboard Details */
.perf-dash-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .perf-dash-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.perf-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--c-gray-400);
}

.perf-detail-icon {
  font-size: 0.9rem;
}

.perf-detail-text {
  font-weight: 500;
}

/* Offline Status */
.perf-dash-live.offline {
  background: rgba(100, 116, 139, 0.2);
}

.perf-dash-live.offline .live-dot {
  background: var(--c-gray-500);
  animation: none;
}

/* ══════════════════════════════════════════════════════════════════
   EA CARD LARGE - 2 Column Grid
   ══════════════════════════════════════════════════════════════════ */

.ea-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .ea-grid-2col {
    grid-template-columns: 1fr;
  }
}

.ea-card-large {
  background: var(--c-navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  position: relative;
}

.ea-card-large--online::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-green);
}

.ea-card-large--offline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-gray-500);
}

/* Header */
.ea-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ea-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}

.ea-card-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.35rem 0.75rem;
}

.ea-card-live .live-dot {
  width: 8px;
  height: 8px;
  background: var(--c-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.ea-card-live.offline {
  color: var(--c-gray-400);
  background: rgba(100, 116, 139, 0.2);
}

.ea-card-live.offline .live-dot {
  background: var(--c-gray-500);
  animation: none;
}

/* Equity Curve Chart */
.ea-card-chart {
  height: 120px;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, rgba(30, 107, 230, 0.05) 0%, transparent 100%);
}

.ea-equity-curve {
  width: 100%;
  height: 100%;
}

/* KPIs */
.ea-card-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-card-kpis--2col {
  grid-template-columns: repeat(2, 1fr);
}

.ea-card-kpis--3col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
  .ea-card-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ea-card-kpi {
  text-align: center;
}

.ea-kpi-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.2;
}

.ea-kpi-value.positive {
  color: var(--c-green);
}

.ea-kpi-value.negative {
  color: var(--c-red);
}

.ea-kpi-label {
  display: block;
  font-size: 0.7rem;
  color: var(--c-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.25rem;
}

/* Trading Details */
.ea-card-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .ea-card-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ea-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--c-gray-400);
}

.ea-detail-icon {
  font-size: 1rem;
}

.ea-detail-text {
  font-weight: 500;
}

/* Signals */
.ea-card-signals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
}

@media (max-width: 640px) {
  .ea-card-signals {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ea-signal-box {
  text-align: center;
}

.ea-signal-box .ea-signal-label {
  display: block;
  font-size: 0.65rem;
  color: var(--c-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.ea-signal-box .ea-signal-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-white);
}

.ea-signal-box .ea-signal-value.bullish {
  color: var(--c-green);
}

.ea-signal-box .ea-signal-value.bearish {
  color: var(--c-red);
}

/* Footer */
.ea-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-card-updated {
  font-size: 0.7rem;
  color: var(--c-gray-500);
}

.ea-card-broker {
  font-size: 0.7rem;
  color: var(--c-gray-500);
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE OVERHAUL
   Comprehensive mobile styles for all components
═══════════════════════════════════════════════════════════════════ */

/* ── Responsive Grid Components ───────────────────────────────────── */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.founder-card {
  background: var(--c-gray-50);
  border: 1px solid var(--c-gray-200);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

/* Push contact buttons to the bottom so cards align */
.founder-bio {
  flex-grow: 1;
}
.founder-contact {
  margin-top: auto;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-navy-600), var(--c-navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-blue-400);
  flex-shrink: 0;
  overflow: hidden;
}

.founder-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s-5);
}

.founder-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--s-5);
  background: var(--c-gray-100);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.founder-info {
  text-align: center;
  margin-bottom: var(--s-4);
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 0.25rem;
  text-align: center;
  color: var(--c-gray-900);
}

.founder-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--c-blue-500);
  font-weight: 600;
  display: block;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.founder-bio {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--c-gray-600);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  text-align: center;
  font-weight: 400;
}

.founder-expertise {
  margin-bottom: 1.25rem;
}

.founder-expertise-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gray-400);
  margin-bottom: 0.5rem;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.founder-tag {
  font-size: 0.72rem;
  background: rgba(30, 107, 230, 0.08);
  border: 1px solid rgba(30, 107, 230, 0.15);
  color: var(--c-blue-600);
  padding: 2px 0.625rem;
}

.founder-fact {
  border-top: 1px solid var(--c-gray-200);
  padding-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-gray-700);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-icon {
  width: 60px;
  height: 60px;
  background: rgba(30, 107, 230, 0.08);
  border: 1px solid rgba(30, 107, 230, 0.15);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.value-text {
  font-size: 0.85rem;
  color: var(--c-gray-500);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .founders-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .founder-card {
    padding: 1.5rem !important;
  }
  
  .founder-header {
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .value-card {
    padding: 1.5rem 1rem !important;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── POOLS Steps Grid ─────────────────────────────────────────────── */
.pools-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pools-step-card {
  background: var(--c-gray-50);
  border: 1px solid var(--c-gray-200);
  padding: 2rem;
}

.pools-step-card--highlight {
  background: var(--c-blue-500);
  border-color: var(--c-blue-500);
}

.pools-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(30, 107, 230, 0.08);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pools-step-card--highlight .pools-step-num {
  color: rgba(255, 255, 255, 0.15);
}

.pools-step-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 107, 230, 0.08);
  border: 1px solid rgba(30, 107, 230, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-500);
  margin-bottom: 1.25rem;
}

.pools-step-card--highlight .pools-step-icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.pools-step-title {
  font-size: 1rem;
  margin-bottom: 0.625rem;
}

.pools-step-card--highlight .pools-step-title {
  color: var(--c-white);
}

.pools-step-text {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  color: var(--c-gray-500);
}

.pools-step-card--highlight .pools-step-text {
  color: rgba(255, 255, 255, 0.7);
}

.pools-step-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-blue-500);
  text-decoration: none;
}

.pools-step-card--highlight .pools-step-link {
  color: rgba(255, 255, 255, 0.85);
}

.pools-hint {
  background: rgba(30, 107, 230, 0.06);
  border: 1px solid rgba(30, 107, 230, 0.15);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.pools-hint svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pools-hint strong {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.25rem;
}

.pools-hint p {
  font-size: 0.82rem;
  color: var(--c-gray-500);
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .pools-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .pools-step-card {
    padding: 1.5rem !important;
  }
  
  .pools-step-num {
    font-size: 2rem !important;
  }
  
  .pools-hint {
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .pools-hint svg {
    margin: 0 auto !important;
  }
}

/* ── Mobile Header (80px) ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner {
    height: 80px !important;
  }
  
  .header-logo img {
    height: 30px !important;
  }
  
  .nav-toggle {
    width: 44px !important;
    height: 44px !important;
  }
  
  .header-cta {
    display: none !important;
  }
}

/* ── Solutions Dashboard ──────────────────────────────────────────── */
.sols-dashboard {
  background: var(--c-navy-700);
  border: var(--border-subtle);
  padding: 1.5rem;
}

.sols-dashboard-title {
  font-size: 0.78rem;
  color: var(--c-gray-400);
  font-weight: 600;
  margin-bottom: 1rem;
}

.sols-ea-row {
  background: rgba(255,255,255,0.03);
  border: var(--border-subtle);
  padding: 0.875rem 1rem;
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sols-ea-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--c-white);
}

.sols-ea-sym {
  font-size: 0.72rem;
  color: var(--c-gray-500);
}

.sols-ea-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sols-ea-stat {
  text-align: center;
}

.sols-ea-pnl {
  font-size: 0.82rem;
  color: var(--c-green);
  font-weight: 700;
  display: block;
}

.sols-ea-wr {
  font-size: 0.82rem;
  color: var(--c-white);
  font-weight: 600;
  display: block;
}

.sols-ea-label {
  font-size: 0.65rem;
  color: var(--c-gray-400);
}

.sols-ea-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 0.5rem;
}

.sols-ea-badge--live {
  background: rgba(16,185,129,0.15);
  color: var(--c-green);
}

.sols-ea-badge--beta {
  background: rgba(245,158,11,0.15);
  color: var(--c-amber);
}

.sols-ea-note {
  font-size: 0.72rem;
  color: var(--c-gray-500);
  text-align: center;
  margin-top: 0.75rem;
}

/* ── Solutions Packages ───────────────────────────────────────────── */
.sols-packages {
  background: var(--c-navy-700);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
}

.sols-packages-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-gray-400);
  margin-bottom: 1.5rem;
}

.sols-package-row {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sols-package-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-white);
}

.sols-package-desc {
  font-size: 0.75rem;
  color: var(--c-gray-400);
}

.sols-package-price {
  text-align: right;
}

.sols-package-price > span:first-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-blue-400);
  display: block;
}

.sols-package-period {
  font-size: 0.7rem;
  color: var(--c-gray-500);
}

/* ── Solutions Backtest ───────────────────────────────────────────── */
.sols-backtest {
  background: var(--c-navy-700);
  border: var(--border-subtle);
  padding: 1.5rem;
}

.sols-backtest-title {
  font-size: 0.78rem;
  color: var(--c-gray-400);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.sols-backtest-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--c-gray-500);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: var(--border-subtle);
  margin-bottom: 0.75rem;
}

.sols-backtest-header span:not(:first-child) {
  text-align: center;
}

.sols-backtest-header span:nth-child(4),
.sols-backtest-header span:nth-child(5) {
  text-align: right;
}

.sols-backtest-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.625rem 0;
  border-bottom: var(--border-subtle);
  font-size: 0.82rem;
  align-items: center;
}

.sols-bt-name {
  color: var(--c-white);
  font-weight: 600;
}

.sols-bt-val {
  text-align: center;
  color: var(--c-gray-300);
}

.sols-bt-return {
  text-align: right;
  color: var(--c-green);
  font-weight: 700;
}

.sols-bt-dd {
  text-align: right;
  color: var(--c-red);
}

.sols-backtest-note {
  font-size: 0.68rem;
  color: var(--c-gray-500);
  margin-top: 0.75rem;
}

/* ── stelaraX Grid ────────────────────────────────────────────────── */
.stelarax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stelarax-card {
  background: rgba(255,255,255,0.04);
  border: var(--border-subtle);
  padding: 2rem;
}

.stelarax-icon {
  width: 48px;
  height: 48px;
  background: rgba(30,107,230,0.15);
  border: 1px solid rgba(30,107,230,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-400);
  margin-bottom: 1.25rem;
}

.stelarax-title {
  font-size: 1rem;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.stelarax-text {
  font-size: 0.85rem;
  color: var(--c-gray-400);
  line-height: 1.65;
}

.stelarax-cta {
  text-align: center;
}

.stelarax-cta p {
  font-size: 0.78rem;
  color: var(--c-gray-500);
  margin-top: 0.75rem;
}

/* ── Academy Grid ─────────────────────────────────────────────────── */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.academy-card {
  background: var(--c-gray-50);
  border: 1px solid var(--c-gray-200);
  padding: 2rem;
  transition: all 0.25s ease;
}

.academy-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--c-blue-300);
}

.academy-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.academy-duration {
  background: rgba(30,107,230,0.1);
  color: var(--c-blue-500);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 0.625rem;
}

.academy-price {
  text-align: right;
}

.academy-price > span:first-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-blue-500);
  display: block;
}

.academy-period {
  font-size: 0.72rem;
  color: var(--c-gray-400);
}

.academy-title {
  font-size: 1.05rem;
  margin-bottom: 0.625rem;
}

.academy-text {
  font-size: 0.85rem;
  color: var(--c-gray-500);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ── Mobile Responsive für Solutions ──────────────────────────────── */
@media (max-width: 768px) {
  .stelarax-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .stelarax-card {
    padding: 1.5rem !important;
  }
  
  .academy-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .academy-card {
    padding: 1.5rem !important;
  }
  
  .sols-backtest-header,
  .sols-backtest-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.25rem !important;
  }
  
  .sols-backtest-header span:nth-child(3),
  .sols-backtest-header span:nth-child(4),
  .sols-backtest-row span:nth-child(3),
  .sols-backtest-row span:nth-child(4) {
    display: none !important;
  }
  
  .sols-ea-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .sols-ea-stats {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* ── Academy Format Cards ─────────────────────────────────────────── */
.academy-formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.academy-format-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}

.academy-format-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.academy-format-card--highlight {
  border: 2px solid var(--c-blue-500);
}

.academy-format-badge {
  background: var(--c-blue-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px;
  text-align: center;
}

.academy-format-body {
  padding: 1.75rem;
  flex: 1;
}

.academy-format-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.academy-format-icon {
  width: 48px;
  height: 48px;
  background: rgba(30,107,230,0.08);
  border: 1px solid rgba(30,107,230,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-500);
}

.academy-format-tag {
  background: rgba(16,185,129,0.1);
  color: var(--c-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 0.75rem;
  border: 1px solid rgba(16,185,129,0.2);
}

.academy-format-name {
  font-size: 1.15rem;
  margin-bottom: 0.375rem;
}

.academy-format-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}

.academy-format-price > span:first-child {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--c-blue-500);
}

.academy-format-price > span:last-child {
  font-size: 0.75rem;
  color: var(--c-gray-400);
}

.academy-format-desc {
  font-size: 0.88rem;
  color: var(--c-gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-gray-100);
}

.academy-format-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  list-style: none;
  padding: 0;
}

.academy-format-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--c-gray-700);
}

.academy-format-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.academy-format-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--c-green);
  font-weight: 600;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.15);
  padding: 0.5rem 0.75rem;
}

.academy-format-cta {
  padding: 1.25rem 1.75rem 1.75rem;
}

.academy-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-gray-400);
  margin-top: 0.5rem;
}

.academy-live-hint {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto 0;
}

.academy-live-hint svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.academy-live-hint strong {
  font-size: 0.9rem;
  color: var(--c-gray-900);
}

.academy-live-hint p {
  font-size: 0.83rem;
  color: var(--c-gray-500);
  margin: 0.25rem 0 0;
  line-height: 1.6;
}

/* ── Academy Topics Grid ──────────────────────────────────────────── */
.academy-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.academy-topic-card {
  text-align: center;
  padding: 2rem 1.25rem;
}

.academy-topic-icon {
  width: 60px;
  height: 60px;
  background: rgba(30,107,230,0.08);
  border: 1px solid rgba(30,107,230,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-500);
  margin: 0 auto 1.25rem;
}

.academy-topic-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.academy-topic-text {
  font-size: 0.84rem;
  color: var(--c-gray-500);
  line-height: 1.65;
}

/* ── Mobile Academy ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .academy-formats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .academy-formats-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .academy-format-body {
    padding: 1.5rem !important;
  }
  
  .academy-format-price > span:first-child {
    font-size: 1.5rem !important;
  }
  
  .academy-topics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .academy-topic-card {
    padding: 1.5rem 1rem !important;
  }
  
  .academy-live-hint {
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .academy-live-hint svg {
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .academy-topics-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── POOLS Signals Grid ───────────────────────────────────────────── */
.pools-signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pools-signal-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  padding: 2rem;
  transition: all 0.25s;
}

.pools-signal-card:hover {
  border-color: var(--c-blue-300);
  box-shadow: var(--shadow-md);
}

.pools-signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pools-signal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
}

.pools-signal-avatar--blue {
  background: rgba(96, 165, 250, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: var(--c-blue-400);
}

.pools-signal-avatar--amber {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--c-amber);
}

.pools-signal-avatar--green {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--c-green);
}

.pools-signal-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(30, 107, 230, 0.08);
  color: var(--c-blue-600);
  border: 1px solid rgba(30, 107, 230, 0.15);
  padding: 3px 0.625rem;
}

.pools-signal-name {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.pools-signal-pairs {
  font-size: 0.78rem;
  color: var(--c-blue-500);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pools-signal-desc {
  font-size: 0.84rem;
  color: var(--c-gray-500);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ── POOLS Legal Grid ─────────────────────────────────────────────── */
.pools-legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.pools-legal-intro {
  color: var(--c-gray-400);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.pools-points {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pools-point {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.pools-point-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(30, 107, 230, 0.15);
  border: 1px solid rgba(30, 107, 230, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pools-point strong {
  font-size: 0.88rem;
  color: var(--c-white);
  display: block;
  margin-bottom: 2px;
}

.pools-point span {
  font-size: 0.8rem;
  color: var(--c-gray-500);
}

.pools-legal-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pools-legal-card {
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-subtle);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pools-legal-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.pools-legal-tag--blue { color: var(--c-blue-400); }
.pools-legal-tag--green { color: var(--c-green); }
.pools-legal-tag--amber { color: var(--c-amber); }

.pools-legal-card strong {
  font-size: 0.88rem;
  color: var(--c-white);
  display: block;
  margin-bottom: 3px;
}

.pools-legal-card p {
  font-size: 0.8rem;
  color: var(--c-gray-500);
  margin: 0;
  line-height: 1.6;
}

/* ── Mobile POOLS ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pools-signals-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .pools-signal-card {
    padding: 1.5rem !important;
  }
  
  .pools-legal-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .pools-legal-card {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
}

/* ── Mobile Hero Sections ─────────────────────────────────────────── */
@media (max-width: 768px) {
  /* ══════════════════════════════════════════════════════════════════
     OVERFLOW FIX - KEIN HORIZONTALES SCROLLEN
     WICHTIG: overflow-x: hidden erzeugt einen Block Formatting Context,
     der auf iOS Safari ungewollt einzelne Sections scrollbar macht.
     Daher hier overflow-x: clip (schneidet nur visuell ab).
  ══════════════════════════════════════════════════════════════════ */
  html {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
  }

  /* Wrapper: nur max-width, KEIN eigener Overflow-Container */
  #page,
  .site,
  main,
  article,
  section,
  header,
  footer,
  .header,
  .footer {
    max-width: 100% !important;
    /* overflow-x bewusst NICHT gesetzt — html/body kappen bereits */
  }
  
  /* ════════════════════════════════════════════════════════════════
     OVERFLOW-VERURSACHER KOMPLETT ENTFERNEN
  ════════════════════════════════════════════════════════════════ */
  .hero-glow,
  .hero-glow--1,
  .hero-glow--2,
  .hero-grid,
  .hero-badge-float,
  .hero-badge-float--award,
  .hero-badge-float--traders,
  .hero-visual,
  .hero-chart-card,
  .hero-mt5-card,
  .hero-product-showcase,
  .hero-scroll {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }
  
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin-top: 0 !important;
    align-items: flex-start !important;
    display: block !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Höhere Spezifität für container.hero-container */
  .container.hero-container,
  .hero-container,
  .hero .hero-container,
  .hero > .container {
    display: block !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    height: auto !important;
    padding: 80px 1rem 1.5rem !important;
    padding-top: 80px !important;
    align-items: flex-start !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Hintergrundbild behalten aber begrenzen */
  .hero-bg {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  
  .hero-bg-image,
  .hero-bg-fade {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .hero-content,
  .hero .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    text-align: center !important;
    padding-top: 0 !important;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    padding: 0 0.5rem !important;
    max-width: 100% !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    gap: 0.75rem !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .hero-actions .btn {
    width: 100% !important;
    max-width: 280px !important;
  }
  
  .hero-badge {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  /* Page Hero (Unterseiten) */
  .page-hero {
    padding: 80px 1rem 1.5rem !important;
    text-align: center !important;
    min-height: auto !important;
    overflow: hidden !important;
  }
  
  .page-hero-title {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .page-hero-title br {
    display: none !important;
  }
  
  .page-hero-sub {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    padding: 0 0.5rem !important;
  }
  
  .eyebrow {
    font-size: 0.65rem !important;
    margin-bottom: 0.5rem !important;
  }
}

/* ── Mobile Sections & Containers ─────────────────────────────────── */
@media (max-width: 768px) {
  /* Hinweis: Der frühere "Globaler Overflow Fix" mit
     *, *::before, *::after { max-width: 100vw !important }
     wurde entfernt — er überschrieb sinnvolle max-width-Regeln auf
     zahllosen Kind-Elementen und konnte in Kombination mit
     overflow-x:hidden eigene Scroll-Container auslösen. */

  /* Header border entfernen */
  .site-header {
    border-bottom: none !important;
  }

  /* Scroll-Padding für Sticky Header (Mobile) — JS liest diesen Wert */
  html {
    scroll-padding-top: 90px !important;
  }

  /* Alternativ: scroll-margin auf Sections */
  section[id],
  .section[id],
  [id^="solutions"],
  [id^="pools"],
  [id^="performance"],
  [id^="team"],
  [id^="contact"] {
    scroll-margin-top: 90px !important;
  }

  .section {
    padding: 2.5rem 0 !important;
    overflow-x: clip !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    overflow-x: clip !important;
    max-width: 100% !important;
  }
  
  .section-title {
    font-size: 1.5rem !important;
  }
  
  .section-header--split {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
  
  .section-header--split .btn {
    align-self: center !important;
  }
}

/* ── Mobile Buttons ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .btn {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .btn--sm {
    padding: 0.625rem 1rem !important;
    font-size: 0.8rem !important;
  }
  
  .btn--lg {
    padding: 1rem 1.75rem !important;
    font-size: 0.95rem !important;
  }
  
  .btn--md {
    padding: 0.75rem 1.25rem !important;
  }
  
  /* Standalone buttons in headers etc. */
  .section-header .btn,
  .team-banner .btn {
    width: auto !important;
    min-width: 180px !important;
  }
}

/* ── Mobile Stats Grid ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .stat-item {
    padding: 1.25rem !important;
  }
  
  .stat-num {
    font-size: 1.75rem !important;
  }
  
  .stat-label {
    font-size: 0.75rem !important;
  }
}

/* ── Mobile Services Grid ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .service-card {
    padding: 1.5rem !important;
  }
  
  .service-icon {
    width: 48px !important;
    height: 48px !important;
  }
  
  .service-title {
    font-size: 1rem !important;
  }
  
  .service-desc {
    font-size: 0.85rem !important;
  }
}

/* ── Mobile Performance Section ───────────────────────────────────── */
@media (max-width: 900px) {
  .performance-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .performance-chart-wrap {
    order: 1 !important;
  }
  
  .performance-content {
    order: 2 !important;
    text-align: center !important;
  }
  
  .perf-rings {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .perf-dashboard {
    padding: 1.25rem !important;
  }
  
  .perf-dash-header {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: flex-start !important;
  }
  
  .perf-dash-kpis {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .perf-kpi-val {
    font-size: 1.1rem !important;
  }
  
  .perf-rings {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .ring-stat {
    flex: 1;
    min-width: 80px;
  }
  
  .ring-svg {
    width: 70px !important;
    height: 70px !important;
  }
}

/* ── Mobile POOLS Section ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .pools-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .pools-content {
    text-align: center;
  }
  
  .pools-steps {
    text-align: left;
  }
  
  .signal-dashboard-widget {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .pools-steps {
    gap: 1rem;
  }
  
  .pool-step {
    padding: 1rem;
  }
  
  .step-num {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}

/* ── Mobile Team Banner ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .team-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .team-banner-title {
    font-size: 1.25rem;
  }
  
  .team-banner-text {
    font-size: 0.9rem;
  }
  
  .team-banner-cta {
    margin-left: 0;
  }
}

/* ── Mobile Testimonials ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-card::before {
    font-size: 5rem;
    top: 1rem;
    right: 1rem;
  }
  
  .testi-text {
    font-size: 0.95rem;
  }
  
  .testi-avatar, .testi-avatar-placeholder {
    width: 48px;
    height: 48px;
  }
  
  .testimonials-stat {
    margin-top: 2rem;
  }
  
  .testi-big-num {
    font-size: 3rem;
  }
}

/* ── Mobile Blog Grid ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .blog-card {
    padding: 1.25rem;
  }
}

/* ── Mobile Contact Section ───────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  .form-input, .form-select, .form-textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem; /* Prevents zoom on iOS */
  }
}

/* ── Mobile Footer ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* CTA Band */
  .cta-band { padding: 2.5rem 0 !important; }
  .cta-band-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }
  .cta-band-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }
  .cta-band .btn {
    width: 100% !important;
    max-width: 280px !important;
  }

  /* Row 1: Logo-Header → logo zentriert, Socials darunter */
  .footer-head {
    padding: 1.75rem 0 1.25rem !important;
  }
  .footer-head-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem !important;
  }
  .footer-brand img { height: 38px !important; }
  .footer-socials { gap: 1.25rem !important; }

  /* Row 2: 5-Spalten-Grid → 1 Spalte, zentriert */
  .footer-main { padding: 2rem 0 !important; }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .footer-heading {
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
  }
  .footer-links,
  .footer-contact-list { align-items: center !important; }
  .footer-links a,
  .footer-contact-row { font-size: 0.9rem !important; }
  .footer-contact-row { justify-content: center !important; }
  .footer-address { align-items: center !important; text-align: center !important; }

  /* Risk-Accordion */
  .footer-risk { padding: 1rem 0 !important; }
  .risk-summary { font-size: 0.75rem !important; }
  .risk-content { padding: 1rem 0 !important; }
  .risk-content p {
    font-size: 0.72rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }

  /* Bottom-Bar */
  .footer-bottom { padding: 1.25rem 0 !important; }
  .footer-bottom-inner {
    flex-direction: column !important;
    gap: 0.5rem !important;
    text-align: center !important;
  }
  .footer-copyright,
  .footer-madein { font-size: 0.78rem !important; }
}

/* ── Mobile EA Grid (Performance Page) ────────────────────────────── */
@media (max-width: 768px) {
  .ea-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .ea-card-large {
    padding: 1.25rem;
  }
  
  .ea-card-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .ea-kpis-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .ea-signals-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Mobile Risk Disclaimer ───────────────────────────────────────── */
@media (max-width: 768px) {
  .performance-disclaimer,
  .hero-risk-notice,
  .pools-risk-notice {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .risk-disclaimer {
    padding: 1.5rem;
  }
  
  .risk-disclaimer h3 {
    font-size: 1.1rem;
  }
  
  .risk-disclaimer p {
    font-size: 0.8rem;
  }
}

/* ── Mobile Navigation Menu ───────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--c-navy-800);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.is-open {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    display: none;
  }
  
  .nav-item:hover .nav-dropdown,
  .nav-item.is-open .nav-dropdown {
    display: block;
  }
}

/* ── Small Mobile (< 480px) ───────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.35rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  
  .perf-dash-kpis {
    grid-template-columns: 1fr;
  }
  
  .perf-rings {
    flex-direction: column;
    align-items: center;
  }
  
  .ring-stat {
    width: 100%;
    max-width: 120px;
  }
  
  .testi-big-num {
    font-size: 2.5rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT PAGE STYLES
═══════════════════════════════════════════════════════════════════ */

/* Mission Grid */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-mission-text .section-text {
  margin-bottom: 1.5rem;
}

.about-mission-text .section-text:last-child {
  margin-bottom: 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-stat-card {
  background: var(--c-gray-50);
  border: 1px solid var(--c-gray-200);
  padding: 1.75rem;
  text-align: center;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--c-blue-500);
  line-height: 1;
}

.about-stat-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0.375rem 0 0.25rem;
}

.about-stat-sub {
  font-size: 0.75rem;
  color: var(--c-gray-400);
}

/* Products Grid */
.about-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-product-card {
  background: rgba(255,255,255,0.03);
  border: var(--border-subtle);
  padding: 1.75rem;
  display: block;
  transition: all 0.25s ease;
  text-decoration: none;
}

.about-product-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(30,107,230,0.3);
}

.about-product-title {
  font-size: 1rem;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.about-product-desc {
  font-size: 0.83rem;
  color: var(--c-gray-400);
  line-height: 1.6;
}

.about-product-link {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-blue-400);
}

/* Legal */
.about-legal {
  background: var(--c-navy-800);
}

.about-legal .container {
  max-width: 800px;
  text-align: center;
}

.about-legal-text {
  font-size: 0.82rem;
  color: var(--c-gray-500);
  line-height: 1.7;
}

.about-legal-text strong {
  color: var(--c-gray-400);
}

/* Timeline Mobile */
@media (max-width: 768px) {
  .tl {
    padding-left: 0 !important;
  }
  
  .tl-item,
  .tl-item--left,
  .tl-item--right {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  
  .tl-content {
    width: 100% !important;
    padding: 0 !important;
  }
  
  .tl-year {
    display: block !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: var(--c-blue-400) !important;
  }
  
  .tl-card {
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .tl-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .tl-card p {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }
}

/* About Page Mobile */
@media (max-width: 768px) {
  .about-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  
  .about-mission-text .section-title br {
    display: none !important;
  }
  
  .about-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }
  
  .about-stat-card {
    padding: 1.25rem 1rem !important;
  }
  
  .about-stat-num {
    font-size: 1.75rem !important;
  }
  
  .about-stat-label {
    font-size: 0.8rem !important;
  }
  
  .about-stat-sub {
    font-size: 0.7rem !important;
  }
  
  .about-products-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .about-product-card {
    padding: 1.25rem !important;
  }
  
  .about-product-title {
    font-size: 0.95rem !important;
  }
  
  .about-product-desc {
    font-size: 0.8rem !important;
  }
  
  .about-product-link {
    margin-top: 1rem !important;
    font-size: 0.75rem !important;
  }
  
  .about-legal {
    padding: 2rem 0 !important;
  }
  
  .about-legal-text {
    font-size: 0.75rem !important;
    line-height: 1.6 !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   EA DETAILS BUTTON & MODAL
═══════════════════════════════════════════════════════════════════ */

/* ── Badges Container ──────────────────────────────────────────── */
.ea-card-badges {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

/* ── Details Button ────────────────────────────────────────────── */
.ea-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--c-gray-300);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--t-fast);
}

.ea-details-btn:hover {
    color: var(--c-white);
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.25);
}

.ea-details-btn svg {
    opacity: .7;
}

/* ── Modal Overlay ─────────────────────────────────────────────── */
.ea-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-4);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--t-base);
}

.ea-modal[aria-hidden="false"] {
    pointer-events: auto;
    opacity: 1;
}

.ea-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 16, .85);
    backdrop-filter: blur(4px);
}

/* ── Modal Container ───────────────────────────────────────────── */
.ea-modal-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
    transform: translateY(20px) scale(.98);
    transition: transform var(--t-base);
}

.ea-modal[aria-hidden="false"] .ea-modal-container {
    transform: translateY(0) scale(1);
}

/* ── Modal Header ──────────────────────────────────────────────── */
.ea-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-5) var(--s-6);
    border-bottom: 1px solid var(--c-gray-200);
}

.ea-modal-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-gray-900);
    margin: 0;
}

.ea-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    color: var(--c-gray-500);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--t-fast);
}

.ea-modal-close:hover {
    color: var(--c-gray-900);
    background: var(--c-gray-100);
}

/* ── Modal Body ────────────────────────────────────────────────── */
.ea-modal-body {
    padding: var(--s-6);
}

.ea-modal-grid {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

/* ── Modal Item ────────────────────────────────────────────────── */
.ea-modal-item {
    display: flex;
    gap: var(--s-4);
    padding: var(--s-4);
    background: var(--c-gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--c-gray-100);
}

.ea-modal-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--c-blue-500);
    border-radius: var(--radius-md);
    color: var(--c-white);
}

.ea-modal-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ea-modal-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--c-gray-500);
}

.ea-modal-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-blue-600);
}

.ea-modal-desc {
    font-size: .85rem;
    color: var(--c-gray-600);
    line-height: 1.5;
    margin-top: 2px;
}

/* ── Mobile Modal ──────────────────────────────────────────────── */
@media (max-width: 600px) {
    .ea-modal-container {
        max-height: 85vh;
    }
    
    .ea-modal-header {
        padding: var(--s-4);
    }
    
    .ea-modal-body {
        padding: var(--s-4);
    }
    
    .ea-modal-item {
        padding: var(--s-3);
    }
    
    .ea-modal-icon {
        width: 40px;
        height: 40px;
    }
    
    .ea-modal-value {
        font-size: 1rem;
    }
}

/* Admin-Bar Kompatibilität ist jetzt direkt in .site-header und .mobile-nav integriert */

/* ══════════════════════════════════════════════════════════════════
   STELARAX - AI CHART ANALYSE
   ══════════════════════════════════════════════════════════════════ */

/* Hero */
.stx-hero {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-800) 100%);
}

/* Features Grid */
.stx-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
}

@media (max-width: 1024px) {
  .stx-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stx-features-grid {
    grid-template-columns: 1fr;
  }
}

.stx-feature-card {
  background: var(--c-navy-800);
  border: 1px solid var(--c-navy-600);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  text-align: center;
  transition: transform var(--t-fast), border-color var(--t-fast);
}

.stx-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-blue-500);
}

.stx-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s-4);
  background: linear-gradient(135deg, var(--c-blue-600), var(--c-blue-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stx-feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.stx-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--s-2);
  color: var(--c-white);
}

.stx-feature-card p {
  font-size: 0.9rem;
  color: var(--c-gray-400);
  line-height: 1.6;
}

/* Auth Prompt */
.stx-auth-prompt {
  display: flex;
  justify-content: center;
  padding: var(--s-12) 0;
}

.stx-auth-card {
  background: var(--c-navy-700);
  border: 1px solid var(--c-navy-600);
  border-radius: var(--radius-xl);
  padding: var(--s-10);
  text-align: center;
  max-width: 480px;
}

.stx-auth-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--s-6);
  background: linear-gradient(135deg, var(--c-blue-600), var(--c-blue-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stx-auth-icon svg {
  stroke: white;
}

.stx-auth-card h2 {
  font-size: 1.5rem;
  margin-bottom: var(--s-3);
  color: var(--c-white);
}

.stx-auth-card p {
  color: var(--c-gray-400);
  margin-bottom: var(--s-6);
}

.stx-auth-buttons {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hinweis-Banner für bestehende stelaraX-Nutzer (User-Migration) */
.stx-auth-migrated-note {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  background: rgba(30, 107, 230, 0.08);
  border: 1px solid rgba(30, 107, 230, 0.25);
  border-radius: 10px;
  text-align: left;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--c-gray-300);
}
.stx-auth-migrated-note svg {
  flex-shrink: 0;
  stroke: var(--c-blue-400, #60A5FA);
  margin-top: 2px;
}
.stx-auth-migrated-note strong { color: #fff; font-weight: 700; }

/* App Container */
.stx-app-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stx-app-header {
  margin-bottom: var(--s-8);
}
.stx-app-header .section-badge {
  color: var(--c-blue-400) !important;
  display: block;
  margin-bottom: .5rem;
}
.stx-app-header .section-title {
  color: var(--c-white) !important;
}

/* Cards */
.stx-card {
  background: var(--c-navy-700);
  border: 1px solid var(--c-navy-600);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s-6);
  overflow: hidden;
}

.stx-card-header {
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--c-navy-600);
  background: rgba(0,0,0,0.2);
}

.stx-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0;
}

.stx-card-header h3 svg {
  stroke: var(--c-blue-400);
}

.stx-card-body {
  padding: var(--s-5);
}

/* Forms */
.stx-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}

@media (max-width: 600px) {
  .stx-form-row {
    grid-template-columns: 1fr;
  }
}

.stx-form-group {
  display: flex;
  flex-direction: column;
}

.stx-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-gray-400);
  margin-bottom: var(--s-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stx-form-group input,
.stx-form-group select {
  background: var(--c-navy-900) !important;
  border: 1px solid var(--c-navy-600) !important;
  border-radius: var(--radius-sm) !important;
  padding: var(--s-3) var(--s-4) !important;
  color: var(--c-white) !important;
  font-size: 0.95rem !important;
  height: 44px !important;
  transition: border-color var(--t-fast);
}

.stx-form-group input:focus,
.stx-form-group select:focus {
  border-color: var(--c-blue-500) !important;
  outline: none;
}

.stx-form-group select option {
  background: var(--c-navy-900);
  color: var(--c-white);
}

/* Buttons */
.btn-block {
  width: 100%;
}

.btn-lg {
  padding: var(--s-4) var(--s-6);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--s-2) var(--s-3);
  font-size: 0.85rem;
}

/* Signal Cards */
.stx-signal-card {
  background: var(--c-navy-800);
  border: 1px solid var(--c-navy-600);
  border-radius: var(--radius-md);
  padding: var(--s-4);
  margin-bottom: var(--s-4);
}

.stx-signal-card.long {
  border-left: 3px solid var(--c-success);
}

.stx-signal-card.short {
  border-left: 3px solid var(--c-danger);
}

.stx-signal-card-main {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.stx-signal-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stx-signal-icon.long {
  background: rgba(16, 185, 129, 0.15);
}

.stx-signal-icon.short {
  background: rgba(239, 68, 68, 0.15);
}

.stx-signal-icon.long svg {
  stroke: var(--c-success);
  width: 20px;
  height: 20px;
}

.stx-signal-icon.short svg {
  stroke: var(--c-danger);
  width: 20px;
  height: 20px;
}

.stx-signal-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
}

.stx-signal-meta {
  font-size: 0.8rem;
  color: var(--c-gray-400);
}

.stx-signal-details {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  padding: var(--s-3);
  margin-bottom: var(--s-3);
}

.stx-signal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-1) 0;
}

.stx-signal-label {
  font-size: 0.75rem;
  color: var(--c-gray-500);
  text-transform: uppercase;
}

.stx-signal-value {
  font-size: 0.9rem;
  color: var(--c-white);
  font-weight: 600;
}

.stx-signal-value.stx-tp {
  color: var(--c-success);
}

.stx-signal-value.stx-sl {
  color: var(--c-danger);
}

.stx-card-actions {
  display: flex;
  gap: var(--s-2);
}

/* Calculator Results */
.stx-calc-results {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-navy-600);
}

.stx-calc-row {
  display: flex;
  justify-content: space-between;
  padding: var(--s-2) 0;
  border-bottom: 1px dashed var(--c-navy-600);
}

.stx-calc-row:last-child {
  border-bottom: none;
}

.stx-calc-label {
  color: var(--c-gray-400);
  font-size: 0.9rem;
}

.stx-calc-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-white);
}

.stx-calc-value.stx-success {
  color: var(--c-success);
}

.stx-calc-value.stx-danger {
  color: var(--c-danger);
}

/* Empty State */
.stx-empty-state {
  text-align: center;
  color: var(--c-gray-500);
  padding: var(--s-6);
  font-style: italic;
}

/* Risk Disclaimer */
.stx-disclaimer-section .risk-disclaimer {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.risk-disclaimer-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-disclaimer-icon svg {
  stroke: var(--c-red);
}

.risk-disclaimer-text p {
  color: var(--c-gray-300);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* stelaraX — KI-Hinweis (Amber, damit er sich vom roten Risikohinweis abhebt) */
.stx-disclaimer-section .risk-disclaimer.stx-ai-disclaimer {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  margin-bottom: var(--s-4);
}
.stx-disclaimer-section .stx-ai-disclaimer .risk-disclaimer-icon {
  background: rgba(245, 158, 11, 0.15);
}
.stx-disclaimer-section .stx-ai-disclaimer .risk-disclaimer-icon svg {
  stroke: #f59e0b;
}

/* Inline KI-Hinweis direkt unter dem Analyse-Button */
.stx-ai-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: .85rem 0 0;
  padding: .75rem .9rem;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  font-size: .83rem;
  line-height: 1.55;
  color: var(--c-gray-300);
}
.stx-ai-note svg {
  flex-shrink: 0;
  stroke: #f59e0b;
  margin-top: 2px;
}
.stx-ai-note strong { color: #fff; font-weight: 700; }

/* stelaraX App Root - Plugin Styles Override */
.sx-app-root {
  --sx-bg: var(--c-navy-900);
  --sx-surface: var(--c-navy-800);
  --sx-card: var(--c-navy-700);
  --sx-text: var(--c-white);
  --sx-muted: var(--c-gray-400);
  --sx-primary: var(--c-blue-500);
  --sx-border: var(--c-navy-600);
}

/* ══════════════════════════════════════════════════════════════════
   AUTH PAGE - LOGIN / REGISTER
   ══════════════════════════════════════════════════════════════════ */

.auth-page {
  min-height: 100vh;
  background: var(--c-navy-900);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
  }
}

/* Branding Side */
.auth-branding {
  background: linear-gradient(135deg, var(--c-navy-800) 0%, var(--c-navy-900) 100%);
  padding: var(--s-10);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-branding::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .auth-branding {
    /* Auf Mobil über dem Formular gestapelt anzeigen, statt komplett auszublenden.
       Beschreibung & Features sind essentiell für den Download-Onboarding-Flow.
       Top-Padding bewusst großzügig — ohne Logo braucht die Headline visuelle
       Atmung gegen den darüberliegenden Header. */
    padding: 2.25rem var(--s-5) var(--s-7);
    min-height: auto;
    align-items: flex-start;
  }
  .auth-branding-content {
    max-width: 100%;
    width: 100%;
  }
  .auth-branding .auth-headline { font-size: 1.65rem; line-height: 1.2; margin-bottom: var(--s-3); }
  .auth-branding .auth-subline { font-size: .95rem; line-height: 1.55; margin-bottom: var(--s-5); }
  .auth-branding .auth-eyebrow { font-size: .65rem; margin-bottom: var(--s-2); }
  .auth-branding .auth-features { gap: var(--s-2); }
  .auth-branding .auth-feature { font-size: .85rem; }
  .auth-branding .auth-feature svg { width: 16px; height: 16px; }
}

.auth-branding-content {
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.auth-logo {
  display: block;
  margin-bottom: var(--s-8);
}

.auth-logo img {
  height: 50px;
  width: auto;
}

.auth-headline {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-white);
  margin-bottom: var(--s-4);
}

.auth-headline span {
  color: var(--c-blue-400);
}

.auth-subline {
  font-size: 1.05rem;
  color: var(--c-gray-400);
  line-height: 1.7;
  margin-bottom: var(--s-8);
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--c-gray-300);
  font-size: 0.95rem;
}

.auth-feature svg {
  width: 20px;
  height: 20px;
  stroke: var(--c-success);
  flex-shrink: 0;
}

/* Form Side */
.auth-form-wrapper {
  background: var(--c-navy-800);
  padding: var(--s-10);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .auth-page { min-height: auto; }
  .auth-container { min-height: auto; }
  .auth-form-wrapper {
    padding: var(--s-6) var(--s-5) var(--s-8);
    min-height: auto;
  }
}

.auth-form-inner {
  width: 100%;
  max-width: 400px;
}

.auth-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--s-6);
  text-align: center;
}

/* Eyebrow above headline (z.B. "// Schritt 1 von 2" beim Download-Flow) */
.auth-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--c-blue-400);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

/* Tab-Switcher Register / Login (oben am Form) */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: var(--s-6);
  padding: 4px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-md);
}

.auth-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  border-radius: calc(var(--radius-md) - 2px);
  transition: background .18s ease, color .18s ease, transform .15s ease;
  position: relative;
}

.auth-tab:hover {
  color: rgba(255, 255, 255, .85);
}

.auth-tab.is-active {
  background: var(--c-blue-500, #1E6BE6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 107, 230, .3);
}

.auth-tab.is-active:hover {
  color: #fff;
}

@media (max-width: 480px) {
  .auth-tab {
    padding: .65rem .75rem;
    font-size: .82rem;
  }
}

/* Messages */
.auth-message {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--s-5);
  font-size: 0.9rem;
}

.auth-message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.auth-message--error svg {
  stroke: var(--c-danger);
}

.auth-message--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.auth-message--success svg {
  stroke: var(--c-success);
}

/* Form Groups */
.auth-form-group {
  margin-bottom: var(--s-4);
}

.auth-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-gray-300);
  margin-bottom: var(--s-2);
}

.auth-form-group input[type="text"],
.auth-form-group input[type="email"],
.auth-form-group input[type="password"] {
  width: 100%;
  background: var(--c-navy-900) !important;
  border: 1px solid var(--c-navy-600) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--s-3) var(--s-4) !important;
  color: var(--c-white) !important;
  font-size: 1rem !important;
  height: 48px !important;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.auth-form-group input:focus {
  border-color: var(--c-blue-500) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

.auth-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--c-gray-500);
  margin-top: var(--s-1);
}

/* Checkbox */
.auth-form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  cursor: pointer;
  font-weight: 400;
}

.auth-form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-blue-500);
}

.auth-form-group--checkbox a {
  color: var(--c-blue-400);
  text-decoration: underline;
}

/* Form Row */
.auth-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-5);
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--c-gray-400);
}

.auth-checkbox input {
  accent-color: var(--c-blue-500);
}

.auth-forgot {
  font-size: 0.9rem;
  color: var(--c-blue-400);
  text-decoration: none;
}

.auth-forgot:hover {
  text-decoration: underline;
}

/* Submit Button */
.auth-form .btn-block {
  margin-top: var(--s-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
}

/* Switch Link */
.auth-switch {
  text-align: center;
  margin-top: var(--s-5);
  color: var(--c-gray-400);
  font-size: 0.95rem;
}

.auth-switch a {
  color: var(--c-blue-400);
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Header Login Button */
.btn-header-login {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: transparent;
  border: 1px solid var(--c-navy-500);
  border-radius: var(--radius-md);
  color: var(--c-gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--t-fast);
}

.btn-header-login:hover {
  background: var(--c-navy-700);
  border-color: var(--c-blue-500);
  color: var(--c-white);
}

.btn-header-login svg {
  stroke: currentColor;
}

.btn-header-user {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--c-blue-600);
  border-radius: 50%;
  color: var(--c-white);
  text-decoration: none;
  transition: all var(--t-fast);
}

.btn-header-user:hover {
  background: var(--c-blue-500);
  transform: scale(1.05);
}

.btn-header-user svg {
  stroke: currentColor;
}

@media (max-width: 1024px) {
  .btn-header-login span {
    display: none;
  }
  
  .btn-header-login {
    padding: var(--s-2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }
}

/* Welcome Banner */
.stx-welcome-banner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  margin-bottom: var(--s-6);
  position: relative;
}

.stx-welcome-icon {
  color: #F59E0B;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stx-welcome-icon svg { width: 32px; height: 32px; }

.stx-welcome-text {
  flex: 1;
}

.stx-welcome-text strong {
  display: block;
  color: var(--c-white);
  font-size: 1.1rem;
  margin-bottom: var(--s-1);
}

.stx-welcome-text p {
  color: var(--c-gray-300);
  font-size: 0.9rem;
  margin: 0;
}

.stx-welcome-close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  background: none;
  border: none;
  color: var(--c-gray-400);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
}

.stx-welcome-close:hover {
  color: var(--c-white);
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-dropdown .btn-header-user {
  cursor: pointer;
  border: none;
  background: var(--c-blue-600);
}

/* Mobile Link - nur auf Mobile sichtbar */
.btn-header-user--mobile {
  display: none;
}

@media (max-width: 1024px) {
  /* Mobile: Dropdown verstecken, direkten Link zeigen */
  .user-dropdown {
    display: none !important;
  }
  
  .btn-header-user--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--c-blue-600);
    border-radius: 50%;
    color: var(--c-white);
    text-decoration: none;
    transition: all var(--t-fast);
  }
  
  .btn-header-user--mobile:hover {
    background: var(--c-blue-500);
    transform: scale(1.05);
  }
  
  .btn-header-user--mobile svg {
    stroke: currentColor;
  }
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--c-navy-700);
  border: 1px solid var(--c-navy-500);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-fast);
  z-index: 9999;
}

.user-dropdown.is-open .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  padding: var(--s-4);
  border-bottom: 1px solid var(--c-navy-600);
}

.user-dropdown-name {
  display: block;
  font-weight: 600;
  color: var(--c-white);
  font-size: 0.95rem;
}

.user-dropdown-email {
  display: block;
  color: var(--c-gray-400);
  font-size: 0.8rem;
  margin-top: 2px;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--c-navy-600);
  margin: var(--s-2) 0;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  color: var(--c-gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--t-fast);
}

.user-dropdown-item:hover {
  background: var(--c-navy-600);
  color: var(--c-white);
}

.user-dropdown-item svg {
  stroke: currentColor;
  flex-shrink: 0;
}

.user-dropdown-item--logout {
  color: var(--c-danger);
}

.user-dropdown-item--logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--c-danger);
}

/* Mobile User Info */
.mobile-user-info {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--c-navy-700);
  border-radius: var(--radius-md);
  margin-bottom: var(--s-3);
  color: var(--c-white);
  font-weight: 500;
}

.mobile-user-info svg {
  stroke: var(--c-blue-400);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   ACCOUNT / KUNDENKONTO
   ══════════════════════════════════════════════════════════════════ */

/* Hero */
.account-hero {
  background: linear-gradient(135deg, var(--c-navy-800) 0%, var(--c-navy-900) 100%);
  padding: var(--s-10) 0;
  padding-top: calc(var(--s-10) + 80px);
  border-bottom: 1px solid var(--c-navy-600);
}

.account-hero-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.account-avatar {
  flex-shrink: 0;
}

.account-avatar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue-600), var(--c-blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-avatar-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

.account-hero-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}

/* Section */
.account-section {
  background: var(--c-navy-900);
  padding: var(--s-10) 0;
}

/* Grid */
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}

@media (max-width: 768px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.account-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  background: var(--c-navy-800);
  border: 1px solid var(--c-navy-600);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  text-decoration: none;
  transition: all var(--t-fast);
}

.account-card:hover {
  border-color: var(--c-blue-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.account-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}

.account-card--featured:hover {
  border-color: #8B5CF6;
}

@media (max-width: 768px) {
  .account-card--featured {
    grid-column: span 1;
  }
}

.account-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.account-card-content {
  flex: 1;
}

.account-card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 var(--s-1) 0;
}

.account-card-content p {
  font-size: 0.9rem;
  color: var(--c-gray-400);
  margin: 0;
  line-height: 1.5;
}

.account-card-arrow {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.account-card:hover .account-card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.account-card-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--c-gray-400);
}

/* Details Grid */
.account-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}

@media (max-width: 768px) {
  .account-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Box */
.account-box {
  background: var(--c-navy-800);
  border: 1px solid var(--c-navy-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.account-box-header {
  padding: var(--s-4) var(--s-5);
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--c-navy-600);
}

.account-box-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.account-box-header h3 svg {
  stroke: var(--c-blue-400);
}

.account-box-body {
  padding: var(--s-5);
}

/* Info Rows */
.account-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) 0;
  border-bottom: 1px dashed var(--c-navy-600);
}

.account-info-row:last-child {
  border-bottom: none;
}

.account-info-label {
  font-size: 0.9rem;
  color: var(--c-gray-400);
}

.account-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-white);
}

/* Action Button */
.account-action-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: var(--c-navy-700);
  border: 1px solid var(--c-navy-500);
  border-radius: var(--radius-md);
  color: var(--c-gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--t-fast);
}

.account-action-btn:hover {
  background: var(--c-navy-600);
  border-color: var(--c-blue-500);
  color: var(--c-white);
}

/* Logout Section */
.account-logout-section {
  text-align: center;
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-navy-700);
}

.btn-logout {
  color: var(--c-danger);
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--c-danger);
}

/* ═══════════════════════════════════════════════════════════════════
   TMB SHOP SYSTEM — Library, Single Product, Checkout, Account
   v2.5.0
═══════════════════════════════════════════════════════════════════ */

/* ── HEADER CART ICON ─────────────────────────────────────────── */
.btn-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--c-white);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--t-base);
  text-decoration: none;
}
.btn-header-cart:hover {
  background: rgba(30,107,230,.15);
  border-color: rgba(30,107,230,.4);
  color: var(--c-blue-300);
}
.btn-header-cart__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--c-blue-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(30,107,230,.4);
}

/* ── CART TOAST (Bestätigung nach "Jetzt kaufen") ─────────────── */
.tmb-cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 14px;
  max-width: 460px;
  padding: 14px 16px 14px 14px;
  background: rgba(15, 23, 42, .96);
  border: 1px solid rgba(30, 107, 230, .35);
  border-radius: 12px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04) inset;
  color: var(--c-white);
  backdrop-filter: blur(10px);
}
.tmb-cart-toast.is-visible {
  display: flex;
  animation: tmbToastIn .35s cubic-bezier(.22,.61,.36,1);
}
@keyframes tmbToastIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.tmb-cart-toast__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(16, 185, 129, .4);
  border-radius: 50%;
  color: #34d399;
}
.tmb-cart-toast__body {
  flex: 1;
  min-width: 0;
}
.tmb-cart-toast__title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
}
.tmb-cart-toast__sub {
  margin-top: 2px;
  font-size: .78rem;
  color: var(--c-gray-400);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}
.tmb-cart-toast__sub:empty { display: none; }
.tmb-cart-toast__actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}
.tmb-cart-toast__close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: 0;
  color: var(--c-gray-500);
  font-size: 18px;
  line-height: 1;
  width: 22px;
  height: 22px;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  transition: all var(--t-base);
}
.tmb-cart-toast__close:hover {
  background: rgba(255,255,255,.06);
  color: var(--c-white);
}
@media (max-width: 640px) {
  .tmb-cart-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    flex-wrap: wrap;
    padding: 14px 16px;
  }
  .tmb-cart-toast__actions {
    width: 100%;
    margin-top: 8px;
  }
  .tmb-cart-toast__actions .btn { flex: 1; text-align: center; }
}

/* Button-State nach Hinzufügen */
.product-buycard__btn.is-in-cart {
  background: rgba(16, 185, 129, .12) !important;
  border-color: rgba(16, 185, 129, .5) !important;
  color: #34d399 !important;
}

/* ── BUTTON SIZES ─────────────────────────────────────────────── */
.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}
.btn--sm {
  padding: 6px 14px;
  font-size: .8rem;
}

/* ══════════════════════════════════════════════════════════════════
   LIBRARY ARCHIVE (Shop-Übersicht)
   ══════════════════════════════════════════════════════════════════ */

.library-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(30,107,230,.15) 0%, transparent 60%), var(--c-navy-800);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.library-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(30,107,230,.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(96,165,250,.06) 0%, transparent 40%);
  pointer-events: none;
}
.library-hero__content {
  position: relative;
  max-width: 760px;
}
.library-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--c-white);
  margin: .75rem 0 1rem;
}
.library-hero__lead {
  color: var(--c-gray-400);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.7;
  max-width: 600px;
}

/* ── Filter Chips ─────────────────────────────────────────────── */
.library-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.library-filter__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: .82rem;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--c-gray-400);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  transition: all var(--t-base);
  text-decoration: none;
  cursor: pointer;
}
.library-filter__chip:hover {
  color: var(--c-white);
  border-color: rgba(30,107,230,.4);
  background: rgba(30,107,230,.08);
}
.library-filter__chip.is-active {
  background: var(--c-blue-500);
  border-color: var(--c-blue-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30,107,230,.3);
}

/* ── Library Grid + Card ──────────────────────────────────────── */
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.library-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--t-base);
}
/* Mobile-Tap-Hardening: verhindert Doppeltap-Zoom und grelle Tap-Highlights
   auf iOS Safari / Chrome Mobile. */
.library-card a,
.library-card__media,
.library-card__btn,
.library-card__title a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(30,107,230,.15);
}
/* Hover-Effekte NUR auf Geräten mit echtem Hover (Maus/Trackpad).
   Ohne diese Guard bleibt auf Touch-Geräten der "Hover-State" nach dem
   Tap kleben: Bild zoomt auf 1.05, Card verschiebt sich um -3px, und
   der Klick landet neben dem Link weil das Layout sich bewegt hat.   */
@media (hover: hover) and (pointer: fine) {
  .library-card:hover {
    border-color: rgba(30,107,230,.4);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,.25), 0 0 30px rgba(30,107,230,.12);
  }
  .library-card:hover .library-card__img {
    transform: scale(1.05);
  }
}
.library-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-navy-700), var(--c-navy-600));
  overflow: hidden;
  text-decoration: none;
}
.library-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.library-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(96,165,250,.35);
}
.library-card__version {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--c-gray-300);
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
}
.library-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--c-blue-500), var(--c-blue-400));
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(30,107,230,.4);
}

.library-card__body {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.5rem;
  flex: 1;
}
.library-card__cat {
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-blue-300);
}
.library-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--c-white);
}
.library-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-base);
}
.library-card__title a:hover {
  color: var(--c-blue-300);
}
.library-card__excerpt {
  font-size: .875rem;
  color: var(--c-gray-400);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.library-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.library-card__price-free {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-green);
}
.library-card__price-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  display: block;
}
.library-card__price-note {
  font-size: .7rem;
  color: var(--c-gray-500);
  display: block;
  margin-top: 2px;
}
.library-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--c-blue-300);
  background: rgba(30,107,230,.1);
  border: 1px solid rgba(30,107,230,.25);
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--t-base);
}
.library-card__btn:hover {
  background: var(--c-blue-500);
  border-color: var(--c-blue-500);
  color: #fff;
}

/* ── Pagination ───────────────────────────────────────────────── */
.library-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.library-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  color: var(--c-gray-300);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--t-base);
}
.library-pagination__item:hover {
  background: rgba(30,107,230,.1);
  border-color: rgba(30,107,230,.35);
  color: var(--c-white);
}
.library-pagination__item.current {
  background: var(--c-blue-500);
  border-color: var(--c-blue-500);
  color: #fff;
}

/* ── Empty State ──────────────────────────────────────────────── */
.library-empty {
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 14px;
  color: var(--c-gray-400);
}
.library-empty svg {
  color: rgba(96,165,250,.3);
  margin-bottom: 1rem;
}
.library-empty h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--c-white);
  margin: 0 0 .5rem;
}
.library-empty p {
  margin: 0 0 1.5rem;
}

/* ── CTA Band ─────────────────────────────────────────────────── */
.library-cta {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(30,107,230,.05));
  border-top: 1px solid rgba(255,255,255,.04);
}
.library-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.5rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
}
.library-cta h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-white);
  margin: .5rem 0 .5rem;
  line-height: 1.2;
}
.library-cta p {
  color: var(--c-gray-400);
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
 * Single Product — Premium-Layout (v22173 · Wiederhergestellt)
 * ═══════════════════════════════════════════════════════════════════ */

.product-single { background: var(--c-navy-800); }

.product-breadcrumb {
  padding: 1rem 0;
  background: rgba(0,0,0,.35);
  font-size: .8rem;
  color: var(--c-gray-500);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.product-breadcrumb a {
  color: var(--c-gray-400);
  text-decoration: none;
  transition: color .2s ease;
}
.product-breadcrumb a:hover { color: var(--c-blue-300); }
.product-breadcrumb__sep { margin: 0 .55rem; color: var(--c-gray-600); }

/* ── Hero ─────────────────────────────────────────────────────── */
.product-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.product-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(96,165,250,.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(96,165,250,.04), transparent 50%);
  z-index: 0;
}
.product-hero .container { position: relative; z-index: 1; }

.product-hero__header {
  margin-bottom: 2.5rem;
}
.product-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 960px) {
  .product-hero__header { margin-bottom: 2rem; }
  .product-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Media ────────────────────────────────────────────────────── */
.product-hero__media-wrap {
  position: relative;
}
@media (max-width: 960px) {
  .product-hero__media-wrap { position: static; top: auto; }
}
.product-hero__media {
  position: relative;
  height: 100%;
  min-height: 300px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(96,165,250,.05) inset;
}
.product-hero__media-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(96,165,250,.22) 0%, rgba(96,165,250,.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.product-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1.5rem;
  box-sizing: border-box;
}
.product-hero__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(96,165,250,.3);
}
.product-hero__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--c-blue-500), var(--c-blue-400));
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(30,107,230,.45);
}

/* ── Info (rechts) ────────────────────────────────────────────── */
.product-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-blue-300);
  padding: .35rem .7rem;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 6px;
  margin-bottom: 1rem;
}
.product-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0 0 1rem;
}
.product-hero__lead {
  color: var(--c-gray-300);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

/* ── Meta-Pills (inline, kompakt) ─────────────────────────────── */
.product-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.product-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-gray-200);
  letter-spacing: .01em;
}
.product-pill svg { color: var(--c-blue-300); flex-shrink: 0; }

/* ── Buy-Card: Preis + CTA + Benefits ─────────────────────────── */
.product-hero__info {
  display: flex;
  flex-direction: column;
}
.product-buycard {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(30,41,59,.6) 0%, rgba(15,23,42,.8) 100%);
  border: 1px solid rgba(96,165,250,.18);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.04) inset,
    0 20px 40px -16px rgba(0,0,0,.5);
}
.product-buycard__price {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.product-buycard__price-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1;
}
.product-buycard__price-free {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #10B981;
  letter-spacing: -.02em;
}
.product-buycard__price-note {
  font-size: .82rem;
  color: var(--c-gray-400);
  margin-top: .3rem;
}
.product-buycard__cta {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.product-buycard__btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
}
.product-buycard__lichint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .82rem;
  color: #10B981;
  font-weight: 600;
}
.product-buycard__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.product-buycard__benefits li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--c-gray-200);
  line-height: 1.4;
}
.product-buycard__benefits svg {
  color: #10B981;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .product-buycard { padding: 1.35rem; }
  .product-buycard__price-num { font-size: 2rem; }
}

/* Extras inside buycard */
.product-buycard__extras {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.product-buycard__extras-label {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.product-buycard__extra-item {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: .85rem;
}
.product-buycard__extra-top {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.product-buycard__extra-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
}
.product-buycard__extra-info {
  flex: 1;
  min-width: 0;
}
.product-buycard__extra-title {
  font-size: .84rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}
.product-buycard__extra-meta {
  font-size: .73rem;
  color: rgba(255,255,255,.4);
  margin-top: .1rem;
}
.product-buycard__extra-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  cursor: pointer;
  white-space: nowrap;
}
.product-buycard__extra-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.product-buycard__extra-btn svg {
  flex-shrink: 0;
}
.product-buycard__extra-locked {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}

/* ── Legacy-Klassen-Erhalt (für Rückwärts-Kompat) ────────────── */
.product-hero__info .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-blue-300);
  padding: .35rem .7rem;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 6px;
  margin-bottom: 1rem;
}


/* ── Product Content Section ──────────────────────────────────── */
.product-content {
  background: var(--c-navy-800);
  border-top: 1px solid rgba(255,255,255,.04);
}
.product-content__inner {
  max-width: 760px;
  margin: 0 auto;
}
.product-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 1.5rem;
}
.product-content__body { color: var(--c-gray-300); line-height: 1.75; font-size: 1rem; }
.product-content__body p { margin-bottom: 1rem; }
.product-content__body h1,
.product-content__body h2,
.product-content__body h3,
.product-content__body h4,
.product-content__body h5,
.product-content__body h6 {
  font-family: var(--font-display);
  color: var(--c-white) !important;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 2rem 0 .875rem;
}
.product-content__body h1 { font-size: 1.875rem; margin-top: 0; }
.product-content__body h2 { font-size: 1.5rem; }
.product-content__body h3 { font-size: 1.25rem; }
.product-content__body h4 { font-size: 1.1rem; }
.product-content__body h5,
.product-content__body h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-gray-200) !important; }
.product-content__body strong { color: var(--c-white); font-weight: 700; }
.product-content__body blockquote {
  border-left: 3px solid var(--c-blue-500);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--c-gray-200);
  font-style: italic;
}
.product-content__body ul, .product-content__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.product-content__body li { margin-bottom: .5rem; }
.product-content__body a {
  color: var(--c-blue-300);
  text-decoration: underline;
}
.product-content__body code {
  background: rgba(255,255,255,.06);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .875em;
  color: var(--c-blue-300);
}

.section--alt {
  background: rgba(0,0,0,.15);
  border-top: 1px solid rgba(255,255,255,.04);
}
.product-single .section-title,
.product-single .section--alt .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--c-white);
  margin: .5rem 0 2rem;
}

/* ══════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ══════════════════════════════════════════════════════════════════ */

.checkout-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}
.checkout-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--c-white);
  margin: .5rem 0 .75rem;
  letter-spacing: -.02em;
}
.checkout-hero__lead {
  color: var(--c-gray-400);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* ── Checkout Form ────────────────────────────────────────────── */
.checkout-form {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 2rem;
}
.checkout-section {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.checkout-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.checkout-section__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .checkout-row { grid-template-columns: 1fr; }
}
.checkout-field {
  display: block;
  margin-bottom: 1rem;
}
.checkout-field:last-child { margin-bottom: 0; }
.checkout-field__lbl {
  display: block;
  font-size: .825rem;
  font-weight: 500;
  color: var(--c-gray-300);
  margin-bottom: .375rem;
}
.checkout-field .req {
  color: var(--c-red);
}
.checkout-field input,
.checkout-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: .925rem;
  font-family: var(--font-body);
  color: var(--c-white);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  transition: all var(--t-base);
}
.checkout-field input:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: var(--c-blue-500);
  background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 3px rgba(30,107,230,.15);
}
.checkout-field input::placeholder,
.checkout-field textarea::placeholder {
  color: var(--c-gray-500);
}
.checkout-field__hint {
  display: block;
  margin-top: .375rem;
  font-size: .75rem;
  color: var(--c-gray-500);
}
.checkout-payment__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: rgba(255,255,255,.02);
  border: 2px solid rgba(30,107,230,.3);
  border-radius: 10px;
}
.checkout-payment__option.is-selected {
  background: rgba(30,107,230,.08);
  border-color: var(--c-blue-500);
}
.checkout-payment__option svg {
  color: var(--c-blue-300);
  flex-shrink: 0;
}
.checkout-payment__option strong {
  display: block;
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 2px;
}
.checkout-payment__option span {
  display: block;
  font-size: .825rem;
  color: var(--c-gray-400);
}
.checkout-check {
  display: flex;
  gap: .75rem;
  padding: .875rem;
  margin-bottom: .75rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--t-base);
  font-size: .875rem;
  color: var(--c-gray-300);
  line-height: 1.55;
}
.checkout-check:hover {
  border-color: rgba(30,107,230,.3);
}
.checkout-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--c-blue-500);
  flex-shrink: 0;
}
.checkout-check a {
  color: var(--c-blue-300);
  text-decoration: underline;
}
/* Kritische Consent-Checkbox (Widerrufs-Verzicht §356 Abs. 5 BGB) —
   visuell hervorgehoben, damit sie nicht als bloße Formalie übersehen wird. */
.checkout-check--critical {
  background: rgba(245, 158, 11, .06);       /* dezenter Amber-Tint */
  border-color: rgba(245, 158, 11, .35);
}
.checkout-check--critical:hover {
  border-color: rgba(245, 158, 11, .55);
}
.checkout-check--critical input {
  accent-color: #f59e0b;
}
.checkout-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}
.checkout-submit:disabled,
.checkout-submit[disabled] {
  opacity: .5;
  cursor: not-allowed;
  filter: grayscale(.3);
}
.checkout-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--c-gray-500);
}

/* ── Checkout Summary ─────────────────────────────────────────── */
.checkout-summary {
  position: sticky;
  top: 100px;
  background: linear-gradient(180deg, rgba(30,107,230,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.75rem;
}
.checkout-summary__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.checkout-summary__items {
  margin-bottom: 1.25rem;
}
.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.checkout-summary__item:last-child { border-bottom: none; }
.checkout-summary__item-name {
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-white);
  margin-bottom: 2px;
}
.checkout-summary__item-qty {
  font-size: .75rem;
  color: var(--c-gray-500);
}
.checkout-summary__item-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-white);
  white-space: nowrap;
  font-family: var(--font-display);
}
.checkout-summary__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 18px;
  color: var(--c-gray-500);
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--t-base);
}
.checkout-summary__remove:hover {
  background: var(--c-red);
  color: #fff;
}
.checkout-summary__totals {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: .875rem;
  color: var(--c-gray-300);
}
.checkout-summary__row--discount {
  color: #34d399;
}
.checkout-summary__row--discount em {
  font-style: normal;
  font-size: .75rem;
  opacity: .75;
  margin-left: .25rem;
}
.checkout-summary__row--total {
  padding-top: .75rem;
  margin-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
}

/* ── Coupon Block ──────────────────────────────────────────────── */
.checkout-coupon {
  margin: 1.25rem 0;
  padding: 1rem;
  background: rgba(15, 23, 42, .5);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
}

.checkout-coupon__label-top {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--c-gray-300, #cbd5e1);
  margin-bottom: .55rem;
}

.checkout-coupon__form {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  align-items: stretch;
}
.checkout-coupon__form input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff !important;
  background: rgba(0, 0, 0, .35) !important;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  caret-color: #fff;
  transition: border-color var(--t-base), background var(--t-base);
}
.checkout-coupon__form input[type="text"]::placeholder {
  color: rgba(148, 163, 184, .5);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.checkout-coupon__form input[type="text"]:focus {
  outline: none;
  border-color: var(--c-blue-500, #1e6be6);
  background: rgba(0, 0, 0, .55) !important;
  box-shadow: 0 0 0 3px rgba(30, 107, 230, .18);
}
/* Chrome/Safari Autofill — wichtig, sonst wird das Feld gelb/grau gerendert */
.checkout-coupon__form input:-webkit-autofill,
.checkout-coupon__form input:-webkit-autofill:hover,
.checkout-coupon__form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, .55) inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
}

.checkout-coupon__form .btn--sm {
  flex-shrink: 0;
  padding: 0 1rem;
  font-size: .82rem;
  white-space: nowrap;
}

.checkout-coupon__msg {
  margin: .65rem 0 0;
  font-size: .8rem;
  color: var(--c-gray-300, #cbd5e1);
  line-height: 1.4;
}
.checkout-coupon__msg:empty { display: none; }
.checkout-coupon__msg.is-error   { color: #fca5a5; }
.checkout-coupon__msg.is-success { color: #34d399; }

.checkout-coupon__applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .25rem 0;
}
.checkout-coupon__label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 2px;
}
.checkout-coupon__applied strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.checkout-coupon__remove {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--c-gray-300, #cbd5e1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--t-base);
  flex-shrink: 0;
}
.checkout-coupon__remove:hover {
  border-color: #f87171;
  color: #f87171;
  background: rgba(248, 113, 113, .1);
}

/* Auf sehr schmalen Screens (z.B. enge Mobile-Sidebar) Button unter Input umbrechen */
@media (max-width: 380px) {
  .checkout-coupon__form { flex-wrap: wrap; }
  .checkout-coupon__form .btn--sm { width: 100%; }
}
.checkout-summary__features {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-summary__features div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--c-gray-400);
}
.checkout-summary__features svg {
  color: var(--c-green);
  flex-shrink: 0;
}

/* ── Checkout Errors + Empty ──────────────────────────────────── */
.checkout-errors {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.25);
  border-left: 4px solid var(--c-red);
  border-radius: 8px;
  color: #fca5a5;
}
.checkout-errors strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--c-red);
}
.checkout-errors ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: .875rem;
}

.checkout-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 14px;
}
.checkout-empty svg {
  color: rgba(96,165,250,.3);
  margin-bottom: 1rem;
}
.checkout-empty h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-white);
  margin: 0 0 .5rem;
}
.checkout-empty p {
  color: var(--c-gray-400);
  margin: 0 0 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════
   CHECKOUT THANKS PAGE
   ══════════════════════════════════════════════════════════════════ */

.thanks-card {
  max-width: 680px;
  margin: 2rem auto;
  padding: 3rem 2.5rem;
  background: linear-gradient(180deg, rgba(30,107,230,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  text-align: center;
}
.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}
.thanks-icon--success {
  background: rgba(16,185,129,.12);
  color: var(--c-green);
  box-shadow: 0 0 0 8px rgba(16,185,129,.05);
}
.thanks-icon--pending {
  background: rgba(245,158,11,.12);
  color: var(--c-amber);
}
.thanks-icon--failed {
  background: rgba(239,68,68,.12);
  color: #ef4444;
  box-shadow: 0 0 0 8px rgba(239,68,68,.05);
}
.thanks-icon--failed + .eyebrow {
  color: #ef4444;
}
.thanks-card .eyebrow {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-blue-300);
  font-weight: 600;
}
.thanks-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-white);
  margin: .75rem 0 .5rem;
  line-height: 1.2;
}
.thanks-lead {
  color: var(--c-gray-300);
  font-size: 1rem;
  margin: 0 0 .5rem;
}
.thanks-email {
  color: var(--c-gray-400);
  font-size: .925rem;
  margin: 0 0 2rem;
}

.thanks-items {
  text-align: left;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: rgba(0,0,0,.25);
  border-radius: 12px;
}
.thanks-items h3 {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-gray-400);
  margin: 0 0 .75rem;
}
.thanks-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: .9rem;
  color: var(--c-white);
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.thanks-item:last-child { border-bottom: none; }
.thanks-item__price {
  font-family: var(--font-display);
  font-weight: 600;
}

.thanks-licenses {
  text-align: left;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 12px;
}
.thanks-licenses h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-green);
  margin: 0 0 .5rem;
}
.thanks-licenses__hint {
  font-size: .825rem;
  color: var(--c-gray-400);
  margin: 0 0 1rem;
}
.thanks-license {
  padding: .875rem 1rem;
  margin-bottom: .625rem;
  background: rgba(0,0,0,.35);
  border-radius: 8px;
}
.thanks-license:last-child { margin-bottom: 0; }
.thanks-license__product {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-gray-400);
  margin-bottom: 4px;
}
.thanks-license__key {
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--c-blue-300);
  word-break: break-all;
}

.thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.thanks-empty {
  max-width: 500px;
  margin: 3rem auto;
  text-align: center;
  padding: 3rem 2rem;
}
.thanks-empty h1 {
  font-family: var(--font-display);
  color: var(--c-white);
  margin-bottom: 1rem;
}
.thanks-empty p {
  color: var(--c-gray-400);
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════
   ACCOUNT — Licenses + Orders Section
   ══════════════════════════════════════════════════════════════════ */

.account-section-block {
  margin-top: 2.5rem;
}
.account-section-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.account-section-header h2 {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}
.account-section-header h2 svg {
  color: var(--c-blue-300);
}
.account-section-count {
  padding: 3px 12px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(30,107,230,.15);
  color: var(--c-blue-300);
  border-radius: 999px;
  border: 1px solid rgba(30,107,230,.3);
}

/* ── License Cards ────────────────────────────────────────────── */
.account-licenses {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.account-license {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  transition: border-color var(--t-base);
}
.account-license:hover {
  border-color: rgba(30,107,230,.25);
}
.account-license__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.account-license__product {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 4px;
}
.account-license__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 500;
}
.account-license__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.account-license__status--active { color: var(--c-green); }
.account-license__status--active .account-license__dot { background: var(--c-green); box-shadow: 0 0 8px rgba(16,185,129,.6); }
.account-license__status--inactive { color: var(--c-gray-400); }
.account-license__status--inactive .account-license__dot { background: var(--c-gray-400); }
.account-license__status--expired,
.account-license__status--revoked { color: var(--c-red); }
.account-license__status--expired .account-license__dot,
.account-license__status--revoked .account-license__dot { background: var(--c-red); }

.account-license__key-box {
  position: relative;
  padding: 1rem 3rem 1rem 1rem;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(30,107,230,.15);
  border-radius: 10px;
  margin-bottom: 1rem;
}
.account-license__key-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: 4px;
}
.account-license__key {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-blue-300);
  letter-spacing: .05em;
  word-break: break-all;
  user-select: all;
}
.account-license__copy {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(30,107,230,.1);
  border: 1px solid rgba(30,107,230,.3);
  border-radius: 8px;
  color: var(--c-blue-300);
  cursor: pointer;
  transition: all var(--t-base);
}
.account-license__copy:hover {
  background: var(--c-blue-500);
  color: #fff;
}
.account-license__copy.is-copied {
  background: var(--c-green);
  border-color: var(--c-green);
  color: #fff;
}

.account-license__meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: .875rem 1rem;
  background: rgba(255,255,255,.02);
  border-radius: 8px;
  font-size: .8rem;
}
.account-license__meta-item {
  display: flex;
  gap: .4rem;
}
.account-license__meta-lbl {
  color: var(--c-gray-500);
}
.account-license__meta-val {
  color: var(--c-gray-300);
  font-weight: 500;
}
.account-license__meta-val code {
  background: rgba(30,107,230,.12);
  color: var(--c-blue-300);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .85em;
}

.account-license__setup {
  margin-top: 1rem;
  padding: .875rem 1rem;
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 8px;
}
.account-license__setup summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--c-amber);
  user-select: none;
  font-size: .875rem;
}
.account-license__setup-body {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px dashed rgba(245,158,11,.2);
  color: var(--c-gray-300);
  font-size: .875rem;
  line-height: 1.7;
}
.account-license__setup-body ol {
  margin: 0;
  padding-left: 1.25rem;
}
.account-license__setup-body code {
  background: rgba(0,0,0,.3);
  color: var(--c-amber);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .85em;
}

/* ── Order Cards ──────────────────────────────────────────────── */
.account-orders {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.account-order {
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
}
.account-order__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: .875rem;
  margin-bottom: .875rem;
  border-bottom: 1px dashed rgba(255,255,255,.05);
}
.account-order__num {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.account-order__num strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--c-white);
}
.account-order__status {
  display: inline-block;
  padding: 2px 10px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  border-radius: 999px;
}
.account-order__status--completed {
  background: rgba(16,185,129,.15);
  color: var(--c-green);
  border: 1px solid rgba(16,185,129,.3);
}
.account-order__status--pending {
  background: rgba(245,158,11,.15);
  color: var(--c-amber);
  border: 1px solid rgba(245,158,11,.3);
}
.account-order__status--failed,
.account-order__status--refunded {
  background: rgba(239,68,68,.15);
  color: var(--c-red);
  border: 1px solid rgba(239,68,68,.3);
}
.account-order__date {
  font-size: .8rem;
  color: var(--c-gray-500);
}
.account-order__total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
}
.account-order__items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .875rem;
}
.account-order__item {
  display: flex;
  justify-content: space-between;
  color: var(--c-gray-300);
}
.account-order__actions {
  margin-top: .875rem;
  padding-top: .875rem;
  border-top: 1px dashed rgba(255,255,255,.05);
}
.account-order__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--c-blue-300);
  text-decoration: none;
  transition: color var(--t-base);
}
.account-order__link:hover {
  color: var(--c-white);
}

/* Hide empty details grid on account page if no content */
.account-details-grid:empty {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   TMB ACCOUNT v2.6.0 — Tabs, Forms, Dashboard, Downloads
═══════════════════════════════════════════════════════════════════ */

.account-hero-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.account-avatar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue-500), var(--c-blue-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(30,107,230,.3);
}
.account-avatar-icon svg { width: 28px; height: 28px; }
.account-hero-info { flex: 1; min-width: 200px; }
.account-hero-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-white);
  margin: 0 0 .25rem;
  letter-spacing: -.02em;
}
.account-hero-sub {
  color: var(--c-gray-400);
  margin: 0;
  font-size: .95rem;
}
.account-hero-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--c-gray-300);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--t-base);
}
.account-hero-logout:hover {
  background: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.3);
  color: var(--c-red);
}

/* ── Notices ─────────────────────────────────────── */
.account-notices { margin-bottom: 2rem; }
.account-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  margin-bottom: .625rem;
  border-radius: 10px;
  font-size: .9rem;
  border-left: 4px solid;
}
.account-notice--success {
  background: rgba(16,185,129,.08);
  border-left-color: var(--c-green);
  color: #6ee7b7;
}
.account-notice--error {
  background: rgba(239,68,68,.08);
  border-left-color: var(--c-red);
  color: #fca5a5;
}
.account-notice svg { flex-shrink: 0; }

/* ── Tabs ─────────────────────────────────────────── */
.account-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 2rem;
  padding: 4px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.account-tabs::-webkit-scrollbar { display: none; }
.account-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--c-gray-400);
  background: transparent;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--t-base);
}
.account-tab:hover {
  color: var(--c-white);
  background: rgba(255,255,255,.04);
}
.account-tab.is-active {
  background: var(--c-blue-500);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30,107,230,.3);
}
.account-tab__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: rgba(255,255,255,.12);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
}
.account-tab.is-active .account-tab__badge { background: rgba(255,255,255,.2); }

/* ── Dashboard ─────────────────────────────────────── */
.account-dash__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .account-dash__stats { grid-template-columns: 1fr; }
}
.account-dash__stat {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(30,107,230,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
}
.account-dash__stat-label {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray-400);
  margin-bottom: 6px;
}
.account-dash__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -.02em;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.account-dash__recent { margin-top: 2rem; }
.account-dash__section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
.account-dash__section-head h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}
.account-dash__section-head a {
  color: var(--c-blue-300);
  text-decoration: none;
  font-size: .875rem;
}
.account-dash__mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 14px 18px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  margin-bottom: 8px;
}
.account-dash__mini-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-white);
  font-size: .95rem;
  margin-bottom: 3px;
}
.account-dash__mini-code {
  font-family: 'Courier New', monospace;
  color: var(--c-blue-300);
  font-size: .78rem;
  background: none;
  padding: 0;
}

/* ── Empty States ──────────────────────────────────── */
.account-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 14px;
}
.account-empty svg {
  color: rgba(96,165,250,.3);
  margin-bottom: 1rem;
}
.account-empty h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--c-white);
  margin: 0 0 .5rem;
}
.account-empty p {
  color: var(--c-gray-400);
  margin: 0 0 1.5rem;
}

/* ── Forms (Profile, Billing, Password) ─────────────── */
.account-form {
  max-width: 560px;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
}
.account-form h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 .5rem;
}
.account-form__lead {
  color: var(--c-gray-400);
  font-size: .9rem;
  margin: 0 0 1.5rem;
}
.account-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .account-form__row { grid-template-columns: 1fr; }
}
.account-field {
  display: block;
  margin-bottom: 1.1rem;
}
.account-field label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--c-gray-300);
  margin-bottom: .375rem;
}
.account-field .req { color: var(--c-red); }
.account-field input,
.account-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: .925rem;
  font-family: var(--font-body);
  color: var(--c-white);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  transition: all var(--t-base);
}
.account-field input:focus,
.account-field textarea:focus {
  outline: none;
  border-color: var(--c-blue-500);
  background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 3px rgba(30,107,230,.15);
}
.account-field input:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.account-field small {
  display: block;
  margin-top: .4rem;
  color: var(--c-gray-500);
  font-size: .75rem;
}
.account-field small code {
  background: rgba(255,255,255,.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: .9em;
  color: var(--c-blue-300);
}

/* ── Downloads Tab ─────────────────────────────────── */
.account-downloads {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.account-download {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  transition: border-color var(--t-base);
}
.account-download:hover { border-color: rgba(30,107,230,.3); }
.account-download__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,107,230,.1);
  border-radius: 10px;
  color: var(--c-blue-300);
}
.account-download__icon svg { width: 22px; height: 22px; }
.account-download__info {
  flex: 1;
  min-width: 0;
}
.account-download__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-white);
  font-size: 1rem;
  margin-bottom: 3px;
}
.account-download__meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--c-gray-500);
}

/* ── Account Logout Section (cleanup legacy) ──────── */
.account-logout-section { display: none; }
.account-details-grid:empty { display: none; }

/* ═══════════════════════════════════════════════════════════════════
   CHECKOUT v2.8.1 — Mobile Fixes
═══════════════════════════════════════════════════════════════════ */

/* ── Input Contrast (all viewports) ─────────────────────────── */
.checkout-field input,
.checkout-field textarea {
  background: rgba(10,22,40,.85);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 1rem;
}
.checkout-field input:focus,
.checkout-field textarea:focus {
  background: rgba(10,22,40,.95);
  border-color: var(--c-blue-400);
  color: #fff;
}
.checkout-field input::placeholder,
.checkout-field textarea::placeholder {
  color: rgba(148,163,184,.7);
}

/* Autofill fix - Chrome/Safari paint autofilled fields yellow otherwise */
.checkout-field input:-webkit-autofill,
.checkout-field input:-webkit-autofill:hover,
.checkout-field input:-webkit-autofill:focus,
.checkout-field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(10,22,40,.95) inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
}

.checkout-field__lbl {
  color: var(--c-gray-200, #e2e8f0);
  font-size: .85rem;
  font-weight: 500;
}

/* ── MOBILE LAYOUT FIX (≤ 900px) ────────────────────────────── */
@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Summary must NOT be sticky on mobile — causes overlap */
  .checkout-summary {
    position: static !important;
    top: auto !important;
  }

  /* Order: summary FIRST on mobile, then form */
  .checkout-summary {
    order: -1;
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .checkout-hero {
    padding: 2rem 0 1rem;
  }
  .checkout-hero__title {
    font-size: 1.5rem;
  }
  .checkout-hero__lead {
    font-size: .9rem;
  }

  .checkout-form {
    padding: 1.25rem;
    border-radius: 12px;
  }
  .checkout-section {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .checkout-section__title {
    font-size: 1rem;
  }

  .checkout-row {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .checkout-field {
    margin-bottom: .85rem;
  }

  .checkout-payment__option {
    padding: .9rem 1rem;
    gap: .75rem;
  }

  .checkout-check {
    padding: .75rem;
    font-size: .825rem;
    line-height: 1.5;
  }

  .checkout-submit {
    padding: 14px 18px;
    font-size: .95rem;
  }

  /* ── Summary Mobile Tweaks ────────────────────────────────── */
  .checkout-summary {
    padding: 1.25rem;
    border-radius: 12px;
  }
  .checkout-summary__title {
    font-size: 1rem;
    margin: 0 0 .875rem;
    padding-bottom: .75rem;
  }
  .checkout-summary__item {
    gap: .75rem;
    padding: .625rem 0;
    flex-wrap: nowrap;
  }
  .checkout-summary__item-info {
    flex: 1;
    min-width: 0;
  }
  .checkout-summary__item-name {
    font-size: .875rem;
    line-height: 1.35;
    margin-bottom: 2px;
    word-break: break-word;
    hyphens: auto;
  }
  .checkout-summary__item-qty {
    font-size: .7rem;
  }
  .checkout-summary__item-price {
    flex-shrink: 0;
    gap: 6px;
    font-size: .875rem;
    white-space: nowrap;
  }
  .checkout-summary__remove {
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 1;
  }
  .checkout-summary__row {
    padding: 5px 0;
    font-size: .825rem;
  }
  .checkout-summary__row--total {
    font-size: 1rem;
  }
  .checkout-summary__features {
    margin-top: .875rem;
    padding-top: .875rem;
    gap: 6px;
  }
  .checkout-summary__features div {
    font-size: .7rem;
  }
}

/* ── Tiny screens ≤ 380px ─────────────────────────────────── */
@media (max-width: 380px) {
  .checkout-form {
    padding: 1rem;
  }
  .checkout-summary {
    padding: 1rem;
  }
  .checkout-section__title {
    font-size: .95rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   CHECKOUT v2.8.2 — Dark background for whole page
   The theme body is white by default. Checkout styles assume dark.
   Force the entire .checkout-page main to be dark so all nested
   white-text/transparent-bg elements render correctly.
═══════════════════════════════════════════════════════════════════ */

.checkout-page {
  background: var(--c-navy-900);
  color: var(--c-gray-100, #e2e8f0);
  min-height: 100vh;
}

/* Hero gets its own gradient */
.checkout-page .checkout-hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(30,107,230,.15) 0%, transparent 60%),
    var(--c-navy-800);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

/* Main content section: explicit dark bg */
.checkout-page > .section {
  background: var(--c-navy-900);
  color: var(--c-gray-100, #e2e8f0);
}

/* Hero text colors (force even if hero CSS missed them) */
.checkout-page .checkout-hero__title {
  color: var(--c-white);
}
.checkout-page .checkout-hero__lead {
  color: var(--c-gray-300);
}
.checkout-page .eyebrow {
  color: var(--c-blue-300);
}

/* Errors block — higher contrast */
.checkout-errors {
  background: rgba(239,68,68,.12) !important;
  border: 1px solid rgba(239,68,68,.4) !important;
  border-left: 4px solid var(--c-red) !important;
  color: #fecaca !important;
}
.checkout-errors strong {
  color: #fecaca !important;
}
.checkout-errors ul {
  color: #fecaca !important;
}

/* Form container explicit dark bg (not just transparent-white) */
.checkout-page .checkout-form {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}

/* Summary explicit dark bg */
.checkout-page .checkout-summary {
  background: linear-gradient(180deg, rgba(30,107,230,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1);
}

/* All text in summary should be light */
.checkout-page .checkout-summary,
.checkout-page .checkout-summary * {
  color: inherit;
}
.checkout-page .checkout-summary__title {
  color: var(--c-white) !important;
}
.checkout-page .checkout-summary__item-name {
  color: var(--c-white) !important;
}
.checkout-page .checkout-summary__item-qty {
  color: var(--c-gray-400) !important;
}
.checkout-page .checkout-summary__item-price {
  color: var(--c-white) !important;
}
.checkout-page .checkout-summary__row {
  color: var(--c-gray-300) !important;
}
.checkout-page .checkout-summary__row--total {
  color: var(--c-white) !important;
}
.checkout-page .checkout-summary__features div {
  color: var(--c-gray-400) !important;
}

/* Form labels explicit contrast */
.checkout-page .checkout-field__lbl {
  color: var(--c-gray-200, #e2e8f0) !important;
}
.checkout-page .checkout-field__hint {
  color: var(--c-gray-400) !important;
}
.checkout-page .checkout-section__title {
  color: var(--c-white) !important;
}

/* Payment option */
.checkout-page .checkout-payment__option {
  background: rgba(255,255,255,.03);
}
.checkout-page .checkout-payment__option strong {
  color: var(--c-white);
}
.checkout-page .checkout-payment__option span {
  color: var(--c-gray-400);
}

/* Checkboxes */
.checkout-page .checkout-check {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--c-gray-200, #e2e8f0);
}
.checkout-page .checkout-check a {
  color: var(--c-blue-300);
}

/* Trust badge */
.checkout-page .checkout-trust {
  color: var(--c-gray-400);
}

/* Empty state dark-mode */
.checkout-page .checkout-empty {
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.1);
}
.checkout-page .checkout-empty h2 {
  color: var(--c-white);
}
.checkout-page .checkout-empty p {
  color: var(--c-gray-400);
}

/* ═══════════════════════════════════════════════════════════════════
   SHOP PAGES — Dark mode across all shop-related templates
   The base theme body is white. Shop components were designed
   for dark bg. Force dark bg on all shop page wrappers.
═══════════════════════════════════════════════════════════════════ */

.library-archive,
.product-single,
.checkout-page,
.checkout-thanks,
.account-page {
  background: var(--c-navy-900);
  color: var(--c-gray-100, #e2e8f0);
  min-height: 100vh;
}

/* Each page's section wrappers should also be dark */
.library-archive > .section,
.product-single > .section,
.checkout-page > .section,
.checkout-thanks > .section,
.account-page > .section,
.account-page > section.section {
  background: var(--c-navy-900);
  color: var(--c-gray-100, #e2e8f0);
}

/* Alt variant (already has rgba(0,0,0,.15) offset) */
.product-single .section--alt {
  background: rgba(0,0,0,.25) !important;
  border-top: 1px solid rgba(255,255,255,.04);
}

/* Account section explicit */
.account-page .account-section {
  background: var(--c-navy-900);
}

/* ── Library Archive Hero (if missing bg) ──────────────────────── */
.library-archive .library-hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(30,107,230,.15) 0%, transparent 60%),
    var(--c-navy-800);
}

/* ── Product Single Hero ───────────────────────────────────────── */
.product-single .product-breadcrumb {
  background: rgba(0,0,0,.3);
}
.product-single .product-hero {
  background: var(--c-navy-900);
}
.product-single .product-content {
  background: var(--c-navy-800);
}
.product-single .product-content h2,
.product-single .product-hero__title {
  color: var(--c-white);
}
.product-single .product-content__body {
  color: var(--c-gray-300);
}
.product-single .product-content__body h3 {
  color: var(--c-white);
}

/* ── Thanks Page ───────────────────────────────────────────────── */
.checkout-thanks .thanks-title {
  color: var(--c-white);
}
.checkout-thanks .thanks-lead,
.checkout-thanks .thanks-email {
  color: var(--c-gray-300);
}

/* ── Account Hero ──────────────────────────────────────────────── */
.account-page .account-hero {
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(30,107,230,.12) 0%, transparent 60%),
    var(--c-navy-800);
  padding: clamp(4rem, 10vw, 6rem) 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

/* ═══════════════════════════════════════════════════════════════════
   SHOP PAGES v2.8.3 — Prevent horizontal overflow on mobile
═══════════════════════════════════════════════════════════════════ */

/* Root containment — no shop page may extend past viewport */
.checkout-page,
.checkout-thanks,
.library-archive,
.product-single,
.account-page {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

/* All descendants must respect container */
.checkout-page *,
.checkout-thanks *,
.library-archive *,
.product-single *,
.account-page * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Specific: grid items must not overflow their column */
.checkout-grid,
.checkout-grid > *,
.library-grid,
.library-grid > *,
.product-hero__grid,
.product-hero__grid > *,
.account-grid,
.account-grid > * {
  min-width: 0;
}

/* Inputs and textareas: fit parent — EXCEPT checkboxes/radios/buttons */
.checkout-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
.checkout-page textarea,
.checkout-page select,
.account-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
.account-page textarea,
.account-page select {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
/* Checkboxes and radios keep their native size */
.checkout-page input[type="checkbox"],
.checkout-page input[type="radio"],
.account-page input[type="checkbox"],
.account-page input[type="radio"] {
  width: auto !important;
  max-width: none;
  flex-shrink: 0;
}
.checkout-page textarea,
.account-page textarea {
  resize: vertical;
}

/* Prevent long words (like emails, URLs) from forcing overflow */
.checkout-summary__item-name,
.checkout-summary__item-info,
.account-order,
.account-license,
.thanks-license__key,
.account-license__key {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Long URLs and emails shouldn't break layout */
.checkout-page a,
.account-page a {
  overflow-wrap: anywhere;
}

/* Containers explicitly full width — no margin surprises */
.checkout-page .container,
.checkout-thanks .container,
.library-archive .container,
.product-single .container,
.account-page .container {
  width: 100%;
  max-width: var(--container-max);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Mobile-specific: tighter padding so content has room to breathe */
@media (max-width: 600px) {
  .checkout-page .container,
  .checkout-thanks .container,
  .library-archive .container,
  .product-single .container,
  .account-page .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Forms stacked without side-room wasted */
  .checkout-form,
  .checkout-summary {
    width: 100%;
    box-sizing: border-box;
  }

  /* Hero text shouldn't overflow */
  .checkout-hero__title,
  .library-hero__title,
  .product-hero__title {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

/* iOS Safari — form controls tend to inherit weird default widths */
@supports (-webkit-touch-callout: none) {
  .checkout-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  .checkout-page textarea,
  .account-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  .account-page textarea {
    -webkit-appearance: none;
    appearance: none;
  }
}

/* Checkboxes: explicit size + visible styling on dark bg */
.checkout-page input[type="checkbox"],
.account-page input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  accent-color: var(--c-blue-500, #1E6BE6);
  cursor: pointer;
  margin: 0;
  vertical-align: middle;
}
.checkout-page input[type="radio"],
.account-page input[type="radio"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  accent-color: var(--c-blue-500, #1E6BE6);
  cursor: pointer;
  margin: 0;
}

/* Extra safety: html element itself shouldn't allow horizontal scroll */
html {
  overflow-x: hidden;
}

/* PLZ (short) + Ort (wide) row */
.checkout-row--plz-ort {
  grid-template-columns: 120px 1fr;
}
@media (max-width: 480px) {
  .checkout-row--plz-ort {
    grid-template-columns: 100px 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   POOLS — "Coming Soon" / Launch Announcement Components (v2.9.0)
═══════════════════════════════════════════════════════════════════ */

/* ── Navigation "Bald" pill ─────────────────────────────────── */
.tmb-nav-soon {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  margin-left: 6px;
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
  line-height: 1.3;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgba(245,158,11,.4);
}

/* In mobile menu — tighter */
.mobile-nav-list .tmb-nav-soon {
  font-size: 8px;
  padding: 1px 6px;
  margin-left: 8px;
}

/* ── Standalone "Launch Mai 2026" badge ─────────────────────── */
.tmb-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(245,158,11,.12);
  color: #F59E0B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 999px;
  line-height: 1.4;
}
.tmb-soon-badge--large {
  padding: 7px 16px;
  font-size: 12px;
}
.tmb-soon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
  animation: tmb-soon-pulse 2s ease-in-out infinite;
}
@keyframes tmb-soon-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

/* ── Front-page POOLS-Section Banner (above title) ──────────── */
.pools-soon-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 1rem;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 999px;
  font-size: .8rem;
  color: #fbbf24;
  line-height: 1.4;
}
.pools-soon-banner strong {
  font-weight: 700;
  color: #fde68a;
  letter-spacing: .03em;
}
.pools-soon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 10px rgba(245,158,11,.8);
  flex-shrink: 0;
  animation: tmb-soon-pulse 2s ease-in-out infinite;
}

/* ── Preview ribbon (on dashboard mockup) ──────────────────── */
.pools-visual .pools-dashboard {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.pools-visual .pools-preview-ribbon {
  position: absolute;
  top: 14px;
  right: -40px;
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  padding: 4px 48px;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  z-index: 3;
  pointer-events: none;
}

/* Mobile: tighter ribbon so it doesn't cover dashboard content */
@media (max-width: 780px) {
  .pools-visual .pools-preview-ribbon {
    top: 14px;
    right: -40px;
    padding: 3px 42px;
    font-size: 9px;
    letter-spacing: .12em;
  }
}

/* ── About Timeline — upcoming variant ──────────────────────── */
.tl-card--upcoming {
  position: relative;
  background: linear-gradient(135deg, rgba(245,158,11,.08) 0%, rgba(30,107,230,.05) 100%);
  border-color: rgba(245,158,11,.3) !important;
}
.tl-card--upcoming h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tl-badge,
.tl-upcoming-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: #F59E0B;
  color: #000;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(245,158,11,.3);
}
.tl-upcoming-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

/* ── Front-page latest posts: POOLS preview card ────────────── */
.blog-card[data-category="POOLS"] .blog-card-badge {
  background: rgba(245,158,11,.15);
  color: #F59E0B;
  border-color: rgba(245,158,11,.3);
}

/* ═══════════════════════════════════════════════════════════════════
   TEAM — Founder Contact Buttons (v2.9.4)
═══════════════════════════════════════════════════════════════════ */
.founder-contact {
  display: flex;
  gap: .625rem;
  justify-content: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-gray-200);
  flex-wrap: wrap;
}
.founder-mail-btn,
.founder-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.125rem;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 8px;
  text-decoration: none;
  transition: all .15s ease;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}
.founder-mail-btn {
  background: var(--c-blue-500);
  color: #fff;
  border-color: var(--c-blue-500);
}
.founder-mail-btn:hover {
  background: var(--c-blue-600, #0e4dc1);
  border-color: var(--c-blue-600, #0e4dc1);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,107,230,.25);
}
.founder-mail-btn svg { flex-shrink: 0; }

.founder-linkedin-btn {
  background: transparent;
  color: #0A66C2;
  border-color: rgba(10,102,194,.25);
  padding: .625rem .75rem;
}
.founder-linkedin-btn:hover {
  background: #0A66C2;
  color: #fff;
  border-color: #0A66C2;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .founder-contact { flex-direction: column; }
  .founder-mail-btn,
  .founder-linkedin-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ACCOUNT — Zusätzliche Downloads (Extras) (v2.10.2)
═══════════════════════════════════════════════════════════════════ */
.account-extras {
  margin: -.5rem 0 1rem 3rem;
  padding: .75rem 1rem;
  background: rgba(30, 107, 230, .04);
  border-left: 2px solid rgba(30, 107, 230, .2);
  border-radius: 0 6px 6px 0;
}
.account-extras__title {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--c-gray-400);
  margin-bottom: .5rem;
}
.account-extra {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .625rem .25rem;
  border-bottom: 1px dashed rgba(255, 255, 255, .06);
}
.account-extra:last-child { border-bottom: none; }
.account-extra__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 107, 230, .1);
  border-radius: 6px;
  color: var(--c-blue-400);
}
.account-extra__info { flex: 1; min-width: 0; }
.account-extra__title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.3;
}
.account-extra__desc {
  font-size: .75rem;
  color: var(--c-gray-400);
  line-height: 1.5;
  margin-top: 2px;
}
.account-extra__meta {
  font-size: .7rem;
  color: var(--c-gray-500);
  margin-top: 3px;
  display: flex;
  gap: .375rem;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .account-extras { margin-left: 0; }
  .account-extra { flex-wrap: wrap; }
  .account-extra .btn { margin-left: auto; }
}

/* ═══════════════════════════════════════════════════════════════════
   SINGLE PRODUCT — Zusätzliche Downloads (v2.10.2)
═══════════════════════════════════════════════════════════════════ */
.product-extras {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--c-gray-50);
  border: 1px solid var(--c-gray-200);
  border-radius: 8px;
}
.product-extras__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .25rem;
  color: var(--c-gray-900);
}
.product-extras__sub {
  font-size: .85rem;
  color: var(--c-gray-500);
  margin: 0 0 1rem;
}
.product-extra {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--c-gray-200);
}
.product-extra:last-child { border-bottom: none; }
.product-extra__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 107, 230, .08);
  border-radius: 8px;
  color: var(--c-blue-500);
}
.product-extra__info { flex: 1; min-width: 0; }
.product-extra__title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-gray-900);
  line-height: 1.3;
}
.product-extra__desc {
  font-size: .8rem;
  color: var(--c-gray-600);
  line-height: 1.5;
  margin-top: 2px;
}
.product-extra__meta {
  font-size: .75rem;
  color: var(--c-gray-500);
  margin-top: 4px;
}
.product-extra__locked {
  font-size: .72rem;
  color: var(--c-gray-500);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .35rem .6rem;
  background: rgba(0, 0, 0, .04);
  border-radius: 4px;
}
@media (max-width: 600px) {
  .product-extra { flex-wrap: wrap; }
  .product-extra .btn,
  .product-extra__locked { margin-left: auto; }
}

/* ═══════════════════════════════════════════════════════════════════
   TOP RISIKO-BANNER (v2.11.6 — Rechtsanalyse-Umsetzung)
═══════════════════════════════════════════════════════════════════ */
.tmb-top-risk {
  background: linear-gradient(180deg, #1a2840 0%, #16223a 100%);
  color: #CBD5E1;
  font-size: .78rem;
  line-height: 1.45;
  padding: .5rem 0;
  position: relative;
  z-index: 90;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.tmb-top-risk .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  text-align: center;
  max-width: 1240px;
  padding-right: 44px; /* reserve space for close button on desktop */
}
.tmb-top-risk__icon {
  flex-shrink: 0;
  color: #FBBF24;
}
.tmb-top-risk strong { color: #FFFFFF; font-weight: 700; }
.tmb-top-risk span { font-weight: 500; }

.tmb-top-risk__close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  color: #CBD5E1;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .15s ease, color .15s ease;
  z-index: 2;
}
.tmb-top-risk__close:hover,
.tmb-top-risk__close:focus {
  background: rgba(239, 68, 68, .15);
  border-color: rgba(239, 68, 68, .4);
  color: #fff;
  outline: none;
}
.tmb-top-risk__close svg { pointer-events: none; }

@media (max-width: 780px) {
  .tmb-top-risk { font-size: .72rem; padding: .5rem .75rem; }
  .tmb-top-risk .container { text-align: left; padding: 0; padding-right: 36px; align-items: flex-start; }
  .tmb-top-risk__icon { margin-top: 2px; }
  .tmb-top-risk__close {
    width: 26px;
    height: 26px;
    right: 8px;
    top: 8px;
  }
}

/* Contact form privacy checkbox (DSGVO-Pflicht) */
.form-privacy-check {
  display: flex !important;
  flex-direction: row !important;   /* wichtig: überschreibt .form-group { flex-direction: column } —
                                       sonst landet das Label unter der Checkbox statt daneben */
  gap: .625rem;
  align-items: flex-start;
  padding: .75rem .9rem;
  background: rgba(30, 107, 230, .04);
  border: 1px solid rgba(30, 107, 230, .15);
  border-radius: 6px;
  margin-bottom: 1rem;
}
.form-privacy-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--c-blue-500);
  cursor: pointer;
}
.form-privacy-check label {
  font-size: .82rem !important;
  line-height: 1.5 !important;
  color: var(--c-gray-700) !important;  /* war --c-gray-300, unlesbar auf hellem Hintergrund */
  margin: 0 !important;
  cursor: pointer;
  font-weight: 400 !important;
  flex: 1;                              /* Label füllt die verbleibende Breite */
}
.form-privacy-check label a {
  color: var(--c-blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-privacy-check label a:hover {
  color: var(--c-blue-600);
}

/* ═══════════════════════════════════════════════════════════════════
   ACCOUNT CONTEXT — Mobile Navigation (v2.12.0)
   Hide horizontal tab bar on mobile; burger menu replaces it
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .account-tabs { display: none !important; }
}

/* Mobile account header (avatar + name/email in burger menu) */
.mobile-account-header {
  display: flex;
  gap: .875rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(30, 107, 230, .06);
}
.mobile-account-header__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue-500), var(--c-blue-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.mobile-account-header__info { min-width: 0; flex: 1; }
.mobile-account-header__name {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
}
.mobile-account-header__email {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Section labels between groups */
.mobile-nav-section-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .4);
  padding: 1.25rem 1.5rem .5rem;
}
.mobile-nav-list--account,
.mobile-nav-list--compact { margin: 0; padding: 0; list-style: none; }
.mobile-nav-list--account li,
.mobile-nav-list--compact li { margin: 0; }

.mobile-nav-list--account li > a {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.5rem;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  border-left: 3px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.mobile-nav-list--account li > a svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, .55);
  transition: color .15s ease;
}
.mobile-nav-list--account li > a:hover {
  background: rgba(255, 255, 255, .04);
  color: #fff;
}
.mobile-nav-list--account li > a:hover svg { color: var(--c-blue-300); }
.mobile-nav-list--account li > a.is-active {
  background: rgba(30, 107, 230, .12);
  border-left-color: var(--c-blue-500);
  color: #fff;
}
.mobile-nav-list--account li > a.is-active svg { color: var(--c-blue-400); }

.mobile-nav-list--account li > a span:first-of-type { flex: 1; }

.mobile-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: var(--c-blue-500);
  border-radius: 999px;
  line-height: 1;
  flex-shrink: 0;
}

.mobile-nav-list--compact li > a {
  display: block;
  padding: .625rem 1.5rem;
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.mobile-nav-list--compact li > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .03);
}

.mobile-nav--account .mobile-nav-body {
  padding: 0;
  overflow-y: auto;
}

/* Mobile-only "current section" indicator above (hidden) tab bar */
.account-mobile-current {
  display: none;
}
@media (max-width: 900px) {
  .account-mobile-current {
    display: block;
    padding: .875rem 1.25rem;
    background: rgba(30, 107, 230, .08);
    border: 1px solid rgba(30, 107, 230, .2);
    border-radius: 10px;
    margin-bottom: 1.5rem;
  }
  .account-mobile-current__lbl {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--c-blue-300);
    display: block;
    margin-bottom: 2px;
  }
  .account-mobile-current__val {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    display: block;
  }
}

/* "Preis auf Anfrage" styling (replaces numeric price) */
.academy-format-price--request {
  display: flex !important;
  align-items: center !important;
}
.academy-format-price--request span {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--c-blue-500) !important;
  font-family: var(--font-body) !important;
  letter-spacing: normal !important;
}

/* ═══════════════════════════════════════════════════════════════
   NOELEE — PineScript® KI-Agentin
   ═══════════════════════════════════════════════════════════════ */

.noelee-hero {
  background: linear-gradient(180deg, var(--c-navy-800) 0%, var(--c-navy-700) 100%);
  padding: calc(115px + 3rem) 0 3rem;
  color: var(--c-white);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.noelee-hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.noelee-hero__brand { display: flex; gap: 1.25rem; align-items: center; }
.noelee-hero__avatar {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(30,107,230,.25), rgba(96,165,250,.25));
  border: 1px solid rgba(96,165,250,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #93C5FD;
  flex-shrink: 0;
}
.noelee-hero__eyebrow { font-size: .72rem; color: var(--c-blue-300); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display:block; margin-bottom: .25rem; }
.noelee-hero__name { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0 0 .35rem; color: var(--c-white); letter-spacing: -.02em; }
.noelee-hero__sub { color: var(--c-gray-400); font-size: .95rem; margin: 0; max-width: 540px; line-height: 1.55; }

.noelee-hero__facts { display: flex; gap: .75rem; }
.noelee-fact {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: .9rem 1.1rem;
  min-width: 130px;
  display: flex; flex-direction: column; gap: .15rem;
  text-decoration: none; color: inherit;
}
.noelee-fact strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--c-white); line-height: 1; }
.noelee-fact span { color: var(--c-gray-400); font-size: .78rem; line-height: 1.35; }
.noelee-fact span small { opacity: .75; }
.noelee-fact--cta { border-color: rgba(96,165,250,.35); background: rgba(30,107,230,.08); cursor: pointer; transition: background .15s, border-color .15s; }
.noelee-fact--cta:hover { background: rgba(30,107,230,.14); border-color: rgba(96,165,250,.55); }
.noelee-fact--cta strong { color: #93C5FD; }

@media (max-width: 780px) {
  .noelee-hero { padding: calc(90px + 1.5rem) 0 2rem; }
  .noelee-hero__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .noelee-hero__avatar { width: 52px; height: 52px; }
  .noelee-hero__facts { gap: .5rem; }
  .noelee-fact { flex: 1 1 auto; min-width: 0; padding: .7rem .85rem; }
  .noelee-fact strong { font-size: 1.4rem; }
  .noelee-fact span { font-size: .72rem; }
}

/* Chat section */
.noelee-chat-section { background: var(--c-navy-800); padding: 1.5rem 0 4rem; min-height: 70vh; }
.noelee-chat {
  background: var(--c-navy-700);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  max-height: calc(100vh - 240px);
  min-height: 500px;
}
.noelee-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.noelee-messages::-webkit-scrollbar { width: 8px; }
.noelee-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

.noelee-msg { display: flex; gap: .75rem; align-items: flex-start; max-width: 100%; min-width: 0; }
.noelee-msg--user { justify-content: flex-end; }
.noelee-msg--user .noelee-msg__bubble {
  background: linear-gradient(135deg, rgba(30,107,230,.16), rgba(96,165,250,.12));
  border: 1px solid rgba(96,165,250,.25);
  color: var(--c-white);
  border-radius: 14px 14px 4px 14px;
  max-width: 75%;
}
.noelee-msg__avatar {
  flex-shrink: 0; width: 34px; height: 34px;
  background: linear-gradient(135deg, #1E6BE6, #60A5FA);
  color: #fff; font-weight: 800; font-family: var(--font-display);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
}
.noelee-msg--error .noelee-msg__avatar { background: linear-gradient(135deg, #EF4444, #F97171); }
.noelee-msg__bubble {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px 14px 14px 14px;
  padding: .9rem 1.1rem;
  color: var(--c-gray-200);
  line-height: 1.6;
  font-size: .92rem;
  max-width: calc(100% - 46px);
  min-width: 0;
  flex: 1 1 0%;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.noelee-msg__bubble p { margin: 0 0 .6rem; }
.noelee-msg__bubble p:last-child { margin-bottom: 0; }
.noelee-msg__bubble code {
  background: rgba(255,255,255,.08);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .85em;
}
.noelee-msg__bubble strong { color: var(--c-white); }
.noelee-msg__hint { font-size: .85em; color: var(--c-gray-500); }

/* Code block */
.noelee-code { margin: .75rem 0; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; background: #0a1220; max-width: 100%; min-width: 0; }
.noelee-code__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: .4rem .75rem;
  background: rgba(255,255,255,.04);
  font-size: .72rem; font-weight: 700; color: var(--c-gray-400);
  text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.noelee-copy {
  background: rgba(96,165,250,.12); color: #93C5FD;
  border: 1px solid rgba(96,165,250,.3);
  padding: .25rem .65rem; border-radius: 5px;
  cursor: pointer; font-size: .7rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.noelee-copy:hover { background: rgba(96,165,250,.22); color: #BFDBFE; }
.noelee-code pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  max-width: 100%;
  white-space: pre;
  /* Mobile Safari respektiert overflow-x auf pre nur mit webkit-Hack */
  -webkit-overflow-scrolling: touch;
}
.noelee-code code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .82rem; line-height: 1.5; color: #C7D2E0; background: transparent; padding: 0;
  white-space: pre;
  display: block;
}

/* Typing indicator */
.noelee-typing-dots { display: inline-flex; gap: .25rem; align-items: center; padding: .2rem 0; }
.noelee-typing-dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(147,197,253,.55);
  animation: noelee-pulse 1.2s infinite ease-in-out;
}
.noelee-typing-dots i:nth-child(2) { animation-delay: .2s; }
.noelee-typing-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes noelee-pulse { 0%,60%,100% { opacity:.3; transform: scale(.8);} 30% { opacity: 1; transform: scale(1);} }

/* Input */
.noelee-input {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1rem 1.25rem 1.1rem;
  background: rgba(0,0,0,.18);
  display: flex; flex-direction: column; gap: .5rem;
}

/* Pill-Feld: Textarea oben, Action-Bar unten */
.noelee-input__field {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: .85rem 1.05rem .65rem;
  transition: border-color .15s, background .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.noelee-input__field:focus-within {
  border-color: rgba(96,165,250,.4);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(96,165,250,.08);
}

.noelee-input textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  color: var(--c-white);
  font: 400 .95rem/1.55 var(--font-body);
  resize: none;
  min-height: 28px;
  max-height: 200px;
}
.noelee-input textarea:focus { outline: none; }
.noelee-input textarea:disabled { opacity: .5; cursor: not-allowed; }
.noelee-input textarea::placeholder { color: var(--c-gray-500); }

/* Action-Bar unter der Textarea */
.noelee-input__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-height: 32px;
}
.noelee-input__bar-left {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: -.9rem; /* bündig an linker Pill-Kante */
}
.noelee-input__bar-right {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: -.9rem; /* bündig an rechter Pill-Kante */
}
/* Send-Button überlappt Mic leicht → Icons visuell eng beieinander */
.noelee-input__bar-right .noelee-send {
  margin-left: -.95rem;
}

.noelee-input__hint {
  font-size: .72rem;
  color: var(--c-gray-500);
  padding: 0 .25rem;
}

/* Mic-Button: kompakt, kein Background im Ruhe-State */
.noelee-mic {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--c-gray-400);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.noelee-mic svg { width: 17px; height: 17px; }
.noelee-mic:hover:not(:disabled) {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.noelee-mic:active:not(:disabled) { transform: scale(.94); }
.noelee-mic[hidden] { display: none !important; }
.noelee-mic.is-recording {
  background: rgba(239,68,68,.15);
  color: #FCA5A5;
  animation: noelee-mic-pulse 1.3s infinite ease-in-out;
}
@keyframes noelee-mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.45); }
  50%      { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

/* Send-Button: nur Paperplane-Icon, kein Background-Circle */
.noelee-send {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  color: #60A5FA;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s ease, background .15s ease, transform .1s ease;
  box-shadow: none;
}
.noelee-send svg { width: 20px; height: 20px; }
.noelee-send:hover:not(:disabled) {
  color: #93C5FD;
}
.noelee-send:active:not(:disabled) { transform: scale(.92); }
.noelee-send:disabled {
  color: rgba(96,165,250,.25);
  cursor: not-allowed;
  background: transparent;
}
/* iOS/Android: kein Tap-Highlight-Viereck, kein Focus-Ring-Oval */
.noelee-send,
.noelee-mic,
.noelee-attach {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.noelee-send:focus,
.noelee-send:focus-visible { outline: none; background: transparent; }

/* Plus-Button (Chat-zu-Projekt-Zuordnung) — flach ohne Ring */
.noelee-attach {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  color: var(--c-gray-400);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.noelee-attach svg { width: 17px; height: 17px; }
.noelee-attach:hover:not(:disabled) {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.noelee-attach:active:not(:disabled) { transform: scale(.94); }
.noelee-attach.is-active {
  background: rgba(96,165,250,.14);
  color: #93C5FD;
}

/* Popover: Projekt-Auswahl */
.noelee-attach-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  max-width: 320px;
  background: #0F1A2E;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  padding: .4rem;
  z-index: 20;
  animation: noelee-attach-pop-in .15s ease-out;
}
@keyframes noelee-attach-pop-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.noelee-attach-popover[hidden] { display: none !important; }
.noelee-attach-popover__head {
  padding: .45rem .7rem .55rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-gray-500);
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: .25rem;
}
.noelee-attach-popover__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}
.noelee-attach-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .7rem;
  background: transparent;
  border: none;
  color: var(--c-gray-200);
  font-size: .85rem;
  text-align: left;
  border-radius: 7px;
  cursor: pointer;
  transition: background .12s;
}
.noelee-attach-item svg:first-child { color: var(--c-gray-500); flex-shrink: 0; }
.noelee-attach-item:hover {
  background: rgba(255,255,255,.05);
  color: #fff;
}
.noelee-attach-item:hover svg:first-child { color: var(--c-gray-300); }
.noelee-attach-item.is-active {
  background: rgba(96,165,250,.12);
  color: #DBEAFE;
}
.noelee-attach-item .check {
  margin-left: auto;
  color: #60A5FA;
  flex-shrink: 0;
}
.noelee-attach-empty {
  padding: .5rem .7rem;
  color: var(--c-gray-600);
  font-size: .78rem;
  font-style: italic;
}
.noelee-attach-popover__new {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .55rem .7rem;
  margin-top: .25rem;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #93C5FD;
  font-size: .85rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  border-radius: 0 0 8px 8px;
  transition: background .12s;
}
.noelee-attach-popover__new:hover {
  background: rgba(96,165,250,.08);
  color: #BFDBFE;
}

@media (max-width: 640px) {
  .noelee-send { width: 64px; }
  .noelee-send svg { width: 24px; height: 24px; }
}

.noelee-disclaimer {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--c-gray-500);
  text-align: center;
  line-height: 1.55;
}
.noelee-disclaimer a { color: var(--c-blue-400); text-decoration: underline; }

@media (max-width: 780px) {
  .noelee-chat-section { padding: 1rem 0 2.5rem; }
  .noelee-chat { max-height: calc(100vh - 180px); min-height: 400px; border-radius: var(--radius-md); }
  .noelee-messages { padding: 1rem .9rem; gap: .95rem; }
  .noelee-msg__bubble { font-size: .9rem; padding: .75rem .85rem; }
  .noelee-msg--user .noelee-msg__bubble { max-width: 85%; }
  .noelee-input { padding: .8rem .9rem 1rem; }
  .noelee-input__hint { display: none; }
  .noelee-code pre { padding: .75rem; }
  .noelee-code code { font-size: .75rem; }
}

/* ─── Noelee: prevent horizontal overflow from long code lines ─── */
html, body { overflow-x: hidden; max-width: 100%; }
.page-template-page-noelee .site-main { overflow-x: hidden; }
.noelee-chat { width: 100%; max-width: 100%; min-width: 0; }
.noelee-messages { min-width: 0; }
.noelee-msg { min-width: 0; max-width: 100%; width: 100%; }
.noelee-msg--user { width: auto; max-width: 100%; }
.noelee-msg__bubble { min-width: 0; max-width: 100%; overflow: hidden; }
.noelee-msg--assistant .noelee-msg__bubble { flex: 1 1 auto; min-width: 0; max-width: calc(100% - 46px); }
.noelee-msg--user .noelee-msg__bubble { max-width: 80%; }
.noelee-prose { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.noelee-code { max-width: 100%; min-width: 0; overflow: hidden; box-sizing: border-box; }
.noelee-code pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; box-sizing: border-box; }
.noelee-code code { white-space: pre; display: block; min-width: 0; }

@media (max-width: 780px) {
  .noelee-msg--user .noelee-msg__bubble { max-width: 85%; }
  .noelee-msg--assistant .noelee-msg__bubble { max-width: calc(100% - 42px); }
  .noelee-code pre { padding: .6rem .75rem; }
}

/* ─── Noelee: toolbar (persistent chat info + clear) ─── */
.noelee-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 1.1rem;
  background: rgba(0,0,0,.22);
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 1rem;
  flex-shrink: 0;
}
.noelee-toolbar[hidden] { display: none; }
.noelee-toolbar__info { font-size: .74rem; color: var(--c-gray-500); line-height: 1.4; }
.noelee-clear {
  background: transparent;
  border: 1px solid rgba(239,68,68,.25);
  color: #F87171;
  padding: .35rem .7rem;
  border-radius: 6px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .35rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.noelee-clear:hover, .noelee-clear:focus {
  background: rgba(239,68,68,.08);
  border-color: rgba(239,68,68,.45);
  outline: none;
}
.noelee-clear:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 780px) {
  .noelee-toolbar { padding: .55rem .75rem; gap: .5rem; }
  .noelee-toolbar__info { font-size: .68rem; }
  .noelee-clear { padding: .3rem .55rem; font-size: .68rem; }
  .noelee-clear svg { width: 12px; height: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   iOS 16px-REGEL — Verhindert Auto-Zoom auf Safari/iOS
   beim Fokussieren von Input-Feldern (native iOS-Verhalten bei
   Font-Size < 16px). Gilt für ALLE Eingabefelder im Projekt.
   ═══════════════════════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input:not([type]),
textarea,
select {
  font-size: 16px;
}

/* Mobile-spezifische Verstärkung (falls irgendwo lokal overridden) */
@media (max-width: 780px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="url"],
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  input:not([type]),
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* ─── Noélee: Area-Picker + Locked-State ─── */
.noelee-area-picker-section { background: var(--c-navy-800); padding: 1rem 0 0; }
.noelee-area-picker {
  display: flex; gap: .5rem;
  overflow-x: auto;
  padding: 0 .25rem .25rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.noelee-area-picker::-webkit-scrollbar { height: 4px; }
.noelee-area-picker::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 2px; }

.noelee-area-tab {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--c-gray-400);
  padding: .65rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: .85rem; font-weight: 600;
  transition: all .15s;
  white-space: nowrap;
}
.noelee-area-tab:hover { background: rgba(255,255,255,.08); color: var(--c-white); }
.noelee-area-tab.is-active {
  background: linear-gradient(135deg, rgba(30,107,230,.18), rgba(96,165,250,.12));
  border-color: rgba(96,165,250,.45);
  color: #fff;
}
.noelee-area-tab.is-locked { opacity: .68; }
.noelee-area-tab svg { flex-shrink: 0; }
.noelee-area-tab__label { display: inline; }
.noelee-area-tab__lock {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: .25rem;
  color: rgba(245,158,11,.85);
}
@media (max-width: 780px) {
  .noelee-area-tab { padding: .55rem .8rem; font-size: .78rem; }
  .noelee-area-tab svg { width: 14px; height: 14px; }
}

/* Locked overlay (inside chat) */
.noelee-locked {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(0,0,0,.18);
}
.noelee-locked[hidden] { display: none; }
.noelee-locked__inner { max-width: 420px; }
.noelee-locked svg { color: rgba(245,158,11,.7); margin-bottom: .85rem; }
.noelee-locked h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--c-white); margin: 0 0 .55rem; font-weight: 700; }
.noelee-locked p { color: var(--c-gray-400); margin: 0 0 1.5rem; font-size: .9rem; line-height: 1.55; }
.noelee-locked a { color: var(--c-blue-400); text-decoration: underline; }

.noelee-bundle-card {
  background: rgba(30,107,230,.08);
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  text-align: left;
  display: flex; flex-direction: column; align-items: stretch; gap: .5rem;
}
.noelee-bundle-card__price {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--c-white); line-height: 1;
  text-align: center;
}
.noelee-bundle-card__incl {
  font-size: .82rem; color: #93C5FD; font-weight: 600; text-align: center; margin-bottom: .35rem;
}
.noelee-bundle-cta { width: 100%; justify-content: center; }
.noelee-bundle-card__hint { font-size: .72rem !important; color: var(--c-gray-500) !important; text-align: center; margin: .35rem 0 0 !important; }

/* Chat: hide messages + input when locked is shown? No — input form should be hidden too */
.noelee-chat:has(.noelee-locked:not([hidden])) .noelee-messages { display: none; }
.noelee-chat:has(.noelee-locked:not([hidden])) .noelee-toolbar { display: none; }
.noelee-chat:has(.noelee-locked:not([hidden])) .noelee-input { display: none; }

/* ─── Noélee: Conversion-CTA-Bubble (anonymer User nahe Limit) ─── */
.noelee-msg--cta .noelee-msg__bubble {
  background: linear-gradient(135deg, rgba(30,107,230,.14), rgba(96,165,250,.08));
  border: 1px solid rgba(96,165,250,.32);
}
.noelee-msg--cta .noelee-msg__bubble p:first-child {
  color: var(--c-white);
  font-size: 1rem;
}
.noelee-msg--cta .noelee-msg__bubble ul {
  list-style: disc;
  padding-left: 0;
}
.noelee-msg--cta .noelee-msg__bubble ul li::marker {
  color: rgba(96,165,250,.7);
}
.noelee-msg--cta .btn--sm {
  padding: .5rem .9rem;
  font-size: .82rem;
}

/* ─── Noélee: Refill-Modal + Karten ─── */
.noelee-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.noelee-modal[hidden] { display: none; }
.noelee-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 12, 24, .82);
  backdrop-filter: blur(6px);
}
.noelee-modal__panel {
  position: relative;
  background: var(--c-navy-900);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 1200px; width: 100%;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
}
.noelee-modal__close {
  position: absolute; top: .85rem; right: 1rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: var(--c-gray-300);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
}
.noelee-modal__close:hover { background: rgba(255,255,255,.12); color: #fff; }
.noelee-modal__header { text-align: center; margin-bottom: 1.5rem; }
.noelee-modal__header h2 { font-family: var(--font-display); font-size: 1.45rem; color: #fff; margin: 0 0 .35rem; font-weight: 700; }
.noelee-modal__header p { color: var(--c-gray-400); font-size: .9rem; margin: 0; }
.noelee-modal__footnote { text-align: center; color: var(--c-gray-500); font-size: .78rem; margin: 1.25rem 0 0; }
.noelee-modal__footnote a { color: var(--c-blue-400); }

.noelee-refill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.noelee-refill-card {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.4rem 1.1rem 1.1rem;
  text-align: center;
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s;
}
.noelee-refill-card:hover { border-color: rgba(96,165,250,.4); transform: translateY(-2px); }
.noelee-refill-card--featured {
  background: linear-gradient(180deg, rgba(30,107,230,.1), rgba(30,107,230,.04));
  border-color: rgba(96,165,250,.5);
}
.noelee-refill-card__badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #1E6BE6, #60A5FA);
  color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 12px;
}
.noelee-refill-card__name {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff;
  margin-bottom: .85rem;
}
.noelee-refill-card__credits {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--c-blue-400);
  line-height: 1;
}
.noelee-refill-card__credits-label { font-size: .72rem; color: var(--c-gray-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
.noelee-refill-card__price { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: .15rem; }
.noelee-refill-card__per { font-size: .76rem; color: var(--c-gray-500); margin-bottom: .9rem; }
.noelee-refill-card__desc { font-size: .8rem; color: var(--c-gray-300); line-height: 1.45; margin-bottom: 1rem; flex: 1; }
.noelee-refill-card__cta { width: 100%; justify-content: center; }

/* ─── Noélee Checkout Page ─── */
.noelee-checkout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .noelee-checkout { grid-template-columns: 1fr; gap: 1.5rem; }
}

.noelee-checkout__product-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  position: sticky; top: 130px;
}
@media (max-width: 880px) {
  .noelee-checkout__product-card { position: static; }
}

.noelee-checkout__type {
  display: inline-block;
  background: rgba(30,107,230,.12);
  color: #93C5FD;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.noelee-checkout__product-card h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 1.25rem;
  line-height: 1.3;
  font-weight: 700;
}

.noelee-checkout__includes {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
}
.noelee-checkout__includes li {
  position: relative;
  padding: .4rem 0 .4rem 1.5rem;
  color: var(--c-gray-300);
  font-size: .9rem;
  line-height: 1.5;
}
.noelee-checkout__includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.noelee-checkout__totals {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
}
.noelee-checkout__row {
  display: flex; justify-content: space-between;
  padding: .35rem 0;
  color: var(--c-gray-400);
  font-size: .9rem;
}
.noelee-checkout__row--total {
  margin-top: .5rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.noelee-checkout__form {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
}
.noelee-checkout__form h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.noelee-checkout__buyer p { color: var(--c-gray-200); margin: 0 0 .35rem; line-height: 1.55; }
.noelee-checkout__hint { font-size: .82rem; color: var(--c-gray-500); margin-top: .5rem !important; line-height: 1.55; }
.noelee-checkout__hint a { color: var(--c-blue-400); text-decoration: underline; }

.noelee-checkout__checkbox {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  margin-bottom: .75rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.noelee-checkout__checkbox:hover { border-color: rgba(96,165,250,.3); }
.noelee-checkout__checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: .2rem;
  width: 18px; height: 18px;
  cursor: pointer;
}
.noelee-checkout__checkbox span {
  color: var(--c-gray-200);
  font-size: .88rem;
  line-height: 1.55;
}
.noelee-checkout__checkbox span a { color: var(--c-blue-400); text-decoration: underline; }
.noelee-checkout__checkbox--critical {
  background: rgba(245,158,11,.06);
  border-color: rgba(245,158,11,.25);
}
.noelee-checkout__checkbox--critical:hover { border-color: rgba(245,158,11,.5); }

.noelee-checkout__error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.4);
  color: #FCA5A5;
  padding: .75rem 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: .88rem;
}

.noelee-checkout__pay {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.noelee-checkout__pay:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.noelee-checkout__pay-amount { font-size: 1.2rem; font-weight: 800; }
.noelee-checkout__pay-note {
  text-align: center;
  font-size: .78rem;
  color: var(--c-gray-500);
  margin-top: .85rem;
  line-height: 1.55;
}

.noelee-checkout-error {
  max-width: 640px;
  margin: 2rem auto;
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.noelee-checkout-error h2 { color: #fff; font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 .85rem; font-weight: 700; }
.noelee-checkout-error p { color: var(--c-gray-300); line-height: 1.65; margin: .35rem 0; }

/* ─── Noélee Checkout: Solid backgrounds (override transparent versions) ─── */
.noelee-checkout__product-card {
  background: var(--c-navy-700) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
}
.noelee-checkout__form {
  background: var(--c-navy-700) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
}
.noelee-checkout__buyer p,
.noelee-checkout__row span,
.noelee-checkout__includes li {
  color: var(--c-gray-200) !important;
}
.noelee-checkout__row--total span {
  color: #fff !important;
}
.noelee-checkout__product-card h2,
.noelee-checkout__form h3 {
  color: #fff !important;
}
.noelee-checkout__checkbox {
  background: rgba(0,0,0,.2);
}
.noelee-checkout__checkbox span {
  color: var(--c-gray-100) !important;
}
.noelee-checkout__checkbox--critical {
  background: rgba(245,158,11,.1);
}

/* ─── Noélee Checkout: Hard overflow guards ─── */
.noelee-checkout,
.noelee-checkout * {
  box-sizing: border-box;
  max-width: 100%;
}
.noelee-checkout {
  min-width: 0;
}
.noelee-checkout > * {
  min-width: 0;
  width: 100%;
}
.noelee-checkout__buyer p,
.noelee-checkout__row span,
.noelee-checkout__includes li,
.noelee-checkout__checkbox span {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Container hard-clips auf Noélee-Seiten (Long-String-Schutz
   für User-Eingaben / Code-Snippets / Prompts). NICHT global —
   sonst bricht es das 1200px-Container-Layout der ganzen Seite. */
.noelee-thanks section > .container,
.page-template-page-noelee-erfolg section > .container,
.page-template-page-noelee-checkout section > .container {
  max-width: 100%;
  overflow-x: hidden;
}

/* Erfolg page protection too */
.noelee-thanks,
.noelee-thanks * {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ═══ Noélee Promo-Sektion auf Startseite ═══ */
.noelee-promo {
  background: linear-gradient(180deg, var(--c-navy-900) 0%, #0a1530 50%, var(--c-navy-900) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.noelee-promo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(30,107,230,.15), transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(96,165,250,.1), transparent 70%);
  pointer-events: none;
}

.noelee-promo__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) {
  .noelee-promo { padding: 3.5rem 0; }
  .noelee-promo__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Visual side */
.noelee-promo__visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.noelee-promo__image-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 2 / 3;
}
.noelee-promo__image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(30,107,230,.3)) drop-shadow(0 0 40px rgba(96,165,250,.2));
  z-index: 2;
}
.noelee-promo__glow {
  position: absolute; inset: 10% 5% 5% 5%;
  background: radial-gradient(circle, rgba(96,165,250,.35), transparent 65%);
  filter: blur(40px);
  z-index: 1;
  animation: noeleePulse 4s ease-in-out infinite;
}
@keyframes noeleePulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: .9; transform: scale(1.08); }
}
.noelee-promo__name-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(96,165,250,.25);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  color: var(--c-gray-200);
  font-weight: 600;
  backdrop-filter: blur(10px);
}
.noelee-promo__online {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16,185,129,.7);
  animation: noeleeBlink 2s ease-in-out infinite;
}
@keyframes noeleeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* Content side */
.noelee-promo__eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--c-blue-400);
  text-transform: uppercase;
  margin: 0 0 .85rem;
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
}
.noelee-promo__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}
.noelee-promo__name {
  background: linear-gradient(135deg, #60A5FA, #1E6BE6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.noelee-promo__sub {
  color: var(--c-gray-300);
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 560px;
}

.noelee-promo__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: .55rem;
}
.noelee-promo__features li {
  display: flex; align-items: flex-start; gap: .7rem;
  color: var(--c-gray-200);
  font-size: .92rem;
  line-height: 1.5;
}
.noelee-promo__features li svg { flex-shrink: 0; margin-top: 3px; }
.noelee-promo__features strong { color: #fff; }

.noelee-promo__actions {
  display: flex; align-items: center; gap: 1.25rem;
  flex-wrap: wrap;
}
.noelee-promo__cta {
  padding: .95rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: .55rem;
  background: linear-gradient(135deg, #1E6BE6, #60A5FA);
  box-shadow: 0 8px 24px rgba(30,107,230,.4);
  transition: transform .15s, box-shadow .15s;
}
.noelee-promo__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30,107,230,.5);
}
.noelee-promo__cta-hint {
  font-size: .8rem;
  color: var(--c-gray-400);
}

/* Noélee features: ensure text-span takes remaining space */
.noelee-promo__features li > span {
  flex: 1 1 0;
  min-width: 0;
}

/* ─── Noélee Preis-Transparenz (§ 1 PAngV) ─── */
.noelee-bundle-card__tax {
  font-size: .78rem;
  color: var(--c-gray-400);
  margin-top: -.35rem;
  margin-bottom: .5rem;
  text-align: center;
}
.noelee-refill-card__tax {
  font-size: .72rem;
  color: var(--c-gray-500);
  margin-top: -.35rem;
  margin-bottom: .15rem;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   STELARAX LANDING-PROMO — Acquisition + Free-Release Story
   ═══════════════════════════════════════════════════════════════════ */
.stx-promo {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--c-navy-800) 0%, var(--c-navy-900) 100%);
  overflow: hidden;
}
.stx-promo__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 85% 40%, rgba(30,107,230,.12), transparent 70%),
    radial-gradient(ellipse 500px 400px at 15% 70%, rgba(96,165,250,.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.stx-promo .container { position: relative; z-index: 1; }

.stx-promo__grid {
  display: grid;
  grid-template-columns: 1.3fr minmax(300px, 1fr);
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .stx-promo { padding: 3.5rem 0; }
  .stx-promo__grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .stx-promo__visual { order: -1; }  /* Visual zuerst auf Mobil */
}

/* Content */
.stx-promo__eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--c-blue-400);
  text-transform: uppercase;
  margin: 0 0 .85rem;
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
}
.stx-promo__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}
.stx-promo__name {
  background: linear-gradient(135deg, #60A5FA, #1E6BE6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}
.stx-promo__free {
  background: linear-gradient(135deg, #10B981, #34D399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stx-promo__sub {
  color: var(--c-gray-300);
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 580px;
}
.stx-promo__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: .6rem;
}
.stx-promo__features li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: var(--c-gray-200);
  font-size: .92rem;
  line-height: 1.5;
}
.stx-promo__features li svg { flex-shrink: 0; margin-top: .15rem; }
.stx-promo__features li strong { color: #fff; font-weight: 700; }

.stx-promo__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
}
.stx-promo__cta { font-size: 1rem; padding: .95rem 1.75rem; }
.stx-promo__cta-hint {
  font-size: .82rem;
  color: var(--c-gray-400);
}

/* Visual side — chart illustration + acquisition badge */
.stx-promo__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.stx-promo__chart {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 10 / 7;
  background: rgba(10, 22, 40, .6);
  border: 1px solid rgba(96, 165, 250, .18);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    0 0 40px rgba(30,107,230,.2),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.stx-promo__chart-svg { width: 100%; height: 100%; display: block; }

/* Sweeping AI scanning beam — from left to right, repeating */
.stx-promo__scan-beam {
  animation: stxScan 3.5s ease-in-out infinite;
}
@keyframes stxScan {
  0%   { transform: translateX(0); }
  100% { transform: translateX(520px); }
}

/* Pattern-detection nodes — subtle fade pulse, staggered */
.stx-promo__nodes g {
  animation: stxNodePulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.stx-promo__nodes g:nth-child(1) { animation-delay: 0s; }
.stx-promo__nodes g:nth-child(2) { animation-delay: .4s; }
.stx-promo__nodes g:nth-child(3) { animation-delay: .8s; }
.stx-promo__nodes g:nth-child(4) { animation-delay: 1.2s; }
@keyframes stxNodePulse {
  0%, 100% { opacity: .85; }
  50%      { opacity: .4; }
}
.stx-promo__glow {
  position: absolute;
  inset: -10% -5% -5% -5%;
  background: radial-gradient(ellipse, rgba(30,107,230,.25), transparent 65%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

/* Acquisition-Badge — Preis-Vergleich (vorher/nachher) */
.stx-promo__badges {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.stx-promo__badge {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .65rem 1.1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  min-width: 105px;
}
.stx-promo__badge-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-gray-400);
}
.stx-promo__badge-old {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-gray-300);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, .65);
  text-decoration-thickness: 2px;
}
.stx-promo__badge--free {
  background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(52,211,153,.08));
  border-color: rgba(16, 185, 129, .45);
  box-shadow: 0 0 20px rgba(16, 185, 129, .15);
}
.stx-promo__badge-new {
  font-size: 1.05rem;
  font-weight: 800;
  background: linear-gradient(135deg, #10B981, #34D399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stx-promo__arrow {
  font-size: 1.5rem;
  color: var(--c-gray-500);
  font-weight: 300;
}
@media (max-width: 420px) {
  .stx-promo__badges { flex-wrap: wrap; justify-content: center; }
  .stx-promo__arrow { transform: rotate(90deg); }
}

/* ═══ Account Download Card — Mobile Stacking ═══ */
@media (max-width: 640px) {
  .account-download {
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    padding: 1rem 1.1rem;
  }
  .account-download__icon {
    align-self: flex-start;
  }
  .account-download__info {
    flex: 1 1 auto;
    width: 100%;
  }
  .account-download__meta {
    row-gap: 2px;
  }
  .account-download .btn,
  .account-download .btn--primary,
  .account-download .btn--sm {
    width: 100%;
    justify-content: center;
  }
  .account-extra {
    flex-direction: column;
    align-items: stretch;
    gap: .6rem;
  }
  .account-extra .btn,
  .account-extra .btn--outline,
  .account-extra .btn--sm {
    width: 100%;
    justify-content: center;
  }
}

/* ═══ Noélee About-Sektion ═══ */
.noelee-about {
  background: linear-gradient(180deg, var(--c-navy-900) 0%, var(--c-navy-800) 100%);
  padding: 4rem 0 3.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.noelee-about * { box-sizing: border-box; max-width: 100%; }
/* Ausnahme: Der .container selbst muss seine 1200px behalten,
   sonst frisst ihn das universelle max-width:100% oben */
.noelee-about > .container { max-width: var(--container-max); }

.noelee-about__header {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.noelee-about__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.noelee-about__lead {
  color: var(--c-gray-300);
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  margin: 0;
}
.noelee-about__lead strong { color: #fff; font-weight: 700; }

.noelee-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.noelee-about__card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  transition: border-color .2s;
}
.noelee-about__card:hover { border-color: rgba(96,165,250,.2); }
.noelee-about__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.noelee-about__card h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 .55rem;
}
.noelee-about__card p {
  color: var(--c-gray-300);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}
.noelee-about__card p strong { color: #fff; }

/* Examples */
.noelee-about__examples {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.3rem;
  margin-bottom: 2rem;
}
.noelee-about__examples-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-blue-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 1rem;
  font-family: var(--font-display);
}
.noelee-about__examples-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.noelee-about__examples-list li {
  color: var(--c-gray-200);
  font-size: .92rem;
  line-height: 1.6;
  padding: .45rem 0;
  font-style: italic;
  border-bottom: 1px dashed rgba(255,255,255,.06);
}
.noelee-about__examples-list li:last-child { border-bottom: none; }
.noelee-about__examples-list code {
  color: var(--c-blue-400);
  background: transparent;
  padding: 0;
  margin-right: .5rem;
  font-size: 1.1em;
  font-style: normal;
}

/* Pricing */
.noelee-about__pricing {
  background: rgba(30,107,230,.04);
  border: 1px solid rgba(30,107,230,.15);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.noelee-about__pricing-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.noelee-about__pricing-grid {
  display: grid;
  gap: .6rem;
  margin-bottom: 1rem;
}
.noelee-about__price-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .85rem;
  background: rgba(0,0,0,.25);
  border-radius: 8px;
  flex-wrap: wrap;
}
.noelee-about__price-name {
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  flex: 1 1 200px;
  min-width: 0;
}
.noelee-about__price-value {
  color: var(--c-gray-200);
  font-weight: 700;
  font-size: .95rem;
  text-align: right;
  flex: 0 0 auto;
}
.noelee-about__price-value--free {
  color: #10B981;
}
.noelee-about__price-extra {
  display: block;
  color: var(--c-gray-500);
  font-weight: 400;
  font-size: .78rem;
  margin-top: 2px;
}
.noelee-about__pricing-note {
  color: var(--c-gray-400);
  font-size: .82rem;
  line-height: 1.55;
  margin: 0;
}

/* Disclaimer */
.noelee-about__disclaimer {
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.noelee-about__disclaimer h3 {
  font-family: var(--font-display);
  color: #F59E0B;
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.noelee-about__disclaimer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.noelee-about__disclaimer li {
  color: var(--c-gray-200);
  font-size: .88rem;
  line-height: 1.6;
  padding: .4rem 0;
  padding-left: 1rem;
  position: relative;
}
.noelee-about__disclaimer li::before {
  content: "•";
  color: #F59E0B;
  position: absolute;
  left: 0;
  top: .4rem;
}
.noelee-about__disclaimer li strong { color: #fff; }

@media (max-width: 640px) {
  .noelee-about { padding: 2.5rem 0; }
  .noelee-about__header { margin-bottom: 2rem; }

  /* Preisblock auf Mobile klar gestapelt */
  .noelee-about__pricing { padding: 1.25rem 1rem; }
  .noelee-about__price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    padding: .9rem 1rem;
  }
  .noelee-about__price-name {
    font-size: .95rem;
    line-height: 1.35;
    flex: 1 1 auto;
  }
  .noelee-about__price-value {
    text-align: left;
    font-size: 1.05rem;
    width: 100%;
  }
  .noelee-about__price-extra {
    font-size: .75rem;
    margin-top: 3px;
  }

  /* Beispiele + Disclaimer kompakter */
  .noelee-about__examples { padding: 1.2rem 1.1rem; }
  .noelee-about__examples-list li { font-size: .88rem; padding: .5rem 0; }
  .noelee-about__disclaimer { padding: 1.1rem 1.1rem; }
  .noelee-about__disclaimer li { font-size: .85rem; }
}

/* ═══ POOLS-Modell Erklärblock ═══ */
.pools-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.pools-model-col {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200, #E5E7EB);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
}
.pools-model-heading {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid;
}
.pools-model-heading--green { color: #059669; border-color: #A7F3D0; }
.pools-model-heading--red   { color: #DC2626; border-color: #FECACA; }
.pools-model-heading--blue  { color: #1E6BE6; border-color: #BFDBFE; }

.pools-model-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pools-model-list li {
  padding: .55rem 0 .55rem 1.25rem;
  position: relative;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--c-gray-700, #374151);
  border-bottom: 1px dashed var(--c-gray-200, #E5E7EB);
}
.pools-model-list li:last-child { border-bottom: none; }
.pools-model-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--c-gray-400, #9CA3AF);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
}
.pools-model-list li strong { color: var(--c-navy-800); font-weight: 700; }

.pools-model-summary {
  background: var(--c-navy-800);
  color: var(--c-gray-100, #F3F4F6);
  border-radius: 14px;
  padding: 1.75rem 1.75rem;
  margin-top: 2rem;
}
.pools-model-summary p {
  margin: 0;
  line-height: 1.7;
  font-size: .95rem;
}
.pools-model-summary p + p { margin-top: 1rem; }
.pools-model-summary strong { color: #fff; }
.pools-model-summary__note {
  font-size: .82rem !important;
  color: var(--c-gray-400, #9CA3AF) !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.pools-model-summary__note a { color: var(--c-blue-400); text-decoration: underline; }

@media (max-width: 640px) {
  .pools-model-col { padding: 1.25rem 1.1rem; }
  .pools-model-summary { padding: 1.35rem 1.25rem; }
}

/* ──────────────────────────────────────────────────────────────────
 * Noélee Workspace: Projekte + Threads (v22123)
 * Desktop: Sidebar links, Chat rechts
 * Mobile:  Sidebar als Drawer, Chat-Bar oben sticky
 * ────────────────────────────────────────────────────────────────── */

.noelee-workspace {
  display: block;
}
.noelee-workspace--authed {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
/* KRITISCH: ohne min-width: 0 sprengen lange Code-Zeilen die Grid-Zelle.
   Gilt für Sidebar UND Chat-Wrap. */
.noelee-workspace--authed > * { min-width: 0; }
.noelee-chat-wrap { min-width: 0; max-width: 100%; overflow: hidden; }

@media (max-width: 960px) {
  .noelee-workspace--authed {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

/* ─── Sidebar ───────────────────────────────────────────────── */
.noelee-sidebar {
  background: rgba(11, 20, 36, .55);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.noelee-sidebar__head {
  padding: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.noelee-new-chat-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem .85rem;
  border-radius: 8px;
  border: 1px solid rgba(30,107,230,.35);
  background: linear-gradient(135deg, rgba(30,107,230,.14), rgba(30,107,230,.05));
  color: var(--c-white);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.noelee-new-chat-btn:hover {
  background: rgba(30,107,230,.22);
  border-color: rgba(30,107,230,.6);
}
.noelee-sidebar__close {
  display: none;
  background: none;
  border: none;
  color: var(--c-gray-400);
  padding: .35rem;
  border-radius: 6px;
  cursor: pointer;
}
.noelee-sidebar__close:hover { background: rgba(255,255,255,.05); color: var(--c-white); }

.noelee-sidebar__body {
  flex: 1;
  overflow-y: auto;
  padding: .5rem 0;
  min-height: 200px;
}
.noelee-sidebar__empty {
  padding: 1.25rem 1rem;
  color: var(--c-gray-500);
  font-size: .8rem;
  line-height: 1.5;
  text-align: center;
}

.noelee-sidebar__foot {
  padding: .6rem .85rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.noelee-new-project-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .5rem .75rem;
  background: transparent;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 7px;
  color: var(--c-gray-400);
  font-size: .76rem;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.noelee-new-project-btn:hover {
  color: var(--c-white);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.03);
}

/* ─── Projekt-Gruppen ───────────────────────────────────────── */
.noelee-project {
  margin-bottom: .5rem;
}
.noelee-project__head {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: 0 .35rem;
}
.noelee-project__label {
  flex: 1;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-gray-600);
  padding: .55rem .5rem .35rem;
}
.noelee-project__toggle {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .5rem;
  background: transparent;
  border: none;
  color: var(--c-gray-300);
  font-size: .82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border-radius: 7px;
  min-width: 0;
}
.noelee-project__toggle:hover { background: rgba(255,255,255,.03); color: var(--c-white); }
.noelee-project__toggle .chev {
  transition: transform .15s;
  flex-shrink: 0;
  opacity: .7;
}
.noelee-project.is-collapsed .noelee-project__toggle .chev { transform: rotate(0deg); }
.noelee-project:not(.is-collapsed) .noelee-project__toggle .chev { transform: rotate(90deg); }
.noelee-project__name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.noelee-project__count {
  background: rgba(255,255,255,.06);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: .68rem;
  color: var(--c-gray-500);
  flex-shrink: 0;
}
.noelee-project__menu {
  background: transparent;
  border: none;
  color: var(--c-gray-500);
  padding: .45rem .35rem;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s, background .15s;
}
.noelee-project__head:hover .noelee-project__menu,
.noelee-project__menu:focus {
  opacity: 1;
}
.noelee-project__menu:hover { background: rgba(255,255,255,.06); color: var(--c-white); }

.noelee-project__threads {
  padding-left: 1.35rem;
  border-left: 1px solid rgba(255,255,255,.04);
  margin-left: 1rem;
  transition: max-height .2s ease;
}
.noelee-project.is-collapsed .noelee-project__threads {
  display: none;
}
.noelee-project--orphan .noelee-project__threads {
  padding-left: 0;
  border-left: none;
  margin-left: 0;
}
.noelee-project__empty {
  padding: .4rem .5rem;
  font-size: .72rem;
  color: var(--c-gray-600);
  font-style: italic;
}

/* ─── Thread-Item ───────────────────────────────────────────── */
.noelee-thread {
  display: flex;
  align-items: center;
  gap: .15rem;
  border-radius: 7px;
  margin: 2px .35rem;
  transition: background .12s;
}
.noelee-thread:hover { background: rgba(255,255,255,.035); }
.noelee-thread.is-active {
  background: rgba(30,107,230,.16);
  border: 1px solid rgba(30,107,230,.35);
  margin: 2px calc(.35rem - 1px);
}
.noelee-thread__btn {
  flex: 1;
  background: transparent;
  border: none;
  text-align: left;
  padding: .5rem .65rem;
  cursor: pointer;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.noelee-thread__title {
  color: var(--c-gray-100);
  font-size: .83rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.noelee-thread.is-active .noelee-thread__title { color: var(--c-white); font-weight: 600; }
.noelee-thread__area {
  color: var(--c-gray-600);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.noelee-thread__menu {
  background: transparent;
  border: none;
  color: var(--c-gray-500);
  padding: .35rem .3rem;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  margin-right: .2rem;
  transition: opacity .15s, background .15s;
}
.noelee-thread:hover .noelee-thread__menu,
.noelee-thread__menu:focus {
  opacity: 1;
}
.noelee-thread__menu:hover { background: rgba(255,255,255,.08); color: var(--c-white); }

/* ─── Mobile Chat-Bar (sticky oben) ─────────────────────────── */
.noelee-chat-bar {
  display: none;
}
.noelee-sidebar-backdrop {
  display: none;
}

@media (max-width: 960px) {
  .noelee-chat-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .85rem;
    background: rgba(11, 20, 36, .92);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    margin-bottom: .85rem;
    position: sticky;
    top: var(--mega-top, 100px);
    z-index: 15;
    backdrop-filter: blur(12px);
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .noelee-chat-bar__menu,
  .noelee-chat-bar__assign {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    color: var(--c-gray-200);
    padding: .45rem .5rem;
    border-radius: 7px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .noelee-chat-bar__menu:hover,
  .noelee-chat-bar__assign:hover {
    color: var(--c-white);
    border-color: rgba(255,255,255,.15);
  }
  .noelee-chat-bar__title {
    flex: 1;
    color: var(--c-white);
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  /* Drawer: Sidebar wird zum Slide-In von links */
  .noelee-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 88%;
    max-width: 360px;
    max-height: none;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(255,255,255,.08);
    background: #0A1222;
    box-shadow: 8px 0 32px rgba(0,0,0,.5);
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 200;
  }
  .noelee-sidebar.is-open { transform: translateX(0); }
  .noelee-sidebar__close { display: inline-flex; align-items: center; justify-content: center; }

  .noelee-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 199;
  }
  .noelee-sidebar-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  body.noelee-drawer-open { overflow: hidden; }
}

/* ──────────────────────────────────────────────────────────────────
 * Noélee Voice Overlay (v22130)
 * Full-Screen Overlay mit pulsierender Orb-Visualisierung,
 * live-Transkription und Abbrechen/Übernehmen-Aktionen.
 * ────────────────────────────────────────────────────────────────── */

.noelee-voice[hidden] { display: none !important; }
.noelee-voice {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.noelee-voice__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
              rgba(10, 18, 34, .88) 0%,
              rgba(3, 7, 15, .96) 70%);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  animation: noelee-voice-fade-in .25s ease-out;
}
.noelee-voice__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: noelee-voice-panel-in .35s cubic-bezier(.22, 1, .36, 1);
}

@keyframes noelee-voice-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes noelee-voice-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

body.noelee-voice-open { overflow: hidden; }

/* ─── Orb: der pulsierende Mittelpunkt ──────────────────────── */
.noelee-voice__orb {
  --voice-level: 0;
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noelee-voice__orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.noelee-voice__orb-ring--1 {
  background: radial-gradient(circle at center,
              rgba(96,165,250,.45) 0%,
              rgba(96,165,250,0) 70%);
  transform: scale(calc(1 + var(--voice-level) * 0.35));
  transition: transform .08s ease-out;
  animation: noelee-voice-ring-1 2.4s infinite ease-in-out;
}
.noelee-voice__orb-ring--2 {
  background: radial-gradient(circle at center,
              rgba(59,130,246,.32) 0%,
              rgba(59,130,246,0) 65%);
  transform: scale(calc(1 + var(--voice-level) * 0.22));
  transition: transform .12s ease-out;
  animation: noelee-voice-ring-2 3s infinite ease-in-out;
}
.noelee-voice__orb-ring--3 {
  background: radial-gradient(circle at center,
              rgba(30,107,230,.24) 0%,
              rgba(30,107,230,0) 60%);
  transform: scale(calc(1 + var(--voice-level) * 0.14));
  transition: transform .16s ease-out;
  animation: noelee-voice-ring-3 3.8s infinite ease-in-out;
}

@keyframes noelee-voice-ring-1 {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1;   }
}
@keyframes noelee-voice-ring-2 {
  0%, 100% { opacity: .4;  }
  50%      { opacity: .85; }
}
@keyframes noelee-voice-ring-3 {
  0%, 100% { opacity: .3;  }
  50%      { opacity: .7;  }
}

.noelee-voice__orb-core {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E6BE6, #60A5FA);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.2) inset,
    0 0 calc(20px + var(--voice-level) * 30px) rgba(96,165,250,.6),
    0 0 calc(40px + var(--voice-level) * 60px) rgba(30,107,230,.45);
  transform: scale(calc(1 + var(--voice-level) * 0.12));
  transition: transform .08s ease-out, box-shadow .1s ease-out;
}

/* ─── Status, Timer, Transkript ─────────────────────────────── */
.noelee-voice__status {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-gray-200);
  letter-spacing: .01em;
  text-align: center;
}
.noelee-voice__time {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: .78rem;
  font-weight: 500;
  color: var(--c-gray-500);
  letter-spacing: .05em;
}
.noelee-voice__transcript {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  width: 100%;
  min-height: 72px;
  max-height: 220px;
  overflow-y: auto;
  color: var(--c-gray-100);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}
.noelee-voice__placeholder {
  color: var(--c-gray-500);
  font-style: italic;
}
.noelee-voice__final {
  color: var(--c-white);
}
.noelee-voice__interim {
  color: var(--c-gray-400);
  opacity: .85;
}

/* ─── Aktions-Buttons ───────────────────────────────────────── */
.noelee-voice__actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: .25rem;
}
.noelee-voice__btn {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.noelee-voice__btn:active { transform: scale(.95); }

.noelee-voice__btn--cancel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--c-gray-200);
}
.noelee-voice__btn--cancel:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
}
.noelee-voice__btn--confirm {
  background: linear-gradient(135deg, #1E6BE6, #3B82F6);
  border: 1px solid rgba(96,165,250,.5);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30,107,230,.35);
}
.noelee-voice__btn--confirm:hover { filter: brightness(1.1); }

@media (max-width: 640px) {
  .noelee-voice__orb { width: 150px; height: 150px; }
  .noelee-voice__orb-core { width: 64px; height: 64px; }
  .noelee-voice__transcript { font-size: .95rem; padding: .85rem 1rem; }
  .noelee-voice__btn { width: 58px; height: 58px; }
  .noelee-voice__panel { gap: 1.2rem; }
}

/* ════════════════════════════════════════════════════════════════════
 * Trading Academy (v22149)
 * Modul-Auswahl-Cards, Lesson-Bar mit Progress, Done-Button
 * ════════════════════════════════════════════════════════════════════ */

.academy-modules {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
.academy-modules[hidden] { display: none !important; }
.academy-modules::-webkit-scrollbar { width: 8px; }
.academy-modules::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }
.academy-modules__head { text-align: center; margin-bottom: 1.5rem; }
.academy-modules__head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .5rem;
}
.academy-modules__head p {
  color: var(--c-gray-400);
  font-size: .9rem;
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}
.academy-modules__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.academy-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: border-color .15s ease, transform .15s ease;
}
.academy-card:hover {
  border-color: rgba(96,165,250,.25);
  transform: translateY(-2px);
}
.academy-card__head {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.academy-card__num {
  width: 28px;
  height: 28px;
  background: rgba(96,165,250,.14);
  color: #93C5FD;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.academy-card__meta {
  display: flex;
  gap: .6rem;
  font-size: .72rem;
  color: var(--c-gray-500);
  flex: 1;
}
.academy-card__diff {
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
.academy-card__time::before { content: '· '; opacity: .6; }
.academy-card__badge {
  font-size: .68rem;
  padding: .15rem .45rem;
  background: rgba(245,158,11,.15);
  color: #FCD34D;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.academy-card__badge--done {
  background: rgba(16,185,129,.18);
  color: #6EE7B7;
}
.academy-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.academy-card__sub {
  font-size: .82rem;
  color: var(--c-gray-400);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}
.academy-card__progress {
  margin-top: .25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.academy-card__progress-text {
  font-size: .72rem;
  color: var(--c-gray-500);
  white-space: nowrap;
}
.academy-card__cta {
  margin-top: .5rem;
  width: 100%;
  display: block;
}

/* Progress-Bar (wiederverwendet) */
.academy-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 99px;
  overflow: hidden;
  min-width: 60px;
}
.academy-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #1E6BE6, #60A5FA);
  border-radius: 99px;
  transition: width .3s ease;
}

/* Lesson-Bar (oben über dem Chat während aktiver Lesson) */
.academy-lesson-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: rgba(96,165,250,.06);
  border-bottom: 1px solid rgba(96,165,250,.18);
  flex-wrap: wrap;
}
.academy-lesson-bar[hidden] { display: none !important; }
.academy-lesson-bar__back {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--c-gray-300);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.academy-lesson-bar__back:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.academy-lesson-bar__info {
  flex: 1;
  min-width: 0;
}
.academy-lesson-bar__module {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #93C5FD;
  font-weight: 600;
  margin-bottom: .15rem;
}
.academy-lesson-bar__lesson {
  font-size: .9rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.academy-lesson-bar__progress {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 110px;
}
.academy-progress-bar__text {
  font-size: .72rem;
  color: var(--c-gray-400);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.academy-lesson-bar__done {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .academy-lesson-bar { flex-wrap: wrap; gap: .5rem; }
  .academy-lesson-bar__info { width: calc(100% - 44px); }
  .academy-lesson-bar__progress { flex: 1; min-width: 0; }
  .academy-lesson-bar__done { padding: .35rem .7rem; font-size: .8rem; }
  .academy-modules__list { grid-template-columns: 1fr; }
}

.academy-error {
  color: #FCA5A5;
  text-align: center;
  padding: 1rem;
}

/* ════════════════════════════════════════════════════════════════════
 * Noélee Message Actions (v22152)
 * Button-Stacks unter Bubbles — saubere Flex-Wrap-Gruppe
 * statt schiefer inline-margins
 * ════════════════════════════════════════════════════════════════════ */

.noelee-msg__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
  align-items: stretch;
}
.noelee-msg__actions > .btn {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

/* Inline-Variante: Code-Download direkt unter Code-Block */
.noelee-msg__actions--inline {
  margin-top: .6rem;
  justify-content: flex-start;
}
.noelee-msg__actions--inline > .btn {
  flex: 0 0 auto;
}

/* Code-Download-Button: Icon + Text */
.noelee-code-dl {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
}
.noelee-code-dl svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .noelee-msg__actions > .btn { flex: 1 1 100%; }
  .noelee-msg__actions--inline > .btn { flex: 1 1 100%; }
}

/* ════════════════════════════════════════════════════════════════════
 * Konto · Lernbibliothek (v22153)
 * ════════════════════════════════════════════════════════════════════ */

.academy-balance-card {
  background: rgba(96,165,250,.06);
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.academy-balance-card__main { flex: 1; min-width: 200px; }
.academy-balance-card__label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #93C5FD;
  font-weight: 600;
  margin-bottom: .3rem;
}
.academy-balance-card__value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: .35rem;
}
.academy-balance-card__hint {
  font-size: .85rem;
  color: var(--c-gray-400);
}
.academy-balance-card__cta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.academy-pdf-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.academy-pdf-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color .15s ease, background .15s ease;
}
.academy-pdf-item:hover {
  border-color: rgba(96,165,250,.25);
  background: rgba(96,165,250,.04);
}
.academy-pdf-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(96,165,250,.14);
  color: #93C5FD;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.academy-pdf-item__info { flex: 1; min-width: 0; }
.academy-pdf-item__info h3 {
  margin: 0 0 .2rem;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.academy-pdf-item__meta {
  font-size: .78rem;
  color: var(--c-gray-500);
  display: flex;
  gap: .4rem;
  align-items: center;
}
.academy-pdf-item__action { flex-shrink: 0; }

.academy-pdf-hint {
  font-size: .8rem;
  color: var(--c-gray-500);
  text-align: center;
  margin-top: 1.5rem;
  padding: .8rem;
  background: rgba(255,255,255,.02);
  border-radius: 6px;
  border: 1px dashed rgba(255,255,255,.08);
}

@media (max-width: 640px) {
  .academy-balance-card { flex-direction: column; align-items: flex-start; }
  .academy-balance-card__cta { width: 100%; }
  .academy-balance-card__cta .btn { flex: 1; }
  .academy-pdf-item { flex-wrap: wrap; }
  .academy-pdf-item__action { width: 100%; margin-top: .5rem; }
  .academy-pdf-item__action .btn { width: 100%; }
}

/* ════════════════════════════════════════════════════════════════════
 * Konto · Affiliate-Tab v3 (v22163 · 1:1 Loveify-Struktur, TMB-Dark)
 * ════════════════════════════════════════════════════════════════════ */

.affiliate-v2 {
  --aff-primary: #60A5FA;
  --aff-primary-strong: #3B82F6;
  --aff-primary-light: rgba(96,165,250,.15);
  --aff-primary-soft: rgba(96,165,250,.08);
  --aff-card-bg: rgba(255,255,255,.03);
  --aff-card-border: rgba(255,255,255,.08);
  --aff-text: #E5E7EB;
  --aff-text-muted: #9CA3AF;
  --aff-text-dim: #6B7280;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.affiliate-v2 strong { white-space: nowrap; }

/* Step-Indicator oben bei 2-Step-Flow */
.affiliate-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin: 0 auto 1.5rem;
  max-width: 240px;
}
.affiliate-step-indicator__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.12);
  color: var(--aff-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  transition: all .2s ease;
  flex-shrink: 0;
}
.affiliate-step-indicator__dot.is-active {
  background: var(--aff-primary);
  border-color: var(--aff-primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(96,165,250,.18);
}
.affiliate-step-indicator__dot.is-complete {
  background: #10B981;
  border-color: #10B981;
  color: #fff;
}
.affiliate-step-indicator__line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
}
.affiliate-step-indicator__line.is-complete { background: #10B981; }

/* Daten-Gate (Schritt 1) */
.affiliate-data-gate {
  background: var(--aff-card-bg);
  border: 1px solid var(--aff-card-border);
  border-radius: 16px;
  padding: 1.75rem;
}
.affiliate-data-gate h3 {
  margin: 0 0 .6rem;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}
.affiliate-data-gate > p {
  color: var(--aff-text-muted);
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 520px;
  line-height: 1.55;
  font-size: .9rem;
}
.affiliate-data-form { max-width: 520px; margin: 0 auto; }
.affiliate-data-form .account-field { margin-bottom: 1rem; }
.affiliate-data-form .account-form__row { margin-bottom: 0; }
.affiliate-data-form .btn--lg {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: .75rem;
}
.affiliate-data-gate__note {
  color: var(--aff-text-dim);
  font-size: .8rem;
  text-align: center;
  margin: 1.25rem 0 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Terms-Gate ─── */
.affiliate-terms-gate {
  background: var(--aff-primary-soft);
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 16px;
  padding: 1.75rem;
}
.affiliate-terms-gate h3 { margin: 0 0 .6rem; color: var(--aff-primary); font-size: 1.2rem; text-align: center; }
.affiliate-terms-gate > p { color: var(--aff-text); margin: 0 auto 1.25rem; text-align: center; max-width: 520px; font-size: .9rem; }
.affiliate-terms-gate ul { margin: 0 0 1.5rem; padding-left: 1.3rem; color: var(--aff-text-muted); line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto; }
.affiliate-terms-gate ul li { margin: .35rem 0; }
.affiliate-terms-gate .btn--lg {
  display: block;
  margin: 0 auto;
  padding: 1rem 2rem;
  font-size: 1rem;
}
.affiliate-terms-gate > p:last-child { text-align: center; }

/* ─── HERO ─── */
.affiliate-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.affiliate-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--aff-primary);
  opacity: .18;
}
.affiliate-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 20%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--aff-primary);
  opacity: .08;
}
.affiliate-hero__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--aff-primary);
  border-radius: 14px;
  margin-bottom: 1rem;
  color: #fff;
}
.affiliate-hero__title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.3px;
  margin: 0 0 1rem;
  color: #fff;
  text-transform: uppercase;
}
.affiliate-hero__lead {
  position: relative;
  z-index: 1;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  max-width: 620px;
  margin: 0 0 1.25rem;
}
.affiliate-hero__lead strong { color: #fff; }
.affiliate-hero__badges {
  position: relative;
  z-index: 1;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.affiliate-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: .4rem .9rem;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.affiliate-badge svg { flex-shrink: 0; }

/* ─── "So funktioniert's" ─── */
.affiliate-how {
  background: var(--aff-card-bg);
  border: 1px solid var(--aff-card-border);
  border-radius: 14px;
  padding: 1.5rem;
}
.affiliate-how__title {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--aff-text-muted);
  margin: 0 0 1.1rem;
}
.affiliate-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.affiliate-step {
  text-align: center;
  padding: 1rem .75rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px;
}
.affiliate-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--aff-primary-light);
  border-radius: 50%;
  margin-bottom: .6rem;
  color: var(--aff-primary);
}
.affiliate-step__num {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--aff-primary);
  margin-bottom: .25rem;
}
.affiliate-step__title {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .3rem;
}
.affiliate-step__desc {
  font-size: .75rem;
  color: var(--aff-text-muted);
  line-height: 1.5;
}

/* ─── Stats (5 Karten) ─── */
.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
}
.affiliate-stat {
  background: var(--aff-card-bg);
  border: 1px solid var(--aff-card-border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.affiliate-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--aff-primary);
  opacity: 0;
}
.affiliate-stat--balance::before,
.affiliate-stat--pending::before { opacity: 1; }
.affiliate-stat--balance {
  background: rgba(96,165,250,.08);
  border-color: rgba(96,165,250,.3);
}
.affiliate-stat--pending {
  background: rgba(245,158,11,.06);
  border-color: rgba(245,158,11,.25);
}
.affiliate-stat--pending::before { background: #F59E0B; }
.affiliate-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  margin-bottom: .55rem;
  color: var(--aff-text-muted);
}
.affiliate-stat--balance .affiliate-stat__icon { background: var(--aff-primary-light); color: var(--aff-primary); }
.affiliate-stat--pending .affiliate-stat__icon { background: rgba(245,158,11,.18); color: #FCD34D; }
.affiliate-stat__val {
  display: block;
  font-family: var(--font-display, inherit);
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}
.affiliate-stat__label {
  display: block;
  font-size: .72rem;
  color: var(--aff-text-muted);
  margin-top: .3rem;
  line-height: 1.35;
}
.affiliate-stat__label small { color: var(--aff-text-dim); font-size: .68rem; }

/* ─── Link-Box ─── */
.affiliate-link-box {
  background: var(--aff-card-bg);
  border: 1px solid var(--aff-card-border);
  border-radius: 14px;
  padding: 1.5rem;
}
.affiliate-link-box h3 {
  font-size: .95rem;
  font-weight: 800;
  margin: 0 0 .4rem;
  color: #fff;
}
.affiliate-link-desc {
  font-size: .85rem;
  color: var(--aff-text-muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}
.affiliate-link-row {
  display: flex;
  gap: .5rem;
  margin-bottom: .9rem;
}
.affiliate-link-input {
  flex: 1;
  min-width: 0;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 10px;
  font-family: monospace;
  font-size: .85rem;
}
.affiliate-link-input:focus {
  outline: none;
  border-color: var(--aff-primary);
  background: rgba(0,0,0,.45);
}
.affiliate-copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--aff-primary);
  color: #fff;
  border: 0;
  padding: .75rem 1.2rem;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}
.affiliate-copy-btn:hover { background: var(--aff-primary-strong); }
.affiliate-copy-btn:disabled { opacity: .7; cursor: default; }

.affiliate-share-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}
.affiliate-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: var(--aff-text);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.affiliate-share-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-1px);
  color: #fff;
}
.affiliate-share-btn svg { color: var(--aff-primary); flex-shrink: 0; }

.affiliate-code-hint {
  font-size: .75rem;
  color: var(--aff-text-dim);
  margin: 0;
  padding-top: .7rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.affiliate-code-hint strong {
  color: var(--aff-primary);
  font-family: monospace;
  font-size: .85rem;
  background: var(--aff-primary-light);
  padding: .1rem .5rem;
  border-radius: 4px;
}

/* ─── Payout-Box ─── */
.affiliate-payout-box {
  background: var(--aff-card-bg);
  border: 1px solid var(--aff-card-border);
  border-radius: 14px;
  padding: 1.5rem;
}
.affiliate-payout-box h3 {
  font-size: .95rem;
  font-weight: 800;
  margin: 0 0 .8rem;
  color: #fff;
  display: flex;
  align-items: center;
}
.affiliate-payout-desc {
  font-size: .85rem;
  color: var(--aff-text-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
}
.affiliate-payout-desc strong { color: #fff; }

.affiliate-notice {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: .85rem;
  line-height: 1.5;
}
.affiliate-notice svg { flex-shrink: 0; margin-top: .05rem; }
.affiliate-notice--ok {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.3);
  color: #A7F3D0;
}
.affiliate-notice--ok svg { color: #6EE7B7; }
.affiliate-notice--warn {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.28);
  color: #FDE68A;
}
.affiliate-notice--warn svg { color: #FCD34D; }
.affiliate-notice--info {
  background: rgba(96,165,250,.08);
  border: 1px solid rgba(96,165,250,.3);
  color: #BFDBFE;
}
.affiliate-notice--info svg { color: #93C5FD; }
.affiliate-notice strong { color: #fff; }

.affiliate-progress {
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
  margin: .75rem 0 .3rem;
}
.affiliate-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
  border-radius: 99px;
  transition: width .6s ease;
}
.affiliate-progress__labels {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: var(--aff-text-dim);
  margin-bottom: 1rem;
}

.affiliate-payout-form { margin-top: 1rem; }
.affiliate-payout-form .account-field { margin-bottom: .85rem; }

/* ─── Historie-Tabellen ─── */
.affiliate-history, .affiliate-payouts {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
}
.affiliate-history h3, .affiliate-payouts h3 {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--aff-text-muted);
  margin: 0 0 .9rem;
}
.affiliate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.affiliate-table thead th {
  text-align: left;
  padding: .55rem .75rem;
  font-weight: 600;
  color: var(--aff-text-muted);
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.affiliate-table tbody td {
  padding: .7rem .75rem;
  color: var(--aff-text);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.affiliate-table tbody tr:last-child td { border-bottom: 0; }
.affiliate-table tbody tr:hover { background: rgba(255,255,255,.02); }

/* ─── Status-Badges (bleibt für Helper-Funktion) ─── */
.affiliate-status {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.affiliate-status__icon { width: 12px; height: 12px; flex-shrink: 0; }
.affiliate-status--warn { background: rgba(245,158,11,.15); color: #FCD34D; }
.affiliate-status--ok   { background: rgba(16,185,129,.15); color: #6EE7B7; }
.affiliate-status--info { background: rgba(96,165,250,.15); color: #93C5FD; }
.affiliate-status--done { background: rgba(139,92,246,.15); color: #C4B5FD; }
.affiliate-status--bad  { background: rgba(239,68,68,.15); color: #FCA5A5; }
.affiliate-status--neutral { background: rgba(255,255,255,.06); color: var(--aff-text-muted); }

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .affiliate-hero { padding: 1.75rem 1.35rem; border-radius: 14px; }
  .affiliate-hero__title { font-size: 1.1rem; }
  .affiliate-link-row { flex-direction: column; }
  .affiliate-copy-btn { width: 100%; justify-content: center; }
  .affiliate-share-row .affiliate-share-btn { flex: 1; justify-content: center; }
  .affiliate-table { font-size: .78rem; }
  .affiliate-table thead th,
  .affiliate-table tbody td { padding: .5rem .55rem; }
  .affiliate-history, .affiliate-payouts { padding: 1rem 1.1rem; }
  .affiliate-payout-box, .affiliate-link-box { padding: 1.2rem; }
  .affiliate-how { padding: 1.2rem; }
}

/* ════════════════════════════════════════════════════════════════════
 * Noélee-Footer Affiliate CTA
 * ════════════════════════════════════════════════════════════════════ */
.noelee-affiliate-cta {
  margin-top: 1.25rem;
  padding: .85rem 1.1rem;
  background: rgba(16,185,129,.05);
  border: 1px dashed rgba(16,185,129,.3);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.noelee-affiliate-cta__icon {
  color: #6EE7B7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.noelee-affiliate-cta__text {
  color: var(--c-gray-300);
  font-size: .88rem;
  flex: 1;
  min-width: 200px;
}
.noelee-affiliate-cta__text strong { color: #6EE7B7; }
.noelee-affiliate-cta__actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .noelee-affiliate-cta { justify-content: flex-start; }
  .noelee-affiliate-cta__actions { width: 100%; }
  .noelee-affiliate-cta__actions .btn { flex: 1; }
}

/* ═══════════════════════════════════════════════════════════════════
   stelaraX-Übernahme Announcement Modal
   Einmaliger Hinweis-Dialog beim ersten Besuch (außer /stelarax/).
   ═══════════════════════════════════════════════════════════════════ */
.tmb-stx-pop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.tmb-stx-pop.is-open { display: flex; }

.tmb-stx-pop__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 12, 24, 0.82);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    animation: tmbStxFade .35s ease;
}

.tmb-stx-pop__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(160deg, #0f1e33 0%, #0a1628 100%);
    border: 1px solid rgba(30, 107, 230, .4);
    border-radius: 20px;
    padding: 44px 36px 32px;
    color: #fff;
    box-shadow:
        0 30px 80px rgba(0,0,0,.6),
        0 0 0 1px rgba(30, 107, 230, .15),
        0 0 80px rgba(30, 107, 230, .08);
    animation: tmbStxPop .45s cubic-bezier(.2, .9, .3, 1.1);
}

@keyframes tmbStxFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes tmbStxPop {
    from { opacity: 0; transform: translateY(18px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tmb-stx-pop__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all .2s ease;
}
.tmb-stx-pop__close:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.18);
}

.tmb-stx-pop__eyebrow {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: .72rem;
    font-weight: 600;
    color: var(--c-blue-400, #60A5FA);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tmb-stx-pop__title {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #fff;
    letter-spacing: -.015em;
}
.tmb-stx-pop__title span {
    color: var(--c-blue-400, #60A5FA);
}

.tmb-stx-pop__lead {
    color: #cbd5e1;
    font-size: .95rem;
    line-height: 1.65;
    margin: 0 0 22px;
}

/* Mini-Scan-Chart im Popup */
.tmb-stx-pop__chart {
    position: relative;
    width: 100%;
    height: 120px;
    margin: 0 0 22px;
    padding: 12px;
    background: rgba(10, 22, 40, .6);
    border: 1px solid rgba(30, 107, 230, .25);
    border-radius: 12px;
    overflow: hidden;
}
.tmb-stx-pop__chart-svg {
    width: 100%;
    height: 100%;
    display: block;
}
.tmb-stx-pop__scan-beam {
    animation: tmbStxPopScan 3.2s ease-in-out infinite;
}
@keyframes tmbStxPopScan {
    0%   { transform: translateX(0); }
    100% { transform: translateX(520px); }
}
.tmb-stx-pop__chart-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(96, 165, 250, .12);
    border: 1px solid rgba(96, 165, 250, .4);
    border-radius: 10px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: #60A5FA;
}
.tmb-stx-pop__chart-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    animation: tmbStxPopDot 1.6s ease-in-out infinite;
}
@keyframes tmbStxPopDot {
    0%, 100% { opacity: 1; }
    50%      { opacity: .3; }
}

.tmb-stx-pop__price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(16, 185, 129, .06);
    border: 1px solid rgba(16, 185, 129, .2);
    border-radius: 12px;
    margin: 0 0 24px;
}
.tmb-stx-pop__price-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    flex: 1;
}
.tmb-stx-pop__price-label {
    font-size: .68rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tmb-stx-pop__price-old {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}
.tmb-stx-pop__price-new {
    font-family: var(--font-display, 'Unbounded', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #10B981;
}
.tmb-stx-pop__price-arrow {
    font-size: 1.3rem;
    color: rgba(255,255,255,.5);
    font-weight: 300;
    margin: 0 2px;
}

.tmb-stx-pop__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.tmb-stx-pop__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: .9rem;
    color: #cbd5e1;
    line-height: 1.5;
}
.tmb-stx-pop__features svg {
    flex-shrink: 0;
    color: #10B981;
    margin-top: 3px;
}

.tmb-stx-pop__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.tmb-stx-pop__cta {
    flex: 1 1 auto;
    min-width: 200px;
}
.tmb-stx-pop__later {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: .88rem;
    padding: 10px 16px;
    cursor: pointer;
    font-family: inherit;
    transition: color .2s;
}
.tmb-stx-pop__later:hover {
    color: #fff;
    text-decoration: underline;
}

/* Scroll-Lock beim geöffneten Modal */
body.tmb-stx-pop-open {
    overflow: hidden;
}

/* Mobile-Anpassungen */
@media (max-width: 480px) {
    .tmb-stx-pop { padding: 12px; }
    .tmb-stx-pop__card {
        padding: 36px 22px 24px;
        border-radius: 16px;
    }
    .tmb-stx-pop__price {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .tmb-stx-pop__price-col { align-items: center; }
}

/* ══════════════════════════════════════════════════════════════════
   TMB Lightbox (single-tmb_product.php Produktbild zoom)
   ══════════════════════════════════════════════════════════════════ */
.product-hero__media-trigger {
    position: absolute;
    inset: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    width: 100%;
    height: 100%;
    display: block;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(30,107,230,.15);
}
.product-hero__media-trigger .product-hero__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform var(--t-base);
}
@media (hover: hover) and (pointer: fine) {
    .product-hero__media-trigger:hover .product-hero__img {
        transform: scale(1.02);
    }
    .product-hero__media-trigger:hover .product-hero__media-zoom {
        opacity: 1;
        transform: translateY(0);
    }
}
.product-hero__media-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: #fff;
    opacity: .85;
    transform: translateY(0);
    transition: opacity var(--t-base), transform var(--t-base);
    pointer-events: none;
}

/* Lightbox-Overlay */
.tmb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 10, 22, .94);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .22s ease;
}
.tmb-lightbox.is-open {
    display: flex;
    opacity: 1;
}
.tmb-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: zoom-out;
}
.tmb-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: background var(--t-base);
}
.tmb-lightbox__close:hover {
    background: rgba(255,255,255,.16);
}
.tmb-lightbox__img {
    position: relative;
    z-index: 1;
    max-width: min(94vw, 1400px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    user-select: none;
    -webkit-user-drag: none;
}
body.tmb-lightbox-open {
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCT SLIDER (Startseite "Neueste Produkte")
   Coverflow-Style: zentrale Karte groß im Fokus,
   Nachbar-Karten seitlich reduziert, dezente Opacity.
   ══════════════════════════════════════════════════════════════════ */
.product-slider-section {
    position: relative;
    overflow: hidden;
}

.product-slider {
    position: relative;
    margin: 3rem auto 0;
    max-width: 1200px;
}

.product-slider__viewport {
    position: relative;
    height: 440px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .product-slider__viewport { height: 480px; }
}
@media (max-width: 480px) {
    .product-slider__viewport { height: 460px; }
}

.product-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Jede Slide absolut positioniert, per JS bekommt sie is-active/is-prev/is-next */
.product-slider__slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(340px, 82%);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.7);
    transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .4s ease;
    text-decoration: none;
    color: inherit;
    z-index: 1;
}
.product-slider__slide.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
    z-index: 3;
}
.product-slider__slide.is-prev {
    opacity: .75;
    transform: translate(calc(-50% - 280px), -50%) scale(.82);
    z-index: 2;
    pointer-events: auto;
}
.product-slider__slide.is-next {
    opacity: .75;
    transform: translate(calc(-50% + 280px), -50%) scale(.82);
    z-index: 2;
    pointer-events: auto;
}
.product-slider__slide.is-far {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
}
@media (max-width: 768px) {
    .product-slider__slide.is-prev {
        transform: translate(calc(-50% - 180px), -50%) scale(.78);
        opacity: .55;
    }
    .product-slider__slide.is-next {
        transform: translate(calc(-50% + 180px), -50%) scale(.78);
        opacity: .55;
    }
}
@media (max-width: 480px) {
    .product-slider__slide.is-prev,
    .product-slider__slide.is-next {
        opacity: 0;
        pointer-events: none;
    }
}

/* Karte selbst — kräftiger Background damit Text auch auf
   section--dark lesbar bleibt. Feste Höhe + Flex-Layout damit
   alle Karten exakt gleich aussehen, unabhängig von Textlänge. */
.product-slider__card {
    display: flex;
    flex-direction: column;
    height: 420px;                  /* FIXE Kartenhöhe — alle identisch */
    background: linear-gradient(180deg, rgba(30, 41, 59, .85), rgba(15, 23, 42, .75));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color var(--t-base), box-shadow var(--t-base);
    backdrop-filter: blur(6px);
}
.product-slider__slide.is-active .product-slider__card {
    background: linear-gradient(180deg, rgba(30, 41, 59, .98), rgba(15, 23, 42, .95));
    border-color: rgba(30,107,230,.45);
}
.product-slider__media {
    position: relative;
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--c-navy-700), var(--c-navy-600));
    overflow: hidden;
}
.product-slider__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;                 /* füllt verbleibenden Platz */
    min-height: 0;                  /* lets flex children shrink */
}
.product-slider__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: #fff;
    /* max. 2 Zeilen dann … */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-slider__excerpt {
    font-size: .92rem;
    color: rgba(226,232,240,.7);
    line-height: 1.5;
    margin: 0;
    /* max. 3 Zeilen dann … */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-slider__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: auto;               /* pinnt den Footer unten */
    border-top: 1px solid rgba(255,255,255,.06);
}
.product-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-slider__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(96,165,250,.35);
}
.product-slider__version,
.product-slider__badge {
    position: absolute;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
}
.product-slider__version {
    top: 12px;
    right: 12px;
    background: rgba(15,23,42,.72);
    color: #cbd5e1;
    backdrop-filter: blur(6px);
}
.product-slider__badge {
    top: 12px;
    left: 12px;
    background: rgba(30,107,230,.9);
    color: #fff;
    text-transform: uppercase;
}

.product-slider__cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #60a5fa;
}
.product-slider__price-free { font-weight: 700; color: #34d399; }
.product-slider__price-num  { font-weight: 700; color: #fff; }
.product-slider__price-note { color: rgba(226,232,240,.55); font-size: .88rem; }
.product-slider__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    font-weight: 600;
    color: #60a5fa;
    transition: gap var(--t-base);
}
.product-slider__slide.is-active .product-slider__card:hover .product-slider__cta {
    gap: 10px;
}

/* Arrows */
.product-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,.8);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.product-slider__arrow:hover {
    background: rgba(30,107,230,.85);
    border-color: rgba(30,107,230,.85);
    transform: translateY(-50%) scale(1.05);
}
.product-slider__arrow--prev { left: 0; }
.product-slider__arrow--next { right: 0; }
@media (max-width: 640px) {
    .product-slider__arrow { width: 44px; height: 44px; }
    .product-slider__arrow--prev { left: 8px; }
    .product-slider__arrow--next { right: 8px; }
}

/* Dots */
.product-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}
.product-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
    cursor: pointer;
    transition: background var(--t-base), width var(--t-base);
}
.product-slider__dot:hover {
    background: rgba(255,255,255,.35);
}
.product-slider__dot.is-active {
    background: #1E6BE6;
    width: 24px;
}

/* ══════════════════════════════════════════════════════════════════
   Library Intro (page-library.php - der WP-Page-Content zwischen Hero
   und Produkt-Filter). Inherit theme defaults — funktioniert für
   Text, Listen, Überschriften, Blockquotes etc.
   ══════════════════════════════════════════════════════════════════ */
.library-intro { padding: 0 0 2.5rem; }
.library-intro__content { color: rgba(226,232,240,.85); font-size: 1.05rem; line-height: 1.7; }
.library-intro__content h2,
.library-intro__content h3 { color: #fff; margin-top: 2rem; }
.library-intro__content h2:first-child,
.library-intro__content h3:first-child,
.library-intro__content p:first-child { margin-top: 0; }
.library-intro__content a { color: #60a5fa; text-decoration: underline; }
.library-intro__content a:hover { color: #93c5fd; }
.library-intro__content ul,
.library-intro__content ol { padding-left: 1.25rem; color: rgba(226,232,240,.85); }
.library-intro__content li { margin-bottom: .5rem; }

/* ══════════════════════════════════════════════════════════════════
   Download Counter Anzeige
   ══════════════════════════════════════════════════════════════════ */
.library-card__downloads {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(226,232,240,.6);
    margin-top: 2px;
    letter-spacing: .02em;
}
.library-card__downloads svg {
    flex: 0 0 auto;
    color: #60a5fa;
}
.product-pill--downloads {
    color: #60a5fa;
    border-color: rgba(96,165,250,.3);
    background: rgba(30,107,230,.08);
}

/* ══════════════════════════════════════════════════════════════════
   HIRING / KARRIERE CTA (page-team.php)
   ══════════════════════════════════════════════════════════════════ */
.hiring-section {
    background: #fff;
    padding: 4rem 0 5rem;
}
.hiring-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 3rem;
    background: linear-gradient(135deg, #0f1d32 0%, #0a1628 100%);
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
}
.hiring-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(30,107,230,.25), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(59,130,246,.15), transparent 40%);
    pointer-events: none;
}
.hiring-card__content {
    position: relative;
    z-index: 1;
}
.hiring-card__title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: .5rem 0 1rem;
    line-height: 1.15;
}
.hiring-card__lead {
    color: rgba(226,232,240,.8);
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}
.hiring-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.5rem 0 2rem;
}
.hiring-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    font-size: 13px;
    color: rgba(226,232,240,.9);
}
.hiring-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.hiring-card__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn--ghost-light {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--t-base), border-color var(--t-base);
}
.btn--ghost-light:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.35);
}
.hiring-card__visual {
    position: relative;
    z-index: 1;
    color: rgba(96,165,250,.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .hiring-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    .hiring-card__visual {
        order: -1;
    }
    .hiring-card__visual svg {
        width: 80px;
        height: 80px;
    }
    .hiring-card__title {
        font-size: 1.6rem;
    }
}

/* ══════════════════════════════════════════════════════════════════
   TMB JOBCENTER — Karriere-Übersicht + Einzel-Jobs + Bewerbung
   ══════════════════════════════════════════════════════════════════ */

/* Karriere-Übersicht */
.karriere-archive { background: #0a1628; color: #fff; min-height: 60vh; }
.karriere-jobs { padding-top: 2rem; padding-bottom: 5rem; }
.karriere-jobs__list {
    display: grid;
    gap: 1.25rem;
    max-width: 900px;
    margin: 2.5rem auto 0;
}

/* Job-Card (in der Liste) */
.job-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, .7), rgba(15, 23, 42, .6));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 1.75rem 1.75rem 1.5rem;
    transition: border-color var(--t-base), transform var(--t-base);
}
@media (hover: hover) and (pointer: fine) {
    .job-card:hover {
        border-color: rgba(30, 107, 230, .45);
        transform: translateY(-2px);
    }
}
.job-card__header { margin-bottom: 1rem; }
.job-card__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 8px;
}
.job-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px;
}
.job-card__title a {
    color: #fff;
    text-decoration: none;
}
.job-card__title a:hover { color: #60a5fa; }
.job-card__short {
    color: rgba(226, 232, 240, .75);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
}
.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 1rem 0;
}
.job-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(226, 232, 240, .85);
}
.job-pill--warning { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); color: #fbbf24; }
.job-pill--closed  { border-color: rgba(107, 114, 128, .4); background: rgba(107, 114, 128, .08); color: #9ca3af; }
.job-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: .5rem 0 1rem;
}
.job-card__actions {
    display: flex;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.job-card__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
}

/* Single Job */
.single-job { background: #0a1628; color: #fff; }
.job-detail__content {
    color: rgba(226, 232, 240, .85);
    font-size: 1.02rem;
    line-height: 1.7;
}
.job-detail__content h2,
.job-detail__content h3 { color: #fff; margin-top: 2rem; }
.job-detail__content a { color: #60a5fa; text-decoration: underline; }
.job-detail__content ul,
.job-detail__content ol { padding-left: 1.25rem; }
.job-detail__content li { margin-bottom: .5rem; }
.job-detail__content strong { color: #fff; }

/* Bewerbungsformular */
.apply-page { background: #0a1628; color: #fff; }

.apply-mode-picker { text-align: center; padding: 2rem 0; }
.apply-mode-picker h2 { color: #fff; font-size: 1.75rem; margin: 0 0 .5rem; }
.apply-mode-picker > p { color: rgba(226, 232, 240, .7); margin: 0 0 2.5rem; }
.apply-mode-picker__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 640px) { .apply-mode-picker__grid { grid-template-columns: 1fr; } }

.apply-mode-card {
    display: block;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .7), rgba(15, 23, 42, .6));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color var(--t-base), transform var(--t-base);
    text-align: left;
}
@media (hover: hover) and (pointer: fine) {
    .apply-mode-card:hover {
        border-color: rgba(30, 107, 230, .45);
        transform: translateY(-3px);
    }
}
.apply-mode-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 230, .12);
    border-radius: 50%;
    color: #60a5fa;
    margin-bottom: 1rem;
}
.apply-mode-card h3 { color: #fff; font-size: 1.2rem; margin: 0 0 .5rem; }
.apply-mode-card p  { color: rgba(226, 232, 240, .7); font-size: .92rem; line-height: 1.6; margin: 0 0 1rem; }
.apply-mode-card__cta {
    display: inline-block;
    color: #60a5fa;
    font-weight: 600;
    font-size: .95rem;
}

/* Formular */
.apply-form { margin-top: 1rem; }
.apply-form__step {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.apply-form__step h2 {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.apply-form__row { margin-bottom: 1.25rem; }
.apply-form__row label {
    display: block;
    color: rgba(226, 232, 240, .9);
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 6px;
}
.apply-form__row input[type="text"],
.apply-form__row input[type="email"],
.apply-form__row input[type="tel"],
.apply-form__row input[type="file"],
.apply-form__row textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--t-base), background var(--t-base);
    box-sizing: border-box;
}
.apply-form__row input:focus,
.apply-form__row textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(0, 0, 0, .4);
}
.apply-form__row textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.apply-form__row input[type="file"] {
    padding: 10px;
    cursor: pointer;
}
.apply-form__hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: rgba(226, 232, 240, .55);
}
.apply-form__actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.apply-form__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Errors + Success */
.apply-errors {
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .3);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #fca5a5;
}
.apply-errors ul { margin: 8px 0 0; padding-left: 1.25rem; }
.apply-errors li { margin-bottom: 4px; }

.apply-success {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(16, 185, 129, .05);
    border: 1px solid rgba(16, 185, 129, .2);
    border-radius: 14px;
}
.apply-success__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, .15);
    border-radius: 50%;
    color: #34d399;
}
.apply-success h2 { color: #fff; font-size: 1.5rem; margin: 0 0 .75rem; }
.apply-success p { color: rgba(226, 232, 240, .75); margin: 0 0 1.5rem; }

/* ══════════════════════════════════════════════════════════════════
   KARRIERE PAGE CONTENT (Default-Content vom Auto-Creator in
   jobs-core.php, gerendert via library-intro)
   ══════════════════════════════════════════════════════════════════ */

.kar-lead {
    color: rgba(226, 232, 240, .75);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 1200px;
    margin: 0 auto 1rem;
    text-align: center;
}
.kar-benefits__header {
    text-align: center;
    margin-bottom: 3rem;
}
.kar-benefits__header .eyebrow {
    margin-bottom: 10px;
}
.kar-benefits__header .section-title {
    margin: 0 0 1rem;
}

/* BENEFIT CARDS */
.kar-benefits {
    margin: 4rem auto;
    max-width: 1200px;
}
.kar-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 860px) { .kar-benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .kar-benefits__grid { grid-template-columns: 1fr; } }

.kar-benefit {
    padding: 1.75rem 1.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .55), rgba(15, 23, 42, .4));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    text-align: left;
    transition: border-color var(--t-base), transform var(--t-base);
}
@media (hover: hover) and (pointer: fine) {
    .kar-benefit:hover {
        border-color: rgba(30, 107, 230, .4);
        transform: translateY(-3px);
    }
}
.kar-benefit__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 230, .14);
    border-radius: 12px;
    color: #60a5fa;
    margin-bottom: 1.1rem;
}
.kar-benefit h3 {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 .4rem;
    line-height: 1.3;
}
.kar-benefit p {
    color: rgba(226, 232, 240, .7);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
}

/* PROCESS STEPS */
.kar-process {
    margin: 5rem auto 4rem;
    max-width: 1200px;
}
.kar-process__steps {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}
.kar-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: linear-gradient(90deg, rgba(30, 41, 59, .4), rgba(15, 23, 42, .2));
    border: 1px solid rgba(255, 255, 255, .06);
    border-left: 3px solid rgba(30, 107, 230, .45);
    border-radius: 12px;
    transition: background var(--t-base), border-left-color var(--t-base);
}
@media (hover: hover) and (pointer: fine) {
    .kar-step:hover {
        background: linear-gradient(90deg, rgba(30, 41, 59, .7), rgba(15, 23, 42, .4));
        border-left-color: #3b82f6;
    }
}
.kar-step__num {
    font-size: 2rem;
    font-weight: 800;
    color: #60a5fa;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    opacity: .8;
    letter-spacing: -.02em;
}
.kar-step__body h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 .4rem;
}
.kar-step__body p {
    color: rgba(226, 232, 240, .75);
    font-size: .95rem;
    line-height: 1.65;
    margin: 0;
}
.kar-step__body strong {
    color: #fff;
}
@media (max-width: 540px) {
    .kar-step { grid-template-columns: 1fr; gap: .5rem; padding: 1.25rem; }
    .kar-step__num { font-size: 1.5rem; }
}

/* INITIATIV CARD */
.kar-initiativ {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 107, 230, .15), rgba(59, 130, 246, .08));
    border: 1px solid rgba(30, 107, 230, .3);
    border-radius: 16px;
}
.kar-initiativ__content h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 .75rem;
}
.kar-initiativ__content p {
    color: rgba(226, 232, 240, .8);
    font-size: .98rem;
    line-height: 1.65;
    margin: 0;
}
.kar-initiativ__visual {
    color: rgba(96, 165, 250, .4);
}
@media (max-width: 640px) {
    .kar-initiativ { grid-template-columns: 1fr; padding: 1.75rem; }
    .kar-initiativ__visual { display: none; }
}

/* Default library-intro styles unterdrücken wenn custom HTML
   verwendet wird — damit die h2 nicht doppelt formatiert werden */
.library-intro__content .kar-benefits h2,
.library-intro__content .kar-process h2,
.library-intro__content .kar-initiativ h2 {
    margin-top: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SINGLE JOB v2 — Visual Hero + Quick Facts + Prose + Sidebar
   ══════════════════════════════════════════════════════════════════ */

.single-job { background: #0a1628; color: #fff; }

.job-hero { position: relative; padding: 2rem 0 4rem; overflow: hidden; }
.job-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(30, 107, 230, .2), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(59, 130, 246, .12), transparent 50%);
    pointer-events: none;
}
.job-hero .breadcrumbs {
    margin-bottom: 2rem;
    font-size: 13px;
    color: rgba(226, 232, 240, .6);
}
.job-hero .breadcrumbs a {
    color: #60a5fa;
    text-decoration: none;
}
.job-hero .breadcrumbs a:hover { color: #93c5fd; }

.job-hero__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
}
.job-hero__content { position: relative; z-index: 1; }
.job-hero__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 1rem 0 1.25rem;
    letter-spacing: -.01em;
}
.job-hero__lead {
    color: rgba(226, 232, 240, .8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 2rem;
}
.job-hero__actions {
    display: flex; gap: 12px; flex-wrap: wrap;
}
.job-hero__actions .btn {
    display: inline-flex; align-items: center; gap: 8px;
}
.btn--lg { padding: 14px 28px; font-size: 1rem; }

.job-hero__visual {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    max-width: 400px; margin-left: auto;
}
@media (max-width: 900px) {
    .job-hero__grid { grid-template-columns: 1fr; }
    .job-hero__visual { max-width: 280px; margin: 2rem auto 0; }
}

/* QUICK FACTS */
.job-facts { padding: 2rem 0 3rem; }
.job-facts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.job-fact {
    display: flex; gap: 12px; align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .5), rgba(15, 23, 42, .3));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
}
.job-fact__icon {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30, 107, 230, .15);
    border-radius: 10px;
    color: #60a5fa;
}
.job-fact__label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(226, 232, 240, .55);
    margin-bottom: 3px;
}
.job-fact__value {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
}
@media (max-width: 900px) { .job-facts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .job-facts__grid { grid-template-columns: 1fr; } }

/* CONTENT LAYOUT */
.job-content-section { padding: 3rem 0; }
.job-content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 900px) { .job-content-layout { grid-template-columns: 1fr; } }

.job-prose {
    color: rgba(226, 232, 240, .85);
    font-size: 1.02rem;
    line-height: 1.75;
}
.job-prose h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.job-prose h2:first-child { margin-top: 0; }
.job-prose h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 2rem 0 .75rem;
    display: flex; align-items: center; gap: 10px;
}
.job-prose h3::before {
    content: '';
    display: block;
    width: 4px; height: 20px;
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}
.job-prose p { margin: 0 0 1rem; }
.job-prose ul, .job-prose ol { padding-left: 1.5rem; margin: 0 0 1.5rem; }
.job-prose li { margin-bottom: .6rem; position: relative; }
.job-prose ul li::marker { color: #60a5fa; }
.job-prose strong { color: #fff; }
.job-prose a { color: #60a5fa; text-decoration: underline; }

/* SIDEBAR */
.job-sidebar { position: sticky; top: 100px; }
.job-sidebar__card {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .6), rgba(15, 23, 42, .4));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    margin-bottom: 1rem;
}
.job-sidebar__card .eyebrow { margin-bottom: 8px; }
.job-sidebar__card h3 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 1rem;
    line-height: 1.3;
}
.job-sidebar__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.job-sidebar__card--cta {
    background: linear-gradient(135deg, rgba(30, 107, 230, .2), rgba(59, 130, 246, .05));
    border-color: rgba(30, 107, 230, .3);
}
.job-sidebar__card--cta p {
    color: rgba(226, 232, 240, .75);
    font-size: .9rem;
    margin: 0 0 1rem;
}
.job-sidebar__meta {
    display: flex; align-items: center; gap: 6px;
    margin: .75rem 0 0;
    font-size: .8rem;
    color: rgba(16, 185, 129, .8);
}
.job-sidebar__meta svg { color: #34d399; }

/* PROZESS-PREVIEW auf Single Job */
.job-process-preview {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(30, 41, 59, .3), transparent);
}
.job-proc {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}
.job-proc__step {
    padding: 1.75rem 1.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .5), rgba(15, 23, 42, .3));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    position: relative;
    transition: transform var(--t-base), border-color var(--t-base);
}
@media (hover: hover) and (pointer: fine) {
    .job-proc__step:hover { transform: translateY(-4px); border-color: rgba(30, 107, 230, .4); }
}
.job-proc__num {
    position: absolute; top: 1rem; right: 1.25rem;
    font-size: 1.5rem; font-weight: 800;
    color: rgba(96, 165, 250, .3);
    letter-spacing: -.02em;
}
.job-proc__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30, 107, 230, .14);
    border-radius: 12px;
    color: #60a5fa;
    margin-bottom: 1rem;
}
.job-proc__step h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 .4rem;
}
.job-proc__step p {
    color: rgba(226, 232, 240, .7);
    font-size: .88rem;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 900px) { .job-proc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .job-proc { grid-template-columns: 1fr; } }

/* FINAL CTA auf Single Job */
.job-final-cta { padding: 4rem 0 5rem; }
.job-final-cta__card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30, 107, 230, .18), rgba(59, 130, 246, .04));
    border: 1px solid rgba(30, 107, 230, .3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.job-final-cta__card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(96, 165, 250, .12), transparent 50%);
    pointer-events: none;
}
.job-final-cta__content { position: relative; z-index: 1; }
.job-final-cta__content h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: .5rem 0 .75rem;
}
.job-final-cta__content p {
    color: rgba(226, 232, 240, .8);
    font-size: 1.02rem;
    margin: 0 0 1.5rem;
    max-width: 600px;
}
.job-final-cta__visual {
    position: relative; z-index: 1;
    color: rgba(96, 165, 250, .6);
}
@media (max-width: 700px) {
    .job-final-cta__card { grid-template-columns: 1fr; padding: 2rem; }
    .job-final-cta__visual { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   APPLY FORM v2 — Multi-Step mit Progress + Sidebar
   ══════════════════════════════════════════════════════════════════ */

.apply-page--v2 { background: #0a1628; color: #fff; }

/* Compact Hero */
.apply-hero {
    padding: 2rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(30, 41, 59, .3), transparent);
}
.apply-hero .breadcrumbs {
    font-size: 13px;
    color: rgba(226, 232, 240, .6);
    margin-bottom: 1rem;
}
.apply-hero .breadcrumbs a {
    color: #60a5fa;
    text-decoration: none;
}
.apply-hero__title h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #fff;
    margin: .5rem 0 .75rem;
    line-height: 1.2;
}
.apply-hero__sub {
    color: rgba(226, 232, 240, .7);
    margin: 0;
}

/* Main Layout */
.apply-main { padding: 3rem 0 5rem; }
.apply-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 960px) { .apply-layout { grid-template-columns: 1fr; } }

.apply-form-wrap { min-width: 0; }

/* Progress Bar */
.apply-progress {
    margin-bottom: 3rem;
}
.apply-progress__bar {
    height: 6px;
    background: rgba(255, 255, 255, .08);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.apply-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 99px;
    transition: width .35s ease;
}
.apply-progress__steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0; margin: 0;
    gap: 8px;
}
.apply-progress__steps li {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    text-align: center;
    opacity: .45;
    transition: opacity var(--t-base);
}
.apply-progress__steps li.is-active,
.apply-progress__steps li.is-complete {
    opacity: 1;
}
.apply-progress__num {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    color: rgba(226, 232, 240, .7);
    font-weight: 700;
    font-size: 14px;
    transition: background var(--t-base), border-color var(--t-base);
}
.apply-progress__steps li.is-active .apply-progress__num {
    background: linear-gradient(135deg, #3b82f6, #1e6be6);
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .15);
}
.apply-progress__steps li.is-complete .apply-progress__num {
    background: rgba(16, 185, 129, .2);
    border-color: rgba(16, 185, 129, .5);
    color: #34d399;
}
.apply-progress__label {
    font-size: 12px;
    color: rgba(226, 232, 240, .7);
    font-weight: 500;
}
@media (max-width: 600px) {
    .apply-progress__label { display: none; }
}

/* Steps */
.apply-step {
    display: none;
    animation: fadeInUp .35s ease;
}
.apply-step.is-active { display: block; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.apply-step__head {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.apply-step__head h2 {
    color: #fff;
    font-size: 1.35rem;
    margin: 0 0 .4rem;
}
.apply-step__head p {
    color: rgba(226, 232, 240, .7);
    margin: 0;
    font-size: .95rem;
}

/* Fields */
.apply-fields { display: grid; gap: 1.25rem; }
.apply-fields__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 560px) { .apply-fields__row { grid-template-columns: 1fr; } }

.apply-field label {
    display: block;
    color: rgba(226, 232, 240, .9);
    font-weight: 600;
    font-size: .92rem;
    margin-bottom: 6px;
}
.apply-field .required { color: #f87171; }
.apply-field .optional { color: rgba(226, 232, 240, .5); font-weight: normal; font-size: .82rem; }
.apply-field input[type="text"],
.apply-field input[type="email"],
.apply-field input[type="tel"],
.apply-field input[type="url"],
.apply-field input[type="date"],
.apply-field select,
.apply-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
    box-sizing: border-box;
}
.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(0, 0, 0, .35);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}
.apply-field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.apply-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.apply-field.has-error input,
.apply-field.has-error select,
.apply-field.has-error textarea {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, .15);
}
.apply-field__hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: rgba(226, 232, 240, .55);
}

/* Mode Tabs */
.apply-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 2rem;
}
@media (max-width: 560px) { .apply-mode-tabs { grid-template-columns: 1fr; } }

.apply-mode-tab {
    display: flex; align-items: center; gap: 12px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, .03);
    border: 1.5px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color var(--t-base), background var(--t-base);
    font-family: inherit;
}
.apply-mode-tab:hover {
    border-color: rgba(96, 165, 250, .3);
}
.apply-mode-tab.is-active {
    background: linear-gradient(135deg, rgba(30, 107, 230, .2), rgba(59, 130, 246, .05));
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}
.apply-mode-tab svg { flex: 0 0 auto; color: #60a5fa; }
.apply-mode-tab strong {
    display: block;
    font-weight: 700;
    font-size: .98rem;
    color: #fff;
    margin-bottom: 2px;
}
.apply-mode-tab span {
    display: block;
    font-size: .78rem;
    color: rgba(226, 232, 240, .6);
}

.apply-pane { display: none; }
.apply-pane.is-active { display: block; }
.apply-pane__intro {
    color: rgba(226, 232, 240, .7);
    font-size: .92rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, .03);
    border-left: 3px solid #3b82f6;
    border-radius: 0 8px 8px 0;
}
.apply-pane .apply-field + .apply-field { margin-top: 1.25rem; }

/* File drop */
.apply-file-drop {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, .03);
    border: 2px dashed rgba(255, 255, 255, .15);
    border-radius: 12px;
    color: rgba(226, 232, 240, .7);
    cursor: pointer;
    text-align: center;
    transition: border-color var(--t-base), background var(--t-base);
}
.apply-file-drop:hover {
    border-color: rgba(96, 165, 250, .4);
    background: rgba(255, 255, 255, .05);
}
.apply-file-drop.has-file {
    border-color: rgba(16, 185, 129, .5);
    background: rgba(16, 185, 129, .06);
}
.apply-file-drop svg { color: #60a5fa; }
.apply-file-drop__primary { color: #fff; font-weight: 600; }
.apply-file-drop__hint { font-size: 12px; color: rgba(226, 232, 240, .55); }
.apply-file-drop__selected {
    color: #34d399;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}
.apply-file-drop__selected:empty { display: none; }

/* Navigation */
.apply-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.apply-nav .btn {
    display: inline-flex; align-items: center; gap: 8px;
}

/* Review */
.apply-review {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.apply-review__section + .apply-review__section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.apply-review__section h4 {
    color: #60a5fa;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 .75rem;
}
.apply-review__section dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 6px 16px;
    margin: 0;
    font-size: .92rem;
}
.apply-review__section dt {
    color: rgba(226, 232, 240, .6);
    font-weight: 500;
}
.apply-review__section dd {
    color: #fff;
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
}
@media (max-width: 560px) {
    .apply-review__section dl { grid-template-columns: 1fr; gap: 2px; }
    .apply-review__section dt { color: rgba(226, 232, 240, .55); font-size: 12px; margin-top: 8px; }
}

/* Consent checkbox */
.apply-consent {
    margin: 1.5rem 0 2rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, .03);
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
}
.apply-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(226, 232, 240, .8);
    font-size: .88rem;
    line-height: 1.5;
    cursor: pointer;
}
.apply-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex: 0 0 auto;
    width: 16px; height: 16px;
    accent-color: #3b82f6;
}
.apply-checkbox a { color: #60a5fa; text-decoration: underline; }

/* Sidebar */
.apply-sidebar__sticky {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 1rem;
}
.apply-sidebar__card {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .6), rgba(15, 23, 42, .4));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
}
.apply-sidebar__card .eyebrow { margin: 0 0 8px; }
.apply-sidebar__card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 .75rem;
    line-height: 1.3;
}
.apply-sidebar__desc {
    color: rgba(226, 232, 240, .75);
    font-size: .88rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}
.apply-sidebar__meta {
    list-style: none;
    padding: 0; margin: 0 0 1rem;
    display: grid; gap: 6px;
}
.apply-sidebar__meta li {
    display: flex; align-items: center; gap: 8px;
    color: rgba(226, 232, 240, .85);
    font-size: .85rem;
}
.apply-sidebar__meta svg { color: #60a5fa; flex: 0 0 auto; }
.apply-sidebar__link {
    color: #60a5fa;
    font-size: .88rem;
    text-decoration: none;
    font-weight: 500;
}
.apply-sidebar__link:hover { color: #93c5fd; }

.apply-sidebar__card--info {
    background: rgba(30, 107, 230, .06);
    border-color: rgba(30, 107, 230, .2);
}
.apply-sidebar__card--info h4 {
    display: flex; align-items: center; gap: 8px;
    color: #60a5fa;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 .75rem;
}
.apply-sidebar__card--info ul {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 8px;
}
.apply-sidebar__card--info li {
    color: rgba(226, 232, 240, .75);
    font-size: .85rem;
    padding-left: 16px;
    position: relative;
}
.apply-sidebar__card--info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34d399;
}
.apply-sidebar__card--info a { color: #60a5fa; }

/* Success redesigned */
.apply-success {
    max-width: 640px;
    margin: 2rem auto;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(16, 185, 129, .1), rgba(16, 185, 129, .02));
    border: 1px solid rgba(16, 185, 129, .25);
    border-radius: 20px;
}
.apply-success__icon {
    width: 88px; height: 88px;
    margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(16, 185, 129, .15);
    border-radius: 50%;
    color: #34d399;
}
.apply-success h2 {
    color: #fff;
    font-size: 1.65rem;
    margin: 0 0 .75rem;
}
.apply-success__lead {
    color: rgba(226, 232, 240, .85);
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 auto 2rem;
    max-width: 500px;
}
.apply-success__next {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 0 2rem;
    text-align: left;
}
.apply-success__next h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 1rem;
}
.apply-success__steps {
    display: grid; gap: 12px;
}
.apply-success__steps > div {
    display: flex; gap: 12px; align-items: center;
    color: rgba(226, 232, 240, .8);
    font-size: .92rem;
}
.apply-success__steps span {
    flex: 0 0 28px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30, 107, 230, .2);
    border-radius: 50%;
    color: #60a5fa;
    font-weight: 700;
    font-size: 13px;
}
.apply-success__actions {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   JOB CONTENT BLOCKS — Visual Cards für Was-du-machst / Was-du-bringst
   ══════════════════════════════════════════════════════════════════ */

/* Intro-Paragraph: größer, mit subtilem Lead-Feel */
.job-prose > p:first-of-type {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, .92);
    padding: 1.25rem 1.5rem;
    background: linear-gradient(90deg, rgba(30, 107, 230, .08), transparent);
    border-left: 3px solid #3b82f6;
    border-radius: 0 10px 10px 0;
    margin: 0 0 2rem;
}
.job-prose > p:first-of-type strong {
    color: #fff;
}

/* Block-Grid */
.job-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}
@media (max-width: 780px) {
    .job-blocks { grid-template-columns: 1fr; }
}

/* Einzelner Block */
.job-block {
    padding: 1.75rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .55), rgba(15, 23, 42, .35));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    transition: border-color var(--t-base), transform var(--t-base);
}
@media (hover: hover) and (pointer: fine) {
    .job-block:hover {
        border-color: rgba(30, 107, 230, .35);
        transform: translateY(-2px);
    }
}

/* Block-Header (Icon + Titel) */
.job-block__head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.job-block__icon {
    flex: 0 0 46px;
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30, 107, 230, .15);
    border-radius: 12px;
    color: #60a5fa;
}
.job-block__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #60a5fa;
    margin: 0 0 3px;
}
.job-block__head h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    padding: 0;
    border: 0;
}
/* Override der globalen job-prose h3::before-Dekoration */
.job-block__head h3::before {
    display: none;
}

/* Listen im Block */
.job-block__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.job-block__list li {
    position: relative;
    padding-left: 28px;
    color: rgba(226, 232, 240, .82);
    font-size: .95rem;
    line-height: 1.55;
    margin: 0;
}
.job-block__list li::marker { display: none; content: ''; }

/* Check-Marker für "Was du mitbringst" */
.job-block__list--check li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background: rgba(16, 185, 129, .15);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

/* Arrow-Marker für "Was du machst" */
.job-block__list--arrow li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

.job-block__list li strong {
    color: #fff;
}

/* Bonus-Block: gelber Akzent statt Blau */
.job-block--bonus {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(251, 191, 36, .08), rgba(251, 191, 36, .02));
    border-color: rgba(251, 191, 36, .25);
}
.job-block--bonus .job-block__icon {
    background: rgba(251, 191, 36, .15);
    color: #fbbf24;
}
.job-block--bonus .job-block__eyebrow {
    color: #fbbf24;
}
.job-block--bonus .job-block__list li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>");
    background-position: center;
    background-color: transparent;
    width: 16px;
    height: 16px;
    border-radius: 0;
    top: 6px;
}

/* In job-prose-Kontext sollen wp:list-Listen fallback-style haben
   (falls User manuelle Jobs ohne job-blocks schreibt) */
.job-prose > ul,
.job-prose > ol {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    margin: 1.25rem 0 1.75rem;
}

/* ══════════════════════════════════════════════════════════════════
   NOÉLEE — DSGVO-Disclaimer + Erstbesuch-Consent-Banner
   ══════════════════════════════════════════════════════════════════ */

/* Expandable Disclaimer (ersetzt vorigen <p>-Disclaimer) */
.noelee-disclaimer--expandable {
    display: block;
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 0 1rem;
    color: rgba(226, 232, 240, .55);
    font-size: 12px;
    line-height: 1.5;
}
.noelee-disclaimer--expandable summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
    transition: background var(--t-base), border-color var(--t-base);
}
.noelee-disclaimer--expandable summary::-webkit-details-marker { display: none; }
.noelee-disclaimer--expandable summary:hover {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(96, 165, 250, .25);
}
.noelee-disclaimer--expandable summary svg {
    flex: 0 0 auto;
    color: #60a5fa;
    opacity: .7;
}
.noelee-disclaimer__more {
    color: #60a5fa;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    margin-left: auto;
    font-weight: 500;
    flex: 0 0 auto;
}
.noelee-disclaimer__body {
    padding: 1.25rem 1.5rem;
    margin-top: 6px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
}
.noelee-disclaimer__body p {
    margin: 0 0 .9rem;
    color: rgba(226, 232, 240, .75);
    font-size: 12.5px;
    line-height: 1.6;
}
.noelee-disclaimer__body p:last-child { margin-bottom: 0; }
.noelee-disclaimer__body strong { color: #fff; }
.noelee-disclaimer__body a { color: #60a5fa; text-decoration: underline; }

/* Erstbesuch-Consent-Banner */
.noelee-consent-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 720px;
    animation: noeleeBannerIn .35s ease;
}
@keyframes noeleeBannerIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
.noelee-consent-banner__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0f1d32 0%, #0a1628 100%);
    border: 1px solid rgba(96, 165, 250, .35);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .2);
}
.noelee-consent-banner__icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 230, .18);
    border-radius: 10px;
    color: #60a5fa;
}
.noelee-consent-banner__text {
    color: rgba(226, 232, 240, .85);
    font-size: 13px;
    line-height: 1.55;
}
.noelee-consent-banner__text strong {
    display: block;
    color: #fff;
    margin-bottom: 3px;
    font-size: 13.5px;
}
.noelee-consent-banner__text a {
    color: #60a5fa;
    text-decoration: underline;
}
.noelee-consent-banner__btn {
    flex: 0 0 auto;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1e6be6 0%, #3b82f6 100%);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: filter var(--t-base), transform var(--t-base);
}
.noelee-consent-banner__btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.noelee-consent-banner__btn:active {
    transform: translateY(0);
}
@media (max-width: 640px) {
    .noelee-consent-banner__inner {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    .noelee-consent-banner__icon { margin: 0 auto; }
    .noelee-consent-banner__btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE v2 — Multi-Step + Sidebar + Topic-Picker
   ══════════════════════════════════════════════════════════════════ */

.contact-page { background: #0a1628; color: #fff; }

/* Hero */
.contact-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(30, 107, 230, .12), transparent 60%);
}
.contact-hero__title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: #fff;
    margin: 1rem 0 1.25rem;
    line-height: 1.15;
    font-weight: 800;
}
.contact-hero__sub {
    color: rgba(226, 232, 240, .7);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Layout */
.contact-main { padding: 2rem 0 5rem; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-form-wrap { min-width: 0; }

/* Override für Multi-Step-Form auf /contact/: dunkler Wrapper statt weiß
   (das generische .contact-form-wrap hat background:white für die Frontpage-Form).
   Höhere Spezifität via .contact-page .contact-form-wrap. */
.contact-page .contact-form-wrap {
    background: linear-gradient(180deg, rgba(15, 29, 50, .65), rgba(10, 22, 40, .55));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
@media (max-width: 600px) {
    .contact-page .contact-form-wrap {
        padding: 1.5rem 1.25rem 1.75rem;
        border-radius: 14px;
    }
}

/* Recipient-Banner */
.contact-recipient-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 107, 230, .18), rgba(59, 130, 246, .04));
    border: 1px solid rgba(30, 107, 230, .35);
    border-radius: 12px;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .06);
}
.contact-recipient-banner__icon {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30, 107, 230, .2);
    border-radius: 8px;
    color: #93c5fd;
}
.contact-recipient-banner__text {
    flex: 1;
    color: rgba(226, 232, 240, .9);
    font-size: .92rem;
}
.contact-recipient-banner__text strong { color: #fff; }
.contact-recipient-banner__link {
    flex: 0 0 auto;
    color: rgba(226, 232, 240, .6);
    font-size: .78rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-recipient-banner__link:hover { color: #fff; }
@media (max-width: 560px) {
    .contact-recipient-banner { flex-wrap: wrap; }
    .contact-recipient-banner__link { width: 100%; text-align: right; }
}

/* Topic-Cards */
.contact-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (max-width: 600px) { .contact-topic-grid { grid-template-columns: 1fr; } }

.contact-topic {
    cursor: pointer;
    display: block;
}
.contact-topic input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.contact-topic__inner {
    padding: 1.1rem 1.25rem;
    background: rgba(255, 255, 255, .03);
    border: 1.5px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    transition: border-color var(--t-base), background var(--t-base);
    height: 100%;
}
.contact-topic:hover .contact-topic__inner {
    border-color: rgba(96, 165, 250, .3);
}
.contact-topic.is-selected .contact-topic__inner,
.contact-topic input:checked ~ .contact-topic__inner {
    background: linear-gradient(135deg, rgba(30, 107, 230, .18), rgba(59, 130, 246, .04));
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}
.contact-topic__icon {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30, 107, 230, .14);
    border-radius: 9px;
    color: #60a5fa;
    margin-bottom: 10px;
}
.contact-topic.is-selected .contact-topic__icon {
    background: rgba(30, 107, 230, .3);
}
.contact-topic strong {
    display: block;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}
.contact-topic span {
    display: block;
    color: rgba(226, 232, 240, .65);
    font-size: .78rem;
    line-height: 1.45;
}
.contact-topic__badge {
    display: inline-block;
    background: rgba(251, 191, 36, .2);
    color: #fbbf24;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 2px 6px;
    border-radius: 99px;
    margin-left: 6px;
    vertical-align: middle;
    font-weight: 700;
}

/* File-Chips bei Multi-Upload */
.apply-file-drop__selected .file-chip {
    display: inline-block;
    margin: 4px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, .12);
    border: 1px solid rgba(16, 185, 129, .35);
    border-radius: 99px;
    color: #34d399;
    font-size: 12px;
    font-weight: 500;
}
.apply-file-drop__selected .file-chip em {
    color: rgba(52, 211, 153, .7);
    font-style: normal;
    font-weight: normal;
    margin-left: 4px;
}
.apply-file-drop.is-dragging {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, .08);
}

/* Form-Message */
.form-message {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .9rem;
}
.form-message:empty { display: none; }
.form-message--error {
    background: rgba(248, 113, 113, .1);
    border: 1px solid rgba(248, 113, 113, .35);
    color: #fca5a5;
}
.form-message--warning {
    background: rgba(251, 191, 36, .1);
    border: 1px solid rgba(251, 191, 36, .35);
    color: #fcd34d;
}
.form-message__retry {
    margin-left: .5rem;
    margin-top: .5rem;
    padding: .35rem .85rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px;
    color: inherit;
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.form-message__retry:hover {
    background: rgba(255, 255, 255, .15);
}

/* Sidebar */
.contact-sidebar__sticky {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 1rem;
}
.contact-sidebar__card {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .55), rgba(15, 23, 42, .35));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
}
.contact-sidebar__card .eyebrow { margin: 0 0 8px; }
.contact-sidebar__card h3 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 .75rem;
    line-height: 1.3;
}
.contact-sidebar__card p {
    color: rgba(226, 232, 240, .75);
    font-size: .85rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}
.contact-sidebar__card--person {
    background: linear-gradient(135deg, rgba(30, 107, 230, .15), rgba(59, 130, 246, .03));
    border-color: rgba(30, 107, 230, .3);
}
.contact-sidebar__link {
    color: #60a5fa;
    font-size: .88rem;
    text-decoration: none;
    font-weight: 500;
}
.contact-sidebar__link:hover { color: #93c5fd; }

.contact-sidebar__card--info h4 {
    display: flex; align-items: center; gap: 8px;
    color: #60a5fa;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 .75rem;
    font-weight: 700;
}
.contact-sidebar__card--info ul {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 8px;
}
.contact-sidebar__card--info li {
    color: rgba(226, 232, 240, .75);
    font-size: .85rem;
    padding-left: 16px;
    position: relative;
}
.contact-sidebar__card--info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34d399;
}
.contact-sidebar__card--info a { color: #60a5fa; text-decoration: underline; }

/* Success-Pane für Contact (gleiche Klasse wie Apply, aber ohne Border-Override-Konflikte) */
.apply-step--success { display: none; }
.apply-step--success.is-active { display: block; }

/* ══════════════════════════════════════════════════════════════════
   HILFE-CENTER (HUB-SEITE)
   ══════════════════════════════════════════════════════════════════ */

.help-page { background: #0a1628; color: #fff; }

.help-hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}
.help-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(30, 107, 230, .25), transparent 60%),
        radial-gradient(ellipse at 30% 100%, rgba(96, 165, 250, .1), transparent 50%);
    pointer-events: none;
}
.help-hero .container {
    position: relative; z-index: 1;
    text-align: center;
}
.help-hero__title {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 1rem 0 1rem;
    letter-spacing: -.01em;
    line-height: 1.15;
}
.help-hero__sub {
    color: rgba(226, 232, 240, .8);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Suchleiste */
.help-search {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.help-search__icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(226, 232, 240, .5);
    pointer-events: none;
    z-index: 2;
}
.help-search__input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    background: rgba(15, 29, 50, .85);
    border: 1.5px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
    box-sizing: border-box;
}
.help-search__input::placeholder { color: rgba(226, 232, 240, .45); }
.help-search__input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 29, 50, .95);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .15);
}
.help-search__clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 0;
    border-radius: 6px;
    color: rgba(226, 232, 240, .8);
    cursor: pointer;
    z-index: 2;
}
.help-search__clear:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

/* Live-Search-Dropdown */
.help-search__results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #0f1d32;
    border: 1px solid rgba(96, 165, 250, .25);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    overflow: hidden;
    max-height: 60vh;
    overflow-y: auto;
    z-index: 50;
}
.help-search__result {
    display: block;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: background var(--t-base);
}
.help-search__result:last-child { border-bottom: 0; }
.help-search__result:hover {
    background: rgba(30, 107, 230, .12);
    color: #fff;
}
.help-search__result-title {
    font-weight: 600;
    font-size: 14.5px;
    margin-bottom: 3px;
}
.help-search__result-lead {
    font-size: 12.5px;
    color: rgba(226, 232, 240, .65);
    line-height: 1.45;
    margin-bottom: 4px;
}
.help-search__result-cat {
    display: inline-block;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #60a5fa;
    font-weight: 600;
}
.help-search__empty {
    padding: 1.5rem;
    text-align: center;
    color: rgba(226, 232, 240, .65);
    font-size: 13.5px;
    line-height: 1.6;
}

/* Kategorien-Grid */
.help-cats {
    padding: 3rem 0 2rem;
    transition: opacity var(--t-base);
}
.help-cats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 980px) { .help-cats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .help-cats__grid { grid-template-columns: 1fr; } }

.help-cat {
    padding: 1.75rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .55), rgba(15, 23, 42, .35));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    transition: border-color var(--t-base), transform var(--t-base);
    display: flex;
    flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
    .help-cat:hover {
        border-color: rgba(30, 107, 230, .35);
        transform: translateY(-3px);
    }
}
.help-cat__head {
    display: flex; gap: 14px; align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.help-cat__icon {
    flex: 0 0 48px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30, 107, 230, .18);
    border-radius: 12px;
    color: #60a5fa;
}
.help-cat__title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 .35rem;
}
.help-cat__desc {
    color: rgba(226, 232, 240, .7);
    font-size: .88rem;
    line-height: 1.5;
    margin: 0;
}
.help-cat__articles {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    gap: 4px;
    flex: 1;
}
.help-cat__articles li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: rgba(226, 232, 240, .85);
    text-decoration: none;
    font-size: .92rem;
    line-height: 1.4;
    transition: color var(--t-base);
}
.help-cat__articles li a:hover { color: #60a5fa; }
.help-cat__articles li a svg {
    flex: 0 0 auto;
    color: rgba(96, 165, 250, .5);
    transition: transform var(--t-base);
}
.help-cat__articles li a:hover svg {
    color: #60a5fa;
    transform: translateX(3px);
}
.help-cat__more {
    display: inline-block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #60a5fa;
    font-size: .85rem;
    text-decoration: none;
    font-weight: 500;
}
.help-cat__more:hover { color: #93c5fd; }

/* Support-CTA */
.help-support { padding: 3rem 0 5rem; }
.help-support__card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 107, 230, .15), rgba(59, 130, 246, .04));
    border: 1px solid rgba(30, 107, 230, .3);
    border-radius: 18px;
}
.help-support__content h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: .5rem 0 .5rem;
}
.help-support__content p {
    color: rgba(226, 232, 240, .8);
    margin: 0;
    line-height: 1.6;
    max-width: 560px;
}
.help-support__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.help-support__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
@media (max-width: 780px) {
    .help-support__card { grid-template-columns: 1fr; padding: 2rem; }
    .help-support__actions .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════
   HILFE-CENTER (SINGLE-ARTIKEL)
   ══════════════════════════════════════════════════════════════════ */

.help-single { background: #0a1628; color: #fff; }

.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 1rem; }

.help-article { padding: 2.5rem 0 3rem; }

.help-crumbs {
    margin-bottom: 1.75rem;
    font-size: 13px;
    color: rgba(226, 232, 240, .6);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.help-crumbs a {
    color: #60a5fa;
    text-decoration: none;
}
.help-crumbs a:hover { color: #93c5fd; }
.help-crumbs__current {
    color: rgba(226, 232, 240, .9);
    font-weight: 500;
}

.help-article__head {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.help-article__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(30, 107, 230, .15);
    border: 1px solid rgba(96, 165, 250, .25);
    border-radius: 99px;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1.25rem;
}
.help-article__title {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -.01em;
}
.help-article__lead {
    color: rgba(226, 232, 240, .8);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}
.help-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(226, 232, 240, .55);
    font-size: 12.5px;
}
.help-article__meta span {
    display: flex; align-items: center; gap: 6px;
}
.help-article__meta svg {
    color: rgba(96, 165, 250, .7);
    flex: 0 0 auto;
}

/* Content / Prose */
.help-article__content {
    color: rgba(226, 232, 240, .88);
    font-size: 1.02rem;
    line-height: 1.7;
}
.help-article__content > * + * { margin-top: 1rem; }
.help-article__content p { margin: 0 0 1rem; }
.help-article__content strong { color: #fff; }
.help-article__content a { color: #60a5fa; text-decoration: underline; text-underline-offset: 3px; }
.help-article__content a:hover { color: #93c5fd; }
.help-article__content code {
    background: rgba(96, 165, 250, .12);
    border: 1px solid rgba(96, 165, 250, .2);
    color: #93c5fd;
    padding: 1px 7px;
    border-radius: 5px;
    font-size: .88em;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.help-article__content pre {
    background: #0a1628;
    border: 1px solid rgba(96, 165, 250, .2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.help-article__content pre code {
    background: transparent;
    border: 0;
    color: #cbd5e1;
    padding: 0;
}

/* Lead-Paragraph */
.help-article__content p.help-lead,
.help-article__content .help-lead {
    font-size: 1.1rem;
    color: rgba(226, 232, 240, .92);
    padding: 1.25rem 1.5rem;
    background: linear-gradient(90deg, rgba(30, 107, 230, .1), transparent);
    border-left: 3px solid #3b82f6;
    border-radius: 0 10px 10px 0;
    margin: 0 0 2rem;
}

/* Section-Title (H2 von Custom-HTML) */
.help-section-title,
.help-article__content h2 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    padding-top: 1.25rem;
    padding-bottom: .5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    line-height: 1.3;
}
.help-article__content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.help-article__content h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 .5rem;
    line-height: 1.35;
}

/* Step-Block */
.help-step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, .03);
    border-left: 3px solid #3b82f6;
    border-radius: 0 10px 10px 0;
    margin: 1rem 0;
}
.help-step__num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #1e6be6);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    flex: 0 0 36px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .15);
}
.help-step h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 .35rem;
    line-height: 1.35;
}
.help-step p {
    margin: 0 0 .5rem;
    color: rgba(226, 232, 240, .82);
    font-size: .95rem;
    line-height: 1.6;
}
.help-step p:last-child { margin-bottom: 0; }
.help-step ul {
    margin: .5rem 0;
    padding-left: 1.25rem;
}
.help-step li {
    margin-bottom: .35rem;
    color: rgba(226, 232, 240, .82);
}

/* Tip-Boxes (info / warning / success) */
.help-tip {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    font-size: .92rem;
    line-height: 1.6;
}
.help-tip strong { color: #fff; }
.help-tip a { color: #93c5fd !important; }
.help-tip--info {
    background: rgba(30, 107, 230, .1);
    border: 1px solid rgba(96, 165, 250, .25);
    color: rgba(226, 232, 240, .85);
}
.help-tip--warning {
    background: rgba(251, 191, 36, .08);
    border: 1px solid rgba(251, 191, 36, .3);
    color: rgba(254, 240, 200, .9);
}
.help-tip--warning a { color: #fcd34d !important; }
.help-tip--success {
    background: rgba(16, 185, 129, .08);
    border: 1px solid rgba(52, 211, 153, .3);
    color: rgba(220, 252, 231, .9);
}
.help-tip--success a { color: #6ee7b7 !important; }

/* Bullet-Liste */
.help-bullets {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 8px;
}
.help-bullets li {
    position: relative;
    padding-left: 24px;
    color: rgba(226, 232, 240, .85);
    line-height: 1.6;
}
.help-bullets li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 9px;
    width: 6px; height: 6px;
    background: #60a5fa;
    border-radius: 50%;
}
.help-bullets li strong { color: #fff; }

/* Article-Footer */
.help-article__footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.help-article__footer p {
    color: rgba(226, 232, 240, .75);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
}
.help-article__footer a { color: #60a5fa; }
.help-article__back {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    align-self: flex-start;
}
.help-article__back:hover { color: #93c5fd; }

/* Verwandte Artikel */
.help-related {
    padding: 3rem 0 5rem;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .4));
}
.help-related__title {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 1.5rem;
    text-align: center;
}
.help-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 780px) { .help-related__grid { grid-template-columns: 1fr; } }
.help-related__card {
    display: block;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, .5), rgba(15, 23, 42, .3));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: transform var(--t-base), border-color var(--t-base);
}
.help-related__card:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 107, 230, .3);
}
.help-related__card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 230, .15);
    border-radius: 8px;
    color: #60a5fa;
    margin-bottom: .75rem;
}
.help-related__card h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 .35rem;
    line-height: 1.35;
}
.help-related__card p {
    color: rgba(226, 232, 240, .65);
    font-size: .85rem;
    line-height: 1.5;
    margin: 0 0 .5rem;
}
.help-related__card-cat {
    display: inline-block;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #60a5fa;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════
   HILFE-CENTER (KATEGORIE-ARCHIV)
   ══════════════════════════════════════════════════════════════════ */

.help-cat-archive { background: #0a1628; color: #fff; }
.help-hero--cat { padding: 2.5rem 0 2rem; }
.help-hero--cat .container { text-align: left; }

.help-cat-head {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 1.5rem;
}
.help-cat-head__icon {
    flex: 0 0 64px;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(30, 107, 230, .2);
    border-radius: 16px;
    color: #60a5fa;
}
.help-cat-head__title {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin: .25rem 0 .5rem;
    line-height: 1.2;
}
.help-cat-head__desc {
    color: rgba(226, 232, 240, .75);
    margin: 0;
    line-height: 1.5;
}

.help-cat-list { padding: 2rem 0 5rem; }
.help-cat-list__items {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    gap: 8px;
}
.help-cat-item__link {
    display: grid;
    grid-template-columns: 40px 1fr 16px;
    gap: 16px;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.help-cat-item__link:hover {
    background: rgba(30, 107, 230, .08);
    border-color: rgba(30, 107, 230, .3);
    transform: translateX(4px);
}
.help-cat-item__icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 230, .15);
    border-radius: 10px;
    color: #60a5fa;
}
.help-cat-item__title {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 .25rem;
    line-height: 1.35;
}
.help-cat-item__lead {
    color: rgba(226, 232, 240, .7);
    font-size: .88rem;
    line-height: 1.5;
    margin: 0 0 .35rem;
}
.help-cat-item__meta {
    color: rgba(226, 232, 240, .5);
    font-size: 12px;
}
.help-cat-item__arrow {
    color: rgba(96, 165, 250, .5);
    transition: transform var(--t-base);
}
.help-cat-item__link:hover .help-cat-item__arrow {
    color: #60a5fa;
    transform: translateX(3px);
}
.help-cat-list__back {
    display: inline-block;
    margin-top: 2rem;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}
.help-cat-list__back:hover { color: #93c5fd; }
