:root {
  --violet: #6C5CE7;
  --violet-600: #5a4bd4;
  --green: #22C55E;
  --red: #EF4444;
  --bg: #0A0E1A;
  --surface: #141A2A;
  --surface-2: #1C2438;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F5F6FA;
  --muted: rgba(245, 246, 250, 0.66);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Das hidden-Attribut muss IMMER verstecken – sonst gewinnen display-Regeln
   gleicher Spezifität (z. B. .catalog-skeleton-grid{display:grid}) und das
   Lade-Skeleton bleibt als leere Kacheln sichtbar. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.values,
.ki-agent,
.how,
.pricing,
.boosts,
.founders,
.faq,
.cta-final,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* Header */
/* Der Wrapper #site-header (direktes body-Kind) ist sticky → der Kopf bleibt beim
   Scrollen IMMER oben. .nav selbst ist nur relativ; wäre .nav sticky, wäre sein
   sticky-Bereich auf die Header-Höhe (#site-header) begrenzt und der Kopf scrollt weg. */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  position: relative;
  z-index: 100;
  width: 100%;
  background: rgba(10, 14, 26, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
}

.nav-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.625rem clamp(0.875rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.0625rem;
  flex: 0 0 auto;
}

.logo svg {
  width: 26px;
  height: 26px;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: contain;
  display: block;
}

.footer-brand .logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.brand-name {
  color: var(--text);
  /* Wortmarke so groß wie die Logo-Grafik */
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Mobile Hamburger-Toggle */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-icon {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle-icon::before {
  top: -6px;
  transform: translateX(-50%);
}

.nav-toggle-icon::after {
  top: 6px;
  transform: translateX(-50%);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* Nav Menu: Desktop sichtbar, Mobile einklappbar */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  justify-content: space-between;
  min-width: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-link--parent {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.005em;
  padding: 0.5rem 0.625rem;
  border-radius: 8px;
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.nav-link--parent::after {
  content: '▾';
  font-size: 0.625rem;
  opacity: 0.6;
  transition: transform 0.15s ease;
}

.nav-item.has-submenu:hover .nav-link--parent,
.nav-link--parent[aria-expanded="true"] {
  color: var(--text);
}

.nav-item.has-submenu:hover .nav-link--parent::after,
.nav-link--parent[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav-link:hover,
.nav-link--parent:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link:focus-visible,
.nav-link--parent:focus-visible,
.nav-toggle:focus-visible,
.lang-button:focus-visible,
.account-button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

/* Submenu */
.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.375rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item.has-submenu:hover .submenu,
.nav-item.has-submenu:focus-within .submenu,
.nav-item.has-submenu.is-open .submenu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.submenu-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.submenu-link:hover,
.submenu-link:focus-visible {
  color: var(--text);
  background: rgba(108, 92, 231, 0.12);
  outline: none;
}

/* Nav-Actions (rechts) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex: 0 0 auto;
  margin-left: auto; /* Actions (Sprache, Anmelden, Registrieren) nach rechts */
}

/* Sprach-Switcher (kompakt) */
.lang-switcher {
  position: relative;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4375rem 0.625rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lang-button:hover,
.lang-button[aria-expanded="true"] {
  border-color: var(--violet);
  background: var(--surface);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -1px;
}

/* Im Button keine Flagge zeigen: Auf Windows rendern Flaggen-Emojis als
   Buchstaben (🇩🇪 -> "DE") und doppeln so den Sprachcode ("DE DE"). */
.lang-button .lang-flag {
  display: none;
}

.lang-code {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-caret {
  font-size: 0.5625rem;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.lang-button[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 0.375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 60;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.lang-dropdown::-webkit-scrollbar {
  width: 6px;
}
.lang-dropdown::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 3px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4375rem 0.625rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  color: var(--text);
  background: rgba(108, 92, 231, 0.12);
  outline: none;
}

.lang-option.is-active {
  color: var(--text);
  background: rgba(108, 92, 231, 0.18);
}

.lang-option-flag {
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: -1px;
}

.lang-option-code {
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 1.75rem;
}

.lang-option-name {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8125rem;
  margin-left: auto;
}

.lang-option.is-active .lang-option-name {
  color: var(--text);
}

/* Auth-Links (Anmelden + Registrieren) im Header */
.auth-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2px;
}

.auth-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 0.375rem 0.625rem;
  border-radius: 7px;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.auth-link:hover,
.auth-link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

/* Aktiver Nav-Link (z. B. wenn der User auf /login oder /register ist). */
.auth-link.is-active {
  color: var(--text);
  background: rgba(108, 92, 231, 0.18);
}

.auth-link--register {
  background: var(--violet);
  color: #fff;
}

.auth-link--register:hover,
.auth-link--register:focus-visible {
  background: var(--violet-600);
  color: #fff;
}

/* CTA im Header entfernt (T-20260609-06 Followup) — Hero/KI/Founders/Final-CTA nutzen eigene Keys */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.375rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover {
  background: var(--violet-600);
  box-shadow: 0 6px 28px rgba(108, 92, 231, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

/* Hero Section */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

.hero-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  flex: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-rotator {
  --hero-display-font: "Arial Black", "Impact", "Inter", system-ui, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: clamp(320px, 39vw, 460px);
}

.badge {
  display: inline-block;
  background: var(--surface-2);
  color: var(--violet);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-title {
  max-width: 11.2ch;
  font-family: var(--hero-display-font);
  font-size: clamp(3.05rem, 8vw, 7.25rem);
  font-weight: 900;
  line-height: .88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  color: #fff;
  text-shadow:
    0 4px 0 rgba(108,92,231,.34),
    0 20px 54px rgba(0,0,0,.62);
}

.hero-title::after {
  content: '';
  display: block;
  width: min(56vw, 340px);
  height: 5px;
  margin-top: clamp(.75rem, 1.7vw, 1.15rem);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--violet), transparent);
  box-shadow: 0 0 26px rgba(108,92,231,.48);
  transform-origin: left center;
}

.hero-rotator.is-changing .hero-title {
  animation: heroTitleIn .78s cubic-bezier(.2,.9,.2,1) both;
}

.hero-rotator.is-changing .subtitle,
.hero-rotator.is-changing .hero-note {
  animation: heroCopyIn .72s cubic-bezier(.2,.9,.2,1) both;
}

.hero-rotator.is-changing .hero-title::after {
  animation: heroRuleIn .82s cubic-bezier(.2,.9,.2,1) both;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 0;
}

.hero-rotator .subtitle {
  max-width: 720px;
  color: rgba(255,255,255,.84);
  text-shadow: 0 10px 34px rgba(0,0,0,.54);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

.hero-note::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border: 3px solid var(--surface-2);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: var(--surface-2);
  border-radius: 12px;
  z-index: 2;
}

.screen {
  width: 100%;
  height: 100%;
  padding: 60px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.swipe-card {
  width: 100%;
  height: 340px;
  background: linear-gradient(135deg, var(--surface-2) 0%, #252d40 100%);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.swipe-card::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  height: 140px;
  background: linear-gradient(45deg, var(--violet) 0%, #8b7cf7 100%);
  border-radius: 12px;
  opacity: 0.8;
}

.card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 1rem;
}

.card-icon::before,
.card-icon::after {
  content: '';
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.card-icon::after {
  background: var(--green);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.card-text {
  height: 40px;
  background: var(--bg);
  border-radius: 8px;
  opacity: 0.5;
}

.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--muted);
  border-radius: 2px;
  z-index: 2;
}

.phone-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  border-radius: 40px 40px 0 0;
  pointer-events: none;
}

/* Trust List */
.trust-container {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}

#trust-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

#trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

#trust-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--violet);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Sections General */
section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
}

/* How Section */
.how {
  background: transparent;
  padding-top: clamp(70px, 8vw, 112px);
}

.how .container {
  max-width: 1240px;
}

.how h2 {
  max-width: 820px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.how .section-subtitle {
  color: rgba(226, 232, 240, 0.86);
  background: rgba(8, 13, 26, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 10px 18px;
  backdrop-filter: blur(12px);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 5vw, 54px);
}

.step-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  color: #0f172a;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.38);
  box-shadow: 0 30px 84px rgba(2, 6, 23, 0.26);
}

.step-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fafc;
}

.step-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.step-card:hover .step-img {
  transform: scale(1.04);
}

.step-body {
  padding: clamp(18px, 2vw, 24px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: .86rem;
  font-weight: 850;
  margin-bottom: 14px;
}

.step-card h3 {
  color: #0f172a;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.12;
  margin: 0 0 10px;
}

.step-card p {
  color: #475569;
  font-size: clamp(.95rem, 1.05vw, 1.02rem);
  line-height: 1.58;
  margin: 0;
}

/* Features Section */
.features {
  background: var(--surface);
}

/* Erfolgsboosts Section */
.boosts {
  background: var(--bg);
  padding: 6rem 0 5rem;
}

.boosts .section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.boosts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.boost-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 14, 26, 0.98));
  color: #E5ECFF;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 46px -28px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.boost-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -20px rgba(108, 92, 231, 0.35);
  border-color: rgba(108, 92, 231, 0.45);
}

.boost-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 190px;
  background: #0A0E1A;
  overflow: hidden;
}

.boost-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 190px;
}

/* Inline-SVG-Variante (siehe loadSvgInto in app.js) */
.boost-card-media > svg.boost-card-image {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 160px;
}

.boost-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(10, 14, 26, 0.2);
}

.boost-card-badge svg {
  width: 24px;
  height: 24px;
}

.boost-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 0 auto;
}

.boost-card-tagline {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6C5CE7;
}

.boost-card-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.25;
}

.boost-card-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #B9C4D6;
}

.boost-card-features {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.boost-card-features li {
  font-size: 0.875rem;
  color: #D7DEEA;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4;
}

.boost-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #22C55E;
  font-weight: 700;
}

.boost-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
}

.boost-card-price .amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #6C5CE7;
  line-height: 1;
}

.boost-card-price .label {
  font-size: 0.875rem;
  color: #94A3B8;
}

@media (max-width: 960px) {
  .boosts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .boosts-grid { grid-template-columns: 1fr; }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--violet);
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Pricing Section */
.pricing {
  background: var(--bg);
}

#pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
}

.plan-card.featured {
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet), 0 12px 40px rgba(108, 92, 231, 0.2);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--violet);
  color: #fff;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-limit {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.plan-idealfor {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.plan-cta {
  width: 100%;
  margin-top: 1rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.plan-features li::before {
  content: "\2713";
  color: var(--green);
  font-weight: 700;
}

.pricing .note {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* FAQ Section */
.faq {
  background: var(--surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--violet);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

/* CTA Final Section */
.cta-final {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  text-align: center;
}

.cta-final .container {
  max-width: 640px;
}

.cta-final h2 {
  margin-bottom: 1rem;
}

.cta-final p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.store-badge {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.store-badge:hover {
  border-color: var(--violet);
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a,
.footer-col button {
  color: var(--text);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--violet);
}

.link-btn {
  cursor: pointer;
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-dialog {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--violet);
}

/* Responsive */
@media (max-width: 960px) {
  body > header.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  body > header.nav .nav-container {
    min-height: 58px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .nav-menu {
    position: fixed;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    /* Schwarzer Vollbild-Hintergrund, damit die Kategorie-Leiste und die
       Akkordeon-Mega-Menüs optimal lesbar sind. */
    background: #000000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.5rem;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 99;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .phone-mockup {
    width: 220px;
    height: 440px;
  }
  
  .steps-grid,
  .features-grid,
  #pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .trust-container {
    display: flex;
    justify-content: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ===== Wiederhergestellt/ergänzt nach Truncation (UpTrade, Billing, Founders) ===== */
.uptrade { margin-top: 28px; }
.uptrade-chain { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px 8px; }
.uptrade-step { display:flex; flex-direction:column; align-items:center; gap:4px; min-width:66px; padding:10px 8px; border-radius:16px; background:var(--surface); border:1px solid var(--border); }
.uptrade-step:last-of-type { border-color:var(--violet); }
.uptrade-emoji { font-size:1.9rem; line-height:1; }
.uptrade-label { font-size:.72rem; color:var(--muted); }
.uptrade-arrow { color:var(--green); font-weight:700; font-size:1.15rem; }
/* Schlanke, dezente Scrollleiste für die Hochtausch-Kette (statt klobiger OS-Scrollbar mit Pfeilen) */
.uptrade-chain { scrollbar-width: thin; scrollbar-color: rgba(108,92,231,0.55) transparent; scroll-behavior: smooth; }
.uptrade-chain::-webkit-scrollbar { height: 6px; }
.uptrade-chain::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 999px; margin: 0 8px; }
.uptrade-chain::-webkit-scrollbar-thumb { background: rgba(108,92,231,0.5); border-radius: 999px; }
.uptrade-chain::-webkit-scrollbar-thumb:hover { background: var(--violet); }
.hero-ai { color:var(--muted); font-size:.9rem; margin-top:10px; }
.uptrade-img { width:72px; height:72px; object-fit:cover; border-radius:14px; border:1px solid var(--border); display:block; box-shadow:0 6px 18px rgba(0,0,0,.4); transition:border-color .15s ease, box-shadow .15s ease; }
.uptrade-img:hover { border-color:var(--violet); box-shadow:0 8px 22px rgba(108,92,231,.25); }
.uptrade-step:last-of-type .uptrade-img { border-color:var(--violet); }
.billing-toggle { display:flex; align-items:center; justify-content:center; gap:6px; margin:0 auto 28px; background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:5px; width:max-content; }
.billing-toggle button { border:0; background:transparent; color:var(--muted); font-weight:600; padding:8px 18px; border-radius:999px; cursor:pointer; transition:all .15s ease; }
.billing-toggle button.active { background:var(--violet); color:#fff; }
.yearly-badge { margin-left:8px; background:rgba(34,197,94,.16); color:var(--green); font-size:.72rem; font-weight:700; padding:5px 10px; border-radius:999px; }
.price-sub { color:var(--muted); font-size:.85rem; margin-top:6px; }
.price-saving { color:var(--green); font-weight:700; }
.price-hint { color:var(--muted); font-size:.72rem; margin-top:2px; }
.founders { padding-bottom:48px; }
.founders-card { background:linear-gradient(135deg, rgba(108,92,231,.18), rgba(34,197,94,.10)); border:1px solid var(--violet); border-radius:var(--radius-lg); padding:32px; text-align:center; max-width:680px; margin:0 auto; }
.founders-badge { display:inline-block; background:var(--violet); color:#fff; font-size:.72rem; font-weight:700; padding:5px 12px; border-radius:999px; margin-bottom:12px; }
.founders-perks { list-style:none; padding:0; margin:18px auto; display:inline-flex; flex-direction:column; gap:8px; text-align:left; }
.founders-code { margin:18px 0; font-size:1.05rem; color:var(--muted); }
.founders-code strong { color:var(--green); letter-spacing:1px; background:var(--surface); padding:6px 12px; border-radius:10px; border:1px dashed var(--green); margin-left:6px; }
@media (max-width: 640px){ .uptrade-emoji{ font-size:1.5rem; } .uptrade-step{ min-width:56px; padding:8px 6px; } .uptrade-img{ width:58px; height:58px; } }

/* ===== Hero-Bild + Founders-Badge (Mockup) ===== */
.hero-visual { position: relative; }
.hero-image { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.hero-founder-badge { position: absolute; top: 14px; right: 14px; width: 190px; background: rgba(20,26,42,.92); border: 1px solid var(--violet); border-radius: 16px; padding: 14px 16px; text-align: center; backdrop-filter: blur(6px); box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.hfb-gift { font-size: 1.5rem; }
.hfb-top { color: var(--muted); font-size: .7rem; margin: 6px 0 2px; }
.hfb-main { color: var(--green); font-weight: 800; font-size: 1rem; margin: 0 0 6px; line-height: 1.2; }
.hfb-code { color: var(--muted); font-size: .75rem; margin: 0; }
.hfb-code strong { color: var(--green); letter-spacing: .5px; }
@media (max-width: 960px) { .hero-founder-badge { position: static; width: auto; margin: 14px auto 0; max-width: 260px; } }

/* ===== Hero-Hintergrund-Video ===== */
.hero--video {
  --hero-scroll: 0;
  --hero-parallax-y: 0px;
  --hero-scale: 1.035;
  --hero-dark: 0;
  position: relative;
  overflow: hidden;
  min-height: min(980px, calc(100svh - var(--header-height, 0px)));
  isolation: isolate;
}

@keyframes heroTitleIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(.965);
    filter: blur(10px);
  }
  55% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroCopyIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroRuleIn {
  0% {
    opacity: 0;
    transform: scaleX(.08);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
.hero-bg-video {
  position: absolute;
  inset: -8vh 0;
  width: 100%;
  height: calc(100% + 16vh);
  object-fit: cover;
  z-index: 0;
  transform: translate3d(0, var(--hero-parallax-y), 0) scale(var(--hero-scale));
  transform-origin: center top;
  will-change: transform;
}
.hero--video.is-parallax-active .hero-bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  transform: scale(var(--hero-scale));
}
.hero--video.is-parallax-past .hero-bg-video {
  opacity: 0;
  visibility: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10,14,26,.40) 0%,
      rgba(10,14,26,.64) 55%,
      var(--bg) 100%);
  pointer-events: none;
}
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  opacity: var(--hero-dark);
}
.hero--video.is-parallax-active .hero-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
}
.hero--video.is-parallax-past .hero-overlay {
  opacity: 0;
  visibility: hidden;
}
.hero--video .hero-container {
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr;
  min-height: calc(100svh - var(--header-height, 0px) - 76px);
  align-items: center;
  padding-top: clamp(2rem, 5vh, 4rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
  transform: translate3d(0, calc(var(--hero-scroll) * -22px), 0);
  will-change: transform;
}
.hero--video .hero-content {
  width: min(1120px, calc(100vw - 3rem));
  max-width: 1120px;
  opacity: calc(1 - (var(--hero-scroll) * .26));
}
.hero--video .trust-container {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-bottom: 28px;
}
.hero--video .hero-founder-badge { position: absolute; top: 92px; right: 28px; z-index: 3; }
@media (max-width: 960px) { .hero--video .hero-founder-badge { position: static; width: auto; max-width: 280px; margin: 16px auto 0; } }
@media (max-width: 640px) {
  .hero--video {
    min-height: calc(100svh - var(--header-height, 0px));
    padding: 0;
  }
  .hero-bg-video {
    inset: -5vh 0;
    height: calc(100% + 10vh);
    object-position: center top;
  }
  .hero--video .hero-container {
    min-height: calc(100svh - var(--header-height, 0px) - 86px);
    padding: 12px 1rem 10px;
    display: flex;
    justify-content: flex-start;
  }
  .hero--video .hero-content {
    gap: .58rem;
    width: 100%;
  }
  .hero--video .hero-founder-badge {
    max-width: 230px;
    margin: 10px auto 0;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .hero--video .hfb-gift {
    font-size: 1.25rem;
  }
  .hero--video .hfb-top {
    font-size: .66rem;
    margin: 4px 0 1px;
  }
  .hero--video .hfb-main {
    font-size: .86rem;
    margin-bottom: 4px;
  }
  .hero--video .hfb-code {
    font-size: .68rem;
  }
  .hero h1 {
    font-size: clamp(1.95rem, 10.2vw, 2.72rem);
    line-height: 1.04;
    text-wrap: balance;
  }
  .hero-rotator {
    gap: .54rem;
    min-height: clamp(270px, 47svh, 385px);
  }
  .hero-title {
    max-width: 10.8ch;
    font-size: clamp(2.15rem, 12.7vw, 4rem);
    line-height: .91;
  }
  .hero-title::after {
    width: min(62vw, 220px);
    height: 4px;
    margin-top: .65rem;
  }
  .hero .subtitle {
    font-size: clamp(.9rem, 3.85vw, 1rem);
    line-height: 1.38;
  }
  .hero-note,
  .hero-ai {
    font-size: .78rem;
  }
  .hero-buttons {
    gap: .5rem;
    margin-top: .2rem;
  }
  .hero-ai {
    margin-top: 0;
  }
  .hero-buttons .btn {
    min-height: 42px;
    padding: .72rem .85rem;
    font-size: .86rem;
  }
  .uptrade {
    margin-top: 14px;
  }
  .uptrade-chain {
    gap: 7px 5px;
  }
  .hero--video .trust-container {
    padding: 0 1rem 18px;
  }
  #trust-list {
    gap: .65rem 1rem;
  }
  #trust-list li {
    font-size: .78rem;
  }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 1.95rem; }
  .hero-title { font-size: 2rem; }
  .hero-rotator { min-height: 292px; }
  .hero .subtitle { font-size: .94rem; }
  .uptrade-img { width: 48px; height: 48px; }
  .uptrade-label { font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
    transform: none;
  }
  .hero--video {
    --hero-scroll: 0;
    background: var(--surface);
  }
  .hero--video .hero-container {
    transform: none;
  }
  .hero-rotator.is-changing .hero-title,
  .hero-rotator.is-changing .subtitle,
  .hero-rotator.is-changing .hero-note,
  .hero-rotator.is-changing .hero-title::after {
    animation: none;
  }
}

/* ===== Wert-Karten + Stats-Leiste (Batch 1) ===== */
.values,
.ki-agent,
.stories,
.how,
.features,
.pricing,
.boosts,
.founders,
.faq {
  position: relative;
  z-index: 4;
  background: transparent;
}
.cta-final,
.footer {
  position: relative;
  z-index: 8;
}
.values {
  padding: clamp(72px, 8vw, 118px) 0;
  scroll-margin-top: 150px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 197, 94, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(248, 250, 247, 0.58) 0%, rgba(255, 255, 255, 0.5) 54%, rgba(238, 247, 240, 0.56) 100%);
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
  color: #111827;
}
.values .container {
  max-width: 1260px;
}
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 36px; }
.values .section-title {
  max-width: 840px;
  margin: 0 auto 14px;
  color: #0f172a;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1.02;
}
.section-subtitle {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}
.values-subtitle {
  width: fit-content;
  max-width: min(760px, calc(100% - 28px));
  color: #102033;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 16px;
  padding: 10px 18px;
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  margin-bottom: clamp(30px, 5vw, 56px);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
}
.value-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 82px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.value-media {
  aspect-ratio: 16 / 10;
  background: rgba(248, 250, 252, 0.42);
  overflow: hidden;
}
.value-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .45s ease;
}
.value-card:hover .value-img {
  transform: scale(1.045);
}
.value-icon { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.value-icon-img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.value-body {
  padding: clamp(20px, 2.8vw, 30px);
}
.value-card h3 {
  color: #0f172a;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.12;
  margin: 0 0 12px;
}
.value-card p {
  color: #475569;
  font-size: clamp(.98rem, 1.35vw, 1.08rem);
  margin: 0;
  line-height: 1.62;
}
/* Auf Wunsch ausgeblendet: Hero-Badge "Permutis UpTrade" und Statistik-Band. */
[data-i18n="hero.badge"] { display: none !important; }
#stats, .stats-band { display: none !important; }

/* ===== Hochtausch-Story im Hero ===== */
.uptrade {
  width: min(100%, 1120px);
  max-width: 100%;
  align-self: stretch;
  margin-top: 28px;
}
.uptrade-chain {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  align-items: stretch;
  gap: 13px;
  padding: 13px;
  border: 1px solid rgba(108,92,231,.36);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(108,92,231,.16), rgba(34,197,94,.06) 45%, rgba(20,26,42,.8)),
    rgba(10,14,26,.72);
  box-shadow: 0 22px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
  max-width: 100%;
}
.uptrade-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  gap: 0;
  padding: 0;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(20,26,42,.82), rgba(10,14,26,.92));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.uptrade-step:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,94,.55);
  box-shadow: 0 18px 36px rgba(0,0,0,.32), 0 0 24px rgba(34,197,94,.13);
}
.uptrade-step:last-of-type {
  border-color: rgba(108,92,231,.9);
  box-shadow: 0 0 0 1px rgba(108,92,231,.35), 0 18px 40px rgba(108,92,231,.2);
}
.uptrade-media {
  position: relative;
  aspect-ratio: 1 / .86;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, rgba(108,92,231,.25), rgba(10,14,26,.94) 70%);
}
.uptrade-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,14,26,.82) 100%);
  pointer-events: none;
}
.uptrade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.04);
  transition: transform .3s ease;
}
.uptrade-step:hover .uptrade-img {
  transform: scale(1.1);
}
.uptrade-emoji {
  display: grid;
  min-height: 100%;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
}
.uptrade-number {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  font-size: .66rem;
  font-weight: 800;
  color: rgba(255,255,255,.76);
  background: rgba(10,14,26,.62);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 3px 7px;
}
.uptrade-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 112px;
  padding: 12px 12px 14px;
  text-align: left;
}
.uptrade-kicker {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}
.uptrade-label {
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.12;
}
.uptrade-copy {
  color: rgba(255,255,255,.64);
  font-size: .76rem;
  line-height: 1.32;
}
.uptrade-arrow {
  display: none;
}

