/* ============================================
   EU-Frei — Design Tokens
   Based on eu-frei-design system
   ============================================ */

:root {
  /* Colors — lighter dark theme, no near-black */
  --background: #2a2a2a;
  --surface: rgba(0, 0, 0, 0.14);
  --surface-strong: rgba(0, 0, 0, 0.22);
  --surface-2: rgba(0, 0, 0, 0.18);
  --text-primary: #ffffff;
  --text-muted: #aa9b70;
  --text-secondary: #d4d4d4;
  --accent: #cdb88a;
  --accent-dark: #af9862;
  --accent-tint: rgba(205, 184, 138, 0.18);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --danger: #ff4c22;

  /* Glass + 3D shared shadow stack */
  --shadow-glass: 0 18px 40px -16px rgba(0, 0, 0, 0.45),
                  0 4px 12px -4px rgba(0, 0, 0, 0.30);
  --shadow-glass-hi: 0 24px 60px -16px rgba(0, 0, 0, 0.55),
                     0 6px 16px -4px rgba(0, 0, 0, 0.35);
  --highlight-inset: inset 0 1px 0 rgba(255, 255, 255, 0.10);

  /* Spacing (4px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-pill: 9999px;

  /* Type */
  --font-body: Helvetica, "Helvetica Neue", "Inter", Arial, sans-serif;
  --font-display: Helvetica, "Helvetica Neue", "Inter", Arial, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(.165, .84, .44, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;

  /* Container */
  --container-max: 1120px;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Mobile: kill horizontal scroll and pinch-zoom for real */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    touch-action: pan-y;
    -ms-touch-action: pan-y;
  }
  body {
    -webkit-text-size-adjust: 100%;
  }
}

/* Sticky gold radiant blob — fixed at tag height, follows scroll */
.gold-blob {
  position: fixed;
  top: 30%;
  left: 6%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(205, 184, 138, 0.55) 0%,
    rgba(205, 184, 138, 0.22) 30%,
    rgba(205, 184, 138, 0.05) 55%,
    transparent 70%
  );
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  will-change: transform;
  transform: translateZ(0);
}
@media (max-width: 991px) {
  .gold-blob {
    width: 420px;
    height: 420px;
    top: 140px;
    left: -8%;
    opacity: 0.55;
    filter: blur(70px);
  }
}
@media (max-width: 600px) {
  .gold-blob {
    width: 320px;
    height: 320px;
    top: 120px;
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gold-blob { display: none; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
}

.muted { color: var(--text-muted); }
.accent { color: var(--accent); }

/* ============================================
   Components — Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 6px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #1a1408;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px var(--accent);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-muted);
  border-color: rgba(205, 184, 138, 0.45);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}
.btn-ghost:hover {
  background: var(--surface-strong);
  border-color: rgba(205, 184, 138, 0.65);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-block { width: 100%; }

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(205, 184, 138, 0.45);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.badge { margin-bottom: var(--space-6); }

.input {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.input::placeholder { color: var(--text-muted); }
.input:focus {
  outline: none;
  border-color: var(--accent);
}
/* Native <select> dropdown styling — without this, options render transparent on dark themes */
select.input {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}
.input option {
  background: #1a1a1a;
  color: var(--text-primary);
  padding: 12px;
}

/* ============================================
   Navigation
   ============================================ */

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(42, 42, 42, 0.55);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--highlight-inset), 0 8px 24px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  gap: var(--space-6);
}

.nav-brand {
  display: flex;
  align-items: center;
  color: var(--text-primary);
}
.nav-logo {
  height: 32px;
  width: auto;
  display: block;
}
.nav-link-subtle { opacity: 0.7; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-link:hover { color: var(--accent); }

.nav-item { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 620px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--dur-base) var(--ease-out);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--space-2);
}
.dropdown-link {
  display: block;
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease-out);
}
.dropdown-link:hover { color: var(--accent); }

.dropdown-feature {
  background: var(--background);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.dropdown-feature-label {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}
.dropdown-feature p {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.nav-cta { padding: 6px 18px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  display: block;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-16);
  overflow: hidden;
  background: var(--background);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 520px at 80% 20%, rgba(205, 184, 138, 0.14), transparent 60%),
    radial-gradient(circle 380px at 20% 80%, rgba(205, 184, 138, 0.06), transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: var(--space-8);
  align-items: center;
}
.hero-text {
  max-width: 580px;
  transform: translateY(-20px);
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 0 0 var(--space-6);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-secondary);
  margin: 0 0 var(--space-8);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.btn-lg { padding: 8px 22px; font-size: 13px; }

.hero-trust {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong { color: var(--accent); font-size: 20px; line-height: 1; }
.trust-item span { color: var(--text-muted); font-size: 13px; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 10% 10% 5% 10%;
  background: radial-gradient(circle at 50% 50%, rgba(205, 184, 138, 0.32), transparent 65%);
  filter: blur(20px);
  animation: hero-glow 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: auto 20% -30px 20%;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
  animation: hero-shadow 4.5s ease-in-out infinite;
}
.hero-product {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(205, 184, 138, 0.25));
  transform-origin: center 60%;
  will-change: transform, filter;
  pointer-events: none;
}

.hero-video {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 90px rgba(205, 184, 138, 0.28));
  pointer-events: none;
  background: transparent;
  transform: scale(1.20);
  transform-origin: center;
}
/* Static PNG fallback for browsers that can't render WebM-alpha (iOS Safari).
   Hidden by default; mobile media query shows it instead of the video. */
.hero-video-fallback { display: none; }

/* Hero visual when it's a video: right-aligned + larger backdrop glow */
.hero-visual-video {
  justify-content: flex-end;
  margin-right: calc(-1 * var(--space-6));
}
.hero-visual-video::before {
  content: '';
  position: absolute;
  inset: 5% 0 0 10%;
  background: radial-gradient(circle at 60% 45%, rgba(205, 184, 138, 0.32), transparent 60%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

@keyframes hero-glow {
  0%, 100% { opacity: 0.5; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes hero-shadow {
  0%, 100% { transform: scaleX(1) scaleY(1); opacity: .55; }
  50% { transform: scaleX(0.82) scaleY(0.7); opacity: .35; }
}

/* Shine sweep overlay across the hero bar (passive ambient) */
.hero-visual .shine {
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: -30%;
  width: 35%;
  background: linear-gradient(115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%);
  transform: skewX(-15deg);
  animation: hero-shine 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

@keyframes hero-shine {
  0%, 12% { left: -30%; opacity: 0; }
  30% { opacity: 1; }
  60%, 100% { left: 120%; opacity: 0; }
}

/* Hero particles canvas (background gold dust) */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Hero entrance — word-by-word reveal */
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero-title .word-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
  transition: opacity 200ms ease, transform 200ms ease;
  text-decoration: none;
}
.scroll-indicator:hover {
  color: var(--accent);
}
.scroll-indicator-line {
  position: relative;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--accent) 60%, transparent);
  overflow: hidden;
}
.scroll-indicator-line::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scroll-dot 2.2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { transform: translateY(0);    opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(180%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before,
  .hero-visual::after,
  .hero-visual .shine,
  .scroll-indicator-line::before {
    animation: none !important;
  }
  .hero-particles { display: none; }
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: var(--space-20) 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 760px;
  margin-bottom: var(--space-4);
}

.section-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

.section-dark {
  background: var(--surface-2);
}

/* ============================================
   Section: Split (Vermögensschutz)
   ============================================ */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
  font-size: 15px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.value-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.value-card-row:last-of-type { border-bottom: none; }
.value-card-row.muted { opacity: 0.7; }
.value-card-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.value-card-value {
  font-size: 15px;
  color: var(--text-primary);
}
.value-card-divider {
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
  margin: var(--space-3) 0;
}

/* ============================================
   Charts
   ============================================ */

.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.chart-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.chart-card-header h3 { font-size: 18px; margin: 0; }
.chart-card-header > div { flex: 1; }
.chart-card-header .muted { font-size: 12px; }

.chart-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.chart-change {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.chart-change.up {
  background: rgba(205, 184, 138, 0.12);
  color: var(--accent);
}

.chart-placeholder {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--border);
  height: 160px;
  display: flex;
  align-items: stretch;
}
.chart-placeholder svg { width: 100%; height: 100%; }
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--background);
}
.chart-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Steps (Wie es funktioniert)
   ============================================ */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-4);
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
}
.step-num {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}
.step-card h3 { font-size: 22px; margin-bottom: var(--space-3); }
.step-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ============================================
   Glass + 3D treatment for all card surfaces
   Applied to every grid container — bakes in
   backdrop-blur, inset highlight, outer shadow.
   ============================================ */
.step-card,
.benefit-card,
.security-card,
.chart-card,
.testimonial,
.task-card,
.audience-card,
.faq-item,
.advisor-card,
.partner-banner,
.comparison-table-wrap,
.value-card,
.metal-stat,
.cta-card,
.product-card,
.partner-points li,
.sparplan-stat {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.015) 35%,
      rgba(0, 0, 0, 0.10) 100%),
    var(--surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 22px 44px -16px rgba(0, 0, 0, 0.50),
    0 4px 12px -4px rgba(0, 0, 0, 0.30);
}

/* On hover lift slightly — 3D feel */
.product-card:hover,
.metal-card:hover,
.step-card:hover,
.security-card:hover,
.benefit-card:hover,
.task-card:hover,
.audience-card:hover,
.testimonial:hover,
.chart-card:hover {
  border-color: rgba(205, 184, 138, 0.45);
  box-shadow:
    var(--highlight-inset),
    var(--shadow-glass-hi);
}

/* Featured cards keep their gradient accent on top of glass */
.product-card-feature,
.product-card-highlight {
  background:
    linear-gradient(180deg, rgba(205, 184, 138, 0.10), rgba(205, 184, 138, 0.02) 60%),
    var(--surface);
  border-color: rgba(205, 184, 138, 0.32);
}

/* ============================================
   Feature Explorer (Apple-style "sieh es genauer an")
   ============================================ */
.feature-explorer { padding: var(--space-20) 0; }