@media (max-width: 900px) {
  .uptrade {
    width: 100%;
  }
  .uptrade-chain {
    grid-template-columns: repeat(6, minmax(132px, 1fr));
    overflow-x: auto;
    justify-content: start;
    scroll-snap-type: x proximity;
    padding-bottom: 12px;
  }
  .uptrade-step {
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .hero--video .hero-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hero--video .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
    align-items: stretch;
  }
  .hero-rotator {
    width: 100%;
    min-width: 0;
  }
  .hero-title,
  .hero-rotator .subtitle,
  .hero-note,
  .hero-ai {
    max-width: 100%;
  }
  .hero-buttons {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .uptrade {
    margin-top: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .uptrade-chain {
    grid-template-columns: repeat(6, minmax(146px, 1fr));
    gap: 9px;
    padding: 9px;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .uptrade-media {
    aspect-ratio: 1 / .78;
  }
  .uptrade-body {
    min-height: 86px;
    padding: 9px 9px 11px;
  }
  .uptrade-label {
    font-size: .82rem;
  }
  .uptrade-copy {
    font-size: .66rem;
  }
}

.stats-band { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.stat-value { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--violet); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .82rem; margin-top: 4px; }
@media (max-width: 960px) { .values-grid { grid-template-columns: 1fr; } .stats-row { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; } }
@media (max-width: 560px) {
  .values { padding: 62px 0 76px; }
  .values .section-title { font-size: clamp(2rem, 11vw, 3rem); }
  .value-card { border-radius: 20px; }
  .value-media { aspect-ratio: 4 / 3; }
}

/* ===== KI-Agent-Sektion + Erfolgsstories (Batch 2) ===== */
.ki-agent { padding: clamp(50px, 6vw, 82px) 0; }
.ki-agent .container { max-width: 920px; }
.ki-agent-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.2vw, 30px); align-items: stretch; }
.ki-left-panel,
.ki-statcard--video { min-height: clamp(350px, 32vw, 455px); border-radius: 24px; }
.ki-left-panel { display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: clamp(16px, 2.1vw, 24px); background: radial-gradient(circle at 18% 14%, rgba(124, 92, 255, 0.28), transparent 34%), linear-gradient(180deg, rgba(20, 26, 42, 0.9), rgba(9, 13, 26, 0.92)); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32); }
.ki-phone { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; padding: clamp(14px, 1.8vw, 20px); text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); backdrop-filter: blur(14px); }
.ki-phone-head { color: rgba(226, 232, 240, 0.78); font-size: .76rem; text-align: left; margin-bottom: 10px; }
.ki-phone-msg { background: rgba(3, 7, 18, 0.38); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 13px; font-size: clamp(.82rem, 1vw, .94rem); line-height: 1.48; text-align: left; margin: 0; }
.ki-mascot { width: min(165px, 40%); height: auto; object-fit: contain; margin: 12px auto; display: block; filter: drop-shadow(0 14px 26px rgba(124, 92, 255, 0.26)); }
.ki-phone-cta { width: 100%; margin-top: 6px; }
.ki-content h2 { font-size: clamp(1.55rem, 2.55vw, 2.75rem); line-height: 1.05; margin: 0 0 16px; }
.hl { color: var(--violet); }
.ki-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ki-benefits li { display: flex; gap: 10px; align-items: flex-start; color: rgba(248, 250, 252, 0.92); font-size: clamp(.82rem, 1vw, .94rem); line-height: 1.45; }
.ki-check { color: var(--green); font-weight: 800; }
.ki-statcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.ki-stats-pre { color: var(--muted); font-size: .85rem; margin: 0; }
.ki-stats-count { font-size: 2.2rem; font-weight: 800; color: var(--violet); line-height: 1.2; }
.ki-stats-label { color: var(--muted); margin: 0 0 12px; }
.ki-stars { color: #fbbf24; letter-spacing: 2px; font-size: 1.1rem; }
.ki-rating { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.stories { padding: 48px 0; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: transform 0.15s ease, border-color 0.15s ease; }
.story-card:hover { transform: translateY(-3px); border-color: var(--violet); }
.story-head { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.story-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.story-name { font-weight: 600; font-size: .95rem; }
.story-start { color: var(--muted); font-size: .78rem; }
.story-chain { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.story-emoji { font-size: 1.3rem; }
.story-arrow { color: var(--violet); font-weight: 700; }
.story-goal { color: var(--green); font-weight: 700; font-size: .9rem; }
@media (max-width: 960px) { .ki-agent-grid { grid-template-columns: 1fr; } .stories-grid { grid-template-columns: 1fr; } }

/* ===== Pricing: 4 Pläne nebeneinander, volle Bildschirmbreite ===== */
.pricing .container { max-width: none; padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
#pricing-grid { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 1.25rem; }
@media (max-width: 1100px) { #pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { #pricing-grid { grid-template-columns: 1fr; } }

/* "Alle Pakete enthalten"-Zeile */
.pricing-allinclude { text-align: center; color: var(--text); font-size: 0.92rem; margin: 28px 0 4px; opacity: .92; }

/* ===== Founders Club (Batch 3b): Geschenk + CTA-Box + Fortschritt ===== */
.founders-card { display: grid; grid-template-columns: 190px 1fr 300px; gap: 28px; align-items: center; }
.founders-gift { width: 100%; max-width: 190px; border-radius: 16px; display: block; }
.founders-main { text-align: left; }
.founders-main h2 { margin: 8px 0 10px; }
.founders-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; text-align: left; margin: 14px 0 0; }
.founders-cta-box { background: rgba(10,14,26,.55); border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-align: center; }
.fcb-codelabel { color: var(--muted); margin: 0 0 4px; font-size: .85rem; }
.fcb-code { color: var(--green); font-size: 1.55rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; }
.founders-cta-box .btn-primary { width: 100%; background: var(--green); color: #06210f; }
.founders-cta-box .btn-primary:hover { background: #16a34a; }
.founders-progress { height: 8px; background: rgba(255,255,255,.12); border-radius: 99px; margin: 16px 0 6px; overflow: hidden; }
.founders-progress-fill { height: 100%; width: 66%; background: linear-gradient(90deg, var(--violet), var(--green)); border-radius: 99px; }
.founders-progress-label { color: var(--muted); font-size: .8rem; margin: 0; }
@media (max-width: 900px) { .founders-card { grid-template-columns: 1fr; text-align: center; } .founders-main { text-align: center; } .founders-perks { grid-template-columns: 1fr; display: inline-grid; } }

/* ===== Founders-Fix: Karte verbreitern, Titel zähmen, 342-Codes ausblenden ===== */
.founders-card { max-width: 1080px; align-items: center; }
.founders-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.18; }
.founders-progress, .founders-progress-label { display: none !important; }
/* ===== KI-Stat-Bereich durch Video ersetzt ===== */
.ki-statcard--video { padding: 0; overflow: hidden; background: rgba(20, 26, 42, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32); }
.ki-stat-video { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; border-radius: 28px; }

/* ===== Footer erweitert (Batch 3c): 5 Spalten + Social + Newsletter ===== */
.footer-container { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr; }
.footer-brand p { margin: 12px 0 16px; color: var(--muted); font-size: .9rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(148, 163, 184, .2);
  display: grid;
  place-items: center;
  color: #AAB6CB;
  box-shadow: 0 10px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  color: #FFFFFF;
  border-color: color-mix(in srgb, var(--social-color, #6C5CE7) 70%, transparent);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--social-color, #6C5CE7) 40%, transparent), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--social-color, #6C5CE7) 28%, transparent);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.footer-social-link--instagram { --social-color: #E1306C; }
.footer-social-link--tiktok { --social-color: #22C55E; }
.footer-social-link--facebook { --social-color: #1877F2; }
.footer-social-link--youtube { --social-color: #FF0033; }
.footer-social-link--x { --social-color: #FFFFFF; }
.footer-social-link--linkedin { --social-color: #0A66C2; }
.footer-social-link--github { --social-color: #94A3B8; }
.footer-newsletter p { color: var(--muted); font-size: .85rem; margin: 0 0 12px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); font-size: .85rem; }
.newsletter-form input:focus { outline: none; border-color: var(--violet); }
.newsletter-form button { background: var(--violet); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; font-size: 1.1rem; cursor: pointer; }
.newsletter-form button:hover { background: var(--violet-600); }
@media (max-width: 900px) { .footer-container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-container { grid-template-columns: 1fr; } }

.mobile-app-footer {
  display: none;
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .footer {
    padding: 2rem 0 calc(7rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 18% 0%, rgba(108, 92, 231, 0.22), transparent 34%),
      linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(10, 14, 26, 0.98));
  }

  .footer-container {
    padding: 0 1.25rem;
    gap: 1.4rem;
    text-align: left;
  }

  .footer-brand {
    display: grid;
    justify-items: start;
    gap: .75rem;
  }

  .footer-brand p {
    max-width: 22rem;
    margin: 0;
    line-height: 1.6;
  }

  .footer-social {
    gap: .5rem;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(148, 163, 184, .1);
  }

  .footer-col {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(148, 163, 184, .13);
  }

  .footer-col:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .footer-col h3 {
    margin: 0 0 .75rem;
    font-size: .78rem;
    letter-spacing: .08em;
  }

  .footer-col nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem .9rem;
  }

  .footer-col a,
  .footer-col button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    font-size: .92rem;
    line-height: 1.25;
  }

  .footer-newsletter {
    display: none;
  }

  .footer-bottom {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
    text-align: left;
  }

  .lang-select-foot,
  .lang-select-foot select {
    width: 100%;
  }

  .copyright {
    line-height: 1.5;
  }

  .mobile-app-footer {
    position: fixed;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 190;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    min-height: 64px;
    padding: 7px 8px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 24px;
    background: rgba(10, 14, 26, .92);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .42), 0 0 0 1px rgba(108, 92, 231, .12) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-app-footer__item {
    min-width: 0;
    height: 50px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    color: #AAB6CB;
    text-decoration: none;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1;
  }

  .mobile-app-footer__item svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    display: block;
  }

  .mobile-app-footer__item--primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, #6C5CE7, #22C55E);
    box-shadow: 0 10px 24px rgba(34, 197, 94, .22);
  }

  .mobile-app-footer__item:not(.mobile-app-footer__item--primary):hover,
  .mobile-app-footer__item:not(.mobile-app-footer__item--primary):focus-visible {
    color: #FFFFFF;
    background: rgba(108, 92, 231, .2);
  }
}

/* ===== Rechtliche Unterseiten (cookies.html, etc.) ===== */
.legal-page {
    padding: clamp(2.5rem, 6vw, 5rem) 1.5rem clamp(3rem, 8vw, 6rem);
    max-width: 820px;
    margin: 0 auto;
}

.legal-page-header {
    margin-bottom: 2.5rem;
}

.legal-breadcrumb {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0 0 1rem;
}

.legal-breadcrumb a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.legal-meta {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0 0 1.25rem;
}

.legal-meta a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-notice {
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-left: 3px solid var(--violet);
    border-radius: 10px;
    padding: 0.875rem 1.125rem;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.55;
}

.legal-page section {
    padding: 0;
    margin-bottom: 2.5rem;
}

.legal-page section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: left;
    margin: 0 0 0.875rem;
    color: var(--text);
}

.legal-page p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0 0 0.875rem;
}

.legal-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0 0 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-page ul li {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.legal-hint {
    font-size: 0.8rem !important;
    color: var(--muted);
    font-style: italic;
}

/* Cookie-Tabelle */
.cookie-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8375rem;
    color: var(--text);
    min-width: 560px;
}

.cookie-table thead {
    background: var(--surface-2);
}

.cookie-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.cookie-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    color: var(--muted);
    line-height: 1.55;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover td {
    background: rgba(108, 92, 231, 0.04);
}

.cookie-table code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    background: rgba(108, 92, 231, 0.1);
    color: var(--violet);
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
}

.legal-page--with-menu {
    max-width: 1120px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 2rem;
    align-items: start;
}

.legal-content-flow {
    min-width: 0;
}

.legal-side-nav {
    position: sticky;
    top: 96px;
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(20, 26, 42, 0.72);
}

.legal-side-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.55rem 0.65rem;
    border-radius: 6px;
}

.legal-side-nav a:hover,
.legal-side-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(34, 197, 94, 0.12);
}

@media (max-width: 860px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-side-nav {
        position: static;
        order: -1;
        flex-direction: row;
        overflow-x: auto;
    }

    .legal-side-nav a {
        white-space: nowrap;
    }
}

/* TODO-Box (nur intern, vor Launch entfernen) */
.legal-todo {
    background: rgba(239, 68, 68, 0.08);
    border: 1px dashed rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 2rem;
    font-size: 0.8125rem;
    color: var(--muted);
}

.legal-todo strong {
    color: #ef4444;
    display: block;
    margin-bottom: 0.5rem;
}

.legal-todo ul {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* ===== Kategorie-Leiste (cat-bar) & Mega-Menüs ===== */

/* The cat-bar replaces the old nav-links in the nav-menu.
   On desktop it sits between the logo and the nav-actions. */
/* Kategorie-Leiste als eigene volle Zeile unter dem Kopf. */
.cat-bar-row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 14, 26, 0.55);
    overflow: visible; /* Standard: Mega-Menü (Unterkategorien) darf heraushängen */
    max-height: 120px;
    transform: translateY(0);
    transform-origin: top center;
    transition:
        max-height 0.28s ease,
        opacity 0.22s ease,
        border-color 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease;
}

/* Beim Scrollen klappt die Kategorie-Leiste ein (kompakter Header).
   overflow:hidden NUR im eingeklappten Zustand (sonst würde das Mega-Menü geclippt).
   transform statt nur max-height reduziert sichtbares Springen beim Umschalten. */
.nav.is-scrolled .cat-bar-row {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    overflow: hidden;
    border-top-color: transparent;
    pointer-events: none;
}

/* Hover auf den Header blendet die Kategorien wieder ein (Mega-Menü wieder sichtbar). */
.nav.is-scrolled:hover .cat-bar-row {
    max-height: 120px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    overflow: visible;
    border-top-color: rgba(255, 255, 255, 0.06);
    pointer-events: auto;
}

.cat-bar {
    position: relative; /* Positionskontext fuer das volle-Breite Mega-Menue */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 4px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    /* WICHTIG: kein overflow:auto – das wuerde das ausklappende Mega-Menue
       abschneiden. Das Dropdown muss aus der Zeile herausragen koennen. */
    overflow: visible;
}
.cat-bar::-webkit-scrollbar { display: none; }

/* Individual category button */
.cat-item {
    position: static; /* Mega-Menue positioniert sich relativ zur .cat-bar (volle Breite) */
    flex: 0 0 auto;
}

.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.4rem;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease;
    font-family: inherit;
    line-height: 1;
}

.cat-btn:hover,
.cat-btn:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.cat-btn:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

/* "Alle"-Eintrag hervorheben (Link, kein Dropdown). */
.cat-btn--all {
    color: var(--violet);
    font-weight: 700;
    text-decoration: none;
}
.cat-btn--all:hover {
    color: #fff;
}

.cat-item.has-mega .cat-btn::after {
    content: '▾';
    font-size: 0.55rem;
    opacity: 0.55;
    transition: transform 0.15s ease;
    margin-left: 2px;
}

.cat-item.has-mega.is-open .cat-btn::after {
    transform: rotate(180deg);
}

.cat-item.has-mega.is-open .cat-btn {
    color: var(--text);
    background: rgba(108, 92, 231, 0.1);
}

/* Services entry gets a subtle violet accent */
.cat-btn--services {
    color: var(--violet);
    border-left: 1px solid var(--border);
    margin-left: 4px;
    padding-left: 0.75rem;
}
.cat-btn--services:hover,
.cat-btn--services:focus-visible {
    color: var(--text);
    background: rgba(108, 92, 231, 0.1);
}

/* Mega-menu panel */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 0;
    max-width: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0 0 14px 14px;
    padding: 1.25rem 24px 1.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 200;
    display: flex;
    justify-content: flex-start;
    gap: 2.5rem;
}

/* Unsichtbare Bruecke ueber den Spalt Button->Panel: haelt den Hover,
   damit man ins Dropdown wandern und auswaehlen kann, ohne dass es schliesst. */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

/* Show when parent carries .is-open (set by JS hover-intent or keyboard/click).
   Desktop: :hover alone no longer opens – JS state machine controls .is-open.
   focus-within still opens immediately (keyboard accessibility). */
.cat-item.is-open .mega-menu,
.cat-item.has-mega:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* (Mega-Menues sind jetzt durchgehend volle Breite, links ausgerichtet.) */

/* "Mehr" und "Leistungen" nutzen – wie alle Mega-Menues – die volle Breite
   (left:0/right:0 aus .mega-menu), damit sie direkt unter der Leiste sitzen
   und per Hover erreichbar/auswaehlbar sind. Keine eigene Breitenbegrenzung. */

/* Column layout inside mega */
.mega-col {
    flex: 0 0 auto;
    min-width: 190px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mega-link {
    display: block;
    padding: 0.4375rem 0.625rem;
    border-radius: 7px;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.12s ease, background-color 0.12s ease;
}

.mega-link:hover,
.mega-link:focus-visible {
    color: var(--text);
    background: rgba(108, 92, 231, 0.12);
    outline: none;
}

/* Parent-level links in nested lists (more + services mega) */
.mega-link--parent {
    color: var(--text);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.mega-col li:first-child .mega-link--parent {
    border-top: 0;
    margin-top: 0;
    padding-top: 0.4375rem;
}

/* Sub-items (2nd level inside more/services mega) */
.mega-col-sub {
    list-style: none;
    padding: 0 0 0 0.5rem;
    margin: 2px 0 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mega-link--sub {
    font-size: 0.75rem;
    padding: 0.3125rem 0.5rem;
    color: var(--muted);
}

/* ── Responsive: Mobile cat-bar ────────────────────────────────────────────── */

@media (max-width: 960px) {
    /* Auf Mobile wird die Kategorie-Leiste per JS in das Hamburger-Menü
       umgehängt (siehe setupMobileCategoryMenu() in app.js). Die Zeile
       .cat-bar-row bleibt im DOM, wird aber ausgeblendet, damit sie nicht
       unter dem Header als eigene Zeile erscheint. */
    .cat-bar-row {
        display: none !important;
    }

    /* Sicherheitsnetz: falls die JS-Verschiebung noch nicht gelaufen ist,
       bleibt die Leiste auf Mobile zumindest versteckt. */
    .cat-bar:not(.cat-bar--mobile) {
        display: none;
    }

    .cat-btn {
        font-size: 0.8125rem;
        padding: 0.5rem 0.625rem;
    }

    /* On mobile, mega-menus become accordion-style (position static) */
    .mega-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        flex-direction: column;
        min-width: 0;
        max-width: none;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        padding: 0.5rem 0.5rem 0.5rem 1rem;
        background: transparent;
        display: none;  /* hidden until .is-open */
        gap: 0;
    }

    .cat-item.is-open .mega-menu {
        display: flex;
    }

    /* On mobile disable hover-based opening */
    .cat-item.has-mega:hover .mega-menu,
    .cat-item.has-mega:focus-within .mega-menu {
        display: none;
    }
    .cat-item.has-mega.is-open .mega-menu {
        display: flex;
    }

    .mega-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2px 4px;
    }

    .mega-link {
        white-space: normal;
        font-size: 0.75rem;
        padding: 0.3125rem 0.5rem;
    }

    .cat-btn--services {
        border-left: 0;
        border-top: 1px solid var(--border);
        margin-left: 0;
        padding-left: 0.625rem;
        width: 100%;
        justify-content: space-between;
        border-radius: 0;
    }

    .mega-col-sub {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ── Mobile-Variante der Kategorie-Leiste (im Hamburger-Menü) ───────────────
   Wird von setupMobileCategoryMenu() in app.js gesetzt, sobald der Viewport
   ≤ 960 px wird. Hier überschreiben wir den horizontalen Scroll-Streifen
   (war auf .cat-bar im Mobile-Block aktiv) durch eine vertikale Liste. */
.cat-bar--mobile {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    padding: 0.5rem 0;
    gap: 0.125rem;
    overflow: visible !important;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}

.cat-bar--mobile .cat-item {
    width: 100%;
    flex: 0 0 auto;
}

.cat-bar--mobile .cat-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

.cat-bar--mobile .cat-btn:hover,
.cat-bar--mobile .cat-btn:focus-visible {
    background: rgba(108, 92, 231, 0.12);
    color: var(--text);
}

/* Aktiver Top-Level-Klick (öffnet das Mega-Menü als Akkordeon). */
.cat-bar--mobile .cat-item.is-open > .cat-btn {
    background: rgba(108, 92, 231, 0.18);
    color: var(--text);
}

/* Akkordeon-Item: visuell als zusammenhängender Block (klappbar). */
.cat-bar--mobile .cat-item.is-open {
    background: rgba(108, 92, 231, 0.06);
    border-radius: 10px;
    padding-bottom: 0.25rem;
}

/* Chevron-Indikator auf Mobile: bei .is-open dreht er nach oben. */
.cat-bar--mobile .cat-item.has-mega .cat-btn::after {
    transition: transform 0.2s ease;
}
.cat-bar--mobile .cat-item.has-mega.is-open .cat-btn::after {
    transform: rotate(180deg);
}

/* Mega-Menü im mobilen Akkordeon: gestapelt unterhalb des Buttons. */
.cat-bar--mobile .mega-menu {
    position: static !important;
    width: 100%;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0.25rem 0 0.5rem 1rem;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.cat-bar--mobile .mega-col {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.cat-bar--mobile .mega-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: normal;
}

.cat-bar--mobile .mega-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.cat-bar--mobile .mega-col-sub {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
    margin: 0.25rem 0 0.25rem 0.75rem;
}

.cat-bar--mobile .mega-link--parent {
    font-weight: 600;
    color: var(--text);
}

/* Footer-Sprachauswahl */
.lang-select-foot select {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-family: inherit;
    cursor: pointer;
}

.lang-select-foot select:focus {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

/* ===== Header-Suchleiste (nav-search) ===== */

/* Mobile search panel inside nav-menu: hidden everywhere by default;
   the @media block below enables it on small screens when menu is open. */
.nav-search-mobile {
    display: none;
}

.nav-search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 480px;
}

/* Wraps the icon + input + clear-button */
.nav-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 0.625rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    height: 36px;
}

.nav-search-wrap:focus-within {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.nav-search-icon {
    color: var(--muted);
    display: flex;
    align-items: center;
    flex: none;
    pointer-events: none;
}

.nav-search-input {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.8125rem;
    line-height: 1;
    /* Remove native search input decoration */
    -webkit-appearance: none;
    appearance: none;
}

.nav-search-input::placeholder {
    color: var(--muted);
}

/* Remove the native "x" in WebKit search inputs */
.nav-search-input::-webkit-search-decoration,
.nav-search-input::-webkit-search-cancel-button,
.nav-search-input::-webkit-search-results-button,
.nav-search-input::-webkit-search-results-decoration {
    display: none;
}

/* Such-Bereich-Auswahl (Alle / Kategorien / Mitglieder) rechts im Suchfeld. */
.nav-search-scope {
    flex: 0 0 auto;
    border: 0;
    border-left: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.8rem;
    padding: 0 6px;
    margin-left: 4px;
    cursor: pointer;
    outline: none;
}
.nav-search-scope:hover { color: var(--text); }
.nav-search-scope option { background: var(--surface); color: var(--text); }

.nav-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--muted);
    cursor: pointer;
    flex: none;
    border-radius: 4px;
    transition: color 0.12s ease;
}

.nav-search-clear:hover {
    color: var(--text);
}

/* Results dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.375rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 150;
    list-style: none;
    margin: 0;
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-2) transparent;
}

.search-dropdown::-webkit-scrollbar {
    width: 5px;
}
.search-dropdown::-webkit-scrollbar-thumb {
    background: var(--surface-2);
    border-radius: 3px;
}

/* Section heading inside the dropdown */
.search-section-label {
    display: block;
    padding: 0.4375rem 0.625rem 0.1875rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    pointer-events: none;
    user-select: none;
}

/* Divider between sections */
.search-section-sep {
    margin: 0.25rem 0;
    border: none;
    border-top: 1px solid var(--border);
}

/* Individual result item */
.search-result-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0.4375rem 0.625rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.1s ease, color 0.1s ease;
    outline: none;
}

.search-result-item:hover,
.search-result-item:focus,
.search-result-item[aria-selected="true"] {
    background: rgba(108, 92, 231, 0.12);
    color: var(--text);
}

.search-result-item[aria-selected="true"] {
    background: rgba(108, 92, 231, 0.18);
}

/* Breadcrumb path shown below the matched label */
.search-result-path {
    font-size: 0.6875rem;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.3;
}

/* "No results" and informational messages */
.search-info-item {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    color: var(--muted);
    font-style: italic;
    pointer-events: none;
    user-select: none;
}

/* Members section: muted "coming soon" note */
.search-members-soon {
    padding: 0.375rem 0.625rem 0.5rem;
    font-size: 0.75rem;
    color: var(--muted);
}

/* Responsive: on mobile the search moves into the hamburger panel */
@media (max-width: 960px) {
    .nav-search {
        display: none; /* hidden in header; shown inside nav-menu below */
    }

    /* When the nav-menu is open, inject the search as top item */
    .nav-menu.is-open .nav-search-mobile {
        display: block;
    }

    /* A clone placed inside nav-menu on mobile */
    .nav-search-mobile {
        display: none;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border);
        margin-bottom: 0.25rem;
    }

    .nav-search-mobile .nav-search {
        display: block;
        max-width: none;
    }

    .nav-search-mobile .search-dropdown {
        position: static;
        box-shadow: none;
        border: 1px solid var(--border);
        border-radius: 8px;
        margin-top: 4px;
    }
}

/* ===== Katalogseite (katalog.html) ===== */

/* Seiten-Header */
.catalog-header {
    padding: 1.75rem 1.5rem 0;
    max-width: var(--maxw);
    margin: 0 auto;
}

.catalog-breadcrumb {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.catalog-breadcrumb a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.catalog-breadcrumb a:hover {
    color: var(--text);
}

.catalog-title-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.catalog-title-row h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin: 0;
}

.catalog-count {
    color: var(--muted);
    font-size: 0.9375rem;
}

/* Gesponsert-Streifen */
.catalog-sponsored-section {
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.07) 0%, transparent 100%);
    border-bottom: 1px solid rgba(108, 92, 231, 0.15);
    padding: 1.5rem 0 2rem;
    margin-top: 1.5rem;
}

.catalog-sponsored-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.125rem;
}

.catalog-sponsored-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin: 0;
    text-align: left;
}

.catalog-ad-label {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 2px 6px;
    line-height: 1.4;
}

/* Gesponsert-Raster: max 4 Karten sichtbar (horizontal scrollbar auf Mobile) */
.catalog-sponsored-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Haupt-Raster */
.catalog-main-section {
    padding: 2rem 0 4rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Skeleton-Loader */
.catalog-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.catalog-skeleton-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    height: 280px;
    position: relative;
    overflow: hidden;
}

.catalog-skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    animation: catalog-shimmer 1.5s infinite;
}

@keyframes catalog-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Leerer Zustand */
.catalog-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--muted);
}

.catalog-empty-icon {
    color: var(--border);
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.catalog-empty p {
    font-size: 1.0625rem;
    margin: 0 0 1.5rem;
}

/* Fehler */
.catalog-error {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--muted);
}

.catalog-error p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
}

/* Pagination */
.catalog-pagination {
    text-align: center;
    padding-top: 2.5rem;
}

.catalog-load-more {
    min-width: 180px;
}

.catalog-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Artikel-Karte ── */
.cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cat-card:hover {
    transform: translateY(-3px);
    border-color: var(--violet);
    box-shadow: 0 10px 32px rgba(108, 92, 231, 0.15);
}

/* Featured-Karte (im Gesponsert-Streifen): dezenter Akzent */
.cat-card--featured {
    border-color: rgba(108, 92, 231, 0.35);
    background: linear-gradient(160deg, var(--surface) 70%, rgba(108, 92, 231, 0.06) 100%);
}

.cat-card--featured:hover {
    border-color: var(--violet);
}

.cat-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

/* Bild-Bereich */
.cat-card-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    overflow: hidden;
    flex: none;
}

.cat-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cat-card:hover .cat-card-img {
    transform: scale(1.04);
}

/* Bildplatzhalter wenn kein Bild vorhanden */
.cat-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
    background: var(--surface-2);
}

/* Gesponsert-Badge auf Karte (nur in Nicht-Sponsored-Raster) */
.cat-card-sponsored-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(10, 14, 26, 0.82);
    color: var(--muted);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    padding: 2px 5px;
    backdrop-filter: blur(4px);
}

/* Herz-Button */
.cat-card-heart {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(10, 14, 26, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
    backdrop-filter: blur(4px);
}

.cat-card-heart:hover {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}
.cat-card-heart.is-fav {
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.18);
}

/* ── Favoriten-Seite (favoriten.html) ───────────────────────────────── */
.fav-main { padding-top: 1.25rem; padding-bottom: 3rem; }
.fav-section { margin-top: 1rem; padding: 0; }
.fav-section-hint { color: var(--muted); font-weight: 400; font-size: .85rem; }

/* Kopf mit Ansicht-Umschalter */
.fav-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fav-view-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 2px; gap: 2px; }
.fav-view-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 32px; border: none;
    background: none; color: var(--muted); border-radius: 8px; cursor: pointer; transition: background .12s, color .12s; }
.fav-view-btn:hover { color: var(--text); }
.fav-view-btn.is-active { background: var(--violet); color: #fff; }

/* Kompakte/tabellarische Listen-Ansicht */
.fav-list { display: flex; flex-direction: column; gap: 6px; margin-top: .75rem; }
.fav-row { display: flex; align-items: center; gap: .8rem; padding: .55rem .7rem; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: background .12s; }
.fav-row:hover { background: var(--surface-2); }
.fav-row-thumb { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 9px; background-size: cover; background-position: center;
    background-color: var(--surface-2); border: 1px solid var(--border); }
.fav-row-thumb--empty { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.fav-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fav-row-title { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-row-sub { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-row-tags { flex: 0 0 auto; display: flex; gap: .35rem; }
.fav-row-tag { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.fav-row-tag--service { background: rgba(108,92,231,.85); color: #fff; }
.fav-row-heart { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(239,68,68,.4);
    background: rgba(239,68,68,.16); color: #EF4444; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fav-row-heart:hover { background: rgba(239,68,68,.28); }
.fav-row-interest { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px;
    background: rgba(34,197,94,.16); color: var(--green); font-size: .72rem; font-weight: 700; }
@media (max-width: 560px) { .fav-row-sub { white-space: normal; } .fav-row-tags { display: none; } }
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: .75rem;
}
/* „Interesse"-Badge auf Karten der Swipe-Gruppe */
.cat-card-swiped {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.92);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}
/* „Leistung"-Badge (Service statt Gegenstand) */
.cat-card-kind {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(108, 92, 231, 0.92);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
}

/* Karten-Körper */
.cat-card-body {
    padding: 0.875rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
    flex: 1;
}

.cat-card-condition {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--green);
}

.cat-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.125rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Anbieter-Zeile */
.cat-card-provider {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.cat-card-provider-name {
    font-size: 0.8125rem;
    color: var(--muted);
    font-weight: 500;
    /* ist jetzt ein <a>-Element – text-decoration unterdrücken */
    text-decoration: none;
}

a.cat-card-provider-name:hover {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Badges: Verifiziert, Pro, Champion */
.cat-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 1px 5px;
    line-height: 1.5;
}

.cat-card-badge--verified {
    background: rgba(34, 197, 94, 0.12);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.cat-card-badge--plan {
    background: rgba(108, 92, 231, 0.12);
    color: var(--violet);
    border: 1px solid rgba(108, 92, 231, 0.25);
}

.cat-card-badge--champion {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Bewertung */
.cat-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
}

/* Stadt */
.cat-card-city {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.125rem;
}

/* Klickbare Stadt -> Kartenansicht */
.cat-card-city--btn {
    cursor: pointer;
    border-radius: 6px;
    padding: 2px 6px;
    margin-left: -6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.cat-card-city--btn:hover {
    color: var(--violet);
    background: rgba(108, 92, 231, 0.12);
}
.cat-card-city--btn:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 1px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .catalog-grid,
    .catalog-sponsored-grid,
    .catalog-skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .catalog-grid,
    .catalog-sponsored-grid,
    .catalog-skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .catalog-skeleton-card {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .catalog-grid,
    .catalog-sponsored-grid,
    .catalog-skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .catalog-header {
        padding-top: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-skeleton-card::after {
        animation: none;
    }
    .cat-card,
    .cat-card-img {
        transition: none;
    }
}

/* ── Ansicht-Umschalter (Liste / Karte) ── */
.catalog-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
    flex-shrink: 0;
    margin-left: auto; /* schiebt den Umschalter nach rechts */
}

.catalog-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.375rem 0.75rem;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
    white-space: nowrap;
}

.catalog-view-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.catalog-view-btn--active {
    background: var(--violet);
    color: #fff;
}

.catalog-view-btn--active:hover {
    background: var(--violet-600);
    color: #fff;
}

.catalog-view-btn:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

/* ── Karten-Container ── */
.catalog-map-section {
    width: 100%;
    padding: 0 clamp(0.875rem, 2vw, 1.5rem) 1.75rem;
}

#catalog-map {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    height: 60vh;
    min-height: 420px;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface);
}

/* Leaflet-Override: Popup-Styling passend zum Dark-Theme */
.map-leaflet-popup .leaflet-popup-content-wrapper {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    padding: 0;
    overflow: hidden;
}

.map-leaflet-popup .leaflet-popup-tip-container {
    display: none; /* Pfeil ausblenden für cleanes Look */
}

.map-leaflet-popup .leaflet-popup-content {
    margin: 0;
    width: auto !important;
}

/* Popup-Inhalte */
.map-popup {
    min-width: 200px;
    max-width: 260px;
}

.map-popup-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
}

.map-popup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-popup-body {
    padding: 0.75rem 0.875rem 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.map-popup-condition {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green);
}

.map-popup-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.map-popup-handle {
    font-size: 0.8125rem;
    color: var(--muted);
}

.map-popup-city {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    color: var(--muted);
}

.map-popup-cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--violet);
    /* !important: Leaflet faerbt Popup-Links (.leaflet-container a) sonst teal. */
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease;
    align-self: flex-start;
}

.map-popup-cta:hover {
    background: var(--violet-600);
}

/* Marker-Punkt (Permutis-Violett) */
.map-marker-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--violet);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.5);
}

/* Bild-Marker (wie in der App): gerundetes Foto mit Zeiger nach unten. */
.map-marker-pin {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background: var(--surface);
    position: relative;
}
.map-marker-pin::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
}
.map-marker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.map-marker-img--empty {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c5cff, var(--violet));
    opacity: 0.5;
}

/* Leaflet Attributions-Link im Dark-Mode leserlich */
.leaflet-control-attribution {
    background: rgba(10, 14, 26, 0.85) !important;
    color: rgba(245, 246, 250, 0.6) !important;
    font-size: 0.625rem !important;
}

.leaflet-control-attribution a {
    color: var(--violet) !important;
}

/* Leaflet Zoom-Steuerung im Dark-Mode */
.leaflet-control-zoom a {
    background: var(--surface) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

.leaflet-control-zoom a:hover {
    background: var(--surface-2) !important;
}

@media (max-width: 600px) {
    #catalog-map {
        height: 55vh;
    }

    .catalog-view-toggle {
        margin-left: 0;
    }

    .catalog-title-row {
        flex-wrap: wrap;
        gap: 0.625rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION – professionelle Seitennavigation
   ═══════════════════════════════════════════════════════════════════════════ */

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0 3rem;
}

/* Seitengröße-Auswahl */
.pagination-size-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--muted);
    white-space: nowrap;
}

.pagination-size-select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.8125rem;
    font-family: inherit;
    padding: 0.375rem 0.5rem;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.pagination-size-select:hover,
.pagination-size-select:focus-visible {
    border-color: var(--violet);
    outline: none;
}

/* Seiten-Navigation */
.pagination-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pagination-btn:hover:not(:disabled) {
    color: var(--text);
    border-color: var(--violet);
    background: rgba(108, 92, 231, 0.08);
}

.pagination-btn:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

.pagination-btn--current {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
    font-weight: 700;
    cursor: default;
}

.pagination-btn--current:hover {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
}

.pagination-btn--disabled,
.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pagination-ellipsis {
    min-width: 28px;
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
    user-select: none;
}

@media (max-width: 480px) {
    .catalog-pagination {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MITGLIEDER-SUCHE – Suchergebnis-Karte für Mitglieder
   ═══════════════════════════════════════════════════════════════════════════ */

.search-result-item--member {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
}

.search-member-avatar {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-member-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.search-member-avatar-initial {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--violet);
    line-height: 1;
}

.search-member-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.search-member-handle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-member-stars {
    display: flex;
    gap: 1px;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROFIL-SEITE – profil.html
   ═══════════════════════════════════════════════════════════════════════════ */

/* Lade-Skeleton */
.profil-loading {
    padding: 2.5rem 0;
}

.profil-skeleton {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.profil-skeleton-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--surface-2);
    flex: 0 0 96px;
    position: relative;
    overflow: hidden;
}

.profil-skeleton-avatar::after,
.profil-skeleton-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    animation: catalog-shimmer 1.5s infinite;
}

.profil-skeleton-lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.profil-skeleton-line {
    height: 16px;
    border-radius: 8px;
    background: var(--surface-2);
    width: 60%;
    position: relative;
    overflow: hidden;
}

.profil-skeleton-line--wide  { width: 80%; height: 24px; }
.profil-skeleton-line--narrow { width: 40%; }

/* Fehler-Zustand */
.profil-error {
    padding: 3rem 0;
    text-align: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ── Profil-Header-Sektion ── */
.profil-header-section {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0 2rem;
}

.profil-header-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.profil-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1 1 auto;
    min-width: 0;
}

.profil-header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-top: 0.25rem;
}

/* Avatar */
.profil-avatar-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-2);
    border: 2px solid var(--border);
    flex: 0 0 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profil-avatar-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.profil-avatar-initial {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--violet);
    line-height: 1;
    user-select: none;
}

/* Meta */
.profil-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.profil-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profil-handle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.15;
}

.profil-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--green);
    border-radius: 50%;
    color: #fff;
    flex: 0 0 22px;
}

.profil-plan-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 20px;
    background: var(--violet);
    color: #fff;
}

.profil-plan-badge--champion {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1200;
}

.profil-plan-badge--pro {
    background: var(--violet);
    color: #fff;
}

.profil-plan-badge--plus {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}

/* Sterne-Bewertung */
.profil-rating-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
}

.profil-rating-avg {
    font-weight: 700;
    color: var(--text);
}

.profil-rating-count {
    color: var(--muted);
}

/* Erfolgreiche Tausche */
.profil-trades {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green);
}

/* Ort / Land / Mitglied seit */
.profil-location-row {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* Folgen-Button + Toast */
.profil-follow-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.profil-follow-btn {
    min-width: 110px;
}

.profil-follow-toast {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
    font-size: 0.8125rem;
    color: var(--muted);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    z-index: 10;
    min-width: 220px;
}

.profil-follow-toast a {
    color: var(--violet);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profil-follow-toast a:hover {
    color: var(--text);
}

/* ── Tabs ── */
.profil-tabs-bar {
    border-bottom: 1px solid var(--border);
    margin-top: 0;
    padding-top: 0;
    background: var(--bg);
    position: sticky;
    top: 64px; /* Unter der Nav */
    z-index: 50;
}

.profil-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profil-tabs::-webkit-scrollbar { display: none; }

.profil-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--muted);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: color 0.15s ease, border-color 0.15s ease;
    margin-bottom: -1px; /* Blendet border-bottom der Bar aus */
}

.profil-tab:hover {
    color: var(--text);
}

.profil-tab--active {
    color: var(--violet);
    border-bottom-color: var(--violet);
    font-weight: 600;
}

.profil-tab:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: -2px;
}

/* ── Tab-Panels ── */
.profil-panel {
    padding-top: 2rem;
    padding-bottom: 4rem;
    min-height: 300px;
}

/* Artikel-Raster im Profil */
#profil-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

/* Leer-Zustand (Bewertungen / Hochtausch) */
.profil-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 3rem 1rem;
}

.profil-empty-icon {
    width: 64px;
    height: 64px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 1px solid var(--border);
}

.profil-empty-state p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.profil-empty-hint {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    color: var(--muted) !important;
    max-width: 400px;
}

/* Responsive */
@media (max-width: 600px) {
    .profil-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .profil-header-inner {
        flex-direction: column;
    }

    .profil-follow-toast {
        right: auto;
        left: 0;
        white-space: normal;
    }

    .profil-handle {
        font-size: 1.25rem;
    }

    #profil-offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARTIKEL-DETAILSEITE – artikel.html
   ═══════════════════════════════════════════════════════════════════════════ */

.detail-header {
    padding-top: 1.5rem;
}

/* Lade-Skeleton */
.detail-skeleton {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0 3rem;
}

.detail-skeleton-gallery,
.detail-skeleton-info {
    border-radius: 16px;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.detail-skeleton-gallery { aspect-ratio: 4/3; }
.detail-skeleton-info    { min-height: 360px; }

.detail-skeleton-gallery::after,
.detail-skeleton-info::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    animation: catalog-shimmer 1.5s infinite;
}

/* Fehler */
.detail-error {
    padding: 3rem 0;
    text-align: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* Haupt-Layout: Galerie + Info nebeneinander */
.detail-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    padding-top: 1.5rem;
    padding-bottom: 4rem;
    align-items: start;
}

/* Galerie */
.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-gallery-main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.detail-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: var(--surface-2);
}

/* Thumbnails */
.detail-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.detail-thumb-item {
    flex: 0 0 auto;
}

.detail-thumb-btn {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-2);
    cursor: pointer;
    transition: border-color 0.15s ease;
    display: block;
}

.detail-thumb-btn:hover,
.detail-thumb-btn[aria-pressed="true"] {
    border-color: var(--violet);
}

.detail-thumb-btn:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

.detail-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info-Spalte */
.detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Kategorie-Chip */
.detail-cat-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--violet);
    transition: background-color 0.15s ease;
    text-decoration: none;
}

.detail-cat-chip:hover {
    background: rgba(108, 92, 231, 0.2);
}

/* Zustand */
.detail-condition {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--green);
}

/* Titel */
.detail-title {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin: 0;
}

/* Beschreibung */
.detail-description {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Stadt */
.detail-city {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

/* Anbieter-Karte */
.detail-provider {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-top: 0.5rem;
}

.detail-provider-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.125rem;
    text-decoration: none;
    border-radius: 14px;
    transition: background-color 0.15s ease;
}

.detail-provider-link:hover {
    background: rgba(255, 255, 255, 0.04);
}

.detail-provider-link:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

.detail-provider-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-provider-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.detail-provider-avatar-initial {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--violet);
    line-height: 1;
}

.detail-provider-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 auto;
    min-width: 0;
}

.detail-provider-handle {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
}

.detail-provider-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    color: var(--muted);
}

.detail-provider-rating-count {
    font-size: 0.75rem;
    color: var(--muted);
    margin-left: 2px;
}

.detail-provider-trades {
    font-size: 0.75rem;
    color: var(--muted);
}

.detail-provider-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex: 0 0 auto;
}

/* CTA */
.detail-cta {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.detail-cta-hint {
    font-size: 0.8125rem;
    color: var(--muted);
    text-align: center;
    margin: 0;
}

/* CTA „Tausch anfragen" – Zustände */
.detail-cta--busy {
    opacity: 0.75;
    pointer-events: none;
}
.detail-cta--sent {
    background: rgba(34, 197, 94, 0.16);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.4);
    cursor: default;
    pointer-events: none;
}
.detail-cta--disabled {
    background: var(--surface-2);
    color: var(--muted);
    border: 1px solid var(--border);
    cursor: default;
    pointer-events: none;
}

/* ── Wunsch-Matching: „Gesucht"-Chips ───────────────────────────────────────── */

/* Detail-Seite: prominente „Gesucht"-Sektion */
.detail-wanted {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.detail-wanted-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--violet);
    margin: 0;
}

.detail-wanted-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-wanted-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    background: rgba(108, 92, 231, 0.10);
    border: 1px solid rgba(108, 92, 231, 0.28);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--violet);
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.detail-wanted-chip:hover,
.detail-wanted-chip:focus-visible {
    background: rgba(108, 92, 231, 0.22);
    border-color: rgba(108, 92, 231, 0.5);
    outline: none;
}

/* Katalog-Karte + Discover-Karte: kompakte „Gesucht"-Zeile */
.cat-card-wanted {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: 0.125rem;
}

.cat-card-wanted-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--violet);
    flex-shrink: 0;
}

.cat-card-wanted-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    background: rgba(108, 92, 231, 0.10);
    border: 1px solid rgba(108, 92, 231, 0.22);
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--violet);
    text-decoration: none;
    transition: background-color 0.12s ease;
    white-space: nowrap;
}

.cat-card-wanted-chip:hover,
.cat-card-wanted-chip:focus-visible {
    background: rgba(108, 92, 231, 0.2);
    outline: none;
}

/* Discover-Karte: Gesucht-Chips über dem Gradient */
.disc-card-wanted {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
}

.disc-card-wanted-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
}

.disc-card-wanted-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.5rem;
    background: rgba(108, 92, 231, 0.35);
    border: 1px solid rgba(108, 92, 231, 0.6);
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.12s ease;
    white-space: nowrap;
}

.disc-card-wanted-chip:hover,
.disc-card-wanted-chip:focus-visible {
    background: rgba(108, 92, 231, 0.55);
    outline: none;
}

/* Mini-Karte */
.detail-map-section {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.detail-map-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.75rem;
}

.detail-map {
    width: 100%;
    height: 240px;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface-2);
}

/* Responsive Detail */
@media (max-width: 860px) {
    .detail-wrap {
        grid-template-columns: 1fr;
    }

    .detail-map-section {
        grid-column: 1;
    }

    .detail-skeleton {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .detail-gallery-main {
        aspect-ratio: 1;
    }

    .detail-title {
        font-size: 1.375rem;
    }

    .detail-thumb-btn {
        width: 54px;
        height: 54px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   KATEGORIEN-ÜBERSICHTSSEITE – kategorien.html
   ═══════════════════════════════════════════════════════════════════════════ */

.cats-page-head {
    padding: 2rem 0 1.5rem;
}

.cats-page-head h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.cats-page-subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
}

.cats-loading {
    padding: 2rem 0;
}

/* Abschnitt (Gegenstände / Leistungen) */
.cats-section {
    margin-bottom: 3rem;
}

.cats-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 1.25rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--violet);
    display: inline-block;
}

/* Mehrspaltiges Raster der Karten */
.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

/* Oberkategorie-Karte */
.cats-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.125rem 1.125rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cats-card:hover {
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.1);
}

/* Oberkategorie-Link (Überschrift der Karte) */
.cats-card-head {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 0.625rem;
    transition: color 0.15s ease;
}

.cats-card-head:hover {
    color: var(--violet);
}

/* Unterkategorie-Liste */
.cats-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cats-card-link {
    font-size: 0.8125rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
    display: block;
    padding: 0.125rem 0;
}

.cats-card-link:hover {
    color: var(--violet);
}

.cats-card-link:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Responsive Kategorien */
@media (max-width: 600px) {
    .cats-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-main-img,
    .cats-card,
    .cats-card-head,
    .cats-card-link,
    .detail-cat-chip,
    .detail-provider-link,
    .detail-thumb-btn {
        transition: none;
    }
}

/* Leaflet-Karten in einen eigenen Stacking-Context UNTER der Navigation legen.
   Leaflet vergibt intern bis z-index 1000 (Controls); ohne eigenen Context
   überdeckt die Karte die Kategorie-Mega-Menüs (z-index 200 innerhalb der Nav
   mit z-index 100). z-index: 0 begrenzt die Karte auf Ebene 0 < Nav. */
#catalog-map-section,
#detail-map-section {
    position: relative;
    z-index: 0;
}

/* ===================================================================
   Web-Messenger (nachrichten.html)
   =================================================================== */
.msg-main { max-width: 1140px; margin: 0 auto; padding: 1rem 1rem 2rem; }
.msg-gate { display: flex; justify-content: center; padding: 4rem 1rem; }
.msg-gate-card { max-width: 420px; text-align: center; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2.25rem 1.75rem; }
.msg-gate-icon { color: var(--violet); display: flex; justify-content: center; margin-bottom: 1rem; }
.msg-gate-title { font-size: 1.35rem; margin: 0 0 .5rem; }
.msg-gate-text { color: var(--muted); margin: 0 0 1.5rem; }

.msg-app { display: grid; grid-template-columns: 340px 1fr; gap: 0; height: calc(100vh - 190px); min-height: 460px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

/* Sidebar / Chat-Liste */
.msg-sidebar { display: flex; flex-direction: column; border-right: 1px solid var(--border); min-width: 0; }
.msg-sidebar-head { padding: 1rem 1.1rem .75rem; border-bottom: 1px solid var(--border); }
.msg-sidebar-title { font-size: 1.15rem; margin: 0; }
.msg-sidebar-sub { font-size: .78rem; color: var(--muted); }
.msg-list { flex: 1; overflow-y: auto; }
.msg-list-loading, .msg-list-empty { padding: 1.5rem 1.1rem; color: var(--muted); font-size: .9rem; }
.msg-list-empty .btn { margin-top: 1rem; }
.msg-muted { color: var(--muted); font-size: .82rem; }

.msg-list-item { display: flex; align-items: stretch; position: relative; width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.04); transition: background .12s; }
.msg-list-item:hover { background: var(--surface-2); }
.msg-list-item.is-active { background: rgba(108,92,231,.12); }
.msg-list-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: .7rem; text-align: left;
    background: none; border: none; padding: .7rem .3rem .7rem 1.1rem; cursor: pointer; color: var(--text); font-family: inherit; }
.msg-list-menu-btn { flex: 0 0 auto; background: none; border: none; color: var(--muted); cursor: pointer;
    padding: 0 .55rem; border-radius: 8px; opacity: .45; transition: opacity .12s, background .12s, color .12s; }