/* Section glow — gold radial blob behind phone mockup */
.feature-explorer {
  position: relative;
  overflow: hidden;
}
.feature-explorer .container {
  position: relative;
  z-index: 1;
}
.explorer-glow {
  position: absolute;
  top: 28%;
  right: -8%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(205, 184, 138, 0.50) 0%,
    rgba(205, 184, 138, 0.20) 30%,
    rgba(205, 184, 138, 0.05) 55%,
    transparent 70%
  );
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  will-change: transform;
  transform: translateZ(0);
}
@media (max-width: 991px) {
  .explorer-glow {
    width: 480px;
    height: 480px;
    right: -25%;
    top: 35%;
    opacity: 0.45;
    filter: blur(80px);
  }
}
@media (max-width: 600px) {
  .explorer-glow {
    width: 360px;
    height: 360px;
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .explorer-glow { opacity: 0.3; }
}

/* Apple-style side-tab layout: vertical tab rail + stage */
.explorer-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-12);
  margin-top: var(--space-10);
  align-items: start;
}

.explorer-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 100px;
  scrollbar-width: none;
}
.explorer-tabs::-webkit-scrollbar { display: none; }

.explorer-tab {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  text-align: left;
  white-space: nowrap;
}
.explorer-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}
.explorer-tab.is-active {
  background: rgba(205, 184, 138, 0.10);
  color: var(--text-primary);
  border-color: rgba(205, 184, 138, 0.28);
}
.explorer-tab-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0.7;
}
.explorer-tab.is-active .explorer-tab-num {
  color: var(--accent);
  opacity: 1;
}
.explorer-tab-label {
  font-size: 14px;
  font-weight: 500;
}
.explorer-tab.is-active .explorer-tab-label {
  font-weight: 600;
}

.explorer-stage {
  position: relative;
  min-height: 660px;
}

.explorer-panel {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-12);
  align-items: center;
  animation: fade-up 600ms var(--ease-out) both;
}
.explorer-panel[hidden] { display: none; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Phone mockup eases in gently when switching tabs — pure vertical fade */
.explorer-panel .phone-frame {
  animation: phone-float-in 1100ms ease-out both;
  animation-delay: 60ms;
}
@keyframes phone-float-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .explorer-panel .phone-frame { animation: none; }
}

.explorer-text {
  max-width: 480px;
}
.explorer-text h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: var(--space-2) 0 var(--space-5);
}
.explorer-text > p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.explorer-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================
   Phone mockup — Apple-style frame, screen, notch
   ============================================ */
.phone-frame {
  position: relative;
  width: 300px;
  height: 640px;
  border-radius: 46px;
  padding: 8px;
  /* Titanium-style frame with vertical highlights */
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.05) 0%,
      transparent 8%,
      transparent 92%,
      rgba(255,255,255,0.05) 100%),
    linear-gradient(90deg,
      #1a1a1a 0%,
      #2c2c2c 20%,
      #3a3a3a 50%,
      #2c2c2c 80%,
      #1a1a1a 100%);
  box-shadow:
    /* Outer chrome ring */
    0 0 0 1px rgba(255, 255, 255, 0.10),
    /* Inner shadow above screen */
    inset 0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.12),
    /* Drop shadow */
    0 36px 80px -20px rgba(0, 0, 0, 0.75),
    0 10px 24px -10px rgba(0, 0, 0, 0.5);
}
/* Right side: power button */
.phone-frame::before {
  content: '';
  position: absolute;
  right: -2px;
  top: 160px;
  width: 3px;
  height: 64px;
  background: linear-gradient(to right, #0e0e0e 0%, #2a2a2a 50%, #1a1a1a 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
/* Left side: silence switch + 2 volume buttons via multi-stop gradient */
.phone-frame::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 110px;
  width: 3px;
  height: 150px;
  background: linear-gradient(to bottom,
    #1a1a1a 0%, #2a2a2a 11%, #1a1a1a 22%,    /* silence switch */
    transparent 22%, transparent 36%,
    #1a1a1a 36%, #2a2a2a 55%, #1a1a1a 60%,   /* volume up */
    transparent 60%, transparent 72%,
    #1a1a1a 72%, #2a2a2a 90%, #1a1a1a 100%   /* volume down */
  );
  border-radius: 2px 0 0 2px;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background: linear-gradient(180deg, #f6f4ef 0%, #ece9e2 100%);
  overflow: hidden;
  color: #1a1a1a;
  font-family: var(--font-body);
}
/* Home indicator */
.phone-screen::after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.32);
  z-index: 4;
  pointer-events: none;
}
/* Subtle screen glare — below content but above screen bg */
.phone-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 30%),
    linear-gradient(225deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 25%);
  pointer-events: none;
  z-index: 1;
  border-radius: 40px;
}

/* Dynamic Island */
.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 14px;
  background: #050505;
  z-index: 6;
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,0.04),
    0 2px 4px rgba(0,0,0,0.2);
}
/* Camera lens (right of island) */
.phone-notch::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2a2a 0%, #0a0a0a 60%, #000 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 2px rgba(80, 140, 255, 0.08);
}
/* Proximity sensor (left of island) */
.phone-notch::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a1a1a;
  opacity: 0.7;
}

.phone-statusbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 26px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  z-index: 2;
}
.ph-time { font-variant-numeric: tabular-nums; }

/* Status bar icons (signal, wifi, battery) */
.ph-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ph-icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.ph-icon-signal {
  width: 17px;
  height: 11px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 11'><rect x='0' y='8' width='3' height='3' rx='0.5' fill='%231a1a1a'/><rect x='4.5' y='6' width='3' height='5' rx='0.5' fill='%231a1a1a'/><rect x='9' y='3' width='3' height='8' rx='0.5' fill='%231a1a1a'/><rect x='13.5' y='0' width='3' height='11' rx='0.5' fill='%231a1a1a'/></svg>");
}
.ph-icon-wifi {
  width: 15px;
  height: 11px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 11'><path d='M7.5 1C4.5 1 1.8 2 0 3.5l1.4 1.6C2.9 4 5.1 3.2 7.5 3.2s4.6 0.8 6.1 1.9L15 3.5C13.2 2 10.5 1 7.5 1z' fill='%231a1a1a'/><path d='M7.5 4.5c-2 0-3.8 0.7-5 1.7L3.9 7.8c0.9-0.7 2.2-1.2 3.6-1.2s2.7 0.5 3.6 1.2L12.5 6.2c-1.2-1-3-1.7-5-1.7z' fill='%231a1a1a'/><circle cx='7.5' cy='9' r='1.4' fill='%231a1a1a'/></svg>");
}
.ph-icon-battery {
  width: 27px;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 12'><rect x='0.5' y='0.5' width='23' height='11' rx='2.5' fill='none' stroke='%231a1a1a' stroke-opacity='0.4'/><rect x='24.5' y='4' width='2' height='4' rx='0.5' fill='%231a1a1a' fill-opacity='0.4'/><rect x='2' y='2' width='18' height='8' rx='1.3' fill='%231a1a1a'/></svg>");
}

/* App content */
.phone-app {
  position: relative;
  z-index: 3;
  padding: 36px 18px 22px;
  height: calc(100% - 28px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ph-app-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 4px;
}
.ph-pretitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.ph-depot {
  font-size: 11px;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ph-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
}
.ph-date {
  font-size: 11px;
  color: #555;
}

.ph-h {
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0 6px;
  color: #1a1a1a;
}
.ph-muted { color: #777; }
.ph-small { font-size: 11px; }

.ph-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 6px 0;
  font-size: 12px;
}
.ph-row > span:first-child {
  color: #1a1a1a;
}
.ph-input {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 2px 8px;
  border-bottom: 1px solid #ccc;
  min-width: 60px;
  text-align: right;
}
.ph-input small { font-size: 10px; color: #888; font-weight: 400; }
.ph-input-ok { color: var(--accent-dark); border-bottom-color: var(--accent); font-weight: 700; }
.ph-input-sm {
  font-size: 11px;
  padding: 1px 6px;
  border-bottom: 1px solid #ccc;
  background: rgba(205, 184, 138, 0.12);
  border-radius: 3px;
  text-align: right;
}
.ph-input-zero {
  background: transparent;
  color: #888;
}
.ph-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.10);
  margin: 6px 0;
}

.ph-cta {
  width: 100%;
  padding: 10px 14px;
  background: var(--accent);
  color: #1a1408;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  margin-top: 8px;
  cursor: default;
}
.ph-cta-secondary {
  background: rgba(205, 184, 138, 0.18);
  color: var(--accent-dark);
}
.ph-cta-inline {
  padding: 4px 10px;
  background: var(--accent);
  color: #1a1408;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 6px;
  cursor: default;
}
.ph-note {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(205, 184, 138, 0.10);
  border-left: 2px solid var(--accent);
  font-size: 10px;
  color: #4a4030;
  line-height: 1.4;
}
.ph-note-sm { padding: 6px 8px; font-size: 9px; }