.msg-list-menu-btn:hover { opacity: 1; background: rgba(255,255,255,.06); color: var(--text); }
.msg-list-item:hover .msg-list-menu-btn { opacity: .85; }
.msg-list-body { flex: 1; min-width: 0; }
.msg-list-top { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.msg-list-name { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-list-time { font-size: .72rem; color: var(--muted); flex: 0 0 auto; }
.msg-list-preview { display: block; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.msg-list-item.has-unread .msg-list-name,
.msg-list-item.has-unread .msg-list-preview { color: var(--text); font-weight: 600; }
.msg-list-badge { flex: 0 0 auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--violet);
    color: #fff; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.msg-list-preview.is-hit { color: var(--violet); }

/* Status-Markierung: offene vs. abgeschlossene Tausche */
.msg-li-status { display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; padding: 1px 7px 1px 5px;
    border-radius: 999px; font-size: .66rem; font-weight: 700; line-height: 1.5; }
.msg-li-status svg { flex: 0 0 auto; }
.msg-li-status--open { background: rgba(34,197,94,.15); color: var(--green); }
.msg-li-status--done { background: rgba(255,255,255,.08); color: var(--muted); }
.msg-li-status--cancelled { background: rgba(239,68,68,.14); color: #f08a8a; }
/* Offene Tausche dezent mit grünem Akzent links; abgeschlossene gedämpft. */
.msg-list-item.msg-li--open { box-shadow: inset 3px 0 0 rgba(34,197,94,.55); }
.msg-list-item.msg-li--closed { opacity: .72; }
.msg-list-item.msg-li--closed:hover, .msg-list-item.is-active { opacity: 1; }

/* Sidebar-Suche */
.msg-search { position: relative; margin: .6rem .8rem .2rem; }
.msg-search-icon { position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.msg-search-input { width: 100%; box-sizing: border-box; padding: .55rem 2rem .55rem 2.1rem; border-radius: 10px;
    border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: .86rem; font-family: inherit; }
.msg-search-input:focus { outline: none; border-color: var(--violet); }
.msg-search-input::placeholder { color: var(--muted); }
.msg-search-clear { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); background: none; border: none;
    color: var(--muted); cursor: pointer; padding: .2rem; border-radius: 6px; display: flex; }
.msg-search-clear:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* Ansichts-Tabs (Aktiv / Archiv) */
.msg-view-tabs { display: flex; gap: .4rem; padding: .35rem .8rem .55rem; border-bottom: 1px solid var(--border); }
.msg-view-tab { flex: 1; padding: .4rem .5rem; border-radius: 8px; border: 1px solid transparent; background: none;
    color: var(--muted); font-size: .82rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: background .12s, color .12s; }
.msg-view-tab:hover { background: var(--surface-2); color: var(--text); }
.msg-view-tab.is-active { background: rgba(108,92,231,.14); color: var(--violet); }
.msg-archive-count { font-weight: 600; opacity: .85; }

/* Zeilen-Kontextmenü */
.msg-row-menu { position: absolute; z-index: 60; min-width: 200px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.45); padding: .35rem; }
.msg-row-menu-opt { display: flex; align-items: center; gap: .55rem; width: 100%; text-align: left; background: none; border: none;
    color: var(--text); font-size: .86rem; font-family: inherit; padding: .55rem .6rem; border-radius: 8px; cursor: pointer; }
.msg-row-menu-opt:hover { background: var(--surface-2); }
.msg-row-menu-opt svg { color: var(--muted); flex: 0 0 auto; }

/* Avatare */
.msg-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto; font-size: 1rem; }
.msg-avatar--list { width: 44px; height: 44px; }
.msg-avatar-img { width: 100%; height: 100%; object-fit: cover; }

/* ── Tausch-Detailseite (tausch-detail.html) ──────────────────────────── */
.td-main { padding-top: 1.25rem; padding-bottom: 3rem; min-height: 60vh; max-width: 860px; }
.td-back { display: inline-flex; align-items: center; gap: .35rem; color: var(--violet); font-weight: 600;
    text-decoration: none; font-size: .92rem; margin-bottom: 1rem; }
.td-back:hover { text-decoration: underline; }
.td-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.td-peer { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.td-peer-avatar { width: 48px; height: 48px; }
.td-peer-meta { display: flex; flex-direction: column; }
.td-peer-name { font-weight: 700; font-size: 1.05rem; }
.td-peer-handle { font-size: .82rem; color: var(--muted); }
.td-loading, .td-error { color: var(--muted); padding: 1.5rem 0; }
.td-section-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 .75rem; }
.td-items { display: grid; gap: 1rem; }
.td-swap-divider { display: flex; align-items: center; justify-content: center; margin: 1.25rem 0; }
.td-swap-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(108,92,231,.15); color: var(--violet);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.td-item { display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1rem; }
.td-item-img { flex: 0 0 auto; width: 120px; height: 120px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.td-item-img--empty { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.td-item-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.td-item-badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .35rem; }
.td-badge { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.td-badge--service { background: rgba(108,92,231,.85); color: #fff; }
.td-item-title { font-size: 1.1rem; margin: 0 0 .35rem; }
.td-item-desc { font-size: .88rem; color: var(--muted); margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden; }
.td-item-link { margin-top: auto; align-self: flex-start; color: var(--violet); font-weight: 600; font-size: .88rem; text-decoration: none; }
.td-item-link:hover { text-decoration: underline; }
@media (max-width: 560px) {
    .td-item { flex-direction: column; }
    .td-item-img { width: 100%; height: 180px; }
}

/* Tausch-Bestätigen-Block */
.td-confirm-wrap {
    margin: 0 0 1.25rem;
    padding: 1rem 1.1rem;
    background: rgba(108, 92, 231, 0.07);
    border: 1px solid rgba(108, 92, 231, 0.22);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.td-confirm-hint {
    font-size: .83rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}
.td-qr-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.td-qr-btn {
    flex: 1 1 140px;
}
.td-confirm-btn {
    align-self: flex-start;
}
.td-confirm-btn:disabled {
    opacity: .7;
    cursor: default;
}
.td-confirm-err {
    font-size: .83rem;
    color: #fca5a5;
    margin: 0;
}
.td-completed-banner {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.td-completed-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    font-size: .95rem;
    flex: 0 0 auto;
}
.td-completed-text {
    font-weight: 700;
    color: #4ade80;
    flex: 1;
}
.td-rate-link {
    font-size: .88rem;
    font-weight: 600;
    color: var(--violet);
    text-decoration: none;
    white-space: nowrap;
}
.td-rate-link:hover { text-decoration: underline; }

/* ── Melde-Button (statisch in HTML, report.js injiziert den Rest beim Öffnen) */
/* Sicherheitsnetz: Kernstyle immer verfügbar, auch bevor report.js open() ruft. */
.pr-report-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: transparent;
    color: var(--muted, rgba(245, 246, 250, .55));
    font-family: inherit;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.pr-report-btn:hover {
    border-color: rgba(239, 68, 68, .4);
    color: #fca5a5;
    background: rgba(239, 68, 68, .06);
}
.pr-report-btn svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

/* Konversation */
.msg-conversation { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; min-height: 0; padding: 0; }
.msg-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: var(--muted); }
.msg-empty-icon { opacity: .5; }
.msg-thread { display: flex; flex-direction: column; flex: 1 1 auto; height: 100%; min-height: 0; }
.msg-thread-head { display: flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border-bottom: 1px solid var(--border); }
.msg-thread-head .msg-avatar { width: 36px; height: 36px; }
.msg-back { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 4px; border-radius: 8px; }
.msg-back:hover { background: var(--surface-2); }
.msg-thread-peer { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); min-width: 0; }
.msg-peer-meta { display: flex; flex-direction: column; min-width: 0; }
.msg-peer-name { font-weight: 600; font-size: .95rem; }
.msg-peer-status { font-size: .76rem; color: var(--muted); }

/* Tausch-Kontext */
/* Kompakte, KLICKBARE Tausch-Kontext-Karte (öffnet tausch-detail.html) */
.msg-context { padding: .45rem .9rem; border-bottom: 1px solid var(--border); background: rgba(108,92,231,.06);
    cursor: pointer; transition: background .12s; }
.msg-context:hover { background: rgba(108,92,231,.12); }
.msg-context-row { display: flex; align-items: flex-start; gap: .6rem; }
.msg-context-side { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.msg-context-label { font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.msg-context-swap { color: var(--violet); font-size: 1rem; align-self: center; flex: 0 0 auto; }
.msg-context-thumbs { display: flex; gap: 4px; }
.msg-context-thumb { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 7px; background-size: cover;
    background-position: center; background-color: var(--surface-2); border: 1px solid var(--border); }
.msg-context-thumb--empty { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.msg-context-names { font-size: .8rem; font-weight: 600; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-context-count { display: inline-block; min-width: 15px; height: 15px; padding: 0 4px; margin-left: 3px; border-radius: 999px;
    background: var(--violet); color: #fff; font-size: .6rem; font-weight: 700; line-height: 15px; text-align: center; vertical-align: 1px; }
.msg-context-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.msg-context-qr { display: flex; flex-wrap: wrap; gap: .35rem; margin-left: auto; }
.msg-context-status { display: inline-block; font-size: .7rem; padding: 2px 8px; border-radius: 999px;
    background: var(--surface-2); color: var(--muted); }
.msg-context-status--agreed, .msg-context-status--completed { background: rgba(34,197,94,.15); color: var(--green); }
.msg-context-more { font-size: .74rem; font-weight: 600; color: var(--violet); white-space: nowrap; }

/* Nachrichten */
.msg-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 2px; }
.msg-thread-loading, .msg-thread-empty, .msg-thread-error { margin: auto; color: var(--muted); font-size: .9rem; }
.msg-day { text-align: center; margin: .75rem 0; }
.msg-day span { font-size: .72rem; color: var(--muted); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }
.msg-row { display: flex; margin-top: 2px; }
.msg-row--mine { justify-content: flex-end; }
.msg-bubble { max-width: 78%; padding: .5rem .7rem .35rem; border-radius: 14px; font-size: .9rem; line-height: 1.4; position: relative; word-wrap: break-word; }
.msg-row--theirs .msg-bubble { background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg-row--mine .msg-bubble { background: var(--violet); color: #fff; border-bottom-right-radius: 4px; }
.msg-bubble-text { white-space: pre-wrap; }
.msg-bubble-time { display: block; text-align: right; font-size: .64rem; opacity: .7; margin-top: 2px; }
.msg-bubble-img img { max-width: 240px; max-height: 240px; border-radius: 10px; display: block; margin-bottom: 4px; }
.msg-link { color: inherit; text-decoration: underline; }
.msg-row--theirs .msg-link { color: var(--violet); }

/* Composer */
.msg-composer { display: flex; align-items: center; gap: .4rem; padding: .6rem .75rem; border-top: 1px solid var(--border); position: relative; }
.msg-attach, .msg-send { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; }
.msg-attach { background: var(--surface-2); color: var(--muted); }
.msg-attach:hover { color: var(--text); }
.msg-input { flex: 1; min-width: 0; height: 42px; border-radius: 21px; border: 1px solid var(--border); background: var(--bg);
    color: var(--text); padding: 0 1rem; font-size: .92rem; font-family: inherit; }
.msg-input:focus { outline: none; border-color: var(--violet); }
.msg-send { background: var(--violet); color: #fff; }
.msg-send:disabled { opacity: .45; cursor: default; }
.msg-attach-menu { position: absolute; bottom: 56px; left: 12px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.5); padding: .4rem; display: flex; flex-direction: column; gap: 2px; z-index: 5; min-width: 220px; }
.msg-attach-soon { text-align: left; background: none; border: none; color: var(--muted); padding: .5rem .6rem; border-radius: 8px; font-family: inherit; font-size: .85rem; }
.msg-attach-opt { display: flex; align-items: center; gap: .55rem; text-align: left; width: 100%; background: none; border: none;
    color: var(--text); padding: .6rem .6rem; border-radius: 9px; font-family: inherit; font-size: .9rem; cursor: pointer; }
.msg-attach-opt:hover { background: var(--surface-2); }
.msg-attach-opt svg { color: var(--violet); flex: 0 0 auto; }
.msg-attach-hint { font-size: .74rem; color: var(--muted); padding: .4rem .6rem; }

/* Standort-Nachricht (Mini-Karte) */
.msg-loc { display: block; text-decoration: none; color: inherit; border-radius: 10px; overflow: hidden; margin-bottom: 2px; }
.msg-loc-map { display: block; width: 220px; height: 130px; background-repeat: no-repeat; background-size: 256px 256px;
    position: relative; background-color: var(--surface-2); }
.msg-loc-pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--violet); border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(108,92,231,.35); }
.msg-loc-label { display: flex; align-items: center; gap: 5px; padding: 6px 8px 2px; font-size: .82rem; font-weight: 600; }
.msg-row--theirs .msg-loc-label { color: var(--violet); }

.msg-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--violet);
    border-radius: 50%; animation: msg-spin .7s linear infinite; vertical-align: -3px; }
@keyframes msg-spin { to { transform: rotate(360deg); } }

/* Composer gesperrt: kein offener Tausch (abgeschlossen/abgesagt) */
.msg-locked { display: flex; align-items: center; gap: 8px; margin: 8px; padding: 12px 14px;
    border: 1px dashed var(--border); border-radius: 12px; background: var(--surface-2);
    color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.msg-locked svg { flex: 0 0 auto; opacity: .8; }

/* Mobil: eine Spalte, Thread schiebt über die Liste */
@media (max-width: 760px) {
    .msg-app { grid-template-columns: 1fr; height: calc(100vh - 150px); }
    .msg-conversation { display: none; }
    .msg-app--thread-open .msg-sidebar { display: none; }
    .msg-app--thread-open .msg-conversation { display: flex; }
    .msg-back { display: inline-flex; }
}

/* ===================================================================
   Web-Entdecken (entdecken.html) – Tinder-artige Swipe-Karten
   =================================================================== */
.disc-main { display: flex; flex-direction: column; align-items: center; padding: 1.25rem 1rem 2rem; }

/* ── Tab-Leiste (Entdecken / In meiner Nähe / Meine Angebote) ─────────── */
.disc-tabs {
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    margin: 0 0 0.6rem;
    padding: 0 0.15rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.disc-tab {
    flex: 1 1 0;
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.65rem 0.4rem 0.7rem;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    text-align: center;
    border-radius: 0;
    line-height: 1.1;
}
.disc-tab:hover {
    color: var(--text);
    background: rgba(108, 92, 231, 0.06);
}
.disc-tab:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: -2px;
    border-radius: 6px;
}
.disc-tab.is-active {
    color: var(--text);
    border-bottom-color: var(--violet);
    box-shadow: 0 1px 0 0 var(--violet);
}
.disc-tab-label {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Sticky Top-Kategorie-Pills (eigene Leiste unter dem Header, nicht
   die globale Header-Catbar). Horizontal scrollbar auf Mobile, auf
   Desktop zentriert. */
.disc-pills {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0 0 0.9rem;
    padding: 0.55rem 0.25rem;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.96), rgba(10, 14, 26, 0.86));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.disc-pills::-webkit-scrollbar { display: none; }

.disc-pill {
    flex: 0 0 auto;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.disc-pill:hover {
    background: var(--surface-2);
    border-color: rgba(255, 255, 255, 0.18);
}
.disc-pill:active { transform: scale(0.96); }
.disc-pill:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}
.disc-pill.is-active {
    background: var(--violet);
    color: #fff;
    border-color: var(--violet);
    box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
}
.disc-pill--svc {
    border-style: dashed;
}
.disc-app { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; }
.disc-head { text-align: center; margin-bottom: 1rem; }
.disc-title { font-size: 1.4rem; margin: 0; }
.disc-sub { font-size: .82rem; color: var(--muted); margin: .25rem 0 0; }

.disc-stage { position: relative; width: 100%; height: 540px; max-height: 70vh; }
.disc-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); }
.disc-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .6rem; text-align: center; padding: 2rem; }
.disc-empty-icon { color: var(--green); opacity: .8; }
.disc-empty .btn { margin-top: .75rem; }

.disc-deck { position: absolute; inset: 0; }
.disc-card { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; background: var(--surface);
    border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(0,0,0,.5); will-change: transform; user-select: none; }
.disc-card--top { cursor: grab; touch-action: none; }
.disc-card--top:active { cursor: grabbing; }
.disc-card-photo { position: absolute; inset: 0; }
.disc-card-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.disc-card-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); background: var(--surface-2); }
.disc-card-grad { position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
    background: linear-gradient(to top, rgba(8,10,18,.92), rgba(8,10,18,.55) 45%, transparent); }
.disc-card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem 1.3rem; color: #fff; }
.disc-card-title { font-size: 1.5rem; margin: 0 0 .25rem; line-height: 1.15; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.disc-card-meta { font-size: .88rem; margin: 0; opacity: .95; }
.disc-card-owner { font-size: .8rem; margin: .35rem 0 0; opacity: .8; }

.disc-stamp { position: absolute; top: 26px; padding: .35rem .9rem; border-radius: 10px; border: 3px solid; font-weight: 800;
    font-size: 1.4rem; letter-spacing: .04em; opacity: 0; pointer-events: none; }
.disc-stamp--like { left: 22px; transform: rotate(-16deg); color: var(--green); border-color: var(--green); }
.disc-stamp--nope { right: 22px; transform: rotate(16deg); color: var(--red); border-color: var(--red); }

.disc-actions { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.25rem; }
.disc-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border);
    background: var(--surface); cursor: pointer; transition: transform .12s, background .15s; }
.disc-btn:hover { transform: translateY(-2px); }
.disc-btn:active { transform: scale(.92); }
.disc-btn--nope { width: 60px; height: 60px; color: var(--red); }
.disc-btn--info { width: 46px; height: 46px; color: var(--muted); }
.disc-btn--like { width: 60px; height: 60px; color: var(--green); }
.disc-btn--nope:hover { background: rgba(239,68,68,.12); }
.disc-btn--like:hover { background: rgba(34,197,94,.12); }

/* ── „Weitere Angebote von …"-Strip (OwnerOtherItemsStrip) ───────────── */
.disc-owner-strip {
    width: 100%;
    max-width: 420px;
    margin: 0.9rem 0 0.5rem;
    padding: 0.6rem 0 0.7rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(20, 26, 42, 0.4);
    position: relative;
}
.disc-owner-strip-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 0.25rem 0.5rem;
}
.disc-owner-strip-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
}
.disc-owner-strip-count {
    font-size: 0.72rem;
    color: var(--muted);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 999px;
}
.disc-owner-strip-track {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 0.1rem 0.4rem 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 92, 231, 0.55) transparent;
}
.disc-owner-strip-track::-webkit-scrollbar { height: 5px; }
.disc-owner-strip-track::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 999px; margin: 0 8px; }
.disc-owner-strip-track::-webkit-scrollbar-thumb { background: rgba(108, 92, 231, 0.5); border-radius: 999px; }
.disc-owner-strip-track::-webkit-scrollbar-thumb:hover { background: var(--violet); }

.disc-owner-tile {
    flex: 0 0 auto;
    width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
    text-align: center;
}
.disc-owner-tile:hover {
    border-color: var(--violet);
    box-shadow: 0 6px 16px rgba(108, 92, 231, 0.2);
    transform: translateY(-1px);
}
.disc-owner-tile:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}
.disc-owner-tile.is-current {
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green) inset, 0 4px 14px rgba(34, 197, 94, 0.2);
}
.disc-owner-tile-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: var(--surface-2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border);
    flex: 0 0 auto;
}
.disc-owner-tile-img--ph {
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.7rem;
}
.disc-owner-tile-name {
    font-size: 0.7rem;
    color: var(--text);
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.disc-owner-tile-meta {
    font-size: 0.62rem;
    color: var(--muted);
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.disc-owner-strip-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.disc-owner-strip-arrow:hover {
    background: var(--surface-2);
    border-color: var(--violet);
    color: var(--violet);
}
.disc-owner-strip-arrow:active { transform: translateY(-50%) scale(0.94); }
.disc-owner-strip-arrow:disabled,
.disc-owner-strip-arrow[hidden] { display: none; }
.disc-owner-strip-arrow--left { left: -10px; }
.disc-owner-strip-arrow--right { right: -10px; }

/* ── „Meine Angebote"-Bar (MeineAngeboteBar) – sticky unten ───────────── */
.disc-my-bar {
    position: sticky;
    bottom: 12px;
    margin: 1rem 0 0.25rem;
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, rgba(20, 26, 42, 0.92), rgba(20, 26, 42, 0.86));
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
    z-index: 30;
    transition: max-height 0.25s ease;
}
.disc-my-bar.is-collapsed .disc-my-bar-body { display: none; }
.disc-my-bar.is-collapsed .disc-my-bar-chev { transform: rotate(-90deg); }
.disc-my-bar-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    background: transparent;
    border: 0;
    color: var(--text);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}
.disc-my-bar-head:hover { background: rgba(108, 92, 231, 0.08); }
.disc-my-bar-head:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: -2px;
}
.disc-my-bar-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
}
.disc-my-bar-limit {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}
.disc-my-bar-limit.is-near-limit {
    color: #fff;
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
}
.disc-my-bar-limit.is-full {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}
.disc-my-bar-chev {
    color: var(--muted);
    transition: transform 0.2s ease;
    flex: 0 0 auto;
}
.disc-my-bar-body {
    padding: 0 0.5rem 0.65rem;
}
.disc-my-bar-track {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.1rem 0.25rem 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 92, 231, 0.55) transparent;
}
.disc-my-bar-track::-webkit-scrollbar { height: 5px; }
.disc-my-bar-track::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 999px; margin: 0 8px; }
.disc-my-bar-track::-webkit-scrollbar-thumb { background: rgba(108, 92, 231, 0.5); border-radius: 999px; }
.disc-my-bar-track::-webkit-scrollbar-thumb:hover { background: var(--violet); }
.disc-my-tile {
    flex: 0 0 auto;
    width: 84px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
    overflow: hidden;
}
.disc-my-tile:hover {
    border-color: var(--violet);
    box-shadow: 0 6px 16px rgba(108, 92, 231, 0.2);
    transform: translateY(-1px);
}
.disc-my-tile:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}
.disc-my-tile-img {
    width: 100%;
    height: 60px;
    background: var(--surface-2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}
.disc-my-tile-img--ph {
    background: var(--surface-2);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.disc-my-tile-name {
    font-size: 0.68rem;
    line-height: 1.15;
    color: var(--text);
    padding: 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.disc-my-tile-meta {
    font-size: 0.6rem;
    color: var(--muted);
    padding: 0 6px 6px;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.disc-my-bar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 0.5rem 0.25rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}
.disc-my-bar-cta {
    display: inline-block;
    padding: 0.42rem 0.95rem;
    background: var(--violet);
    color: #fff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.12s ease;
}
.disc-my-bar-cta:hover { background: var(--violet-600); }
.disc-my-bar-cta:active { transform: scale(0.96); }

/* Match-Overlay */
.disc-match { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
    background: rgba(8,10,20,.82); backdrop-filter: blur(4px); padding: 1rem; }
.disc-match-card { max-width: 380px; text-align: center; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2.25rem 1.75rem; }
.disc-match-emoji { font-size: 2.6rem; }
.disc-match-title { font-size: 1.6rem; margin: .25rem 0 .5rem; background: linear-gradient(90deg, var(--violet), var(--green));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.disc-match-text { color: var(--muted); margin: 0 0 1.5rem; }
.disc-match-actions { display: flex; flex-direction: column; gap: .6rem; }

/* ── Drag&Drop: My-Bar-Tile → Deck ─────────────────────────────────────
   Visuelles Feedback, während der User ein eigenes Angebot auf das
   Top-Card-Deck zieht, um einen Tausch einzuleiten. Vanilla HTML5 DnD
   + Pointer-Events für Touch, kein zusätzliches Polyfill.
*/
.disc-my-tile {
    cursor: grab;
    touch-action: pan-y;
}
.disc-my-tile.is-dragging {
    opacity: 0.55;
    transform: scale(0.95);
    cursor: grabbing;
    box-shadow: 0 8px 22px rgba(108, 92, 231, 0.35);
}
.disc-my-tile.is-source {
    /* Quelle: Tile, das gerade gezogen wird (HTML5 DnD) */
    opacity: 0.4;
    transform: scale(0.94);
}

.disc-deck.is-drop-target {
    box-shadow: 0 0 0 2px var(--violet), 0 0 28px rgba(108, 92, 231, 0.55);
    border-radius: 22px;
    transition: box-shadow 0.18s ease;
}
.disc-deck.is-drop-target .disc-card--top .disc-stamp--like {
    opacity: 0.85 !important;
}

.disc-drag-ghost {
    position: fixed;
    top: 0;
    left: 0;
    width: 110px;
    z-index: 1500;
    pointer-events: none;
    background: var(--surface);
    border: 1px solid var(--violet);
    border-radius: 12px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(108, 92, 231, 0.18);
    overflow: hidden;
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 0;
    transition: opacity 0.12s ease;
}
.disc-drag-ghost.is-active { opacity: 1; }
.disc-drag-ghost-img {
    width: 100%;
    height: 70px;
    background: var(--surface-2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}
.disc-drag-ghost-img--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.65rem;
}
.disc-drag-ghost-title {
    font-size: 0.68rem;
    color: var(--text);
    padding: 5px 7px;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Trade-Compose-Modal (Bottom-Sheet) ─────────────────────────────────
   Wird geöffnet, wenn der User ein eigenes Tile auf die Top-Card droppt.
   Bestätigt per "Tausch anbieten" → erzeugt eine Swipe-Rechts-Geste und
   schreibt einen Direkt-Tausch-Vorschlag (Chat wird vom detect_match-
   Trigger angelegt, sobald das Gegenüber ebenfalls swipe-t).
*/
.disc-trade-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(8, 10, 20, 0.78);
    backdrop-filter: blur(4px);
    padding: 1rem;
}
.disc-trade-sheet {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px 22px 16px 16px;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.5);
    padding: 1.25rem 1.25rem 1.5rem;
    animation: discTradeSlide 0.22s ease;
}
@keyframes discTradeSlide {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.disc-trade-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.disc-trade-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}
.disc-trade-close {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.disc-trade-close:hover { color: var(--text); border-color: var(--violet); }
.disc-trade-swap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.disc-trade-side {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}
.disc-trade-side-img {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--surface-2);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
}
.disc-trade-side-img--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.6rem;
}
.disc-trade-side-meta {
    min-width: 0;
}
.disc-trade-side-label {
    font-size: 0.68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.disc-trade-side-title {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}
.disc-trade-icon {
    font-size: 1.3rem;
    color: var(--violet);
    font-weight: 700;
}
.disc-trade-note {
    margin: 0.85rem 0 0.6rem;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.45;
}
.disc-trade-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.disc-trade-confirm {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--violet);
    color: #fff;
    border: 0;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s;
}
.disc-trade-confirm:hover { background: var(--violet-600); }
.disc-trade-confirm:active { transform: scale(0.97); }
.disc-trade-cancel {
    width: 100%;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}
.disc-trade-cancel:hover { color: var(--text); border-color: var(--violet); }

@media (max-width: 480px) {
    .disc-stage { height: 64vh; }
    .disc-card-title { font-size: 1.3rem; }
    .disc-drag-ghost { width: 96px; }
    .disc-trade-sheet { border-radius: 18px 18px 12px 12px; padding: 1rem 1rem 1.25rem; }
    .disc-trade-side-title { max-width: 110px; }
}

/* „Entdecken in dieser Kategorie"-Button (Katalog) */
.catalog-discover-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.9rem;
    margin-right: 0.6rem;
    border-radius: 999px;
    background: var(--violet);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: background 0.15s, transform 0.12s;
}
.catalog-discover-btn:hover { background: var(--violet-600); transform: translateY(-1px); }
.catalog-discover-btn svg { flex: 0 0 auto; }
.disc-clearcat { color: var(--violet); text-decoration: underline; }

/* ===================================================================
   Benachrichtigungen (benachrichtigungen.html)
   =================================================================== */
.notify-main { max-width: 760px; padding: 1.25rem 1rem 3rem; }
.notify-head { margin-bottom: 1.25rem; }
.notify-title { font-size: 1.5rem; margin: 0; }
.notify-sub { color: var(--muted); margin: .25rem 0 0; font-size: .9rem; }
.notify-loading { display: flex; align-items: center; gap: .5rem; color: var(--muted); padding: 2rem 0; }
.notify-section { margin-bottom: 1.75rem; padding: 0; }
.td-section { padding: 0; }
.notify-section-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 .6rem; }
.notify-list { display: flex; flex-direction: column; gap: .6rem; }

.notify-card { display: flex; align-items: center; gap: .85rem; background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; padding: .85rem 1rem; }
.notify-avatar { width: 46px; height: 46px; flex: 0 0 auto; }
.notify-body { flex: 1; min-width: 0; }
.notify-card-top { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.notify-name { font-weight: 600; font-size: .95rem; }
.notify-time { font-size: .74rem; color: var(--muted); flex: 0 0 auto; }
.notify-trade { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; flex-wrap: wrap; }
.notify-item { font-size: .85rem; background: var(--surface-2); padding: 2px 9px; border-radius: 8px; max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notify-item--mine { background: rgba(108,92,231,.16); color: #c9c2f7; }
.notify-swap { color: var(--violet); font-size: 1.05rem; flex: 0 0 auto; }
.notify-status { display: inline-block; margin-top: .45rem; font-size: .7rem; padding: 2px 8px; border-radius: 999px; }
.notify-status--agreed { background: rgba(34,197,94,.16); color: var(--green); }
.notify-action { flex: 0 0 auto; padding: .5rem 1rem; font-size: .85rem; }
.notify-card--interest .notify-interest-icon { width: 46px; height: 46px; flex: 0 0 auto; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; background: var(--surface-2); color: var(--red); }
.notify-interest-item { display: block; font-size: .82rem; color: var(--muted); margin-top: 1px; }

.notify-empty { text-align: center; padding: 3rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.notify-empty-icon { color: var(--muted); opacity: .5; }
.notify-empty .btn { margin-top: .75rem; }

@media (max-width: 560px) {
    .notify-action { padding: .45rem .7rem; }
    .notify-card { gap: .6rem; padding: .7rem .8rem; }
}

/* ===================================================================
   Bewertungen – Profil-Karten (profil.html) + Messenger-Bewertungsbutton
   =================================================================== */

/* Lade-Indikator im Reviews-Panel */
.rev-loading {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 2.5rem 1rem;
    color: var(--muted);
    font-size: .9rem;
}

/* Bewertungsliste */
.rev-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Einzelne Bewertungs-Karte */
.rev-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
}

.rev-card-head {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    margin-bottom: .7rem;
}

.rev-card-avatar-wrap {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--violet);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rev-card-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
}

.rev-card-avatar-initial {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.rev-card-meta {
    flex: 1;
    min-width: 0;
}

.rev-card-handle {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: var(--violet);
    text-decoration: none;
    margin-bottom: .25rem;
}
.rev-card-handle:hover { text-decoration: underline; }

.rev-card-stars {
    display: flex;
    gap: 2px;
}

.rev-card-date {
    font-size: .75rem;
    color: var(--muted);
    flex: 0 0 auto;
    white-space: nowrap;
}

/* "Getauscht: X ↔ Y" */
.rev-card-trade {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .3rem;
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .65rem;
}

.rev-card-trade-item {
    background: var(--surface-2);
    border-radius: 6px;
    padding: 1px 7px;
    color: var(--text);
    font-weight: 500;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.rev-card-trade-arrow {
    color: var(--green);
    font-weight: 700;
}

/* Detail-Sterne-Raster */
.rev-card-details {
    background: var(--surface-2);
    border-radius: 10px;
    padding: .55rem .75rem;
    margin-bottom: .7rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.rev-card-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .2rem 0;
}

.rev-card-detail-label {
    font-size: .8rem;
    color: var(--muted);
}

.rev-card-detail-stars {
    display: flex;
    gap: 1px;
}

/* Kommentar */
.rev-card-comment {
    font-size: .9rem;
    color: var(--text);
    margin: 0 0 .7rem;
    line-height: 1.5;
}

/* Antwort des Bewerteten */
.rev-card-reply {
    border-left: 2px solid var(--violet);
    padding-left: .75rem;
    margin-top: .65rem;
    background: rgba(108,92,231,.06);
    border-radius: 0 8px 8px 0;
    padding: .55rem .75rem .55rem .75rem;
}

.rev-card-reply-head {
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.rev-card-reply-body {
    font-size: .875rem;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

/* Antwort-Formular (eigenes Profil) */
.rev-card-reply-form {
    margin-top: .75rem;
}

.rev-reply-toggle {
    font-size: .82rem;
    padding: .35rem .75rem;
}

.rev-reply-inline {
    margin-top: .5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.rev-reply-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: .6rem .8rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: .875rem;
    font-family: inherit;
    resize: vertical;
    min-height: 70px;
}
.rev-reply-textarea:focus { outline: none; border-color: var(--violet); }

.rev-reply-actions {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
}

.rev-reply-msg {
    font-size: .8rem;
    padding: .4rem .6rem;
    border-radius: 7px;
}
.rev-reply-msg--err { background: rgba(239,68,68,.12); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.rev-reply-msg--ok  { background: rgba(34,197,94,.12);  color: #86efac; border: 1px solid rgba(34,197,94,.3); }

/* ── Messenger: Bewertungsbereich ── */
.msg-review-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 8px;
    padding: 10px 14px;
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.28);
    border-radius: 12px;
}

.msg-review-bar-text {
    font-size: .875rem;
    color: var(--muted);
    flex: 1;
    min-width: 0;
}

.msg-review-btn {
    flex: 0 0 auto;
    font-size: .85rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: var(--green);
    color: #0A0E1A;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
}
.msg-review-btn:hover { opacity: .88; }
.msg-review-btn:disabled { opacity: .55; cursor: default; }

.msg-review-done {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--green);
}

/* small button variant */
.btn-sm {
    font-size: .82rem;
    padding: .35rem .8rem;
    border-radius: 8px;
}

@media (max-width: 560px) {
    .rev-card { padding: .9rem 1rem; }
    .rev-card-trade-item { max-width: 120px; }
    .msg-review-bar { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* ── Credits-Seite (credits.html) ────────────────────────────────────────── */
.cr-main {
    max-width: 820px;
    padding: 1.5rem 1rem 4rem;
}

/* Saldo-Hero */
.cr-hero {
    background: linear-gradient(135deg, rgba(108,92,231,.18) 0%, rgba(108,92,231,.06) 100%);
    border: 1px solid rgba(108,92,231,.3);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 2rem;
}
.cr-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.cr-hero-icon {
    color: #a89cf7;
    flex: 0 0 auto;
    margin-top: .15rem;
}
.cr-hero-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #a89cf7;
    margin-bottom: .3rem;
}
.cr-hero-balance {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    line-height: 1;
}
.cr-hero-balance #cr-balance {
    font-size: 2.75rem;
    font-weight: 800;
    color: #e8e4ff;
    letter-spacing: -.03em;
}
.cr-hero-unit {
    font-size: 1rem;
    color: #a89cf7;
    font-weight: 600;
}
.cr-hero-hint {
    font-size: .78rem;
    color: var(--muted);
    margin: .7rem 0 0;
    max-width: 480px;
    line-height: 1.5;
}
.cr-balance-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(108,92,231,.22);
}
.cr-balance-stat {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 4.5rem;
}
.cr-balance-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #d4cff9;
    letter-spacing: -.02em;
}
.cr-balance-stat--highlight .cr-balance-stat-value {
    color: #e8e4ff;
}
.cr-balance-stat-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #a89cf7;
}
.cr-reservations {
    margin-bottom: 2rem;
}
.cr-reservations-hint {
    margin: 0 0 .85rem;
}
.cr-reservations-head {
    margin-top: .5rem;
}
.cr-reservation-row .cr-row-delta {
    font-weight: 700;
}

/* Verlauf-Sektion */
.cr-section { padding: 0; }
.cr-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}
.cr-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}
.cr-filter-count {
    font-size: .78rem;
    color: var(--muted);
}