.ph-tabs {
  display: flex;
  gap: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
}
.ph-tab {
  padding: 4px 6px;
}
.ph-tab.is-active {
  color: #1a1a1a;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.ph-sell-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 11px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.ph-sell-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ph-sell-row > div:first-child strong { font-size: 12px; }
.ph-sell-row > div:first-child span { font-size: 10px; color: #777; }
.ph-amount {
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}
.ph-summe {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  padding: 6px 0;
}
.ph-summe strong { font-size: 14px; }

/* Lieferung-specific */
.ph-deliver-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.ph-deliver-th {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ph-deliver-th span:nth-child(2) { text-align: center; }
.ph-deliver-th span:nth-child(3) { text-align: right; }
.ph-deliver-th-2 {
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}
.ph-deliver-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.7fr 1fr;
  align-items: center;
  font-size: 10px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.ph-deliver-row > span:nth-child(1) { font-weight: 600; }
.ph-deliver-row > span:nth-child(2),
.ph-deliver-row > span:nth-child(4) { text-align: right; color: #666; }
.ph-rest { color: #1a1a1a; font-weight: 600; }
.ph-deliver-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  margin-top: 4px;
  border-top: 1px solid rgba(0,0,0,0.10);
  font-size: 11px;
}
.ph-deliver-total strong { font-size: 14px; color: var(--accent-dark); }
.ph-collapse {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 11px;
  color: #555;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Tresor-specific */
.ph-kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-size: 11px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.ph-kv span { color: #777; }
.ph-kv strong { color: #1a1a1a; font-size: 11px; }
.ph-bar-illustration {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}
.ph-bar {
  width: 110px;
  height: 70px;
  background:
    linear-gradient(135deg, #fbe9b8 0%, #cdb88a 50%, #8b6f3e 100%);
  border-radius: 6px;
  border: 1px solid #8b6f3e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 6px 14px -6px rgba(139, 111, 62, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
.ph-bar-title { font-size: 10px; font-weight: 700; color: #5a4520; letter-spacing: 0.04em; }
.ph-bar-sub { font-size: 9px; color: #6b552a; }

/* Historie-specific */
.ph-daterange {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
}
.ph-date-pill {
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  font-size: 10px;
  color: #1a1a1a;
}
.ph-search {
  background: rgba(0, 0, 0, 0.04);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: #888;
  margin: 4px 0;
}
.ph-hist-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 10px;
}
.ph-hist-l { display: flex; flex-direction: column; }
.ph-hist-l span { font-size: 9px; color: #888; }
.ph-hist-l strong { font-size: 11px; color: #1a1a1a; }
.ph-hist-amt { font-size: 11px; font-weight: 700; color: #c0392b; }
.ph-hist-amt-pos { color: var(--accent-dark); }

/* Tile grid (Echtzeit & Dokumente panels) */
.ph-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}
.ph-tile {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.ph-tile-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(205, 184, 138, 0.16);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
}
.ph-tile-icon svg {
  width: 16px;
  height: 16px;
}
.ph-tile-label {
  font-size: 10px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
}
.ph-tile-full {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 10px 14px;
  gap: 12px;
}
.ph-tile-full .ph-tile-label {
  text-align: left;
  font-size: 11px;
}

/* Responsive */
@media (max-width: 991px) {
  /* Collapse side rail → horizontal scrolling tabs above stage */
  .explorer-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .explorer-tabs {
    flex-direction: row;
    position: static;
    overflow-x: auto;
    padding-bottom: var(--space-2);
    gap: var(--space-2);
  }
  .explorer-tab {
    grid-template-columns: auto auto;
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
  }
  .explorer-tab.is-active {
    background: var(--accent);
    color: #1a1408;
    border-color: var(--accent);
  }
  .explorer-tab.is-active .explorer-tab-num { color: #1a1408; }

  .explorer-panel { grid-template-columns: 1fr; gap: var(--space-8); }
  .explorer-mockup { order: -1; }
  .phone-frame { width: 270px; height: 575px; border-radius: 42px; padding: 7px; }
  .phone-screen { border-radius: 36px; }
  .phone-screen::before, .phone-screen::after { border-radius: 36px; }
  .phone-notch { width: 84px; height: 24px; top: 8px; }
  .phone-statusbar { padding: 11px 22px 0; font-size: 12px; }
  .ph-icon-signal { width: 15px; height: 10px; }
  .ph-icon-wifi { width: 13px; height: 10px; }
  .ph-icon-battery { width: 23px; height: 10px; }
}
@media (max-width: 600px) {
  .feature-explorer { padding: var(--space-12) 0; }
  .explorer-tab { padding: 8px 12px; font-size: 11px; }
  .explorer-tab-label { font-size: 11px; }
  .explorer-tab-num { display: none; }
  .phone-frame { width: 244px; height: 520px; border-radius: 38px; padding: 6px; }
  .phone-screen { border-radius: 32px; }
  .phone-screen::before, .phone-screen::after { border-radius: 32px; }
  .phone-notch { width: 76px; height: 22px; top: 7px; }
  .phone-notch::after { width: 7px; height: 7px; right: 8px; }
  .phone-notch::before { width: 4px; height: 4px; left: 11px; }
  .phone-statusbar { padding: 9px 20px 0; font-size: 11px; }
  .phone-app { padding: 30px 14px 16px; }
  .phone-screen::after {
    /* home indicator */
    width: 90px;
    height: 3px;
    bottom: 6px;
  }
  .explorer-stage { min-height: auto; }
  .ph-tile { padding: 10px 6px 8px; }
  .ph-tile-icon { width: 28px; height: 28px; }
  .ph-tile-icon svg { width: 14px; height: 14px; }
  .ph-tile-label { font-size: 9px; }
}

/* ============================================
   Sparplan Featured Banner (above products)
   ============================================ */
.sparplan-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-10);
  align-items: center;
  background:
    radial-gradient(circle 480px at 100% 0%, rgba(205, 184, 138, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(205, 184, 138, 0.06), transparent 70%),
    var(--surface);
  border: 1px solid rgba(205, 184, 138, 0.32);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  margin-bottom: var(--space-16);
}
.sparplan-text { max-width: 540px; }
.sparplan-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: var(--space-2) 0 var(--space-4);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sparplan-text > p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.sparplan-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.sparplan-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.sparplan-stat {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sparplan-stat strong {
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}
.sparplan-stat span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.3;
}

.metals-header {
  margin-bottom: var(--space-10);
}

/* ============================================
   Products
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}
.product-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.product-card-feature, .product-card-highlight {
  background: linear-gradient(180deg, rgba(205, 184, 138, 0.06), transparent 50%), var(--background);
  border-color: rgba(205, 184, 138, 0.3);
}
.product-image {
  aspect-ratio: 1.4 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: radial-gradient(circle at center, rgba(205, 184, 138, 0.1), transparent 70%);
}
.product-image img {
  max-width: 80%;
  max-height: 140px;
  width: auto;
  object-fit: contain;
}
.product-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.product-tag,
.product-eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8d4a3;
  background: rgba(205, 184, 138, 0.14);
  border: 1px solid rgba(205, 184, 138, 0.55);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: var(--space-1);
}
.product-card h3 { font-size: 20px; }
.product-card > .product-body > p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}
.product-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.product-meta li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 13px;
}
.product-meta li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.product-card .btn { margin-top: auto; }

/* ============================================
   Security Grid
   ============================================ */
/* Bento layout — varying card sizes */
.security-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}
.security-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.security-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(205, 184, 138, 0.10), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.security-card > * { position: relative; z-index: 1; }
.security-card:hover {
  border-color: rgba(205, 184, 138, 0.5);
  transform: translateY(-4px);
}
.security-card:hover::before { opacity: 1; }

/* Bento spans */
.security-card:nth-child(1) { grid-column: span 5; }   /* LBMA */
.security-card:nth-child(2) { grid-column: span 7; }   /* Tresor (wide) */
.security-card:nth-child(3) { grid-column: span 4; }   /* Versichert */
.security-card:nth-child(4) { grid-column: span 4; }   /* Silber MwSt */
.security-card:nth-child(5) { grid-column: span 4; }   /* Rückkauf */
.security-card:nth-child(6) { grid-column: span 12; }  /* Versand (full bottom) */
.security-card:nth-child(6) {
  flex-direction: row;
  align-items: center;
  gap: var(--space-5);
}
.security-card:nth-child(6) .security-icon { flex-shrink: 0; }
.security-card:nth-child(6) > div.security-icon ~ * { flex: 1 1 auto; }

.security-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(205, 184, 138, 0.14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    text-shadow var(--dur-base) var(--ease-out);
}
.security-card:hover .security-icon,
.security-card:focus-within .security-icon,
.security-card:active .security-icon {
  background: rgba(205, 184, 138, 0.42);
  color: #fff3c8;
  transform: scale(1.14);
  box-shadow:
    0 0 24px rgba(255, 220, 140, 0.7),
    0 0 56px rgba(205, 184, 138, 0.45),
    0 0 96px rgba(205, 184, 138, 0.25),
    inset 0 0 0 1px rgba(255, 220, 140, 0.7);
  text-shadow:
    0 0 12px rgba(255, 240, 190, 1),
    0 0 24px rgba(255, 220, 140, 0.85),
    0 0 40px rgba(205, 184, 138, 0.6);
}
.security-card h3 { font-size: 18px; }
.security-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.55; }

/* Bento assembly — cards slide in from different directions */
.security-card {
  opacity: 0;
  will-change: transform, opacity;
}
.security-card:nth-child(1) { transform: translate(-60px, 20px); }
.security-card:nth-child(2) { transform: translate(60px, 20px); }
.security-card:nth-child(3) { transform: translateY(50px); }
.security-card:nth-child(4) { transform: translateY(50px); }
.security-card:nth-child(5) { transform: translateY(50px); }
.security-card:nth-child(6) { transform: translateY(50px); }
.security-grid.is-visible .security-card {
  opacity: 1;
  transform: translate(0, 0);
  transition:
    opacity 750ms var(--ease-out),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.security-grid.is-visible .security-card:nth-child(1) { transition-delay: 0.10s; }
.security-grid.is-visible .security-card:nth-child(2) { transition-delay: 0.25s; }
.security-grid.is-visible .security-card:nth-child(3) { transition-delay: 0.45s; }
.security-grid.is-visible .security-card:nth-child(4) { transition-delay: 0.60s; }
.security-grid.is-visible .security-card:nth-child(5) { transition-delay: 0.75s; }
.security-grid.is-visible .security-card:nth-child(6) { transition-delay: 0.95s; }
.security-grid.is-visible .security-card:hover {
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .security-card { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}
.faq-item.is-open { border-color: rgba(205, 184, 138, 0.4); }

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.faq-question { flex: 1; }
.faq-icon {
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
}
.faq-answer[hidden] { display: none; }
.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================
   Advisor (Maurizio)
   ============================================ */
.advisor-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-10);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}
.advisor-photo {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(205, 184, 138, 0.18), rgba(205, 184, 138, 0.04));
  border: 1px solid rgba(205, 184, 138, 0.35);
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 0 6px rgba(205, 184, 138, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.advisor-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.advisor-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

/* ============================================
   Partner banner (Vertriebspartner — kompakt)
   ============================================ */
.section-secondary {
  background:
    linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
}
.partner-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-10);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}
.partner-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}
.partner-points li {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: 14px;
  color: var(--text-secondary);
}
.partner-points li strong { color: var(--accent); display: block; font-size: 14px; margin-bottom: 2px; }

/* Footer logo */
.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: var(--space-4);
}

/* ============================================
   Legal pages (Impressum / Datenschutz)
   ============================================ */
.legal-page {
  padding: var(--space-20) 0 var(--space-16);
  min-height: 60vh;
}
.legal-container {
  max-width: 760px;
}
.legal-title {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  margin: var(--space-2) 0 var(--space-6);
  line-height: 1.05;
}
.legal-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-12);
  max-width: 65ch;
}
.legal-section {
  margin-bottom: var(--space-10);
}
.legal-section h2 {
  font-size: 20px;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.legal-section h3 {
  font-size: 16px;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--text-primary);
  font-weight: 600;
}
.legal-section p,
.legal-section ul,
.legal-section ol {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 var(--space-4);
  max-width: 65ch;
}
.legal-section ul,
.legal-section ol {
  padding-left: var(--space-5);
}
.legal-section li {
  margin-bottom: var(--space-2);
}
.legal-emphasis {
  background: rgba(205, 184, 138, 0.08);
  border-left: 3px solid var(--accent);
  padding: var(--space-4) var(--space-5) !important;
  border-radius: var(--radius-md);
  font-size: 13px !important;
  letter-spacing: 0.02em;
  color: var(--text-primary) !important;
  line-height: 1.55 !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Legal pages responsive polish */
@media (max-width: 767px) {
  .legal-page { padding: var(--space-12) 0 var(--space-12); }
  .legal-section { margin-bottom: var(--space-7); }
  .legal-section h2 { font-size: 18px; }
  .legal-section h3 { font-size: 15px; margin: var(--space-5) 0 var(--space-2); }
  .legal-section p,
  .legal-section ul,
  .legal-section ol { font-size: 14px; line-height: 1.65; }
  .legal-emphasis { font-size: 12px !important; padding: var(--space-3) var(--space-4) !important; }
}
@media (max-width: 480px) {
  .legal-title { font-size: clamp(28px, 8vw, 38px); }
  .legal-lead { font-size: 15px; margin-bottom: var(--space-8); }
  .legal-section a { word-break: break-all; }
}
.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(205, 184, 138, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.legal-section a:hover {
  text-decoration-color: var(--accent);
}
.legal-meta {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
.legal-back {
  margin-top: var(--space-8);
}

/* ============================================
   Mission section (editorial, asymmetric)
   ============================================ */
.section-mission {
  padding-top: var(--space-16);
  padding-bottom: var(--space-20);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Centered layout */
.mission-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}
.mission-centered .eyebrow { margin-bottom: 0; }

.mission-title {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 22ch;
  margin: 0 auto;
}
.mission-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto;
}
.mission-principles {
  display: grid;
  gap: var(--space-6);
  margin: var(--space-6) auto 0;
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--border);
  max-width: 60ch;
  text-align: left;
  width: 100%;
}

/* Floating bars */
.mission-float {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 60px rgba(205, 184, 138, 0.18));
}
.mission-float-gold {
  top: 8%;
  left: 14%;
  width: 240px;
  height: auto;
  opacity: 0;
  transform: translateY(-240px) rotate(-26deg);
}
.mission-float-silver {
  top: 38%;
  right: 4%;
  width: 200px;
  height: auto;
  opacity: 0;
  transform: translateY(-240px) rotate(22deg);
}
/* Drop in from above on scroll, then continuous float */
.section-mission.is-visible .mission-float-gold {
  animation:
    mission-drop-gold 1500ms cubic-bezier(0.34, 1.4, 0.64, 1) 350ms forwards,
    mission-float-gold 6s ease-in-out 1850ms infinite;
}
.section-mission.is-visible .mission-float-silver {
  animation:
    mission-drop-silver 1500ms cubic-bezier(0.34, 1.4, 0.64, 1) 600ms forwards,
    mission-float-silver 7s ease-in-out 2100ms infinite;
}
@keyframes mission-drop-gold {
  0%   { opacity: 0; transform: translateY(-240px) rotate(-26deg); }
  60%  { opacity: 1; transform: translateY(12px) rotate(-10deg); }
  80%  { transform: translateY(-4px) rotate(-13deg); }
  100% { opacity: 1; transform: translateY(0) rotate(-12deg); }
}
@keyframes mission-drop-silver {
  0%   { opacity: 0; transform: translateY(-240px) rotate(22deg); }
  60%  { opacity: 1; transform: translateY(12px) rotate(10deg); }
  80%  { transform: translateY(-3px) rotate(7deg); }
  100% { opacity: 1; transform: translateY(0) rotate(8deg); }
}
@keyframes mission-float-gold {
  0%   { transform: translate(0, 0) rotate(-12deg); }
  25%  { transform: translate(4px, -18px) rotate(-10deg); }
  50%  { transform: translate(0, -32px) rotate(-13deg); }
  75%  { transform: translate(-4px, -18px) rotate(-14deg); }
  100% { transform: translate(0, 0) rotate(-12deg); }
}
@keyframes mission-float-silver {
  0%   { transform: translate(0, 0) rotate(8deg); }
  25%  { transform: translate(-3px, -16px) rotate(10deg); }
  50%  { transform: translate(0, -28px) rotate(7deg); }
  75%  { transform: translate(3px, -16px) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(8deg); }
}
/* Wiggle once when triggered by IO */
@keyframes wiggle-once {
  0%   { transform: rotate(0) scale(1); }
  10%  { transform: rotate(-6deg) scale(1.06); }
  22%  { transform: rotate(5deg) scale(1.06); }
  35%  { transform: rotate(-4deg) scale(1.05); }
  50%  { transform: rotate(3deg) scale(1.04); }
  65%  { transform: rotate(-2deg) scale(1.03); }
  80%  { transform: rotate(1deg) scale(1.01); }
  100% { transform: rotate(0) scale(1); }
}
.js-wiggle.is-wiggling {
  animation: wiggle-once 950ms var(--ease-out) both !important;
  transform-origin: center !important;
  transition: none !important;
}

/* ============================================
   Scroll-reveal animations
   ============================================ */

/* "So funktioniert es" — cards float in with clear sequential stagger */
.step-card {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 800ms var(--ease-out),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step-grid.is-visible .step-card { opacity: 1; transform: translateY(0); }
.step-grid.is-visible .step-card:nth-child(1) { transition-delay: 0.10s; }
.step-grid.is-visible .step-card:nth-child(2) { transition-delay: 0.40s; }
.step-grid.is-visible .step-card:nth-child(3) { transition-delay: 0.70s; }

/* "Die vier Anlage-Edelmetalle" — product cards fly in from left with stagger */
.product-grid .product-card {
  opacity: 0;
  transform: translateX(-70px);
  transition:
    opacity 700ms var(--ease-out),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product-grid.is-visible .product-card { opacity: 1; transform: translateX(0); }
.product-grid.is-visible .product-card:nth-child(1) { transition-delay: 0.10s; }
.product-grid.is-visible .product-card:nth-child(2) { transition-delay: 0.28s; }
.product-grid.is-visible .product-card:nth-child(3) { transition-delay: 0.46s; }
.product-grid.is-visible .product-card:nth-child(4) { transition-delay: 0.64s; }
@media (prefers-reduced-motion: reduce) {
  .product-grid .product-card { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* "Die vier Metalle im Vergleich" — compare cards slide in from left with stagger */
.compare-cards .compare-card {
  opacity: 0;
  transform: translateX(-70px);
  transition:
    opacity 750ms var(--ease-out),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.compare-cards.is-visible .compare-card { opacity: 1; transform: translateX(0); }
.compare-cards.is-visible .compare-card:nth-child(1) { transition-delay: 0.10s; }
.compare-cards.is-visible .compare-card:nth-child(2) { transition-delay: 0.28s; }
.compare-cards.is-visible .compare-card:nth-child(3) { transition-delay: 0.46s; }
.compare-cards.is-visible .compare-card:nth-child(4) { transition-delay: 0.64s; }
@media (prefers-reduced-motion: reduce) {
  .compare-cards .compare-card { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* "Stimmen aus unserem Netzwerk" — testimonials fade up with stagger */
.testimonial-grid .testimonial {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 700ms var(--ease-out),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-grid.is-visible .testimonial { opacity: 1; transform: translateY(0); }
.testimonial-grid.is-visible .testimonial:nth-child(1) { transition-delay: 0.08s; }
.testimonial-grid.is-visible .testimonial:nth-child(2) { transition-delay: 0.20s; }
.testimonial-grid.is-visible .testimonial:nth-child(3) { transition-delay: 0.32s; }
.testimonial-grid.is-visible .testimonial:nth-child(4) { transition-delay: 0.44s; }
.testimonial-grid.is-visible .testimonial:nth-child(5) { transition-delay: 0.56s; }
.testimonial-grid.is-visible .testimonial:nth-child(6) { transition-delay: 0.68s; }
.testimonial-grid.is-visible .testimonial:nth-child(7) { transition-delay: 0.80s; }
.testimonial-grid.is-visible .testimonial:nth-child(8) { transition-delay: 0.92s; }
@media (prefers-reduced-motion: reduce) {
  .testimonial-grid .testimonial { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* "Unsere Mission" section — slides down from top */
.section-mission {
  opacity: 0;
  transform: translateY(-60px);
  transition:
    opacity 850ms var(--ease-out),
    transform 850ms var(--ease-out);
}
.section-mission.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .section-mission { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* "Erkunde die Plattform" — whole section drops in from above */
.feature-explorer {
  opacity: 0;
  transform: translateY(-50px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
}
.feature-explorer.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .step-card,
  .feature-explorer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mission-float { animation: none; }
}
.mission-principle {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-6);
  align-items: baseline;
}
.mission-principle dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.mission-principle dd {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Edelmetalle page — metal profile sections
   ============================================ */

.nav-link.is-active { color: var(--accent); }

/* Sticky metal nav (below hero, sticks while scrolling) */
.metal-nav {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(28, 28, 28, 0.7);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.metal-nav-inner {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  overflow-x: auto;
  scrollbar-width: none;
}
.metal-nav-inner::-webkit-scrollbar { display: none; }
.metal-nav-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.metal-nav-item:hover {
  color: var(--accent);
  background: rgba(205, 184, 138, 0.08);
}
.metal-nav-item.is-active {
  color: var(--accent);
  background: rgba(205, 184, 138, 0.12);
}
.metal-nav-item-extra {
  margin-left: auto;
  color: var(--text-muted);
}
.metal-nav .m-symbol {
  width: 22px;
  height: 22px;
  font-size: 11px;
}
.m-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.metal-section {
  scroll-margin-top: 128px;
  padding: var(--space-24) 0;
}
.metal-section-alt {
  background: linear-gradient(180deg, var(--background) 0%, rgba(26, 26, 26, 0.8) 100%);
}

/* Edelmetalle hero — text left, scroll-scrub video right */
.edelmetalle-hero { padding-bottom: var(--space-12); }
.edelmetalle-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
  min-height: 70vh;
}
.edelmetalle-hero-text {
  max-width: 640px;
  animation: edelmetalle-hero-fly-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}
.edelmetalle-hero-text > * {
  animation: edelmetalle-hero-fly-in-stagger 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.edelmetalle-hero-text > *:nth-child(1) { animation-delay: 120ms; }
.edelmetalle-hero-text > *:nth-child(2) { animation-delay: 220ms; }
.edelmetalle-hero-text > *:nth-child(3) { animation-delay: 320ms; }
.edelmetalle-hero-text .hero-title { max-width: none; }
.edelmetalle-hero-text .hero-subtitle { max-width: 560px; }
@keyframes edelmetalle-hero-fly-in {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes edelmetalle-hero-fly-in-stagger {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .edelmetalle-hero-text,
  .edelmetalle-hero-text > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.edelmetalle-hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: calc(-1 * var(--space-6));
}
.edelmetalle-hero-visual::before {
  content: '';
  position: absolute;
  inset: 5% 0 10% 5%;
  background: radial-gradient(circle at 55% 50%, rgba(205, 184, 138, 0.28), transparent 65%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.edelmetalle-hero-video {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.30))
    drop-shadow(0 0 70px rgba(205, 184, 138, 0.22));
  pointer-events: none;
  background: transparent;
}

/* Floating gold nugget */
.edelmetalle-hero-visual { position: relative; }
.hero-nugget {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 50px rgba(205, 184, 138, 0.30))
    drop-shadow(0 0 90px rgba(205, 184, 138, 0.12));
  animation: nugget-float 6s ease-in-out infinite;
  pointer-events: none;
}
.nugget-shadow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 50%;
  height: 30px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6), transparent 65%);
  filter: blur(14px);
  z-index: 1;
  animation: nugget-shadow 6s ease-in-out infinite;
  pointer-events: none;
}
.nugget-particles {
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
}
@keyframes nugget-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  25%      { transform: translateY(-10px) rotate(0.8deg); }
  50%      { transform: translateY(-20px) rotate(0); }
  75%      { transform: translateY(-10px) rotate(-0.8deg); }
}
@keyframes nugget-shadow {
  0%, 100% { width: 50%; opacity: 0.85; filter: blur(14px); }
  50%      { width: 38%; opacity: 0.55; filter: blur(20px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-nugget, .nugget-shadow { animation: none; }
}

@media (max-width: 991px) {
  .edelmetalle-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: var(--space-4); }
  .edelmetalle-hero-visual { margin-right: 0; justify-content: center; }
  .edelmetalle-hero-video { max-width: 560px; }
}

/* Metals explorer (edelmetalle page) — Apple-style side tabs + panel */
.metals-explorer-section { padding: var(--space-16) 0; }
.metals-explorer-layout { margin-top: var(--space-10); }

/* Tab symbol badge (Au/Ag/Pt/Pd inside the side tab) */
.metals-tab {
  grid-template-columns: 40px 1fr;
  padding: 10px 14px;
}
.metals-tab-symbol {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(205, 184, 138, 0.18), rgba(205, 184, 138, 0.04));
  border: 1px solid rgba(205, 184, 138, 0.32);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}
.metals-tab.is-active .metals-tab-symbol {
  background: rgba(205, 184, 138, 0.28);
  border-color: var(--accent);
  color: var(--accent);
}

/* Metal panel = card containing text + bar visual side-by-side */
.metal-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}
.metal-panel::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(205, 184, 138, 0.18), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.metal-panel > * { position: relative; z-index: 1; }
.metal-panel-text { margin: 0; }
.metal-panel-text > * { margin: 0; }
.metal-panel-text > * + * { margin-top: var(--space-5); }
.metal-card-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  margin: 0;
}
.metal-panel-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-4) 0;
}
.metal-panel-visual img {
  max-width: 100%;
  width: auto;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(205, 184, 138, 0.18));
}

/* Card wrap around each metal info block */
.metal-card-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.metal-card-wrap::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(205, 184, 138, 0.16), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.metal-card-wrap > * { position: relative; z-index: 1; margin: 0; }

/* Stacked header: eyebrow above symbol above title */
.metal-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.metal-card-head .eyebrow { margin: 0; }
.metal-card-head .metal-symbol-lg {
  width: 76px;
  height: 76px;
  font-size: 28px;
}
.metal-card-head .section-title { margin: 0; line-height: 1.1; }

@media (max-width: 991px) {
  .metal-card-wrap { padding: var(--space-6); }
}
@media (max-width: 600px) {
  .metal-card-wrap { padding: var(--space-5); }
  .metal-card-head .metal-symbol-lg { width: 64px; height: 64px; font-size: 24px; }
}

.metal-grid-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.metal-grid-row.reverse {
  grid-template-columns: 1fr 1.4fr;
}
.metal-grid-row.reverse .metal-visual { order: -1; }

.metal-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.metal-symbol-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(205, 184, 138, 0.2), rgba(205, 184, 138, 0.05));
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.metal-header h2 { font-size: clamp(32px, 4vw, 44px); }

.metal-lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.metal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.metal-availability {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-6);
}
.metal-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metal-stat strong {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.2;
}
.metal-stat span {
  color: var(--text-muted);
  font-size: 13px;
}

.metal-subhead {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: var(--space-6) 0 var(--space-3);
  font-weight: 600;
}

.metal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.metal-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}
.metal-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.metal-list strong {
  color: var(--text-primary);
}

.metal-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.metal-visual {
  position: sticky;
  top: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.metal-visual img {
  max-width: 100%;
  width: auto;
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(205, 184, 138, 0.18));
}

/* Comparison cards (replaces table) */
.compare-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}
.compare-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(205, 184, 138, 0.14), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.compare-card > * { position: relative; z-index: 1; }
.compare-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.compare-card-head h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.compare-card-head .metal-symbol-lg {
  width: 48px;
  height: 48px;
  font-size: 18px;
}
.compare-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
}
.compare-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.compare-row dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.compare-row dd {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}
.compare-yes { color: var(--accent); }

@media (max-width: 991px) {
  .compare-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .compare-cards { grid-template-columns: 1fr; }
}

/* Comparison table (legacy — unused but kept for safety) */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--background);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.comparison-table th .m-symbol-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
}
.comparison-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover {
  background: rgba(205, 184, 138, 0.04);
}

@media (max-width: 991px) {
  .metal-grid-row,
  .metal-grid-row.reverse {
    grid-template-columns: 1fr;
  }
  .metal-grid-row.reverse .metal-visual { order: 0; }
  .metal-visual { position: static; }
  .metal-visual img { max-height: 280px; }
  .metal-section { padding: var(--space-16) 0; }
  .metal-nav { top: 56px; }

  /* Metals explorer collapses tabs to row + stacks panel */
  .metal-panel {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .metal-panel-visual {
    position: static;
    order: -1;
  }
  .metal-panel-visual img { max-height: 240px; }
  .metals-tab { grid-template-columns: 32px 1fr; padding: 8px 12px; }
  .metals-tab-symbol { width: 30px; height: 30px; font-size: 12px; border-radius: 6px; }

  .section-mission { padding-top: var(--space-12); padding-bottom: var(--space-16); }
  /* Mission bars shrink on tablet so they don't overlap centered text */
  .mission-float-gold { width: 150px; top: 4%; left: 2%; }
  .mission-float-silver { width: 130px; top: 50%; right: 2%; }
  .mission-principle { grid-template-columns: 1fr; gap: var(--space-2); }
  .mission-principle dt { color: var(--accent); margin-bottom: var(--space-1); }
}

@media (max-width: 767px) {
  .metal-section { padding: var(--space-12) 0; }
  .metal-nav-inner { padding: var(--space-2) var(--space-4); }
  .metal-nav-label { display: none; }
  .metal-nav-item-extra .metal-nav-label { display: inline; }
  .metal-nav-item { padding: 6px 10px; }
  .metal-availability { font-size: 12px; }
  .mission-title { font-size: clamp(26px, 7vw, 36px); }
}

@media (max-width: 600px) {
  .metal-stats { grid-template-columns: 1fr; }
  .metal-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   Edelmetalle Grid
   ============================================ */

.metal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.metal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--dur-base) var(--ease-out);
}
.metal-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.metal-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-4);
}
.metal-card h3 { font-size: 17px; margin-bottom: var(--space-2); }
.metal-card p { color: var(--text-muted); font-size: 14px; }

/* ============================================
   Benefit Grid
   ============================================ */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.benefit-card h3 { font-size: 20px; }
.benefit-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }
.benefit-num {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cta-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* ============================================
   Tasks
   ============================================ */

.task-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.task-card {
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}
.task-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  font-size: 18px;
}
.task-card h3 { font-size: 16px; margin-bottom: var(--space-2); }
.task-card p { color: var(--text-muted); font-size: 14px; }

.audience-row { margin-top: var(--space-12); }
.audience-row h3 {
  font-size: 22px;
  margin-bottom: var(--space-5);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.audience-card strong {
  display: block;
  color: var(--accent);
  margin-bottom: var(--space-2);
  font-size: 15px;
}
.audience-card p { color: var(--text-secondary); font-size: 14px; }

/* ============================================
   Quote section (Vermögensschutz-Vergleich)
   ============================================ */

.section-quote {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  padding: var(--space-20) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.big-quote { margin: 0; }
.big-quote p {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
}
.big-quote cite {
  font-style: normal;
  font-size: 16px;
  color: var(--text-muted);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 200px;
}
.testimonial p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.testimonial footer { font-size: 13px; color: var(--text-muted); }
.testimonial footer strong { color: var(--text-primary); display: block; }

/* ============================================
   CTA / Contact
   ============================================ */

.section-cta { padding: var(--space-16) 0 var(--space-24); }
.cta-card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(10, 10, 10, 0.5) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
}
.cta-card-video {
  position: relative;
  overflow: hidden;
}
.cta-card-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}
.cta-card-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 720px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-row label, .form-full {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label > span, .form-full > span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.form-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.form-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.form-hint a { color: var(--accent); text-decoration: underline; }
.form-success {
  background: var(--accent-tint);
  color: var(--accent);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  font-size: 14px;
}
.form-error {
  background: rgba(255, 76, 34, 0.1);
  color: var(--danger);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  font-size: 14px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-20);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border);
}
.footer-brand h3 { font-size: 22px; margin-bottom: var(--space-2); }
.footer-col h4 {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   Responsive — Mobile-first additions
   Breakpoints:
     - Desktop large: 1200px+
     - Desktop / small laptop: 992-1199
     - Tablet landscape: 768-991
     - Tablet portrait / large phone: 600-767
     - Phone: < 600
   ============================================ */

/* Tablet landscape & below: 991px and down */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: var(--background);
    padding: var(--space-3) var(--space-5);
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition:
      opacity var(--dur-base) var(--ease-out),
      transform var(--dur-base) var(--ease-out),
      max-height var(--dur-base) var(--ease-out),
      visibility 0s linear var(--dur-base);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transition:
      opacity var(--dur-base) var(--ease-out),
      transform var(--dur-base) var(--ease-out),
      max-height var(--dur-base) var(--ease-out),
      visibility 0s linear 0s;
  }
  /* When closed, every descendant is non-interactive. Belt and braces. */
  .nav-menu:not(.is-open) * {
    pointer-events: none !important;
  }
  .nav-link {
    padding: 10px var(--space-3);
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 14px;
  }
  .nav-brand {
    padding: var(--space-2) 0;
    min-height: 44px;
  }
  .nav-item { margin: 0; }
  .nav-dropdown {
    position: static;
    min-width: 0;
    grid-template-columns: 1fr 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 4px 0 8px var(--space-4);
    gap: var(--space-2);
    box-shadow: none;
  }
  .dropdown-title { font-size: 10px; margin-bottom: 4px; }
  .dropdown-link {
    padding: 6px 0;
    font-size: 13px;
    min-height: 32px;
  }
  .dropdown-feature { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero { padding: var(--space-16) 0 var(--space-16); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); text-align: center; place-items: center; }
  .hero-text { max-width: 640px; margin: 0 auto; transform: none; }
  .hero-text .badge { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 1; max-height: 360px; justify-content: center; margin-right: 0; }
  .hero-visual-video { margin-right: 0; }
  .hero-video { transform: none; max-width: 460px; }
  .hero-product { max-width: 280px; }
  .scroll-indicator { display: none; }
  .hero-title { font-size: clamp(36px, 7vw, 56px); }
  .split-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .chart-grid { grid-template-columns: 1fr; }
  .metal-grid { grid-template-columns: repeat(2, 1fr); }
  .task-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .security-card,
  .security-card:nth-child(1),
  .security-card:nth-child(2),
  .security-card:nth-child(3),
  .security-card:nth-child(4),
  .security-card:nth-child(5),
  .security-card:nth-child(6) { grid-column: span 1; }
  .security-card:nth-child(6) { grid-column: 1 / -1; flex-direction: column; }
  .advisor-card { grid-template-columns: 1fr; text-align: center; }
  .advisor-photo { width: 200px; height: 200px; margin: 0 auto; }
  .advisor-actions { justify-content: center; }
  .partner-banner { grid-template-columns: 1fr; }
  .section { padding: var(--space-16) 0; }
  .section-title { font-size: clamp(28px, 5vw, 38px); }
  .sparplan-banner { grid-template-columns: 1fr; gap: var(--space-6); padding: var(--space-8); }
}