/* Filter-Leiste */
.cr-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .85rem;
    align-items: center;
}
.cr-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 220px;
    min-width: 160px;
}
.cr-search-icon {
    position: absolute;
    left: .65rem;
    color: var(--muted);
    pointer-events: none;
}
.cr-search-input {
    width: 100%;
    padding: .55rem .65rem .55rem 2.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: .88rem;
    font-family: inherit;
    outline: none;
}
.cr-search-input:focus { border-color: var(--violet); }
.cr-search-clear {
    position: absolute;
    right: .5rem;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: .2rem;
    display: flex;
    align-items: center;
}
.cr-search-clear:hover { color: var(--text); }
.cr-select {
    padding: .52rem .7rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: .88rem;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    flex: 0 1 auto;
}
.cr-select:focus { border-color: var(--violet); }

/* Tabellen-Kopf */
.cr-table-head {
    display: grid;
    grid-template-columns: 10rem 1fr 1fr 5.5rem;
    gap: .5rem 1rem;
    padding: .35rem .9rem;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    margin-bottom: .4rem;
}
.cr-col-right { text-align: right; }

/* Verlauf-Zeilen */
.cr-list {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.cr-row {
    display: grid;
    grid-template-columns: 10rem 1fr 1fr 5.5rem;
    gap: .5rem 1rem;
    align-items: center;
    padding: .65rem .9rem;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: .88rem;
    transition: background .12s;
}
.cr-row:hover { background: var(--surface-2); }
.cr-row-date {
    color: var(--muted);
    font-size: .78rem;
    white-space: nowrap;
}
.cr-row-source { font-weight: 500; }
.cr-row-note {
    color: var(--muted);
    font-size: .82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cr-row-note--empty { }
.cr-row-delta {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: .92rem;
    white-space: nowrap;
}
.cr-delta--pos { color: #4ade80; }
.cr-delta--neg { color: #f87171; }

/* Fehler-Banner */
.cr-error {
    background: rgba(239,68,68,.1);
    border: 1px solid rgba(239,68,68,.25);
    color: #fca5a5;
    border-radius: 10px;
    padding: .75rem 1rem;
    font-size: .88rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .cr-table-head { display: none; }
    .cr-row {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }
    .cr-row-date { grid-column: 1; grid-row: 1; }
    .cr-row-delta { grid-column: 2; grid-row: 1; }
    .cr-row-source { grid-column: 1 / -1; grid-row: 2; }
    .cr-row-note { grid-column: 1 / -1; grid-row: 3; font-size: .78rem; }
    .cr-hero-balance #cr-balance { font-size: 2rem; }
    .cr-filters { flex-direction: column; align-items: stretch; }
    .cr-search-wrap { flex: 1 1 auto; }
}

/* ===== Credits kaufen – Pakete (C) ===== */
.cr-buy-section {
    margin-bottom: 2rem;
}
.cr-buy-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}
.cr-buy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.cr-pkg-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    text-align: center;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cr-pkg-card:hover {
    border-color: var(--violet);
    box-shadow: 0 8px 28px rgba(108,92,231,.18);
    transform: translateY(-2px);
}
.cr-pkg-card--best {
    border-color: var(--violet);
    background: linear-gradient(160deg, rgba(108,92,231,.14) 0%, rgba(108,92,231,.04) 100%);
}
.cr-pkg-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--violet);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.cr-pkg-icon {
    font-size: 1.6rem;
    line-height: 1;
}
.cr-pkg-credits {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e8e4ff;
    letter-spacing: -.02em;
    line-height: 1;
}
.cr-pkg-unit {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: -.2rem;
}
.cr-pkg-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}
.cr-pkg-btn {
    width: 100%;
    padding: .55rem .75rem;
    font-size: .875rem;
    background: var(--violet);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
    margin-top: .25rem;
}
.cr-pkg-btn:hover {
    background: var(--violet-600);
    box-shadow: 0 4px 14px rgba(108,92,231,.35);
}
@media (max-width: 560px) {
    .cr-buy-grid { grid-template-columns: 1fr; }
}

/* ===== Credits-Kauf-Modal ===== */
.cr-buy-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.cr-buy-modal[hidden] { display: none !important; }
.cr-buy-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
}
.cr-buy-modal-dialog {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.cr-buy-modal-close {
    position: absolute;
    top: .875rem;
    right: .875rem;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: .25rem .35rem;
    border-radius: 6px;
    transition: color .12s ease;
}
.cr-buy-modal-close:hover { color: var(--text); }
.cr-buy-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(108,92,231,.16);
    border: 1px solid rgba(108,92,231,.3);
    display: grid;
    place-items: center;
    color: #a89cf7;
    margin: 0 auto 1rem;
}
.cr-buy-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 .6rem;
}
.cr-buy-modal-sub {
    color: var(--muted);
    font-size: .88rem;
    text-align: center;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}
.cr-buy-modal-hint {
    font-size: .78rem;
    color: var(--muted);
    text-align: center;
    margin: 1rem 0 0;
    line-height: 1.5;
    border-top: 1px solid var(--border);
    padding-top: .875rem;
}
.cr-buy-modal-close-btn {
    width: 100%;
    padding: .65rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease;
}
.cr-buy-modal-close-btn:hover { border-color: var(--violet); }

/* ===== Ledger-Pagination (D) ===== */
.cr-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 0 .25rem;
    flex-wrap: wrap;
}
.cr-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .65rem;
    border-radius: 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .12s ease, background .12s ease;
}
.cr-page-btn:hover:not(:disabled) {
    border-color: var(--violet);
    background: rgba(108,92,231,.1);
}
.cr-page-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.cr-page-btn.is-active {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
    font-weight: 700;
}
.cr-page-info {
    font-size: .8rem;
    color: var(--muted);
    padding: 0 .25rem;
}

/* ===== Über-uns-Seite (about) – Editorial-Stil ===== */

/* Hero – override the global section{padding:clamp(4rem,10vw,7rem) 0} */
.about-hero {
    position: relative;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    /* Team-Foto (junges Permutis-Team) mit dunklem Overlay → Text bleibt lesbar */
    background:
        linear-gradient(180deg, rgba(10, 14, 26, 0.82) 0%, rgba(10, 14, 26, 0.62) 50%, rgba(10, 14, 26, 0.92) 100%),
        url('assets/about-hero.jpg') center / cover no-repeat;
    border-bottom: 1px solid var(--border);
}

.about-hero-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 1.25rem;
}

.about-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 auto 1.25rem;
    max-width: 780px;
}

.about-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.86);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
    text-shadow: 0 1px 12px rgba(10, 14, 26, 0.6);
}

/* Article body */
.about-article {
    max-width: 740px;
    margin: 0 auto;
    padding: clamp(1.75rem, 3.5vw, 2.5rem) 1.5rem clamp(2rem, 4vw, 3rem);
}

/* override global section{padding:clamp(4rem,10vw,7rem) 0} */
.about-section {
    padding: 0;
    margin-bottom: 2rem;
}

.about-section h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem;
    text-align: left;
    letter-spacing: -0.01em;
}

.about-section p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 1rem;
}

.about-section p strong {
    color: var(--text);
    font-weight: 600;
}

/* Founder photo block */
.about-founder-block {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.about-founder-photo-wrap {
    flex: 0 0 auto;
}

.about-founder-photo {
    width: 160px;
    height: 160px;
    border-radius: 18px;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    display: block;
}

.about-founder-caption {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.4;
    max-width: 160px;
}

.about-founder-text {
    flex: 1 1 0;
}

.about-founder-text p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* Pull-quote */
.about-pull-quote {
    margin: 1.75rem 0;
    padding: 1.5rem 2rem;
    background: rgba(108, 92, 231, 0.07);
    border-left: 4px solid var(--violet);
    border-radius: 0 14px 14px 0;
    position: relative;
}

.about-pull-quote::before {
    content: '\201C';
    position: absolute;
    top: -0.25rem;
    left: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--violet);
    opacity: 0.4;
    font-family: Georgia, 'Times New Roman', serif;
    pointer-events: none;
}

.about-pull-quote blockquote {
    margin: 0;
    padding: 0;
}

.about-pull-quote blockquote p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-style: italic;
    color: var(--text);
    line-height: 1.65;
    margin: 0;
    padding-left: 1.25rem;
}

/* CTA row at bottom – override global section padding */
.about-cta {
    text-align: center;
    padding: clamp(1.75rem, 3.5vw, 2.5rem) 1.5rem;
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
    border-top: 1px solid var(--border);
}

.about-cta p {
    color: var(--muted);
    font-size: 1rem;
    margin: 0 0 1.5rem;
}

.about-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 600px) {
    .about-founder-block {
        flex-direction: column;
        align-items: center;
    }

    .about-founder-photo-wrap {
        text-align: center;
    }

    .about-pull-quote {
        padding: 1.5rem 1.25rem 1.5rem 1.5rem;
    }

    .about-pull-quote::before {
        left: 0.875rem;
    }

    .about-pull-quote blockquote p {
        padding-left: 0.75rem;
    }
}

/* ===== Globaler Toast (#pa-toast) ===== */
.pa-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(2rem);
    z-index: 9999;
    max-width: min(420px, calc(100vw - 2rem));
    padding: .75rem 1.25rem;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}
.pa-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.pa-toast--ok {
    background: rgba(34,197,94,.18);
    border: 1px solid rgba(34,197,94,.4);
    color: #86efac;
}
.pa-toast--err {
    background: rgba(239,68,68,.18);
    border: 1px solid rgba(239,68,68,.4);
    color: #fca5a5;
}
.pa-toast--info {
    background: rgba(108,92,231,.18);
    border: 1px solid rgba(108,92,231,.4);
    color: #c4b5fd;
}

/* ===== Credits-Paket: pro-Credit-Label + Skeleton ===== */
.cr-pkg-per-credit {
    font-size: .72rem;
    color: var(--muted);
    margin-top: -.1rem;
    margin-bottom: .1rem;
}
.cr-pkg-skeleton {
    height: 180px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
}
@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.cr-buy-platform-note {
    margin-top: .75rem;
}
/* Fehler-Box in Paket-Bereich */
#cr-pkg-error {
    padding: .6rem .85rem;
    border-radius: 8px;
    background: rgba(239,68,68,.08);
    border: 1px solid rgba(239,68,68,.2);
    color: #fca5a5;
    font-size: .85rem;
    margin-top: .5rem;
}
/* Modal-Icon Warn-Farbe */
.cr-buy-modal-icon--warn {
    color: #fbbf24;
}

/* ===== Founders Club Detailseite ===== */
.founders-page {
    background: #070b14;
    color: #eef4ff;
}
.fc-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(7, 11, 20, .82);
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    backdrop-filter: blur(18px);
}
.fc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}
.fc-brand img {
    border-radius: 9px;
}
.fc-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.fc-nav-links a {
    color: #b8c3d8;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}
.fc-nav-links a:hover {
    color: #fff;
}
.fc-container {
    width: min(1140px, calc(100% - 36px));
    margin: 0 auto;
}
.fc-hero {
    position: relative;
    overflow: hidden;
    min-height: min(860px, calc(100vh - 62px));
    display: grid;
    align-items: start;
    padding: clamp(54px, 7vh, 86px) 0 64px;
}
.fc-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 24%, rgba(34,197,94,.18), transparent 28%),
        radial-gradient(circle at 18% 20%, rgba(108,92,231,.38), transparent 32%),
        linear-gradient(160deg, #070b14 0%, #0d1324 52%, #06120d 100%);
}
.fc-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.fc-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 420px;
    gap: 54px;
    align-items: center;
}
.fc-limited {
    display: inline-flex;
    margin: 0 0 18px;
    color: #86efac;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.fc-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 6.9rem);
    line-height: .9;
    letter-spacing: 0;
}
.fc-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: #cbd5e1;
    font-size: clamp(1.04rem, 1.6vw, 1.25rem);
    line-height: 1.65;
}
.fc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 0;
}
.fc-primary,
.fc-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 900;
    text-decoration: none;
}
.fc-primary {
    background: #22c55e;
    color: #04130a;
    box-shadow: 0 14px 34px rgba(34,197,94,.24);
}
.fc-secondary {
    border: 1px solid rgba(203,213,225,.24);
    color: #e2e8f0;
    background: rgba(15,23,42,.52);
}
.fc-legal-inline {
    max-width: 660px;
    margin: 18px 0 0;
    color: #94a3b8;
    font-size: .86rem;
    line-height: 1.6;
}
.fc-offer-card {
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 24px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(15,23,42,.82), rgba(10,14,26,.72));
    box-shadow: 0 30px 90px rgba(0,0,0,.36);
}
.fc-offer-card img {
    display: block;
    width: 100%;
    max-width: 270px;
    height: auto;
    margin: 0 auto 18px;
    border-radius: 18px;
}
.fc-price-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    padding: 18px 0;
    border-top: 1px solid rgba(148,163,184,.16);
    border-bottom: 1px solid rgba(148,163,184,.16);
}
.fc-price-row span {
    color: #94a3b8;
    font-weight: 800;
}
.fc-price-row strong {
    color: #86efac;
    font-size: 2.2rem;
    line-height: 1;
}
.fc-offer-card ul,
.fc-check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 12px;
}
.fc-offer-card li,
.fc-check-list li {
    position: relative;
    padding-left: 28px;
    color: #dbe7ff;
    line-height: 1.45;
}
.fc-offer-card li::before,
.fc-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,.12);
}
.fc-section {
    padding: 86px 0;
}
.fc-section-head {
    max-width: 720px;
    margin-bottom: 34px;
}
.fc-section h2,
.fc-final h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: 0;
}
.fc-section-head p,
.fc-rule-grid p,
.fc-limit-grid p,
.fc-final p,
.fc-faq p {
    color: #aebbd2;
    line-height: 1.7;
}
.fc-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.fc-benefit-grid article {
    min-height: 250px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(15,23,42,.7);
    border: 1px solid rgba(148,163,184,.14);
}
.fc-benefit-grid span {
    color: #22c55e;
    font-weight: 900;
}
.fc-benefit-grid h3 {
    margin: 16px 0 10px;
    font-size: 1.12rem;
}
.fc-benefit-grid p {
    margin: 0;
    color: #aebbd2;
    line-height: 1.6;
}
.fc-band {
    background: linear-gradient(90deg, rgba(108,92,231,.14), rgba(34,197,94,.08));
    border-top: 1px solid rgba(148,163,184,.12);
    border-bottom: 1px solid rgba(148,163,184,.12);
}
.fc-rule-grid,
.fc-limit-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 48px;
    align-items: center;
}
.fc-credit-demo {
    padding: 24px;
    border-radius: 20px;
    background: #08111f;
    border: 1px solid rgba(134,239,172,.22);
}
.fc-credit-demo div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(148,163,184,.13);
}
.fc-credit-demo span {
    color: #94a3b8;
    font-weight: 800;
}
.fc-credit-demo strong {
    font-size: 1.5rem;
    color: #fff;
}
.fc-credit-demo .fc-credit-total strong {
    color: #86efac;
}
.fc-credit-demo p {
    margin: 16px 0 0;
    font-size: .9rem;
}
.fc-certificate {
    min-height: 300px;
    display: grid;
    align-content: center;
    padding: 32px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(108,92,231,.28), rgba(34,197,94,.16)),
        #0c1220;
    border: 1px solid rgba(167,139,250,.34);
}
.fc-certificate p {
    margin: 0 0 12px;
    color: #c4b5fd;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.fc-certificate strong {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}
.fc-certificate span {
    margin-top: 18px;
    color: #cbd5e1;
}
.fc-faq details {
    border-top: 1px solid rgba(148,163,184,.18);
    padding: 20px 0;
}
.fc-faq details:last-child {
    border-bottom: 1px solid rgba(148,163,184,.18);
}
.fc-faq summary {
    cursor: pointer;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 900;
}
.fc-final {
    padding: 88px 0 110px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(34,197,94,.2), transparent 34%);
}
.fc-final p {
    max-width: 660px;
    margin: 18px auto 28px;
}
.hero-founder-badge {
    text-decoration: none;
}
@media (max-width: 980px) {
    .fc-hero-grid,
    .fc-rule-grid,
    .fc-limit-grid {
        grid-template-columns: 1fr;
    }
    .fc-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fc-offer-card {
        max-width: 520px;
    }
}
@media (max-width: 640px) {
    .fc-nav {
        align-items: flex-start;
        flex-direction: column;
    }
    .fc-nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }
    .fc-hero {
        min-height: auto;
        padding-top: 48px;
    }
    .fc-hero h1 {
        font-size: clamp(2.8rem, 17vw, 4.4rem);
    }
    .fc-benefit-grid {
        grid-template-columns: 1fr;
    }
    .fc-price-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Founders Club concept fidelity overrides */
.fc-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    background: #22c55e;
    color: #04130a;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(34,197,94,.22);
}
.fc-language {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(148,163,184,.24);
    border-radius: 10px;
    background: rgba(15,23,42,.72);
    color: #e2e8f0;
    font-weight: 900;
}
.fc-hero h1 span {
    display: block;
    color: #86efac;
}
.fc-analogy {
    max-width: 690px;
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px solid rgba(134,239,172,.24);
    border-radius: 16px;
    background: rgba(34,197,94,.08);
    color: #d7ffe4;
    line-height: 1.65;
}
.fc-hero-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}
.fc-hero-list div {
    min-height: 116px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(15,23,42,.68);
    border: 1px solid rgba(148,163,184,.16);
}
.fc-hero-list span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    border-radius: 9px;
    background: rgba(34,197,94,.14);
    color: #86efac;
    font-weight: 900;
}
.fc-hero-list strong,
.fc-hero-list small {
    display: block;
}
.fc-hero-list small {
    margin-top: 6px;
    color: #aebbd2;
    line-height: 1.45;
}
.fc-hero-art {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: center;
}
.fc-hero-art > img,
.fc-hero-art picture img,
.fc-final-card > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(167,139,250,.26);
    box-shadow: 0 30px 90px rgba(0,0,0,.42);
}
.fc-price-float {
    position: absolute;
    left: -28px;
    bottom: 38px;
    max-width: 270px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(8,17,31,.86);
    border: 1px solid rgba(134,239,172,.24);
    box-shadow: 0 24px 60px rgba(0,0,0,.42);
    backdrop-filter: blur(14px);
}
.fc-price-float span,
.fc-stock-analogy span {
    color: #94a3b8;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
}
.fc-price-float strong {
    display: block;
    margin: 8px 0 12px;
    color: #86efac;
    font-size: 2.25rem;
    line-height: 1;
}
.fc-price-float ul {
    margin: 0;
    padding-left: 18px;
    color: #dbe7ff;
    line-height: 1.55;
}
.fc-proof {
    position: relative;
    z-index: 2;
    margin-top: -38px;
    padding: 0 0 38px;
}
.fc-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(15,23,42,.82);
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.fc-proof-grid div {
    min-height: 88px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}
.fc-proof-grid span,
.fc-proof-grid strong,
.fc-proof-grid small {
    display: block;
}
.fc-proof-grid span {
    color: #86efac;
    font-weight: 900;
}
.fc-proof-grid small {
    margin-top: 5px;
    color: #94a3b8;
}
.fc-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.fc-benefit-grid--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fc-benefit-grid--six article {
    min-height: 230px;
}
.fc-benefit-grid--six span {
    font-size: 1.45rem;
}
.fc-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.fc-step-grid article {
    min-height: 260px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(10,14,26,.72);
    border: 1px solid rgba(148,163,184,.15);
}
.fc-step-grid span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #22c55e;
    color: #04130a;
    font-weight: 1000;
}
.fc-step-grid h3 {
    margin: 22px 0 10px;
}
.fc-step-grid p {
    margin: 0;
    color: #aebbd2;
    line-height: 1.62;
}
.fc-progress-box {
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(15,23,42,.7);
    border: 1px solid rgba(148,163,184,.15);
}
.fc-progress-box div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #dbe7ff;
    font-weight: 900;
}
.fc-progress {
    height: 12px;
    margin-top: 16px;
    border-radius: 999px;
    background: rgba(148,163,184,.18);
    overflow: hidden;
}
.fc-progress i {
    display: block;
    width: 58%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #a78bfa);
}
.fc-join-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(15,23,42,.88), rgba(10,14,26,.78));
    border: 1px solid rgba(134,239,172,.22);
    box-shadow: 0 28px 80px rgba(0,0,0,.36);
}
.fc-join-card > p,
.fc-join-card > span {
    margin: 0;
    color: #94a3b8;
    font-weight: 800;
}
.fc-join-card > strong {
    display: block;
    margin: 10px 0 8px;
    color: #86efac;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1;
}
.fc-join-card .fc-primary {
    width: 100%;
    margin-top: 22px;
}
.fc-certificate-story {
    background: radial-gradient(circle at 20% 0%, rgba(167,139,250,.18), transparent 35%);
}
.fc-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 390px;
    gap: 42px;
    align-items: center;
}
.fc-story-grid p {
    color: #aebbd2;
    line-height: 1.72;
}
.fc-stock-analogy {
    min-height: 320px;
    display: grid;
    align-content: center;
    padding: 30px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(34,197,94,.18), rgba(108,92,231,.24)),
        rgba(8,17,31,.82);
    border: 1px solid rgba(167,139,250,.28);
    box-shadow: 0 28px 80px rgba(0,0,0,.34);
}
.fc-stock-analogy strong {
    display: block;
    margin: 14px 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
}
.fc-clarity h2,
.fc-faq h2 {
    text-align: center;
    margin-bottom: 32px;
}
.fc-clarity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.fc-clarity-grid article {
    min-height: 220px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(15,23,42,.68);
    border: 1px solid rgba(148,163,184,.14);
}
.fc-clarity-grid span {
    color: #86efac;
    font-weight: 900;
    font-size: 1.35rem;
}
.fc-clarity-grid p {
    color: #aebbd2;
    line-height: 1.62;
}
.fc-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
}
.fc-final-card {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    text-align: left;
    padding: 28px;
    border-radius: 28px;
    background: rgba(15,23,42,.72);
    border: 1px solid rgba(148,163,184,.16);
}
.fc-final-card > img {
    border-radius: 20px;
}
.fc-final-card p {
    margin-left: 0;
    margin-right: 0;
}
@media (max-width: 980px) {
    .fc-proof-grid,
    .fc-benefit-grid--six,
    .fc-step-grid,
    .fc-clarity-grid,
    .fc-faq-grid,
    .fc-story-grid,
    .fc-final-card {
        grid-template-columns: 1fr 1fr;
    }
    .fc-hero-art {
        min-height: auto;
    }
    .fc-price-float {
        left: 18px;
        bottom: 18px;
    }
}
@media (max-width: 640px) {
    .fc-nav-cta {
        width: 100%;
    }
    .fc-hero-list,
    .fc-proof-grid,
    .fc-benefit-grid--six,
    .fc-step-grid,
    .fc-clarity-grid,
    .fc-faq-grid,
    .fc-story-grid,
    .fc-final-card {
        grid-template-columns: 1fr;
    }
    .fc-analogy {
        padding: 14px;
    }
    .fc-price-float {
        position: static;
        max-width: none;
        margin-top: 14px;
    }
    .fc-proof {
        margin-top: 0;
        padding-top: 24px;
    }
    .fc-final-card {
        text-align: center;
    }
}