/* Tablet portrait + large phone: 767px and down */
@media (max-width: 767px) {
  .container { padding: 0 var(--space-5); }

  /* 2. Thicker navbar on mobile */
  .nav { padding: var(--space-4) var(--space-4); gap: var(--space-3); min-height: 64px; }
  .nav-cta { display: none; }
  .nav-menu {
    inset: 72px 0 auto 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  /* 3. Mobile hero: PNG with float animation. iOS Safari's mix-blend on
     <video> is unreliable across versions — PNG always shows clean. */
  .hero-video { display: none !important; }
  .hero-visual,
  .hero-visual-video {
    background: transparent;
    max-height: none;
  }
  .hero-visual-video::before { display: none; }
  .hero-video-fallback {
    display: block !important;
    width: 100%;
    max-width: 360px;
    height: auto;
    background: transparent;
    margin: 0 auto;
    filter:
      drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 70px rgba(205, 184, 138, 0.28));
    animation: hero-png-float 5s ease-in-out infinite;
  }
  @keyframes hero-png-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }

  .hero { padding: var(--space-12) 0; }
  .hero-product { max-width: 240px; }
  .hero-trust { gap: var(--space-4); padding-top: var(--space-5); }
  .trust-item strong { font-size: 17px; }
  .trust-item span { font-size: 12px; }

  /* Extra side breathing room for hero title + subtitle on mobile */
  .hero-text .hero-title,
  .hero-text .hero-subtitle {
    padding-left: 7px;
    padding-right: 7px;
  }

  /* 4. Shorter hero CTAs, smaller semibold label */
  .hero-actions .btn,
  .hero-actions .btn-lg {
    padding: 6px 14px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
  }
  /* Unified button styling on mobile — all buttons look like hero CTAs */
  .btn,
  .btn-lg,
  .btn-block {
    padding: 6px 14px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
  }
  .badge { font-size: 11px; padding: 4px 10px; }
  .section { padding: var(--space-12) 0; }
  .section-title { font-size: clamp(26px, 6vw, 34px); }
  .section-lead { font-size: 15px; }
  .product-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .product-card { max-width: 480px; margin: 0 auto; width: 100%; }
  .product-image { aspect-ratio: 1.8 / 1; padding: var(--space-5); }
  /* Bento card #6 (Versicherter Versand): left-align like the others, slide in */
  .security-card:nth-child(6) {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left;
  }
  .security-card:nth-child(6) .security-icon { align-self: flex-start; }
  /* Force text presentation for unicode icons (iOS Safari renders some as emoji) */
  .security-icon {
    font-variant-emoji: text;
    -webkit-font-feature-settings: "ss01";
  }

  /* Edelmetalle CTA "Welches Metall passt zu dir?": coins video inside the
     card, exactly like tablet/desktop — no blend tricks, just the native
     base styling. */
  .cta-card-bg-video {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: normal;
    filter: none;
  }
  .cta-card.cta-card-video {
    position: relative;
    overflow: hidden;
    isolation: auto;
  }
  .cta-card.cta-card-video .cta-card-content {
    position: relative;
    z-index: 1;
  }

  /* Edelmetalle hero: clean up the visible band behind the nugget on mobile.
     The gold radial glow + dark drop-shadow stripe were rendering as a
     visible horizontal band against the dark page bg. */
  .edelmetalle-hero-visual::before { display: none; }
  .nugget-shadow { display: none; }
  .nugget-particles { opacity: 0.6; }
  .hero-nugget {
    max-width: 280px;
    filter:
      drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 80px rgba(205, 184, 138, 0.30));
  }
  .edelmetalle-hero-visual { padding: var(--space-4) 0; }

  /* Edelmetalle metals explorer: horizontal pills above the panel on mobile.
     Forced with !important because .metals-tabs also carries .explorer-tabs
     class which was being styled vertical for the homepage explorer. */
  .metals-explorer-layout {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }
  .metals-explorer-layout .metals-tabs {
    flex-direction: row !important;
    position: static !important;
    overflow: visible !important;
    gap: 6px !important;
    width: 100%;
    top: auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .metals-explorer-layout .metals-tab {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 6px 4px !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    text-align: center !important;
    font-size: 11px !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden;
  }
  .metals-explorer-layout .metals-tab > span:last-child,
  .metals-explorer-layout .metals-tab .explorer-tab-label {
    font-size: 10px !important;
    line-height: 1.1 !important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    max-width: 100%;
  }
  .metals-explorer-layout .metals-tab.is-active {
    background: rgba(205, 184, 138, 0.18) !important;
    border-color: rgba(205, 184, 138, 0.55) !important;
    color: var(--text-primary) !important;
  }
  .metals-explorer-layout .metals-tab.is-active .metals-tab-symbol {
    background: rgba(205, 184, 138, 0.35);
    border-color: var(--accent);
    color: var(--accent);
  }
  .metals-explorer-layout .metals-tab-symbol { width: 24px; height: 24px; font-size: 10px; }
  .metals-explorer-layout .metals-tab .explorer-tab-label,
  .metals-explorer-layout .metals-tab > span:last-child { font-size: 11px; font-weight: 600; }
  .metal-panel { grid-template-columns: 1fr !important; gap: var(--space-4); padding: var(--space-5); }
  .metal-panel-visual { order: -1; position: static; }
  .metal-panel-visual img { max-height: 240px; }

  /* Aktuelle Lage charts: slide in from left, staggered */
  .chart-grid .chart-card {
    opacity: 0;
    transform: translateX(-60px);
    transition:
      opacity 700ms var(--ease-out),
      transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .chart-grid.is-visible .chart-card { opacity: 1; transform: translateX(0); }
  .chart-grid.is-visible .chart-card:nth-child(1) { transition-delay: 0.10s; }
  .chart-grid.is-visible .chart-card:nth-child(2) { transition-delay: 0.30s; }

  /* Wieso investieren benefit cards: slide in from left, staggered */
  .benefit-grid .benefit-card {
    opacity: 0;
    transform: translateX(-60px);
    transition:
      opacity 700ms var(--ease-out),
      transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .benefit-grid.is-visible .benefit-card { opacity: 1; transform: translateX(0); }
  .benefit-grid.is-visible .benefit-card:nth-child(1) { transition-delay: 0.10s; }
  .benefit-grid.is-visible .benefit-card:nth-child(2) { transition-delay: 0.24s; }
  .benefit-grid.is-visible .benefit-card:nth-child(3) { transition-delay: 0.38s; }
  .benefit-grid.is-visible .benefit-card:nth-child(4) { transition-delay: 0.52s; }

  /* Ansprechpartner Maurizio: fade up from below */
  #ansprechpartner .advisor-card {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 850ms var(--ease-out),
      transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  #ansprechpartner.is-visible .advisor-card { opacity: 1; transform: translateY(0); }

  /* Sparplan section: match hero button language + fly-in from left + subtle wiggle */
  .sparplan-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
  }
  .sparplan-actions .btn {
    padding: 6px 14px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    width: auto;
  }
  /* Fly in from left when the sparplan-banner section scrolls into view */
  #edelmetalle .sparplan-actions .btn {
    opacity: 0;
    transform: translateX(-32px);
    transition:
      opacity 700ms var(--ease-out),
      transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  #edelmetalle.is-visible .sparplan-actions .btn { opacity: 1; transform: translateX(0); }
  #edelmetalle.is-visible .sparplan-actions .btn:nth-child(1) { transition-delay: 0.25s; }
  #edelmetalle.is-visible .sparplan-actions .btn:nth-child(2) { transition-delay: 0.40s; }

  /* Override the loud desktop wiggle with something really subtle on mobile */
  @keyframes wiggle-soft-mobile {
    0%   { transform: rotate(0) scale(1); }
    25%  { transform: rotate(-1.5deg) scale(1.015); }
    55%  { transform: rotate(1deg) scale(1.01); }
    80%  { transform: rotate(-0.5deg) scale(1.005); }
    100% { transform: rotate(0) scale(1); }
  }
  .js-wiggle.is-wiggling {
    animation: wiggle-soft-mobile 1100ms var(--ease-out) both !important;
  }

  /* Erkunde die Plattform: vertical pills on the side, phone fits tight */
  .explorer-layout {
    grid-template-columns: 92px 1fr;
    gap: var(--space-3);
    align-items: start;
  }
  .explorer-tabs {
    flex-direction: column;
    position: sticky;
    top: 80px;
    overflow: visible;
    padding: 0;
    gap: 4px;
  }
  .explorer-tab {
    grid-template-columns: 1fr;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-muted);
    text-align: left;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
    flex-shrink: 0;
  }
  .explorer-tab.is-active {
    background: var(--accent);
    color: #1a1408;
    border-color: var(--accent);
  }
  .explorer-tab-num { display: none; }
  .explorer-tab-label { font-size: 11px; font-weight: 600; }

  /* Mockup adjusts: text above, smaller phone below */
  .explorer-panel {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .explorer-text { max-width: none; text-align: left; }
  .explorer-text h3 { font-size: clamp(20px, 5vw, 24px); line-height: 1.1; margin: var(--space-1) 0 var(--space-3); }
  .explorer-text > p { font-size: 13px; line-height: 1.5; margin-bottom: var(--space-3); }
  .explorer-text .check-list li { font-size: 13px; padding-left: 22px; }
  .explorer-mockup { order: 1; }
  .phone-frame { width: 220px; height: 470px; border-radius: 36px; padding: 5px; }
  .phone-screen { border-radius: 31px; }
  .phone-screen::before, .phone-screen::after { border-radius: 31px; }
  .phone-notch { width: 70px; height: 20px; top: 6px; }
  .phone-app { padding: 26px 12px 14px; gap: 5px; }
  .phone-app .ph-pretitle { font-size: 11px; }
  .phone-app .ph-depot { font-size: 10px; }
  .phone-app h4.ph-h { font-size: 12px; }
  .phone-app .ph-row { padding: 4px 0; font-size: 11px; }
  .phone-app .ph-input { font-size: 11px; }
  .phone-app .ph-cta { padding: 7px 12px; font-size: 11px; }
  .phone-app .ph-note { padding: 6px 8px; font-size: 9px; line-height: 1.35; }
  /* Compress every panel variant so content fits the 220x470 frame */
  .phone-app .ph-app-header { padding-bottom: 5px; margin-bottom: 2px; gap: 2px; }
  .phone-app .ph-pretitle { font-size: 10px; }
  .phone-app .ph-depot { font-size: 9px; }
  .phone-app h4.ph-h { font-size: 11px; }
  .phone-app .ph-row { padding: 3px 0; font-size: 10px; }
  .phone-app .ph-input { font-size: 10px; }
  .phone-app .ph-input small { font-size: 8px; }
  .phone-app .ph-cta { padding: 6px 10px; font-size: 10px; margin-top: 2px; }
  /* Verkauf */
  .phone-app .ph-sell-row { padding: 4px 0; font-size: 10px; gap: 4px; }
  .phone-app .ph-sell-row > div:first-child strong { font-size: 10px; }
  .phone-app .ph-sell-row > div:first-child span { font-size: 9px; }
  .phone-app .ph-amount { font-size: 10px; }
  .phone-app .ph-summe { padding: 4px 0; font-size: 10px; }
  .phone-app .ph-summe strong { font-size: 12px; }
  /* Lieferung */
  .phone-app .ph-deliver-th { font-size: 8px; }
  .phone-app .ph-deliver-th-2 { font-size: 10px; }
  .phone-app .ph-deliver-row { font-size: 9px; padding: 3px 0; }
  .phone-app .ph-deliver-total { font-size: 10px; padding: 5px 0; }
  .phone-app .ph-deliver-total strong { font-size: 12px; }
  .phone-app .ph-collapse { font-size: 10px; padding: 5px 0; }
  /* Tresor */
  .phone-app .ph-kv { font-size: 10px; padding: 3px 0; }
  .phone-app .ph-kv strong { font-size: 10px; }
  .phone-app .ph-bar { width: 92px; height: 58px; }
  .phone-app .ph-bar-title { font-size: 9px; }
  .phone-app .ph-bar-sub { font-size: 8px; }
  /* Historie */
  .phone-app .ph-date-pill { font-size: 9px; padding: 2px 6px; }
  .phone-app .ph-search { font-size: 10px; padding: 5px 8px; }
  .phone-app .ph-hist-row { padding: 4px 0; font-size: 9px; }
  .phone-app .ph-hist-l strong { font-size: 10px; }
  .phone-app .ph-hist-l span { font-size: 8px; }
  .phone-app .ph-hist-amt { font-size: 10px; }
  /* Tile grids (Echtzeit + Dokumente) */
  .phone-app .ph-tile-grid { gap: 5px; }
  .phone-app .ph-tile { padding: 8px 4px 6px; }
  .phone-app .ph-tile-icon { width: 24px; height: 24px; }
  .phone-app .ph-tile-icon svg { width: 12px; height: 12px; }
  .phone-app .ph-tile-label { font-size: 8px; }
  .phone-app .ph-tile-full { padding: 6px 8px; gap: 8px; }
  .phone-app .ph-tile-full .ph-tile-label { font-size: 9px; }
  .explorer-stage { min-height: 540px; }

  /* Mission: only gold bar drops in next to the text on mobile, silver hidden */
  .mission-float-silver { display: none !important; }
  .mission-float-gold {
    display: block;
    width: 90px;
    top: 12%;
    left: 4%;
    z-index: 1;
  }
  .mission-centered { gap: var(--space-4); }
  .mission-lead {
    max-width: 38ch;
    font-size: 15px;
    line-height: 1.55;
  }
  .product-image img { max-height: 120px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial { min-height: 0; }
  .metal-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); padding-bottom: var(--space-8); }
  .footer-col a { min-height: 44px; padding: var(--space-2) 0; display: flex; align-items: center; }
  .footer-bottom { flex-direction: column; gap: var(--space-2); text-align: center; padding-top: var(--space-4); }
  .cta-card { padding: var(--space-6) var(--space-5); }
  .advisor-card { padding: var(--space-6) var(--space-5); }
  .partner-banner { padding: var(--space-6) var(--space-5); }
  .sparplan-banner { padding: var(--space-6) var(--space-5); margin-bottom: var(--space-10); }
  .sparplan-stats { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .sparplan-stat { padding: var(--space-3); }
  .sparplan-stat strong { font-size: 20px; }
  .faq-trigger { padding: var(--space-4) var(--space-5); font-size: 15px; }
  .faq-answer { padding: 0 var(--space-5) var(--space-4); }
  .step-card { padding: var(--space-5); }
  .step-card h3 { font-size: 18px; }
  .chart-card { padding: var(--space-4); }
  .value-card { padding: var(--space-4); }
  /* Edelmetalle page */
  .metal-grid-row, .metal-grid-row.reverse { gap: var(--space-6); }
  .metal-header h2 { font-size: clamp(26px, 6vw, 34px); }
  .metal-symbol-lg { width: 52px; height: 52px; font-size: 18px; }
  .metal-lead { font-size: 15px; margin-bottom: var(--space-6); }
  .metal-visual img { max-height: 220px; }
  .comparison-table th, .comparison-table td { padding: var(--space-3) var(--space-4); font-size: 13px; }
}

/* Small phone: 480px and down — fine-tune tightest layout */
@media (max-width: 479px) {
  .section { padding: var(--space-10) 0; }
  .hero { padding: var(--space-10) 0 var(--space-8); }
  .hero-product { max-width: 200px; }
  .hero-title { font-size: clamp(32px, 9vw, 42px); }
  /* Keep hero CTAs side-by-side and content-width on small phones */
  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
  }
  .hero-actions .btn,
  .hero-actions .btn-lg {
    width: auto;
    padding: 6px 12px;
    font-size: 9px;
    font-weight: 600;
  }
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
  .trust-item strong { font-size: 16px; }
  .nav-logo { height: 26px; }
  .container { padding: 0 var(--space-4); }
  .product-image { aspect-ratio: 2 / 1; }
  .badge {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
}

/* ============================================
   Carousel (used on tablet for testimonials)
   ============================================ */
.testimonial-carousel { position: relative; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.carousel-btn:hover { background: rgba(205, 184, 138, 0.14); border-color: rgba(205, 184, 138, 0.5); }
.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-btn-prev { left: -6px; }
.carousel-btn-next { right: -6px; }
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-5);
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.carousel-dot.is-active { background: var(--accent); transform: scale(1.3); }

/* ============================================
   TABLET (768px – 1023px) — layout-only fixes
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Global: ~15% more side breathing room on homepage container */
  body.page-home .container {
    padding-left: 7%;
    padding-right: 7%;
  }

  /* Fix 1: Mission — gold bar closer to text */
  .mission-float-gold { width: 130px; top: 6%; left: 11%; }
  .mission-float-silver { width: 115px; top: 52%; right: 11%; }

  /* Fix 2: "So funktioniert es" — narrower cards + more breathing room */
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .step-card { padding: var(--space-5) var(--space-4); }
  .step-card h3 { font-size: 17px; }
  .step-card p { font-size: 14px; }

  /* Fix 3: "Erkunde die Plattform" — restore desktop-like layout */
  .explorer-layout {
    grid-template-columns: 180px 1fr;
    gap: var(--space-8);
  }
  .explorer-tabs {
    flex-direction: column;
    position: sticky;
    top: 90px;
    overflow: visible;
    padding-bottom: 0;
    gap: 4px;
  }
  .explorer-tab {
    grid-template-columns: 26px 1fr;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    flex-shrink: 1;
    background: transparent;
    color: var(--text-muted);
    text-align: left;
    white-space: nowrap;
  }
  .explorer-tab.is-active {
    background: rgba(205, 184, 138, 0.10);
    color: var(--text-primary);
    border-color: rgba(205, 184, 138, 0.28);
  }
  .explorer-tab.is-active .explorer-tab-num { color: var(--accent); }
  .explorer-tab-num { display: inline-flex; }
  .explorer-tab-label { font-size: 13px; }
  .explorer-panel {
    grid-template-columns: 1fr 280px;
    gap: var(--space-6);
    align-items: center;
  }
  .explorer-text { text-align: left; max-width: none; }
  .explorer-text h3 { font-size: clamp(22px, 3vw, 28px); }
  .explorer-text > p { font-size: 15px; }
  .explorer-mockup { order: 0; }
  /* Larger phone frame so KAUF/VERKAUF/etc mockup content (incl. CTA + note)
     fits without being cropped by overflow:hidden on .phone-app */
  .phone-frame { width: 260px; height: 600px; }
  .phone-app { padding: 32px 14px 18px; gap: 7px; }
  .phone-app .ph-row { padding: 6px 0; font-size: 12px; }
  .phone-app .ph-cta { padding: 9px 14px; font-size: 12px; }
  .phone-app .ph-note { padding: 8px 10px; font-size: 10px; line-height: 1.4; }
  .phone-app h4.ph-h { font-size: 13px; margin: 0; }
  .explorer-stage { min-height: 640px; }

  /* Fix 4: "Beliebtester Einstieg" — wider banner, tighter type */
  .sparplan-banner {
    grid-template-columns: 1.25fr 1fr;
    max-width: none;
    padding: var(--space-8) var(--space-9);
    gap: var(--space-7);
  }
  .sparplan-text { max-width: none; }
  .sparplan-title { font-size: clamp(24px, 3vw, 30px); }
  .sparplan-text > p { font-size: 14px; line-height: 1.55; }
  .sparplan-actions {
    flex-wrap: nowrap;
    gap: var(--space-2);
  }
  .sparplan-actions .btn {
    padding: 7px 16px;
    font-size: 10px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .sparplan-stats { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .sparplan-stat { padding: var(--space-4); }
  .sparplan-stat strong { font-size: 22px; }
  .sparplan-stat span { font-size: 12px; }

  /* Fix 5: Bento Sicherheit & Lagerung — proper bento on tablet */
  .security-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-3);
  }
  .security-card,
  .security-card:nth-child(1) { grid-column: span 3; }
  .security-card:nth-child(2) { grid-column: span 3; }
  .security-card:nth-child(3) { grid-column: span 2; }
  .security-card:nth-child(4) { grid-column: span 2; }
  .security-card:nth-child(5) { grid-column: span 2; }
  .security-card:nth-child(6) {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
  .security-card { padding: var(--space-5); }
  .security-card h3 { font-size: 16px; }
  .security-card p { font-size: 13px; }

  /* Fix 6: "Aktuelle Lage" — side by side, smaller */
  .chart-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
  .chart-card { padding: var(--space-4); gap: var(--space-3); }
  .chart-card-header h3 { font-size: 16px; }
  .chart-symbol { width: 36px; height: 36px; font-size: 13px; }
  .chart-image { max-height: 180px; }

  /* Fix 7: Vermögensschutz — compact 2-column */
  .split-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-6);
  }
  .section-quote .section-title { font-size: clamp(24px, 4vw, 32px); }
  .section-quote .section-lead { font-size: 15px; margin-bottom: var(--space-4); }
  .value-card { padding: var(--space-5); }

  /* Fix 8: FAQ — keep base styling on tablet */

  /* Fix 9: Testimonials — carousel mode with proper card styling */
  .testimonial-carousel { padding: 0 var(--space-8); position: relative; }
  .carousel-btn { display: inline-flex; }
  .carousel-dots { display: flex; }
  .testimonial-grid {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: var(--space-4);
    padding: var(--space-2) 4px;
    -webkit-overflow-scrolling: touch;
    background: transparent;
  }
  .testimonial-grid::-webkit-scrollbar { display: none; }
  .testimonial-grid .testimonial {
    flex: 0 0 calc(50% - var(--space-2));
    scroll-snap-align: start;
    min-height: 200px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-6);
    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.4);
  }
  .testimonial-grid .testimonial p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
  }
  .testimonial-grid .testimonial footer {
    margin-top: auto;
    padding-top: 0;
    border-top: none;
    font-size: 13px;
    color: var(--text-muted);
  }
  .testimonial-grid .testimonial footer strong {
    color: var(--text-primary);
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
  }

  /* Fix 10: Ansprechpartner — image left, text right, tightly bundled */
  .advisor-card {
    grid-template-columns: 220px 1fr;
    text-align: left;
    gap: var(--space-8);
    padding: var(--space-10) var(--space-10);
    align-items: center;
    min-height: 320px;
  }
  .advisor-photo {
    width: 220px;
    height: 220px;
    margin: 0;
    justify-self: center;
  }
  .advisor-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .advisor-text .eyebrow { margin: 0; }
  .advisor-card .section-title {
    font-size: clamp(26px, 3.2vw, 34px);
    margin: 0;
    line-height: 1.05;
  }
  .advisor-card .section-lead {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    max-width: 50ch;
  }
  .advisor-actions {
    justify-content: flex-start;
    margin-top: var(--space-2);
    gap: var(--space-3);
  }

  /* Fix 11: Vertriebspartner — centered card list + button below */
  .partner-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-10) var(--space-8);
    max-width: none;
    margin: 0;
    gap: var(--space-6);
  }
  /* Lift first div's children into the flex layout so we can reorder via DOM */
  .partner-banner > div:first-child { display: contents; }
  .partner-banner .eyebrow { margin-top: var(--space-2); }
  .partner-banner .section-title { font-size: clamp(22px, 3vw, 30px); max-width: 38ch; }
  .partner-banner .section-lead { max-width: 56ch; margin-left: auto; margin-right: auto; margin-bottom: 0; }
  .partner-banner .btn {
    order: 3;
    align-self: center;
    margin-bottom: var(--space-2);
  }
  .partner-points {
    order: 2;
    max-width: 600px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    width: 100%;
    gap: var(--space-3);
  }
  .partner-points li { font-size: 13px; padding: var(--space-3) var(--space-4); }
}