/* Founders Club prospectus redesign: less AI-dashboard, more rare certificate */
.founders-page--prospectus {
    background:
        radial-gradient(circle at 14% 8%, rgba(124,58,237,.22), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(34,197,94,.12), transparent 28%),
        linear-gradient(180deg, #070b14 0%, #090d18 45%, #060912 100%);
    color: #eef3ff;
}
.fc-nav--prospectus {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7,11,20,.78);
    border-bottom: 1px solid rgba(148,163,184,.12);
    backdrop-filter: blur(18px);
}
.fc-hero--prospectus {
    min-height: auto;
    padding: 42px 0 8px;
    overflow: hidden;
}
.fc-hero-grid--prospectus {
    display: grid;
    grid-template-columns: minmax(380px, .82fr) minmax(640px, 1.18fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
.fc-hero--prospectus .fc-limited {
    color: #f3d58f;
    letter-spacing: .18em;
}
.fc-hero--prospectus h1 {
    max-width: 620px;
    margin: 10px 0 0;
    font-size: clamp(3.6rem, 6vw, 6.1rem);
    line-height: .9;
    font-weight: 1000;
    letter-spacing: 0;
    font-family: Georgia, "Times New Roman", serif;
}
.fc-hero--prospectus h1 span:first-child {
    color: #f7f1e4;
}
.fc-hero--prospectus h1 span:last-child {
    margin-top: 10px;
    background: linear-gradient(90deg, #f4d18a 0%, #c9a563 44%, #86efac 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.fc-hero-subline {
    margin: 18px 0 0;
    color: #f3e7cf;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.16;
    font-weight: 900;
    font-family: Georgia, "Times New Roman", serif;
}
.fc-hero--prospectus .fc-lead {
    max-width: 620px;
    margin-top: 16px;
    color: #b8c4d8;
    font-size: 1.06rem;
    line-height: 1.75;
}
.fc-hero--prospectus .fc-primary {
    min-height: 54px;
    padding: 0 26px;
    border-radius: 12px;
}
.fc-pay-note {
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: .95rem;
}
.fc-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 560px;
}
.fc-hero-art--prospectus {
    position: relative;
    min-height: 0;
    justify-self: end;
}
.fc-hero-art--prospectus::before {
    content: "";
    position: absolute;
    inset: 12% -2% -5% 6%;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(124,58,237,.28), transparent 62%);
    filter: blur(20px);
}
.fc-hero-art--prospectus picture {
    display: block;
    width: min(100%, 980px);
    max-width: 100%;
}
.fc-hero-art--prospectus img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1536 / 980;
    object-fit: contain;
    border-radius: 22px;
    border: 1px solid rgba(196,181,253,.2);
    box-shadow: 0 42px 120px rgba(0,0,0,.52);
}
.fc-proof--prospectus {
    margin: 0;
    padding: 0 0 26px;
}
.fc-proof-line {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 18px;
    background: rgba(148,163,184,.12);
}
.fc-proof-line div {
    min-height: 110px;
    padding: 22px;
    background: rgba(8,13,24,.76);
}
.fc-proof-line span,
.fc-proof-line strong,
.fc-proof-line small {
    display: block;
}
.fc-proof-line span {
    color: #f3d58f;
    font-weight: 900;
}
.fc-proof-line strong {
    margin-top: 12px;
    color: #fff;
}
.fc-proof-line small {
    margin-top: 6px;
    color: #9daac0;
}
.fc-editorial {
    padding: 110px 0;
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
}
.fc-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.18fr) minmax(280px, .72fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
}
.fc-story h2,
.fc-certificate-panel h2,
.fc-benefits-rail h2,
.fc-process h2,
.fc-faq--prospectus h2,
.fc-limit-strip h2 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 4rem);
    line-height: .98;
    letter-spacing: 0;
    color: #f2ddac;
    font-family: Georgia, "Times New Roman", serif;
}
.fc-story p,
.fc-certificate-panel li span,
.fc-process p,
.fc-limit-strip p,
.fc-faq--prospectus p {
    color: #aebbd2;
    line-height: 1.72;
}
.fc-story p {
    font-size: 1.08rem;
}
.fc-story-art {
    margin: 32px 0 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(243,213,143,.14);
    box-shadow: 0 36px 100px rgba(0,0,0,.38);
}
.fc-story-art img {
    display: block;
    width: 100%;
    height: auto;
}
.fc-certificate-panel {
    padding: 0 0 0 32px;
    border-left: 1px solid rgba(134,239,172,.28);
}
.fc-certificate-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 28px;
    align-items: start;
}
.fc-certificate-panel ul,
.fc-benefits-rail {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}
.fc-certificate-panel li {
    display: grid;
    gap: 8px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(148,163,184,.14);
}
.fc-certificate-panel li:first-child {
    padding-top: 0;
}
.fc-certificate-panel strong {
    color: #e9fdf0;
    font-size: 1.25rem;
}
.fc-certificate-card {
    margin: 28px 0 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(243,213,143,.14);
    box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.fc-certificate-card img {
    display: block;
    width: 100%;
    height: auto;
}
.fc-benefits-rail {
    margin-top: 0;
    padding: 26px;
    border-radius: 22px;
    background: rgba(15,23,42,.48);
    border: 1px solid rgba(148,163,184,.14);
}
.fc-benefits-rail h2 {
    font-size: 1.75rem;
    margin-bottom: 14px;
    color: #f2ddac;
}
.fc-benefits-rail div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(148,163,184,.12);
}
.fc-benefits-rail span {
    grid-row: span 2;
    color: #86efac;
    font-weight: 900;
}
.fc-benefits-rail strong {
    color: #fff;
}
.fc-benefits-rail small {
    color: #98a7bd;
    line-height: 1.48;
}
.fc-limit-band {
    padding: 48px 0;
}
.fc-limit-strip {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 190px auto;
    gap: 28px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(124,58,237,.22), rgba(34,197,94,.1)),
        rgba(8,13,24,.8);
    border: 1px solid rgba(196,181,253,.22);
    box-shadow: 0 26px 90px rgba(0,0,0,.34);
}
.fc-gem-art {
    width: 104px;
    aspect-ratio: 4 / 5;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(243,213,143,.16);
    box-shadow: 0 24px 60px rgba(0,0,0,.36);
}
.fc-gem-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 54%;
}
.fc-price-block span,
.fc-price-block strong {
    display: block;
    text-align: right;
}
.fc-price-block span {
    color: #94a3b8;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .74rem;
}
.fc-price-block strong {
    margin-top: 7px;
    color: #f3d58f;
    font-size: 2.25rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
}
.fc-process {
    padding: 110px 0;
}
.fc-process .fc-section-head {
    max-width: 760px;
    margin-bottom: 48px;
}
.fc-process-line {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(148,163,184,.2);
}
.fc-process-line article {
    padding: 28px 24px 0 0;
}
.fc-process-line span {
    color: #86efac;
    font-weight: 1000;
    letter-spacing: .08em;
}
.fc-process-line h3 {
    margin: 18px 0 12px;
    font-size: 1.25rem;
    color: #f7f1e4;
}
.fc-faq--prospectus {
    padding: 100px 0 120px;
    background: #070b14;
}
.fc-faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: clamp(34px, 6vw, 82px);
    align-items: start;
}
.fc-faq-list details {
    border-top: 1px solid rgba(148,163,184,.16);
    padding: 22px 0;
}
.fc-faq-list details:last-child {
    border-bottom: 1px solid rgba(148,163,184,.16);
}
.fc-faq-list summary {
    cursor: pointer;
    color: #fff;
    font-weight: 900;
    font-size: 1.08rem;
    list-style: none;
}
.fc-faq-list summary::-webkit-details-marker {
    display: none;
}
.fc-faq-list summary::before {
    content: "?";
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-right: 12px;
    border-radius: 50%;
    border: 1px solid rgba(243,213,143,.3);
    color: #f3d58f;
    font-size: .82rem;
    vertical-align: middle;
}
.fc-faq-list p {
    margin-bottom: 0;
}
@media (max-width: 1080px) {
    .fc-hero-grid--prospectus,
    .fc-editorial-grid,
    .fc-faq-layout {
        grid-template-columns: 1fr;
    }
    .fc-hero-art--prospectus img {
        width: 100%;
    }
    .fc-hero-art--prospectus {
        justify-self: stretch;
    }
    .fc-limit-strip {
        grid-template-columns: 76px minmax(0, 1fr);
    }
    .fc-limit-strip .fc-primary {
        grid-column: 2;
        justify-self: start;
    }
    .fc-price-block {
        justify-self: start;
    }
    .fc-price-block span,
    .fc-price-block strong {
        text-align: left;
    }
    .fc-certificate-layout {
        grid-template-columns: 1fr 180px;
    }
}
@media (max-width: 720px) {
    .fc-hero--prospectus {
        padding: 28px 0 4px;
    }
    .fc-hero--prospectus h1 {
        font-size: clamp(3rem, 15vw, 4.6rem);
    }
    .fc-proof-line,
    .fc-process-line {
        grid-template-columns: 1fr;
    }
    .fc-editorial,
    .fc-process,
    .fc-faq--prospectus {
        padding: 72px 0;
    }
    .fc-certificate-panel {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(134,239,172,.28);
        padding-top: 28px;
    }
    .fc-certificate-layout {
        grid-template-columns: 1fr;
    }
    .fc-limit-strip {
        grid-template-columns: 1fr;
    }
    .fc-gem-art {
        width: 72px;
    }
    .fc-limit-strip .fc-primary {
        grid-column: auto;
        width: 100%;
    }
}

/* ===== Homepage Founder Promotion: certificate/crystal showcase ===== */
.founders--home {
    position: relative;
    padding: clamp(56px, 8vw, 104px) 0;
    overflow: hidden;
}
.founders--home::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 14%, rgba(126,87,255,.28), transparent 34%),
        radial-gradient(circle at 84% 20%, rgba(34,197,94,.18), transparent 30%),
        linear-gradient(135deg, rgba(9,12,26,.92), rgba(12,44,58,.72));
}
.founders--home .container {
    position: relative;
    z-index: 1;
    max-width: 1260px;
}
.founders-showcase {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 260px;
    gap: clamp(22px, 3.4vw, 42px);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(22px, 3.4vw, 42px);
    border: 1px solid rgba(126, 87, 255, .48);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(24, 32, 58, .84), rgba(8, 33, 35, .72)),
        rgba(7, 11, 20, .9);
    box-shadow: 0 32px 110px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.founders-showcase::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 29px;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,.12), transparent 34%, rgba(34,197,94,.09));
    opacity: .72;
}
.founders-certificate-visual,
.founders-story,
.founders-pass-card {
    position: relative;
    z-index: 1;
}
.founders-certificate-visual {
    margin: 0;
}
.founders-certificate-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(176, 150, 255, .34);
    box-shadow: 0 24px 80px rgba(87, 58, 210, .32);
}
.founders-certificate-visual figcaption {
    margin-top: 12px;
    color: #d8ccff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}
.founders-story .section-sub {
    max-width: 620px;
    margin-left: 0;
    color: rgba(226, 232, 240, .9);
}
.founders-story h2 {
    max-width: 620px;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: .98;
    letter-spacing: 0;
}
.founders-showcase .founders-badge {
    background: linear-gradient(90deg, #6c5ce7, #22c55e);
    color: #fff;
    box-shadow: 0 14px 36px rgba(108, 92, 231, .28);
}
.founders-showcase .founders-perks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.founders-showcase .founders-perks li {
    position: relative;
    padding-left: 24px;
    color: rgba(241, 245, 249, .94);
    font-size: .94rem;
    line-height: 1.45;
}
.founders-showcase .founders-perks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-weight: 1000;
}
.founders-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}
.founders-highlight-grid article {
    min-height: 126px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background: rgba(5, 10, 22, .48);
}
.founders-highlight-grid strong {
    display: block;
    color: #f3d58f;
    font-size: .9rem;
    line-height: 1.25;
    margin-bottom: 8px;
}
.founders-highlight-grid span {
    display: block;
    color: rgba(203, 213, 225, .86);
    font-size: .8rem;
    line-height: 1.45;
}
.founders-pass-card {
    overflow: hidden;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(34, 197, 94, .24);
    background: linear-gradient(180deg, rgba(10,14,26,.72), rgba(7, 25, 28, .88));
    box-shadow: 0 26px 80px rgba(0,0,0,.34);
}
.founders-pass-card img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.12);
}
.founders-pass-card .fcb-codelabel {
    color: rgba(203, 213, 225, .78);
    margin-top: 0;
}
.founders-pass-card .fcb-code {
    color: #22c55e;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 0 28px rgba(34,197,94,.24);
}
.founders-pass-card .btn-primary {
    min-height: 52px;
    border-radius: 16px;
    font-weight: 900;
}
.founders-pass-card .founders-progress-label {
    display: block !important;
    margin-top: 14px;
    color: rgba(203, 213, 225, .78);
    font-size: .74rem;
    line-height: 1.4;
}
@media (max-width: 1080px) {
    .founders-showcase {
        grid-template-columns: 1fr 1fr;
    }
    .founders-highlight-grid {
        grid-template-columns: 1fr;
    }
    .founders-pass-card {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 180px 1fr;
        align-items: center;
        gap: 18px;
        text-align: left;
    }
    .founders-pass-card img {
        height: 150px;
        margin: 0;
    }
}
@media (max-width: 760px) {
    .founders--home {
        padding: 42px 0 58px;
    }
    .founders-showcase {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 24px;
    }
    .founders-story,
    .founders-story .section-sub {
        text-align: left;
    }
    .founders-story h2 {
        font-size: clamp(2.2rem, 12vw, 3.7rem);
    }
    .founders-showcase .founders-perks,
    .founders-highlight-grid {
        grid-template-columns: 1fr;
    }
    .founders-highlight-grid article {
        min-height: auto;
    }
    .founders-pass-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founders-pass-card img {
        height: auto;
        aspect-ratio: 16 / 10;
        margin: 0 0 12px;
    }
}

/* Angebot erstellen */
.offer-create-page {
    background:
        radial-gradient(circle at 18% 12%, rgba(124, 58, 237, .22), transparent 34rem),
        radial-gradient(circle at 80% 18%, rgba(34, 197, 94, .16), transparent 30rem),
        #0A0E1A;
}
.offer-create-main {
    min-height: 100vh;
    padding-top: 16px;
}
.offer-create-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}
.offer-create-hero {
    padding: 48px 0 22px;
}
.offer-create-hero .offer-create-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
}
.offer-create-copy,
.offer-create-agent,
.offer-create-card {
    border: 1px solid rgba(148, 163, 184, .18);
    background: linear-gradient(145deg, rgba(20, 26, 42, .92), rgba(12, 18, 32, .82));
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    backdrop-filter: blur(16px);
}
.offer-create-copy {
    padding: clamp(28px, 4vw, 48px);
    border-radius: 28px;
}
.offer-create-kicker {
    margin: 0 0 12px;
    color: #67e8f9;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.offer-create-copy h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: .94;
    letter-spacing: 0;
}
.offer-create-copy p {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(226, 232, 240, .82);
    font-size: 1.06rem;
    line-height: 1.75;
}
.offer-create-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.offer-create-rules span {
    padding: .55rem .8rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .28);
    color: #bbf7d0;
    font-size: .86rem;
    font-weight: 800;
}
.offer-create-agent {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    align-items: center;
    border-radius: 24px;
    padding: 22px;
}
.offer-create-agent img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 0 38px rgba(124, 58, 237, .42);
}
.offer-create-agent strong,
.offer-create-card h2 {
    color: #f8fafc;
}
.offer-create-agent p {
    margin: 8px 0 0;
    color: rgba(203, 213, 225, .78);
    line-height: 1.55;
}
.offer-create-section {
    padding: 0 0 90px;
}
.offer-create-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.offer-create-card {
    border-radius: 24px;
    padding: clamp(20px, 3vw, 30px);
}
.offer-form-head h2,
.offer-create-help h2,
.offer-create-gate h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.1;
}
.offer-form-head p,
.offer-create-gate p {
    margin: 8px 0 0;
    color: rgba(203, 213, 225, .72);
}
.offer-create-form {
    display: grid;
    gap: 22px;
}
.offer-kind-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background: rgba(10, 14, 26, .64);
}
.offer-kind-toggle legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.offer-kind-toggle label {
    cursor: pointer;
}
.offer-kind-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.offer-kind-toggle span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    color: rgba(226, 232, 240, .72);
    font-weight: 900;
}
.offer-kind-toggle input:checked + span {
    color: #061018;
    background: linear-gradient(135deg, #22c55e, #67e8f9);
    box-shadow: 0 0 24px rgba(34, 197, 94, .26);
}
.offer-field,
.offer-upload {
    display: grid;
    gap: 9px;
}
.offer-field span,
.offer-upload strong {
    color: #e2e8f0;
    font-size: .86rem;
    font-weight: 900;
}
.offer-field-row {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 14px;
}
.offer-field input,
.offer-field select,
.offer-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;
    background: rgba(9, 13, 24, .86);
    color: #f8fafc;
    padding: .95rem 1rem;
    font: inherit;
    outline: none;
}
.offer-field textarea {
    resize: vertical;
    min-height: 120px;
}
.offer-field input:focus,
.offer-field select:focus,
.offer-field textarea:focus {
    border-color: rgba(103, 232, 249, .72);
    box-shadow: 0 0 0 4px rgba(103, 232, 249, .12);
}
.offer-upload {
    border: 1px dashed rgba(148, 163, 184, .26);
    border-radius: 20px;
    padding: 16px;
    background: rgba(10, 14, 26, .5);
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.offer-upload.is-dragover {
    border-color: rgba(103, 232, 249, .86);
    background: rgba(14, 116, 144, .18);
    box-shadow: 0 0 0 4px rgba(103, 232, 249, .12), 0 18px 54px rgba(34, 211, 238, .1);
}
.offer-upload-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.offer-upload-head p,
.offer-submit-row p {
    margin: 5px 0 0;
    color: rgba(203, 213, 225, .68);
    font-size: .9rem;
    line-height: 1.45;
}
.offer-upload-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}
.offer-upload-button input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.offer-upload-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 .95rem;
    border-radius: 999px;
    background: rgba(108, 92, 231, .18);
    border: 1px solid rgba(108, 92, 231, .42);
    color: #ddd6fe;
    font-weight: 900;
    cursor: pointer;
}
.offer-upload-button--camera span {
    background: linear-gradient(135deg, rgba(34, 197, 94, .28), rgba(103, 232, 249, .22));
    border-color: rgba(34, 197, 94, .44);
    color: #d1fae5;
}
.offer-drop-hint {
    margin: 0;
    color: rgba(203, 213, 225, .62);
    font-size: .86rem;
    line-height: 1.45;
}
.offer-image-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.offer-image-empty,
.offer-image-card {
    min-height: 112px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .16);
    background: rgba(15, 23, 42, .72);
}
.offer-image-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(203, 213, 225, .7);
}
.offer-image-card {
    position: relative;
    overflow: hidden;
}
.offer-image-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.offer-image-card span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: .3rem .48rem;
    border-radius: 999px;
    background: rgba(5, 10, 18, .72);
    color: #e2e8f0;
    font-size: .72rem;
    font-weight: 900;
}
.offer-image-card button {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(5, 10, 18, .78);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.offer-message {
    min-height: 0;
    border-radius: 14px;
    color: rgba(226, 232, 240, .86);
    font-weight: 800;
}
.offer-message:not(:empty) {
    padding: .85rem 1rem;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .76);
}
.offer-message[data-type="error"] {
    border-color: rgba(248, 113, 113, .42);
    background: rgba(127, 29, 29, .22);
    color: #fecaca;
}
.offer-message[data-type="success"] {
    border-color: rgba(34, 197, 94, .42);
    background: rgba(20, 83, 45, .24);
    color: #bbf7d0;
}
.offer-submit-row {
    display: grid;
    gap: 10px;
}
.offer-submit-row .btn {
    min-height: 54px;
    border-radius: 16px;
    font-weight: 900;
}
.offer-create-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.offer-create-help {
    position: sticky;
    top: 96px;
}
.offer-create-help ul {
    display: grid;
    gap: 14px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.offer-create-help li {
    position: relative;
    padding-left: 28px;
    color: rgba(226, 232, 240, .8);
    line-height: 1.55;
}
.offer-create-help li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-weight: 900;
}
@media (max-width: 980px) {
    .offer-create-hero .offer-create-shell,
    .offer-create-grid {
        grid-template-columns: 1fr;
    }
    .offer-create-agent,
    .offer-create-help {
        position: static;
    }
}
@media (max-width: 640px) {
    .offer-create-main {
        padding-top: 72px;
    }
    .offer-create-shell {
        width: min(100% - 24px, 1120px);
    }
    .offer-create-hero {
        padding-top: 26px;
    }
    .offer-create-copy,
    .offer-create-card {
        border-radius: 20px;
    }
    .offer-create-agent {
        grid-template-columns: 72px 1fr;
        border-radius: 20px;
        padding: 16px;
    }
    .offer-create-agent img {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }
    .offer-field-row,
    .offer-image-preview {
        grid-template-columns: 1fr;
    }
    .offer-upload-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .offer-upload-actions,
    .offer-upload-button,
    .offer-upload-button span {
        width: 100%;
    }
}

/* Angebot erstellen: Wizard Flow */
.offer-wizard-shell {
    --offer-wizard-width: 736px; /* ~20 % schmaler als früher 920px */
    padding-top: 8px;
}
.offer-wizard-shell.offer-create-shell {
    width: min(var(--offer-wizard-width), calc(100% - 40px));
}
.offer-wizard {
    max-width: var(--offer-wizard-width);
    margin: 0 auto;
}
.offer-wizard-head,
.offer-wizard-footer,
.offer-upload-head,
.offer-ai-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.offer-wizard-head h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
}
.offer-wizard-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #e2e8f0;
    text-decoration: none;
    background: rgba(15, 23, 42, .82);
    border: 1px solid rgba(148, 163, 184, .18);
    font-size: 1.6rem;
}
.offer-stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 1cm 0 0;
    padding: 0;
    list-style: none;
}
.offer-stepper li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: .7rem;
    border-radius: 16px;
    color: rgba(203, 213, 225, .68);
    background: rgba(10, 14, 26, .62);
    border: 1px solid rgba(148, 163, 184, .14);
}
.offer-stepper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 999px;
    background: rgba(108, 92, 231, .22);
    color: #ddd6fe;
    font-weight: 900;
}
.offer-stepper strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .86rem;
}
.offer-stepper li.is-active,
.offer-stepper li.is-done {
    border-color: rgba(34, 197, 94, .34);
    color: #f8fafc;
}
.offer-stepper li.is-active span,
.offer-stepper li.is-done span {
    background: linear-gradient(135deg, #22c55e, #67e8f9);
    color: #061018;
}
.offer-step {
    display: none;
    padding: 16px 0 0;
}
.offer-step.is-active {
    display: grid;
    gap: 18px;
}
.offer-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.offer-type-card {
    display: grid;
    gap: 10px;
    min-height: 190px;
    padding: 22px;
    border-radius: 22px;
    cursor: pointer;
    background: rgba(10, 14, 26, .62);
    border: 1px solid rgba(148, 163, 184, .16);
}
.offer-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.offer-type-card.is-selected {
    border-color: rgba(34, 197, 94, .62);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .12), 0 18px 48px rgba(34, 197, 94, .12);
}
.offer-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(108, 92, 231, .8), rgba(34, 197, 94, .75));
    color: #fff;
    font-size: 1.3rem;
}
.offer-type-card strong {
    color: #f8fafc;
    font-size: 1.3rem;
}
.offer-type-card small,
.offer-desired-categories p {
    color: rgba(203, 213, 225, .72);
    line-height: 1.55;
}
.offer-rule-strip,
.offer-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.offer-rule-strip span,
.offer-review-meta span {
    padding: .5rem .75rem;
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .28);
    font-weight: 900;
    font-size: .82rem;
}

/* Private Artikel-Gruppen im Wizard (optional) */
.offer-group-block {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(108, 92, 231, .08);
    border: 1px solid rgba(108, 92, 231, .22);
}
.offer-group-head {
    display: grid;
    gap: 2px;
}
.offer-group-head strong {
    color: #f8fafc;
    font-size: .98rem;
}
.offer-group-head small {
    color: rgba(203, 213, 225, .7);
    font-size: .8rem;
}
.offer-group-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.offer-group-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: .28rem .5rem .28rem .72rem;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 800;
    color: #e2e8f0;
    background: rgba(15, 23, 42, .55);
    border: 1px solid rgba(148, 163, 184, .26);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.offer-group-chip--standard {
    padding: .42rem .8rem;
    cursor: pointer;
    color: rgba(203, 213, 225, .82);
    background: rgba(148, 163, 184, .12);
    border-style: dashed;
}
.offer-group-chip.is-selected {
    color: #fff;
    background: rgba(108, 92, 231, .9);
    border-color: rgba(108, 92, 231, .9);
}
.offer-group-chip--standard.is-selected {
    border-style: solid;
}
.offer-group-chip:not(.offer-group-chip--standard):hover {
    border-color: rgba(108, 92, 231, .6);
}
.offer-group-chip-name {
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}
.offer-group-edit,
.offer-group-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: inherit;
    opacity: .65;
    font-size: .76rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background .14s, opacity .14s, color .14s;
}
.offer-group-edit:hover,
.offer-group-del:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .16);
}
.offer-group-del.is-armed {
    opacity: 1;
    background: #ef4444;
    color: #fff;
}
.offer-group-add {
    padding: .42rem .8rem;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 800;
    color: #c4b5fd;
    background: transparent;
    border: 1px dashed rgba(108, 92, 231, .55);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.offer-group-add:hover:not(:disabled) {
    background: rgba(108, 92, 231, .14);
    color: #fff;
}
.offer-group-add:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.offer-group-creator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.offer-group-input {
    width: 160px;
    padding: .4rem .7rem;
    border-radius: 999px;
    font-size: .84rem;
    color: #f8fafc;
    background: rgba(15, 23, 42, .7);
    border: 1px solid rgba(108, 92, 231, .55);
    outline: none;
}
.offer-group-input:focus {
    border-color: rgba(108, 92, 231, .9);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, .18);
}
.offer-group-confirm,
.offer-group-cancel {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: .95rem;
    font-weight: 900;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.offer-group-confirm {
    color: #fff;
    background: rgba(108, 92, 231, .9);
    border-color: rgba(108, 92, 231, .9);
}
.offer-group-confirm:hover {
    background: #6C5CE7;
}
.offer-group-cancel {
    color: #cbd5e1;
    background: rgba(148, 163, 184, .16);
}
.offer-group-cancel:hover {
    color: #fff;
    background: rgba(148, 163, 184, .3);
}
.offer-upload--wizard,
.offer-image-preview--wizard {
    margin-top: 0;
}
.offer-image-card.is-main {
    border-color: rgba(34, 197, 94, .7);
}
.offer-image-card.is-rejected img {
    filter: grayscale(1) brightness(.45);
}
.offer-image-card small {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: .25rem .45rem;
    border-radius: 999px;
    background: rgba(5, 10, 18, .72);
    color: rgba(226, 232, 240, .9);
    font-size: .68rem;
    font-weight: 900;
}
.offer-image-main-btn {
    right: 46px !important;
    color: #fde68a !important;
}
.offer-ai-panel {
    padding: 16px;
    border-radius: 20px;
    background: rgba(15, 23, 42, .72);
    border: 1px solid rgba(148, 163, 184, .16);
}
.offer-step-gallery {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(15, 23, 42, .7);
    border: 1px solid rgba(103, 232, 249, .18);
}
.offer-step-gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.offer-step-gallery-head strong {
    color: #f8fafc;
    font-size: 1.05rem;
}
.offer-step-gallery-head p {
    margin: 5px 0 0;
    color: rgba(203, 213, 225, .72);
    line-height: 1.45;
}
.offer-step-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.offer-step-gallery-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border-radius: 16px;
    background: rgba(10, 14, 26, .62);
    border: 1px dashed rgba(148, 163, 184, .22);
    color: rgba(203, 213, 225, .72);
}
.offer-step-gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(10, 14, 26, .72);
}
.offer-step-gallery-card.is-main {
    border-color: rgba(34, 197, 94, .75);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .12);
}
.offer-step-gallery-card.is-rejected img {
    filter: grayscale(1) brightness(.45);
}
.offer-step-gallery-card img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.offer-step-gallery-badge {
    position: absolute;
    left: 9px;
    top: 9px;
    padding: .28rem .5rem;
    border-radius: 999px;
    background: rgba(5, 10, 18, .76);
    color: #e2e8f0;
    font-size: .7rem;
    font-weight: 900;
}
.offer-step-gallery-actions {
    position: absolute;
    right: 9px;
    bottom: 9px;
    display: flex;
    gap: 7px;
}
.offer-step-gallery-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(5, 10, 18, .82);
    color: #fff;
    font: inherit;
    font-weight: 1000;
    cursor: pointer;
}
.offer-step-gallery-actions button:hover {
    background: linear-gradient(135deg, #22c55e, #67e8f9);
    color: #061018;
}
.offer-ai-panel img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
}
.offer-ai-panel strong {
    color: #f8fafc;
}
.offer-ai-panel p {
    margin: 5px 0 0;
    color: rgba(203, 213, 225, .72);
    line-height: 1.5;
}
.offer-desired-categories {
    padding: 16px;
    border-radius: 20px;
    background: rgba(10, 14, 26, .5);
    border: 1px solid rgba(148, 163, 184, .14);
}
.offer-location-field {
    padding: 16px;
    border-radius: 20px;
    background: rgba(10, 14, 26, .5);
    border: 1px solid rgba(103, 232, 249, .18);
}
.offer-location-field p {
    margin: 0;
    color: rgba(203, 213, 225, .72);
    line-height: 1.55;
}
.offer-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.offer-location-actions .btn {
    min-height: 44px;
}
.offer-address-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.offer-address-autocomplete-wrap {
    position: relative;
    flex: 1 1 100%;
}
.offer-address-input--full {
    flex: 1 1 100%;
    width: 100%;
}
.offer-address-suggestions {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(10, 14, 26, .98);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
    max-height: min(280px, 42vh);
    overflow-y: auto;
}
.offer-address-suggestion {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: .55rem .7rem;
    border-radius: 10px;
    cursor: pointer;
    color: #e2e8f0;
}
.offer-address-suggestion:hover,
.offer-address-suggestion.is-active {
    background: rgba(108, 92, 231, .22);
}
.offer-address-suggestion-main {
    font-size: .95rem;
    line-height: 1.35;
}
.offer-address-suggestion-sub {
    font-size: .78rem;
    line-height: 1.3;
    color: rgba(148, 163, 184, .85);
}
.offer-address-suggestion--empty {
    cursor: default;
    color: rgba(148, 163, 184, .9);
}
.offer-address-suggestion--empty:hover {
    background: transparent;
}
.offer-address-input {
    flex: 1 1 130px;
    min-width: 0;
    min-height: 44px;
    padding: .6rem .8rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(15, 23, 42, .86);
    color: #f8fafc;
    font: inherit;
}
.offer-address-input::placeholder { color: rgba(148, 163, 184, .7); }
.offer-address-input:focus {
    outline: none;
    border-color: rgba(103, 232, 249, .6);
    box-shadow: 0 0 0 3px rgba(103, 232, 249, .12);
}
.offer-address-input--wide { flex: 2 1 200px; }
.offer-address-input--num { flex: 0 0 80px; }
.offer-address-row .btn { min-height: 44px; flex: 0 0 auto; }
/* Hauptfoto als runder Karten-Marker statt Standard-Pin */
.offer-map-thumb-marker img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #6C5CE7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
    background: #0f172a;
}
.offer-location-map {
    min-height: 260px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .72);
    isolation: isolate;
}
.offer-location-map .leaflet-container,
.offer-location-map.leaflet-container {
    background: rgba(15, 23, 42, .72);
}
.offer-location-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .55rem .75rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, .1);
    border: 1px solid rgba(148, 163, 184, .16);
    color: rgba(203, 213, 225, .82) !important;
    font-size: .82rem;
    font-weight: 900;
}
.offer-location-status[data-type="success"] {
    background: rgba(34, 197, 94, .12);
    border-color: rgba(34, 197, 94, .3);
    color: #bbf7d0 !important;
}
.offer-desired-categories p {
    margin: 0;
}
.offer-desired-grid {
    position: relative;
    display: grid;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
}
/* Verhindert, dass das auto-fit-Options-Raster das Panel ueber die
   Formularbreite hinaus aufblaeht (sonst horizontaler Overflow). */