/* Mission section: keep floats visible on tablet (overrides 767px hide rule) */
@media (min-width: 768px) and (max-width: 1023px) {
  .mission-float { display: block; }

  /* Gold blob: scroll with the page on tablet (was fixed → looked detached) */
  .gold-blob {
    position: absolute;
    top: 240px;
    left: -10%;
  }
  body { position: relative; }

  /* Edelmetalle hero: nugget next to text instead of stacked */
  .edelmetalle-hero-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-5);
    min-height: 0;
    align-items: center;
  }
  .edelmetalle-hero-text { max-width: none; }
  .edelmetalle-hero-text .hero-title { font-size: clamp(32px, 5vw, 44px); }
  .edelmetalle-hero-text .hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
    max-width: 38ch;
  }
  .edelmetalle-hero-visual {
    margin-right: calc(-1 * var(--space-4));
    justify-content: flex-end;
  }
  .hero-nugget { max-width: 480px; width: 100%; }
  .nugget-particles { inset: -12%; }

  /* Edelmetalle hero: dissolve the hard edge into the next section */
  .edelmetalle-hero {
    background: transparent;
    padding-bottom: var(--space-6);
  }
  .edelmetalle-hero .hero-bg {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  }

  /* Slim down the visually 'big' buttons on tablet so they match the rest */
  .btn-lg {
    padding: 6px 16px;
    font-size: 11px;
  }
  .hero-actions .btn,
  .hero-actions .btn-lg {
    padding: 7px 18px;
    font-size: 11px;
  }
  .btn-block {
    padding: 8px 14px;
    font-size: 11px;
    width: auto;
    align-self: flex-start;
  }
  .product-card .btn-block,
  .chart-card .btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .advisor-actions .btn,
  .partner-banner .btn,
  .cta-card .btn {
    padding: 7px 18px;
    font-size: 11px;
  }

  /* Edelmetalle: 4 metal tabs horizontal across the top, panel stacked below */
  .metals-explorer-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .metals-tabs {
    position: static;
    flex-direction: row;
    overflow: visible;
    gap: var(--space-2);
    width: 100%;
  }
  .metals-tab {
    flex: 1 1 0;
    justify-content: flex-start;
    grid-template-columns: 28px 1fr;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
  }
  .metals-tab.is-active {
    background: rgba(205, 184, 138, 0.10);
    border-color: rgba(205, 184, 138, 0.45);
    color: var(--text-primary);
  }
  .metals-tab-symbol { width: 28px; height: 28px; font-size: 12px; }

  .metal-panel {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-7);
    padding: var(--space-8);
    align-items: center;
  }
  .metal-panel-visual { position: static; order: 0; }
  .metal-panel-visual img { max-height: 320px; }
  .metal-card-title { font-size: clamp(24px, 3vw, 32px); }
  .metal-panel-text > p { font-size: 14px; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