.offer-field.offer-desired-categories,
.offer-desired-panel,
.offer-desired-group,
.offer-desired-options {
    min-width: 0;
    max-width: 100%;
}
.offer-desired-panel {
    box-sizing: border-box;
}
.offer-desired-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 54px;
    padding: .85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(103, 232, 249, .34);
    background: rgba(15, 23, 42, .86);
    color: #f8fafc;
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(108, 92, 231, .1);
}
.offer-desired-trigger span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.offer-desired-trigger strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    color: #061018;
    background: linear-gradient(135deg, #22c55e, #67e8f9);
}
.offer-desired-trigger[aria-expanded="true"] strong {
    transform: rotate(180deg);
}
.offer-desired-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.offer-desired-selected:empty {
    display: none;
}
.offer-desired-selected-chip {
    border: 1px solid rgba(34, 197, 94, .36);
    border-radius: 999px;
    padding: .48rem .72rem;
    background: rgba(34, 197, 94, .14);
    color: #bbf7d0;
    font: inherit;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}
.offer-desired-panel {
    position: relative;
    display: grid;
    gap: 8px;
    max-height: min(46vh, 300px);
    overflow: auto;
    padding: 8px 10px;
    border-radius: 16px;
    border: 1px solid rgba(103, 232, 249, .22);
    background: rgba(5, 10, 18, .95);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}
.offer-desired-panel:not([hidden]) {
    position: relative;
    z-index: 40;
}
.offer-desired-trigger[aria-busy="true"],
.offer-desired-trigger:disabled {
    cursor: wait;
    opacity: .82;
}
.offer-desired-panel.is-loading .offer-desired-options-root {
    opacity: .55;
    pointer-events: none;
}
.offer-desired-options-root {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.offer-desired-panel[hidden] {
    display: none;
}
.offer-desired-search {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 100%;
    min-height: 38px;
    padding: .5rem .7rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(15, 23, 42, .98);
    color: #f8fafc;
    font: inherit;
}
.offer-desired-search:focus {
    outline: none;
    border-color: rgba(103, 232, 249, .66);
    box-shadow: 0 0 0 3px rgba(103, 232, 249, .12);
}
.offer-desired-group {
    display: grid;
    gap: 4px;
}
.offer-desired-group-title {
    color: #67e8f9;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.2;
}
.offer-desired-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 5px;
}
.offer-desired-option {
    display: block;
    min-height: 0;
    padding: .4rem .55rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 10px;
    background: rgba(15, 23, 42, .74);
    color: rgba(226, 232, 240, .88);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.offer-desired-option span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.25;
}
.offer-desired-option small {
    display: none;
}
.offer-desired-option--parent {
    border-style: dashed;
}
.offer-desired-option[aria-pressed="true"] {
    color: #061018;
    background: linear-gradient(135deg, #22c55e, #67e8f9);
    border-color: transparent;
}
.offer-desired-option[aria-pressed="true"] small {
    color: rgba(6, 16, 24, .68);
}
.offer-desired-chip {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    padding: .7rem .9rem;
    color: rgba(226, 232, 240, .82);
    background: rgba(15, 23, 42, .78);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}
.offer-desired-chip[aria-pressed="true"] {
    color: #061018;
    background: linear-gradient(135deg, #22c55e, #67e8f9);
    border-color: transparent;
}
.offer-value-field {
    margin-bottom: 14px;
}
.offer-value-help {
    color: rgba(203, 213, 225, .6);
    font-size: .78rem;
    line-height: 1.4;
}
.offer-ai-internals {
    display: none; /* Kategorie-Vorschlag-Hinweis ausgeblendet (Kategorie steht schon im Dropdown) */
}
.offer-ai-internals span {
    padding: .85rem 1rem;
    border-radius: 14px;
    color: rgba(203, 213, 225, .78);
    background: rgba(15, 23, 42, .72);
    border: 1px solid rgba(148, 163, 184, .14);
}
.offer-ai-internals strong {
    color: #f8fafc;
}
.offer-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 18px;
}
.offer-review-card,
.offer-review-checks {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(10, 14, 26, .62);
    border: 1px solid rgba(148, 163, 184, .16);
}
.offer-review-media {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(203, 213, 225, .72);
    background: radial-gradient(circle at 50% 35%, rgba(108, 92, 231, .28), transparent 22rem), #0f172a;
}
.offer-review-media img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}
.offer-review-body,
.offer-review-checks {
    padding: 22px;
}
.offer-review-kind {
    margin: 0 0 8px;
    color: #67e8f9;
    font-size: .78rem;
    text-transform: uppercase;
    font-weight: 900;
}
.offer-review-body h2,
.offer-review-checks h2 {
    margin: 0;
    color: #f8fafc;
}
.offer-review-body p {
    color: rgba(226, 232, 240, .78);
    line-height: 1.62;
}
.offer-review-checks ul {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.offer-review-checks li {
    color: rgba(226, 232, 240, .8);
}
.offer-review-checks li:before {
    content: "✓";
    margin-right: 9px;
    color: #22c55e;
    font-weight: 900;
}
.offer-wizard-footer {
    position: sticky;
    bottom: 16px;
    z-index: 10;
    padding: 12px;
    border-radius: 20px;
    background: rgba(10, 14, 26, .9);
    border: 1px solid rgba(148, 163, 184, .16);
    backdrop-filter: blur(18px);
}
.offer-wizard-footer .btn {
    min-height: 50px;
    min-width: 150px;
}
.offer-wizard-footer .vg-btn {
    min-width: auto;
}

/* ─────────────────────────────────────────────────────────────────────────
   Vision-Glass CTA – ultra-modernes Glassmorphism (Apple Vision Pro inspiriert)
   Multi-Layer Frosted Glass, Blue → Violet Gradient, Pill 36px, Arrow-Icon,
   Hover-Lift, Pulse, Ripple, Ambient-Glow. Volle State-Maschine.
   ───────────────────────────────────────────────────────────────────────── */

.vg-btn {
    --vg-blue:   #3B6BFF;
    --vg-violet: #8A6CFF;
    --vg-cyan:   #7BF3FF;
    --vg-edge:   rgba(255, 255, 255, 0.55);

    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;

    /* Layout */
    min-height: 54px;
    padding: .9rem 1.1rem .9rem 1.8rem;
    border-radius: 999px;
    border: 1.5px solid var(--vg-edge);
    color: #ffffff;

    /* Typography */
    font-family: "SF Pro Display", "Inter", "Manrope", system-ui, -apple-system,
                 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;

    /* Crystal glass: transluzenter Gradient (echtes Glas, nicht deckend) */
    background:
        linear-gradient(180deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 42%),
        radial-gradient(130% 180% at 12% -10%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 40%),
        linear-gradient(135deg, rgba(59,107,255,.62) 0%, rgba(138,108,255,.62) 100%);
    backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.05);

    /* Soft inner glow + premium top reflection + floating ambient shadow */
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .75),
        inset 0 -2px 6px rgba(8, 14, 36, .35),
        inset 0 0 22px rgba(123, 243, 255, .22),
        0 1px 0 rgba(255, 255, 255, .12),
        0 10px 26px rgba(76, 52, 200, .42),
        0 26px 64px rgba(46, 91, 255, .30);

    overflow: hidden;
    cursor: pointer;
    transition:
        box-shadow .25s ease,
        filter .25s ease;
    will-change: box-shadow, filter;
}

/* Ambient outer glow (perfekt für Dark Mode) */
.vg-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -2;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(46,91,255,.55), rgba(124,92,255,.55));
    filter: blur(18px);
    opacity: .55;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

/* Glass sweep reflection – wandert über die Oberfläche */
.vg-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(120deg,
        transparent 30%,
        rgba(255, 255, 255, .42) 50%,
        transparent 70%);
    transform: translateX(-130%);
    transition: transform .9s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
}

/* Arrow-Icon: kreisrunde Glas-Kapsel rechts */
.vg-btn .vg-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.1) 60%),
        rgba(255, 255, 255, .14);
    border: 1.5px solid rgba(255, 255, 255, .6);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, .8),
        inset 0 -1px 2px rgba(8, 14, 36, .25),
        0 2px 8px rgba(8, 14, 36, .3);
    color: #ffffff;
    transition: background .25s ease, box-shadow .25s ease;
    flex: 0 0 auto;
}
.vg-btn .vg-arrow svg {
    display: block;
    filter: drop-shadow(0 1px 1px rgba(8, 14, 36, .35));
}

/* Ripple-Layer (für Klick-Pulse) */
.vg-btn .vg-ripple {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    overflow: hidden;
}
.vg-btn .vg-ripple span {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    transform: translate(-50%, -50%) scale(0);
    opacity: .8;
    animation: vg-ripple .65s ease-out forwards;
}
@keyframes vg-ripple {
    to { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

/* ─── Hover (kein Verschieben, keine Größenänderung – nur Glow/Glanz) ─── */
.vg-btn:hover {
    filter: brightness(1.07);
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, .8),
        inset 0 -2px 6px rgba(8, 14, 36, .4),
        inset 0 0 26px rgba(123, 243, 255, .3),
        0 1px 0 rgba(255, 255, 255, .14),
        0 12px 30px rgba(76, 52, 200, .55),
        0 30px 76px rgba(46, 91, 255, .38);
}
.vg-btn:hover::before { opacity: .85; }
.vg-btn:hover::after  { transform: translateX(130%); }
.vg-btn:hover .vg-arrow {
    background:
        linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.15) 60%),
        rgba(255, 255, 255, .2);
}

/* ─── Pressed / Active (kein Verschieben/Skalieren) ─── */
.vg-btn:active {
    filter: brightness(.96);
    transition-duration: .08s;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, .5),
        inset 0 -2px 6px rgba(8, 14, 36, .45),
        0 4px 14px rgba(76, 52, 200, .5),
        0 12px 30px rgba(46, 91, 255, .3);
}

/* ─── Focus (Accessibility) ─── */
.vg-btn:focus-visible {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .6),
        inset 0 -1px 0 rgba(8, 14, 36, .35),
        0 0 0 3px rgba(111, 241, 255, .55),
        0 14px 30px rgba(76, 52, 200, .55),
        0 32px 80px rgba(46, 91, 255, .38);
}

/* ─── Loading ─── */
.vg-btn.is-loading {
    cursor: progress;
    pointer-events: none;
    filter: saturate(.9) brightness(.95);
}
.vg-btn.is-loading .vg-label,
.vg-btn.is-loading .vg-arrow { opacity: 0; }
.vg-btn.is-loading::before { opacity: .9; animation: vg-pulse 1.1s ease-in-out infinite; }
@keyframes vg-pulse {
    0%, 100% { transform: scale(1);   opacity: .55; }
    50%      { transform: scale(1.08); opacity: .9;  }
}
.vg-btn .vg-spinner {
    position: absolute;
    left: 50%; top: 50%;
    width: 22px; height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #ffffff;
    animation: vg-spin .85s linear infinite;
    opacity: 0;
}
.vg-btn.is-loading .vg-spinner { opacity: 1; }
@keyframes vg-spin { to { transform: rotate(360deg); } }

/* ─── Disabled ─── */
.vg-btn[disabled],
.vg-btn.is-disabled {
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(.6) brightness(.85);
    opacity: .7;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .3),
        inset 0 -1px 0 rgba(0, 0, 0, .2),
        0 4px 12px rgba(76, 52, 200, .18);
    transform: none;
}
.vg-btn[disabled]::before,
.vg-btn.is-disabled::before { opacity: .2; }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    .vg-btn, .vg-btn::before, .vg-btn::after, .vg-btn .vg-arrow {
        transition: none !important;
        animation: none !important;
    }
    .vg-btn:hover { transform: none; }
}

/* Feste Breite + komplett unbeweglich – überschreibt auch .btn-primary:hover */
.vg-btn,
.vg-btn:hover,
.vg-btn:focus,
.vg-btn:focus-visible,
.vg-btn:active,
.offer-wizard-footer .vg-btn,
.offer-wizard-footer .vg-btn:hover {
    transform: none !important;
}
.offer-wizard-footer .vg-btn {
    min-width: 170px;
    box-sizing: border-box;
}
/* „Weiter"/„Veröffentlichen" immer rechts – auch wenn „Zurück" ausgeblendet ist */
#offer-next,
#offer-submit {
    margin-left: auto;
}
@media (max-width: 760px) {
    .offer-wizard-shell {
        padding-top: 8px;
    }
    .offer-stepper {
        grid-template-columns: repeat(4, minmax(44px, 1fr));
    }
    .offer-stepper strong {
        display: none;
    }
    .offer-type-grid,
    .offer-ai-internals,
    .offer-review-layout {
        grid-template-columns: 1fr;
    }
    .offer-wizard-head,
    .offer-wizard-footer,
    .offer-ai-panel {
        align-items: stretch;
        flex-direction: column;
    }
    .offer-wizard-footer .btn,
    .offer-ai-panel .btn {
        width: 100%;
    }
    .offer-step-gallery-head {
        align-items: stretch;
        flex-direction: column;
    }
    .offer-step-gallery-head .btn {
        width: 100%;
    }
    .offer-step-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .offer-step-gallery-card,
    .offer-step-gallery-card img {
        min-height: 150px;
        height: 150px;
    }
    .offer-location-actions {
        flex-direction: column;
    }
    .offer-location-actions .btn {
        width: 100%;
    }
    .offer-location-map {
        min-height: 220px;
    }
}

.offer-editor-open {
    overflow: hidden;
}
.offer-editor-modal[hidden] {
    display: none;
}
.offer-editor-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 20px;
}
.offer-editor-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, .76);
    backdrop-filter: blur(10px);
}
.offer-editor-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 20px;
    border-radius: 24px;
    background: rgba(15, 23, 42, .96);
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}
.offer-editor-dialog header,
.offer-editor-dialog footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.offer-editor-dialog h2 {
    margin: 0;
    color: #f8fafc;
}
#offer-editor-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    background: rgba(10, 14, 26, .82);
    color: #f8fafc;
    font-size: 1.4rem;
    cursor: pointer;
}
.offer-editor-preview-wrap {
    display: grid;
    place-items: center;
    max-height: 52vh;
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, .18);
}
#offer-editor-canvas {
    display: block;
    max-width: 100%;
    max-height: 52vh;
    height: auto;
}
.offer-editor-controls {
    display: grid;
    gap: 12px;
}
.offer-editor-controls label {
    display: grid;
    gap: 7px;
    color: #e2e8f0;
    font-weight: 900;
}
.offer-editor-controls input {
    width: 100%;
}
@media (max-width: 640px) {
    .offer-editor-dialog footer {
        align-items: stretch;
        flex-direction: column;
    }
    .offer-editor-dialog footer .btn {
        width: 100%;
    }
}

/* =============================================================
   Vorteile-Seite
   ============================================================= */
.benefits-page {
    background:
        radial-gradient(circle at 18% 4%, rgba(108, 92, 231, .24), transparent 34rem),
        radial-gradient(circle at 88% 18%, rgba(34, 197, 94, .12), transparent 30rem),
        #0A0E1A;
}
.benefits-page main {
    overflow: hidden;
}
.benefits-hero {
    min-height: min(860px, calc(100vh - 58px));
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr);
    gap: clamp(1.6rem, 4vw, 4.8rem);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(7rem, 11vw, 10rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}
.benefits-hero__content {
    position: relative;
    z-index: 2;
}
.benefits-hero h1 {
    margin: 0;
    max-width: 780px;
    color: #f8fafc;
    font-size: clamp(2.75rem, 4.8vw, 4.45rem);
    line-height: .94;
    letter-spacing: 0;
    font-weight: 950;
}
.benefits-hero__content p {
    max-width: 650px;
    margin: 1.1rem 0 0;
    color: rgba(226, 232, 240, .82);
    font-size: clamp(1.04rem, 1.45vw, 1.28rem);
    line-height: 1.68;
}
.benefits-hero__actions,
.benefits-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.55rem;
}
.benefits-hero__actions .btn,
.benefits-final__actions .btn {
    min-height: 52px;
    padding-inline: 1.35rem;
}
.benefits-hero__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: .7rem 1rem;
    list-style: none;
    padding: 0;
    margin: 1.45rem 0 0;
}
.benefits-hero__trust li {
    color: rgba(203, 213, 225, .86);
    font-weight: 800;
    font-size: .92rem;
}
.benefits-hero__trust li::before {
    content: "";
    display: inline-block;
    width: .52rem;
    height: .52rem;
    margin-right: .56rem;
    border-radius: 999px;
    background: #22C55E;
    box-shadow: 0 0 18px rgba(34, 197, 94, .52);
    vertical-align: .08em;
}
.benefits-hero__media {
    position: relative;
    min-height: 610px;
    border-radius: 30px;
}
.benefits-hero__media picture {
    position: absolute;
    inset: 5% 4% 10% 0;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 36px 100px rgba(0, 0, 0, .48);
    background: #111827;
}
.benefits-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.benefits-hero__media::before {
    content: "";
    position: absolute;
    inset: -8% -6% 4% 16%;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(108, 92, 231, .32), rgba(34, 197, 94, .10));
    transform: rotate(5deg);
}
.benefits-phone-card {
    position: absolute;
    z-index: 2;
    width: min(290px, 72%);
    padding: 1rem;
    border-radius: 20px;
    color: #f8fafc;
    background: rgba(15, 23, 42, .84);
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
    backdrop-filter: blur(18px);
}
.benefits-phone-card span {
    display: block;
    color: #22C55E;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .68rem;
    font-weight: 950;
}
.benefits-phone-card strong {
    display: block;
    margin-top: .35rem;
    font-size: 1.15rem;
}
.benefits-phone-card small {
    display: block;
    margin-top: .45rem;
    color: rgba(226, 232, 240, .76);
    line-height: 1.45;
}
.benefits-phone-card--primary {
    left: -2%;
    bottom: 9%;
}
.benefits-phone-card--match {
    right: -2%;
    top: 12%;
}
.benefits-section,
.benefits-story,
.benefits-split,
.benefits-final {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}
.benefits-section__head {
    max-width: 790px;
}
.benefits-section__head h2,
.benefits-story__copy h2,
.benefits-split__copy h2,
.benefits-final h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: .98;
    letter-spacing: 0;
}
.benefits-section__head p,
.benefits-story__copy p,
.benefits-split__copy p,
.benefits-final p {
    margin: 1rem 0 0;
    color: rgba(226, 232, 240, .78);
    font-size: 1.05rem;
    line-height: 1.72;
}
.benefits-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.benefits-proof-grid article,
.benefits-for-list article {
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 18px;
    background: rgba(20, 26, 42, .62);
}
.benefits-proof-grid strong,
.benefits-for-list h3 {
    color: #f8fafc;
    font-size: 1.08rem;
}
.benefits-proof-grid p,
.benefits-for-list p {
    margin: .6rem 0 0;
    color: rgba(203, 213, 225, .78);
    line-height: 1.62;
}
.benefits-story {
    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.benefits-inline-link {
    display: inline-flex;
    margin-top: 1.2rem;
    color: #22C55E;
    font-weight: 900;
    text-decoration: none;
}
.benefits-story__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}
.benefits-story__rail figure {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(20, 26, 42, .74);
    border: 1px solid rgba(148, 163, 184, .16);
}
.benefits-story__rail img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}
.benefits-story__rail figcaption {
    padding: .82rem .9rem;
    color: #f8fafc;
    font-weight: 900;
}
.benefits-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.2rem;
}
.benefits-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(20, 26, 42, .72);
    border: 1px solid rgba(148, 163, 184, .16);
}
.benefits-card img {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    display: block;
}
.benefits-card h3 {
    margin: 1rem 1rem .5rem;
    color: #f8fafc;
    font-size: 1.08rem;
    line-height: 1.2;
}
.benefits-card p {
    margin: 0 1rem 1.15rem;
    color: rgba(203, 213, 225, .78);
    line-height: 1.58;
    font-size: .95rem;
}
.benefits-split {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.benefits-split__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(108, 92, 231, .16), rgba(34, 197, 94, .08));
    border: 1px solid rgba(148, 163, 184, .16);
}
.benefits-split__gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    border-radius: 22px;
    background: rgba(10, 14, 26, .72);
}
.benefits-split__copy ul {
    display: grid;
    gap: .72rem;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
    list-style: none;
}
.benefits-split__copy li {
    color: rgba(226, 232, 240, .84);
    line-height: 1.55;
}
.benefits-split__copy li::before {
    content: "✓";
    margin-right: .6rem;
    color: #22C55E;
    font-weight: 950;
}
.benefits-for-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.benefits-for-list span {
    display: inline-flex;
    margin-bottom: .8rem;
    color: #22C55E;
    font-weight: 950;
    letter-spacing: .12em;
}
.benefits-for-list h3 {
    margin: 0;
}
.benefits-final {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding-bottom: clamp(5rem, 9vw, 8rem);
}
.benefits-final picture {
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}
.benefits-final img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}
@media (hover: hover) and (pointer: fine) {
    .benefits-card,
    .benefits-proof-grid article,
    .benefits-for-list article {
        transition: transform 180ms cubic-bezier(.23, 1, .32, 1), border-color 180ms ease;
    }
    .benefits-card:hover,
    .benefits-proof-grid article:hover,
    .benefits-for-list article:hover {
        transform: translateY(-3px);
        border-color: rgba(108, 92, 231, .42);
    }
}
@media (max-width: 980px) {
    .benefits-hero,
    .benefits-story,
    .benefits-split,
    .benefits-final {
        grid-template-columns: 1fr;
    }
    .benefits-hero {
        padding-top: 6.4rem;
    }
    .benefits-hero__media {
        order: 2;
        min-height: 520px;
    }
    .benefits-proof-grid,
    .benefits-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .benefits-hero {
        min-height: auto;
        padding-top: 5.8rem;
    }
    .benefits-hero h1 {
        font-size: clamp(2.55rem, 14vw, 4.1rem);
    }
    .benefits-hero__actions,
    .benefits-final__actions {
        align-items: stretch;
        flex-direction: column;
    }
    .benefits-hero__actions .btn,
    .benefits-final__actions .btn {
        width: 100%;
    }
    .benefits-hero__trust,
    .benefits-proof-grid,
    .benefits-card-grid,
    .benefits-for-list,
    .benefits-story__rail {
        grid-template-columns: 1fr;
    }
    .benefits-hero__media {
        min-height: 420px;
    }
    .benefits-phone-card {
        width: min(260px, 82%);
    }
    .benefits-phone-card--primary {
        left: 2%;
        bottom: 2%;
    }
    .benefits-phone-card--match {
        right: 2%;
        top: 6%;
    }
    .benefits-section,
    .benefits-story,
    .benefits-split,
    .benefits-final {
        padding-top: 3.4rem;
        padding-bottom: 3.4rem;
    }
    .benefits-split__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .7rem;
        padding: .7rem;
    }
    .benefits-final img {
        min-height: 260px;
    }
}

/* KI-Agent page */
.ki-page {
    background:
        radial-gradient(circle at 78% 10%, rgba(108, 92, 231, .22), transparent 34rem),
        radial-gradient(circle at 18% 26%, rgba(34, 197, 94, .13), transparent 30rem),
        #0A0E1A;
    color: #f8fafc;
}
.ki-page-hero {
    min-height: 92vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(7rem, 11vw, 10rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}
.ki-page-kicker,
.withdrawal-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .45rem;
    padding: .42rem .78rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .28);
    color: #34D399;
    font-size: .82rem;
    font-weight: 850;
}
.ki-page-hero h1,
.withdrawal-hero h1 {
    margin: 1rem 0 1rem;
    color: #f8fafc;
    font-size: clamp(3.2rem, 7.5vw, 6.8rem);
    line-height: .95;
    letter-spacing: 0;
}
.ki-page-hero p,
.ki-page-section__head p,
.ki-page-showcase__copy p,
.ki-page-risk__intro p,
.ki-page-rules p,
.ki-page-final p,
.withdrawal-hero p,
.withdrawal-info p,
.withdrawal-info li,
.withdrawal-card p,
.withdrawal-steps p {
    color: rgba(203, 213, 225, .82);
    line-height: 1.7;
}
.ki-page-hero__actions,
.ki-page-final__actions,
.withdrawal-hero__actions {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}
.ki-page-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}
.ki-page-hero__trust li {
    padding: .55rem .75rem;
    border-radius: 999px;
    background: rgba(20, 26, 42, .72);
    border: 1px solid rgba(148, 163, 184, .18);
    color: rgba(226, 232, 240, .86);
    font-size: .88rem;
    font-weight: 750;
}
.ki-page-hero__visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}
.ki-orbit {
    position: absolute;
    width: min(88%, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(108, 92, 231, .18), rgba(34, 197, 94, .12)),
        radial-gradient(circle, rgba(255, 255, 255, .06), transparent 60%);
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 34px 120px rgba(0, 0, 0, .46);
}
.ki-assistant-card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 1.1rem;
    border-radius: 30px;
    background: rgba(20, 26, 42, .82);
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .44);
    backdrop-filter: blur(18px);
}
.ki-assistant-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(108, 92, 231, .2), rgba(34, 197, 94, .12));
}
.ki-assistant-card div {
    padding: 1rem .35rem .2rem;
}
.ki-assistant-card span,
.ki-insight-card span {
    color: #34D399;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}
.ki-assistant-card strong,
.ki-insight-card strong {
    display: block;
    margin-top: .3rem;
    color: #f8fafc;
    font-size: 1.2rem;
}
.ki-assistant-card p {
    margin: .55rem 0 0;
    color: rgba(203, 213, 225, .78);
    line-height: 1.55;
}
.ki-insight-card {
    position: absolute;
    z-index: 2;
    width: 190px;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, .86);
    border: 1px solid rgba(148, 163, 184, .2);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}
.ki-insight-card--left {
    left: 0;
    top: 22%;
}
.ki-insight-card--right {
    right: 0;
    bottom: 18%;
}
.ki-page-section,
.ki-page-showcase,
.ki-page-risk,
.ki-page-rules,
.ki-page-final,
.withdrawal-layout,
.withdrawal-steps {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}
.ki-page-section__head,
.ki-page-risk__intro {
    max-width: 850px;
}
.ki-page-section__head--center,
.ki-page-final,
.withdrawal-steps {
    text-align: center;
    max-width: 980px;
}
.ki-page-section h2,
.ki-page-showcase h2,
.ki-page-risk h2,
.ki-page-rules h2,
.ki-page-final h2,
.withdrawal-info h2,
.withdrawal-card h2,
.withdrawal-steps h2 {
    margin: 0 0 .85rem;
    color: #f8fafc;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: 0;
}
.ki-benefit-grid,
.ki-use-grid,
.ki-risk-grid,
.withdrawal-step-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}
.ki-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ki-benefit-grid article,
.ki-risk-grid article,
.withdrawal-step-grid article {
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(20, 26, 42, .68);
    border: 1px solid rgba(148, 163, 184, .16);
}
.ki-benefit-grid span,
.withdrawal-step-grid span {
    color: #34D399;
    font-weight: 950;
}
.ki-benefit-grid h3,
.ki-use-grid h3,
.ki-risk-grid h3,
.withdrawal-step-grid h3 {
    margin: .75rem 0 .45rem;
    color: #f8fafc;
    line-height: 1.2;
}
.ki-benefit-grid p,
.ki-use-grid p,
.ki-risk-grid p {
    color: rgba(203, 213, 225, .78);
    line-height: 1.62;
}
.ki-page-showcase {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.ki-page-showcase__media {
    overflow: hidden;
    border-radius: 32px;
    background: rgba(20, 26, 42, .72);
    border: 1px solid rgba(148, 163, 184, .16);
}
.ki-page-showcase__media video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.ki-check-list {
    display: grid;
    gap: .7rem;
    margin-top: 1.2rem;
}
.ki-check-list span {
    padding: .8rem .9rem;
    border-radius: 14px;
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .18);
    color: rgba(226, 232, 240, .88);
}
.ki-use-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ki-use-grid article {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(20, 26, 42, .7);
    border: 1px solid rgba(148, 163, 184, .16);
}
.ki-use-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.ki-use-grid h3,
.ki-use-grid p {
    margin-left: 1rem;
    margin-right: 1rem;
}
.ki-use-grid p {
    margin-bottom: 1.2rem;
}
.ki-page-risk {
    border-top: 1px solid rgba(148, 163, 184, .12);
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.ki-risk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ki-risk-grid article {
    border-color: rgba(248, 113, 113, .22);
}
.ki-risk-grid h3::before {
    content: "!";
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-right: .45rem;
    border-radius: 999px;
    background: rgba(248, 113, 113, .16);
    color: #FCA5A5;
    font-size: .82rem;
}
.ki-page-rules {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.ki-page-rules ol {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding: 1.25rem;
    border-radius: 26px;
    background: rgba(20, 26, 42, .72);
    border: 1px solid rgba(148, 163, 184, .16);
    list-style-position: inside;
}
.ki-page-rules li {
    color: rgba(226, 232, 240, .84);
    line-height: 1.58;
}
.ki-page-final {
    padding-bottom: clamp(5rem, 9vw, 8rem);
}
.ki-page-final__actions {
    justify-content: center;
}

/* Withdrawal button and page */
.withdrawal-float {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.2rem);
    z-index: 1450;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.2rem;
    min-height: 3rem;
    padding: .8rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22C55E, #6C5CE7);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 18px 50px rgba(34, 197, 94, .25), 0 16px 46px rgba(0, 0, 0, .34);
    border: 1px solid rgba(255, 255, 255, .22);
}
.withdrawal-float:hover,
.withdrawal-float:focus-visible {
    transform: translateY(-2px);
    outline: none;
}
.footer-withdrawal-link {
    color: #34D399 !important;
    font-weight: 850 !important;
}
.withdrawal-page {
    background:
        radial-gradient(circle at 82% 12%, rgba(34, 197, 94, .18), transparent 28rem),
        radial-gradient(circle at 18% 18%, rgba(108, 92, 231, .2), transparent 30rem),
        #0A0E1A;
    color: #f8fafc;
}
.withdrawal-hero {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(7rem, 11vw, 10rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
    text-align: center;
}
.withdrawal-hero__actions {
    justify-content: center;
}
.withdrawal-layout {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    padding-top: 1rem;
}
.withdrawal-info,
.withdrawal-card {
    border-radius: 28px;
    background: rgba(20, 26, 42, .76);
    border: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}
.withdrawal-info {
    padding: 1.35rem;
    position: sticky;
    top: 6.5rem;
}
.withdrawal-info ul {
    display: grid;
    gap: .75rem;
    margin: 1rem 0;
    padding-left: 1.2rem;
}
.withdrawal-note,
.withdrawal-processing-note {
    padding: .9rem;
    border-radius: 16px;
    background: rgba(108, 92, 231, .12);
    border: 1px solid rgba(108, 92, 231, .22);
}
.withdrawal-card {
    padding: clamp(1.2rem, 3vw, 2rem);
}
.withdrawal-gate {
    text-align: center;
}
.withdrawal-form {
    display: grid;
    gap: 1rem;
}
.withdrawal-user-line {
    margin: 0;
}
.withdrawal-contract-hint {
    margin: -.25rem 0 .25rem;
    color: rgba(203, 213, 225, .72);
    font-size: .92rem;
    line-height: 1.5;
}
.withdrawal-form label {
    display: grid;
    gap: .45rem;
    color: #e2e8f0;
    font-weight: 800;
}
.withdrawal-form input,
.withdrawal-form select,
.withdrawal-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .24);
    background: rgba(10, 14, 26, .72);
    color: #f8fafc;
    padding: .85rem .95rem;
    font: inherit;
}
.withdrawal-form textarea {
    resize: vertical;
}
.withdrawal-checkbox {
    grid-template-columns: auto 1fr !important;
    align-items: start;
    font-weight: 650 !important;
    color: rgba(226, 232, 240, .86) !important;
}
.withdrawal-checkbox input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .15rem;
    accent-color: #22C55E;
}
.withdrawal-status {
    min-height: 1.4rem;
    margin: 0;
    font-weight: 800;
}
.withdrawal-status[data-type="error"] {
    color: #FCA5A5;
}
.withdrawal-status[data-type="success"] {
    color: #34D399;
}
.withdrawal-step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    text-align: left;
}
@media (max-width: 980px) {
    .ki-page-hero,
    .ki-page-showcase,
    .ki-page-rules,
    .withdrawal-layout {
        grid-template-columns: 1fr;
    }
    .ki-page-hero__visual {
        min-height: 500px;
    }
    .ki-benefit-grid,
    .ki-use-grid,
    .ki-risk-grid,
    .withdrawal-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .withdrawal-info {
        position: static;
    }
}
@media (max-width: 680px) {
    .ki-page-hero,
    .withdrawal-hero {
        min-height: auto;
        padding-top: 5.8rem;
    }
    .ki-page-hero h1,
    .withdrawal-hero h1,
    .ki-page-section h2,
    .ki-page-showcase h2,
    .ki-page-risk h2,
    .ki-page-rules h2,
    .ki-page-final h2,
    .withdrawal-info h2,
    .withdrawal-card h2,
    .withdrawal-steps h2 {
        font-size: clamp(2.35rem, 12vw, 3.8rem);
    }
    .ki-page-hero__actions,
    .ki-page-final__actions,
    .withdrawal-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ki-page-hero__actions .btn,
    .ki-page-final__actions .btn,
    .withdrawal-hero__actions .btn {
        width: 100%;
    }
    .ki-page-hero__visual {
        min-height: 430px;
    }
    .ki-insight-card {
        width: 160px;
    }
    .ki-insight-card--left {
        left: .2rem;
        top: 8%;
    }
    .ki-insight-card--right {
        right: .2rem;
        bottom: 2%;
    }
    .ki-benefit-grid,
    .ki-use-grid,
    .ki-risk-grid,
    .withdrawal-step-grid {
        grid-template-columns: 1fr;
    }
    .withdrawal-float {
        right: .8rem;
        bottom: calc(.8rem + 4.6rem);
        min-width: 7.4rem;
        min-height: 2.75rem;
        font-size: .9rem;
    }
}

/* =============================================================
   Erfolgsboosts-Seite
   ============================================================= */
.boost-page {
    background:
        radial-gradient(circle at 16% 8%, rgba(108, 92, 231, .26), transparent 34rem),
        radial-gradient(circle at 84% 8%, rgba(34, 197, 94, .12), transparent 28rem),
        #0A0E1A;
}
.boost-page main {
    overflow: hidden;
}
.boost-notice {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    width: min(1120px, calc(100% - 2rem));
    margin: calc(var(--header-height, 72px) + 1rem) auto 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(34, 197, 94, .32);
    border-radius: 18px;
    background: rgba(20, 26, 42, .88);
    color: rgba(226, 232, 240, .9);
    box-shadow: 0 20px 54px rgba(0, 0, 0, .32);
}
.boost-notice__dot {
    flex: 0 0 .72rem;
    width: .72rem;
    height: .72rem;
    margin-top: .35rem;
    border-radius: 999px;
    background: #22C55E;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .12);
}
.boost-notice strong,
.boost-notice span {
    display: block;
}
.boost-notice strong {
    color: #f8fafc;
    font-weight: 900;
}
.boost-notice span {
    margin-top: .2rem;
    line-height: 1.45;
}
.boost-hero {
    min-height: min(840px, calc(100vh - 58px));
    display: grid;
    grid-template-columns: minmax(460px, 1.04fr) minmax(0, .96fr);
    gap: clamp(2rem, 4vw, 5rem);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(4.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 7vw, 6rem);
}
.boost-hero h1,
.boost-section__head h2,
.boost-flow h2,
.boost-fair h2,
.boost-final h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(2.8rem, 5.2vw, 5.2rem);
    line-height: .94;
    letter-spacing: 0;
    font-weight: 950;
}
.boost-hero__copy p,
.boost-section__head p,
.boost-fair p,
.boost-final p {
    max-width: 680px;
    margin: 1.1rem 0 0;
    color: rgba(226, 232, 240, .8);
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.72;
}
.boost-hero__actions,
.boost-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.6rem;
}
.boost-hero__actions .btn,
.boost-final__actions .btn {
    min-height: 52px;
    padding-inline: 1.3rem;
}
.boost-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.5rem;
}
.boost-hero__proof span {
    padding: .68rem .86rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 999px;
    color: rgba(226, 232, 240, .88);
    background: rgba(20, 26, 42, .68);
    font-size: .9rem;
    font-weight: 850;
}
.boost-hero__proof span::before {
    content: "";
    display: inline-block;
    width: .52rem;
    height: .52rem;
    margin-right: .5rem;
    border-radius: 999px;
    background: #22C55E;
    box-shadow: 0 0 16px rgba(34, 197, 94, .55);
}
.boost-hero__visual {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
}
.boost-rings {
    position: absolute;
    width: min(520px, 92%);
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(34, 197, 94, .18) 0 18%, transparent 19%),
        radial-gradient(circle, transparent 0 36%, rgba(108, 92, 231, .24) 37% 38%, transparent 39%),
        radial-gradient(circle, transparent 0 58%, rgba(34, 197, 94, .18) 59% 60%, transparent 61%);
    filter: blur(.2px);
}
.boost-phone {
    position: relative;
    z-index: 2;
    width: min(430px, 92%);
    padding: 1rem;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(28, 36, 56, .94), rgba(10, 14, 26, .94));
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .52);
}
.boost-phone__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem .7rem 1rem;
    color: rgba(203, 213, 225, .72);
    font-size: .86rem;
}
.boost-phone__top strong {
    color: #22C55E;
}
.boost-listing {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: .9rem;
    align-items: center;
    margin-top: .7rem;
    padding: .8rem;
    border-radius: 22px;
    color: #f8fafc;
    background: rgba(15, 23, 42, .72);
    border: 1px solid rgba(148, 163, 184, .14);
}
.boost-listing--active {
    background: linear-gradient(135deg, rgba(108, 92, 231, .34), rgba(34, 197, 94, .13));
    border-color: rgba(108, 92, 231, .55);
    box-shadow: 0 20px 60px rgba(108, 92, 231, .22);
}
.boost-listing img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 18px;
    background: rgba(10, 14, 26, .72);
}
.boost-listing strong,
.boost-listing small {
    display: block;
}
.boost-listing small {
    margin-top: .35rem;
    color: rgba(226, 232, 240, .72);
}
.boost-column-chart {
    position: absolute;
    right: -1rem;
    bottom: 3rem;
    z-index: 3;
    display: grid;
    gap: .35rem;
    width: 170px;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, .84);
    border: 1px solid rgba(148, 163, 184, .2);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.boost-column-chart span,
.boost-column-chart strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(226, 232, 240, .76);
    font-size: .82rem;
}
.boost-column-chart span::after,
.boost-column-chart strong::after {
    content: "";
    width: 44px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .28);
}
.boost-column-chart span:nth-child(2)::after {
    width: 72px;
    background: rgba(108, 92, 231, .65);
}
.boost-column-chart strong {
    color: #f8fafc;
}
.boost-column-chart strong::after {
    width: 104px;
    background: linear-gradient(90deg, #6C5CE7, #22C55E);
}
.boost-section,
.boost-flow,
.boost-final {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}
.boost-section__head {
    max-width: 820px;
}
.boost-section__head--center {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.boost-proof-grid,
.boost-type-grid,
.boost-flow-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}
.boost-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.boost-proof-grid article,
.boost-flow-grid article {
    padding: 1.25rem;
    border-radius: 20px;
    background: rgba(20, 26, 42, .66);
    border: 1px solid rgba(148, 163, 184, .16);
}
.boost-proof-grid span,
.boost-flow-grid span {
    color: #22C55E;
    font-weight: 950;
    letter-spacing: .12em;
}
.boost-proof-grid h3,
.boost-flow-grid h3,
.boost-type-card h3 {
    margin: .8rem 0 0;
    color: #f8fafc;
    line-height: 1.18;
}
.boost-proof-grid p,
.boost-flow-grid p,
.boost-type-card p,
.boost-type-card li {
    color: rgba(203, 213, 225, .78);
    line-height: 1.6;
}
.boost-type-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.boost-type-card {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(20, 26, 42, .72);
    border: 1px solid rgba(148, 163, 184, .16);
}
.boost-type-card--green {
    border-color: rgba(34, 197, 94, .34);
    box-shadow: 0 24px 70px rgba(34, 197, 94, .08);
}
.boost-type-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: rgba(10, 14, 26, .72);
}
.boost-type-card h3,
.boost-type-card p,
.boost-type-card ul {
    margin-left: 1rem;
    margin-right: 1rem;
}
.boost-type-card p {
    margin-top: .55rem;
}
.boost-type-card ul {
    display: grid;
    gap: .38rem;
    padding: 0 0 1.15rem;
    list-style: none;
}
.boost-type-card li::before {
    content: "✓";
    margin-right: .5rem;
    color: #22C55E;
    font-weight: 950;
}
.boost-flow h2,
.boost-final {
    text-align: center;
}
.boost-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.boost-flow-grid article {
    text-align: center;
}
.boost-flow-grid img {
    width: min(170px, 68%);
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
    margin: .8rem auto .2rem;
}
.boost-fair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem);
    border-top: 1px solid rgba(148, 163, 184, .12);
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.boost-fair ul {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding: 1.25rem;
    list-style: none;
    border-radius: 24px;
    background: rgba(20, 26, 42, .72);
    border: 1px solid rgba(148, 163, 184, .16);
}
.boost-fair li {
    color: rgba(226, 232, 240, .82);
    line-height: 1.5;
}
.boost-fair li::before {
    content: "";
    display: inline-block;
    width: .52rem;
    height: .52rem;
    margin-right: .58rem;
    border-radius: 999px;
    background: #6C5CE7;
}
.boost-final {
    padding-bottom: clamp(5rem, 9vw, 8rem);
}
.boost-final p {
    margin-left: auto;
    margin-right: auto;
}
.boost-final__actions {
    justify-content: center;
}
@media (hover: hover) and (pointer: fine) {
    .boost-type-card,
    .boost-proof-grid article,
    .boost-flow-grid article {
        transition: transform 180ms cubic-bezier(.23, 1, .32, 1), border-color 180ms ease;
    }
    .boost-type-card:hover,
    .boost-proof-grid article:hover,
    .boost-flow-grid article:hover {
        transform: translateY(-3px);
        border-color: rgba(108, 92, 231, .42);
    }
}
@media (max-width: 980px) {
    .boost-hero,
    .boost-fair {
        grid-template-columns: 1fr;
    }
    .boost-hero__visual {
        min-height: 520px;
    }
    .boost-proof-grid,
    .boost-type-grid,
    .boost-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .boost-hero {
        min-height: auto;
        padding-top: 5.8rem;
    }
    .boost-hero h1,
    .boost-section__head h2,
    .boost-flow h2,
    .boost-fair h2,
    .boost-final h2 {
        font-size: clamp(2.4rem, 13vw, 3.8rem);
    }
    .boost-hero__actions,
    .boost-final__actions {
        align-items: stretch;
        flex-direction: column;
    }
    .boost-hero__actions .btn,
    .boost-final__actions .btn {
        width: 100%;
    }
    .boost-hero__visual {
        min-height: 470px;
    }
    .boost-phone {
        width: 100%;
    }
    .boost-column-chart {
        right: .4rem;
        bottom: -.8rem;
    }
    .boost-proof-grid,
    .boost-type-grid,
    .boost-flow-grid {
        grid-template-columns: 1fr;
    }
    .boost-section,
    .boost-flow,
    .boost-final,
    .boost-fair {
        padding-top: 3.4rem;
        padding-bottom: 3.4rem;
    }
}

/* ===== Hero-Feed: horizontaler Produkt-Scroll-Strip ===== */
.hero-feed {
    width: 100%;
    margin-top: 28px;
}

.hero-feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 0 2px;
}

.hero-feed-title {
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0;
}

.hero-feed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet);
    flex-shrink: 0;
    animation: hf-pulse 2s ease-in-out infinite;
}

@keyframes hf-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.75); }
}

/* Scroll-Strip */
.hf-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    /* Schlanke Scrollleiste – gleiches Muster wie .uptrade-chain */
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 92, 231, 0.55) transparent;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.hf-strip::-webkit-scrollbar {
    height: 6px;
}

.hf-strip::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    margin: 0 8px;
}

.hf-strip::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.5);
    border-radius: 999px;
}

.hf-strip::-webkit-scrollbar-thumb:hover {
    background: var(--violet);
}

/* Einzelne Karte */
.hf-card {
    flex: 0 0 148px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    outline: none;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.hf-card:hover,
.hf-card:focus-visible {
    border-color: var(--violet);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(108, 92, 231, .22);
}

/* Foto-Bereich */
.hf-card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    overflow: hidden;
    flex-shrink: 0;
}

.hf-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.hf-card:hover .hf-card-photo img,
.hf-card:focus-visible .hf-card-photo img {
    transform: scale(1.04);
}

/* Kein-Bild-Placeholder */
.hf-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    opacity: .45;
}

/* Featured-Badge */
.hf-card-featured {
    position: absolute;
    top: 7px;
    right: 8px;
    background: var(--violet);
    color: #fff;
    font-size: .65rem;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 6px;
    pointer-events: none;
}

/* Text-Body */
.hf-card-body {
    padding: 9px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.hf-card-title {
    margin: 0;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.25;
    /* Maximal 2 Zeilen */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
}

.hf-card-meta {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.hf-card-cat {
    font-size: .68rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.hf-card-dist {
    font-size: .65rem;
    color: var(--violet);
    white-space: nowrap;
    font-weight: 600;
}

/* Lade-Skeleton */
.hf-loading {
    display: flex;
    gap: 12px;
    padding: 4px 2px 10px;
}

.hf-skel {
    flex: 0 0 148px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
}

.hf-skel-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    animation: hf-shimmer 1.4s ease-in-out infinite;
}

.hf-skel-line {
    height: 9px;
    margin: 10px 10px 6px;
    border-radius: 5px;
    background: var(--surface-2);
    animation: hf-shimmer 1.4s ease-in-out infinite;
}

.hf-skel-line--short {
    width: 55%;
    height: 7px;
    margin-top: 0;
}

@keyframes hf-shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}

/* Leer-Zustand */
.hf-empty {
    font-size: .8rem;
    color: var(--muted);
    padding: 6px 2px;
}

/* Login-Modal-Overlay */
.hf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, .78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.hf-modal-overlay[hidden] {
    display: none !important;
}

.hf-modal-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.75rem 1.75rem;
    max-width: 360px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
    text-align: center;
}

.hf-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    line-height: 0;
    transition: color .15s ease;
}

.hf-modal-close:hover { color: var(--text); }

.hf-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 .6rem;
}

.hf-modal-text {
    font-size: .88rem;
    color: var(--muted);
    margin: 0 0 1.25rem;
    line-height: 1.55;
}

.hf-modal-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hf-modal-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* Responsive: auf kleinen Bildschirmen etwas schmälere Karten */
@media (max-width: 640px) {
    .hf-card {
        flex: 0 0 130px;
    }
    .hf-skel {
        flex: 0 0 130px;
    }
    .hero-feed {
        margin-top: 20px;
    }
}

/* ============================================================
   Hero-Feed REDESIGN (2026-06-20): Glas-Band DIREKT unter dem
   Kopf · langsames Auto-Marquee (max. 5 Karten) · Foto mit
   Verlauf nach unten · Bezeichnung + Kategorie darunter.
   (Spätere Regeln überschreiben die Basis oben absichtlich.)
   ============================================================ */
.hero-feed {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 0;
    position: relative;
    z-index: 6;
    background: rgba(18, 22, 40, 0.42);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}
.hero-feed .hero-feed-header { display: none; }
.hf-strip {
    display: flex;
    gap: 12px;
    width: max-content;
    padding: 2px 0;
    overflow: visible;
    scrollbar-width: none;
    animation: none;
}
.hf-strip::-webkit-scrollbar { display: none; }
.hf-strip.hf-marquee { animation: hf-marquee 40s linear infinite; }
.hf-strip.hf-marquee:hover { animation-play-state: paused; }
@keyframes hf-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.hf-card {
    flex: 0 0 168px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transform: none;
    box-shadow: none;
}
.hf-card:hover,
.hf-card:focus-visible {
    border-color: rgba(108, 92, 231, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(108, 92, 231, 0.22);
}
.hf-card-photo { height: 104px; }
.hf-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 42%, rgba(10, 14, 26, 0.9) 100%);
    pointer-events: none;
}
.hf-card-body { padding: 7px 10px 9px; }
.hf-card-title { font-size: .8rem; font-weight: 700; color: #fff; }
.hf-card-meta { margin-top: 2px; }
.hf-card-cat { font-size: .68rem; color: rgba(255, 255, 255, 0.62); }
.hf-card-dist { font-size: .66rem; color: var(--violet); }
.hf-card-featured { z-index: 2; }
@media (max-width: 640px) {
    .hf-card { flex: 0 0 144px; }
    .hf-card-photo { height: 94px; }
}

/* ── FAQ Page (faq.html) ─────────────────────────────────────────────── */
.faq-page main {
    min-height: 60vh;
}

.faq-page-hero {
    padding: 3.5rem 0 2rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(108, 92, 231, 0.22), transparent),
        var(--surface);
    border-bottom: 1px solid var(--border);
}

.faq-page-hero__inner {
    max-width: 760px;
}

.faq-page-hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 0.75rem;
}

.faq-page-hero__title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.faq-page-hero__subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.faq-page-search {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-page-search__icon {
    position: absolute;
    left: 1rem;
    color: var(--muted);
    pointer-events: none;
}

.faq-page-search__input {
    width: 100%;
    padding: 0.95rem 2.75rem 0.95rem 2.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-page-search__input:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.25);
}

.faq-page-search__clear {
    position: absolute;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
}

.faq-page-search__hint,
.faq-page-search__status {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 0.65rem;
}

.faq-page-search__status {
    color: var(--violet);
}

.faq-page-topics {
    padding: 2rem 0 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 820px;
}

.faq-page-topics[data-empty="true"]::after {
    content: attr(data-empty-text);
    display: block;
    text-align: center;
    color: var(--muted);
    padding: 2rem 1rem;
}

.faq-page-topic {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    overflow: hidden;
}

.faq-page-topic__toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-page-topic__toggle:hover {
    background: rgba(108, 92, 231, 0.06);
}

.faq-page-topic__count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--violet);
    background: rgba(108, 92, 231, 0.15);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.faq-page-topic__chevron {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--violet);
    border-bottom: 2px solid var(--violet);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-page-topic__toggle[aria-expanded="true"] .faq-page-topic__chevron {
    transform: rotate(-135deg);
}

.faq-page-topic__panel {
    border-top: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
}

.faq-page-topic__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-page-item {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    background: var(--surface);
    overflow: hidden;
}

.faq-page-item summary {
    padding: 1rem 1.15rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-page-item summary::-webkit-details-marker {
    display: none;
}

.faq-page-item summary::after {
    content: '+';
    font-size: 1.35rem;
    color: var(--violet);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-page-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-page-item__answer {
    padding: 0 1.15rem 1.15rem;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.975rem;
}

.faq-page-item[hidden],
.faq-page-topic[hidden] {
    display: none !important;
}

.faq-page-contact {
    padding-bottom: 4rem;
    max-width: 820px;
}

.faq-page-contact__card {
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(108, 92, 231, 0.35);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(10, 14, 26, 0.6));
    text-align: center;
}

.faq-page-contact__card h2 {
    margin-bottom: 0.5rem;
}

.faq-page-contact__card p {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .faq-page-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .faq-page-topic__toggle {
        grid-template-columns: 1fr auto;
        font-size: 0.98rem;
    }

    .faq-page-topic__chevron {
        display: none;
    }
}

/* ── Kontakt Page (kontakt.html) ─────────────────────────────────────── */
.kontakt-page-form {
    padding: 2rem 0 4rem;
    max-width: 640px;
}

.kontakt-form-card {
    max-width: none;
    width: 100%;
}

.kontakt-select,
.kontakt-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.kontakt-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.55;
}

.kontakt-select:focus,
.kontakt-textarea:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.22);
    background: rgba(0, 0, 0, 0.35);
}

.kontakt-readonly {
    opacity: 0.85;
    cursor: not-allowed;
}

.kontakt-optional {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.78rem;
}

.kontakt-success {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
}

.kontakt-success__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.kontakt-success h3 {
    margin-bottom: 0.5rem;
}

.kontakt-success p {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
    .kontakt-page-form {
        padding: 1.25rem 0 3rem;
    }
}




/* Abo-Seite */
.abo-body { background: var(--bg); }
.abo-page { padding: 2rem 0 4rem; }
.abo-hero { padding: 3rem 0 2rem; text-align: center; }
.abo-hero .container { max-width: 720px; }
.abo-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.5rem 0 1rem; }
.abo-lede { color: var(--muted); font-size: 1.0625rem; margin: 0 auto 1.25rem; max-width: 56ch; }
.abo-disclaimer { color: var(--violet); background: rgba(108,92,231,0.12); border: 1px solid rgba(108,92,231,0.3); padding: 0.75rem 1rem; border-radius: 12px; display: inline-block; font-size: 0.95rem; }
.abo-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 2rem 0; }
.abo-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; position: relative; transition: transform 0.2s ease, border-color 0.2s ease; }
.abo-card:hover { transform: translateY(-2px); border-color: rgba(108,92,231,0.45); }
.abo-card-featured { border-color: var(--violet); box-shadow: 0 8px 36px rgba(108,92,231,0.25); }
.abo-badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); background: var(--violet); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 999px; letter-spacing: 0.02em; text-transform: uppercase; }
.abo-card-head { margin-bottom: 1rem; }
.abo-plan-name { font-size: 1.25rem; margin: 0 0 0.25rem; color: var(--text); }
.abo-plan-tagline { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.abo-plan-price { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 0; }
.abo-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.abo-features li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; color: var(--text); font-size: 0.95rem; }
.abo-features li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }
.abo-cta { width: 100%; }
.abo-cta:disabled { opacity: 0.6; cursor: not-allowed; }
.abo-benefits { background: var(--surface); border-radius: 16px; padding: 2rem 1.5rem; margin: 2rem auto; max-width: 720px; text-align: center; }
.abo-benefits h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.abo-benefits-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.abo-benefits-list li { background: rgba(108,92,231,0.12); border: 1px solid rgba(108,92,231,0.3); padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.9rem; }
.abo-back { text-align: center; margin-top: 2rem; }
