/* ==========================================================================
   Finanzhefte (Databek Analytics GmbH) – Design System & Frontend Stylesheet
   Version: 1.0 (Relaunch 2026)
   Aesthetic: European Institutional Fintech & Editorial Research
   Privacy: 100% DSGVO-compliant – Zero external CDN fonts or trackers
   ========================================================================== */

:root {
  /* Editorial Light Foundation */
  --bg-page: #ffffff;
  --bg-subtle: #f6f8fc;
  --bg-muted: #eef2f8;
  --bg-card: #ffffff;
  --border-subtle: #dce3f0;
  --border-strong: #c5d0e4;

  /* Brand Authority Navy & Ink */
  --navy-950: #020926; /* Fusalis Midnight Navy – exact match to logo-fusalis.jpg */
  --navy-900: #081b46; /* Finanzhefte Deep Navy */
  --navy-800: #19427a; /* Royal Navy */
  --text-primary: #0b1528;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #c2d1e8;

  /* Conversion, Accents & Semantic Status */
  --brand-primary: #1d4ed8;
  --brand-primary-hover: #1e40af;
  --brand-soft: #eff6ff;
  --brand-border: #bfdbfe;

  --gradient-fh: linear-gradient(135deg, #30dffe 0%, #4c6afe 55%, #8f5fff 100%);
  --gradient-fusalis: linear-gradient(135deg, #0affa4 0%, #13fbe3 45%, #403bfa 100%);

  --success: #047857;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;

  --warning-bg: #fef3c7;
  --warning-text: #92400e;
  --warning-border: #fde68a;

  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  /* Typography – 100% DSGVO-compliant Editorial System Stack */
  --font-sans: 'Segoe UI Variable', 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Layout & Rhythm */
  --container-max: 1200px;
  --container-narrow: 840px;
  --header-height: 76px;
  --section-py: clamp(3.5rem, 6vw, 5.5rem);
  --section-py-sm: clamp(2.25rem, 4vw, 3.5rem);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Institutional Shadows */
  --shadow-xs: 0 1px 2px rgba(8, 27, 70, 0.05);
  --shadow-sm: 0 2px 8px rgba(8, 27, 70, 0.06), 0 1px 2px rgba(8, 27, 70, 0.04);
  --shadow-md: 0 10px 28px rgba(8, 27, 70, 0.08), 0 2px 6px rgba(8, 27, 70, 0.04);
  --shadow-lg: 0 20px 48px rgba(8, 27, 70, 0.12), 0 4px 12px rgba(8, 27, 70, 0.05);
  --shadow-book: 0 18px 34px -10px rgba(8, 27, 70, 0.34),
    0 6px 14px -4px rgba(8, 27, 70, 0.18),
    -3px 0 8px rgba(8, 27, 70, 0.08);
  --shadow-book-hover: 0 26px 46px -10px rgba(8, 27, 70, 0.42),
    0 10px 20px -6px rgba(8, 27, 70, 0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 160ms var(--ease-out);
  --transition-base: 240ms var(--ease-out);
  --transition-slow: 380ms var(--ease-out);
}

/* ==========================================================================
   1. Base Reset & Accessibility
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary-hover);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.section--fusalis :focus-visible,
.section--navy :focus-visible,
.site-footer :focus-visible {
  outline-color: #38bdf8;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--navy-900);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
  color: #ffffff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ==========================================================================
   2. Typography & Editorial Helpers
   ========================================================================== */

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.25rem);
  letter-spacing: -0.028em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.3rem);
  letter-spacing: -0.022em;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  line-height: 1.28;
}

h4 {
  font-size: 1.05rem;
  line-height: 1.35;
}

p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-fh);
  flex-shrink: 0;
}

.eyebrow--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #dbeafe;
}

.eyebrow--fusalis::before {
  background: var(--gradient-fusalis);
}

.text-gradient-fh {
  background: var(--gradient-fh);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-fusalis {
  background: var(--gradient-fusalis);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-hairline {
  height: 3px;
  width: 56px;
  border-radius: var(--radius-pill);
  background: var(--gradient-fh);
  margin-bottom: 1.25rem;
}

.accent-hairline--fusalis {
  background: var(--gradient-fusalis);
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   3. Layout Containers & Sections
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 3vw, 2rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-py);
  background-color: var(--bg-page);
}

.section--sm {
  padding-block: var(--section-py-sm);
}

.section--subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section--muted {
  background-color: var(--bg-muted);
}

.section--navy {
  background-color: var(--navy-900);
  color: var(--text-on-dark);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #ffffff;
}

.section--navy p {
  color: var(--text-on-dark-muted);
}

.section--fusalis {
  background-color: var(--navy-950);
  color: var(--text-on-dark);
}

.section--fusalis h1,
.section--fusalis h2,
.section--fusalis h3,
.section--fusalis h4 {
  color: #ffffff;
}

.section--fusalis p {
  color: var(--text-on-dark-muted);
}

.section-header {
  max-width: 68ch;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header--center .lead {
  margin-inline: auto;
}

.section-header--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.22);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.28);
}

.btn-secondary {
  background-color: var(--bg-page);
  color: var(--navy-900);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--navy-800);
  color: var(--navy-900);
  transform: translateY(-1px);
}

.btn-navy {
  background-color: var(--navy-900);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(8, 27, 70, 0.2);
}

.btn-navy:hover {
  background-color: var(--navy-800);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-fusalis {
  background: var(--gradient-fusalis);
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(19, 251, 227, 0.22);
}

.btn-fusalis:hover {
  filter: brightness(1.06);
  color: var(--navy-950);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(19, 251, 227, 0.3);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   5. Sticky Header, Navigation & Language Switcher
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Brand Lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--navy-900);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: 0 4px 12px rgba(8, 27, 70, 0.18);
  border: 1px solid rgba(8, 27, 70, 0.12);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--navy-900);
  background-color: var(--bg-subtle);
}

.nav-link.is-active,
.nav-link[aria-current='page'] {
  color: var(--navy-900);
  background-color: var(--bg-muted);
}

.nav-link.is-active::after,
.nav-link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-primary);
}

.nav-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-fusalis);
}

/* Header Controls & DE | EN Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
}

.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.lang-option:hover {
  color: var(--navy-900);
}

.lang-option.is-active,
.lang-option[aria-current='true'] {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

/* Mobile Toggle Button */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  color: var(--navy-900);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}

.nav-toggle-bars {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform var(--transition-fast), opacity var(--transition-fast),
    top var(--transition-fast);
}

.nav-toggle-bars span:nth-child(1) {
  top: 0;
}

.nav-toggle-bars span:nth-child(2) {
  top: 6px;
}

.nav-toggle-bars span:nth-child(3) {
  top: 12px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 90;
  background: rgba(8, 27, 70, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.25rem 1.75rem;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-base), opacity var(--transition-base),
    visibility var(--transition-base);
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-900);
  background: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active,
.mobile-nav-link[aria-current='page'] {
  background: var(--bg-subtle);
  color: var(--brand-primary);
}

.mobile-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 959px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }
}

/* ==========================================================================
   6. Conversion Hero (Startseite) & 3D Editorial Magazine Showcase
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 5.5vw, 4.75rem);
  background:
    radial-gradient(64% 60% at 88% 12%, rgba(76, 106, 254, 0.08) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(45% 50% at 6% 90%, rgba(48, 223, 254, 0.06) 0%, rgba(255, 255, 255, 0) 70%),
    var(--bg-page);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
}

.hero-content h1 {
  margin-bottom: 1.15rem;
}

.hero-content .lead {
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.1rem;
}

/* Trust KPIs in Hero */
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  max-width: 560px;
}

.hero-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-kpi-value {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.hero-kpi-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Right Column – 3D Editorial Magazine Showcase */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.5rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, #f6f8fc 0%, #eaf0fa 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.85) 0%, transparent 68%);
  pointer-events: none;
}

.hero-book-stack {
  position: relative;
  width: 100%;
  max-width: 410px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  z-index: 1;
}

.hero-book-item {
  position: absolute;
  width: 186px;
  aspect-ratio: 1 / 1.414;
  border-radius: 3px 10px 10px 3px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
  background: var(--navy-900);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-book-item::before {
  /* Realistic magazine spine lighting */
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(255, 255, 255, 0.14) 78%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-book-item::after {
  /* Subtle editorial gloss sheen */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.03) 34%,
    transparent 52%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-book-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-book-item--back-left {
  width: 164px;
  transform: translateX(-96px) translateY(14px) rotate(-8deg) rotateY(14deg);
  z-index: 1;
  opacity: 0.94;
}

.hero-book-item--back-right {
  width: 164px;
  transform: translateX(96px) translateY(18px) rotate(8deg) rotateY(-14deg);
  z-index: 2;
  opacity: 0.94;
}

.hero-book-item--front {
  width: 204px;
  transform: translateY(-6px) rotateY(-4deg);
  z-index: 4;
  box-shadow: 0 26px 50px -12px rgba(8, 27, 70, 0.44),
    0 8px 18px -6px rgba(8, 27, 70, 0.24);
}

.hero-showcase:hover .hero-book-item--front {
  transform: translateY(-12px) rotateY(0deg);
}

.hero-showcase:hover .hero-book-item--back-left {
  transform: translateX(-108px) translateY(12px) rotate(-10deg) rotateY(10deg);
}

.hero-showcase:hover .hero-book-item--back-right {
  transform: translateX(108px) translateY(16px) rotate(10deg) rotateY(-10deg);
}

.hero-showcase-caption {
  position: relative;
  z-index: 5;
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
}

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

  .hero-book-stack {
    height: 300px;
  }

  .hero-book-item--front {
    width: 184px;
  }

  .hero-book-item--back-left,
  .hero-book-item--back-right {
    width: 148px;
  }

  .hero-book-item--back-left {
    transform: translateX(-82px) translateY(14px) rotate(-7deg);
  }

  .hero-book-item--back-right {
    transform: translateX(82px) translateY(16px) rotate(7deg);
  }
}

@media (max-width: 520px) {
  .hero-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-kpi-value {
    font-size: 1.12rem;
  }

  .hero-book-stack {
    height: 256px;
  }

  .hero-book-item--front {
    width: 156px;
  }

  .hero-book-item--back-left,
  .hero-book-item--back-right {
    width: 126px;
  }

  .hero-book-item--back-left {
    transform: translateX(-66px) translateY(12px) rotate(-7deg);
  }

  .hero-book-item--back-right {
    transform: translateX(66px) translateY(14px) rotate(7deg);
  }
}

/* ==========================================================================
   7. Trust & Sales Platform Bar
   ========================================================================== */

.trust-bar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.trust-bar-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.25rem;
}

.trust-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  min-height: 46px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.trust-logo-item img {
  height: 24px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .trust-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .trust-logos {
    justify-content: center;
    gap: 10px;
  }
}

/* ==========================================================================
   8. Catalog Section, Filter Pills, Editorial Book Cards & Buy Stack
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
  background: var(--bg-subtle);
}

.filter-pill.is-active,
.filter-pill[aria-pressed='true'] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 27, 70, 0.18);
}

.filter-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.filter-pill.is-active .filter-pill-count,
.filter-pill[aria-pressed='true'] .filter-pill-count {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Catalog EN Language Notice Banner */
.catalog-lang-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.catalog-lang-notice strong {
  color: #78350f;
}

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.65rem;
  align-items: stretch;
}

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

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

/* Product Book Card */
.book-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.book-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.book-card.is-hidden {
  display: none;
}

.book-card.is-entering {
  animation: fhCardReveal 260ms var(--ease-out);
}

@keyframes fhCardReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Luxury Editorial Cover Stage */
.book-cover-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.5rem 1.75rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92) 0%, rgba(238, 242, 248, 0.72) 100%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.book-badges-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.book-badges-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.badge-bestseller {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(8, 27, 70, 0.22);
}

.badge-bestseller::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30dffe;
}

.badge-format {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-800);
  border: 1px solid var(--border-subtle);
}

/* Mandatory English-Page Language Badge */
.lang-de-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: var(--shadow-xs);
}

/* Exact 1 : 1.414 Cover Frame with Subtle Printed Spine */
.book-cover-frame {
  position: relative;
  width: 100%;
  max-width: 192px;
  aspect-ratio: 1 / 1.414;
  border-radius: 3px 8px 8px 3px;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-book);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.book-card:hover .book-cover-frame {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-book-hover);
}

.book-cover-frame::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.26) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(0, 0, 0, 0.26) 58%,
    rgba(255, 255, 255, 0.14) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.book-cover-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.02) 32%,
    transparent 50%
  );
  z-index: 3;
  pointer-events: none;
}

.book-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Book Body */
.book-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.4rem 1.4rem 1.45rem;
}

.book-category {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 0.35rem;
}

.book-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.book-subtitle {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.book-desc {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex: 1 1 auto;
}

/* Price Row */
.book-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-variant-numeric: tabular-nums;
}

.price-current {
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-old {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-note {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Unified Platform Buy Button System */
.buy-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.buy-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.buy-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.buy-btn--amazon {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

.buy-btn--amazon:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.buy-btn-left,
.buy-btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.buy-btn-badge,
.buy-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid rgba(8, 27, 70, 0.08);
  padding: 3px;
  flex-shrink: 0;
}

.buy-btn--amazon .buy-btn-badge,
.buy-btn--amazon .buy-btn-icon {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.buy-btn-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.buy-store-icon,
img.buy-store-icon,
.buy-btn-icon img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}

.buy-btn-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy-btn-ext {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.72;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.buy-btn:hover .buy-btn-ext {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ==========================================================================
   9. Customer Reviews & Rating Summary
   ========================================================================== */

.rating-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 680px) {
  .rating-summary {
    grid-template-columns: 1fr;
  }
}

.rating-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.rating-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rating-source {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.rating-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
}

.rating-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.rating-score-block {
  text-align: right;
  flex-shrink: 0;
}

.rating-score {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.rating-score span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #d97706;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-top: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.review-card {
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.9rem;
}

.review-platform-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  color: var(--navy-800);
}

.review-quote {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
  flex: 1 1 auto;
}

.review-footer {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-900);
}

.review-book {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   10. About Us – Founder / CEO Card & History Timeline
   ========================================================================== */

.founder-card {
  position: relative;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
  padding: clamp(1.6rem, 3.2vw, 2.5rem);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 2.75rem;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-fh);
}

.founder-portrait-wrap {
  width: 224px;
  aspect-ratio: 1 / 1;
  padding: 5px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #eef2f8 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  margin-inline: auto;
}

.founder-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 15px;
  background: var(--navy-900);
}

.founder-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 0.45rem;
}

.founder-name {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin-bottom: 0.2rem;
}

.founder-role {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: 68ch;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-900);
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

@media (max-width: 820px) {
  .founder-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .founder-portrait-wrap {
    width: 168px;
    margin-inline: 0;
  }
}

/* History Timeline – Horizontal on Desktop, Vertical on Mobile */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--brand-primary) 55%, #30dffe 100%);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-top: 2.6rem;
}

.timeline-marker {
  position: absolute;
  top: 6px;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-subtle);
  box-shadow: 0 0 0 1px var(--border-strong);
  z-index: 2;
}

.timeline-item--future .timeline-marker {
  background: var(--brand-primary);
}

.timeline-card {
  height: 100%;
  padding: 1.35rem 1.45rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.timeline-date {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 0.4rem;
}

.timeline-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.timeline-card p {
  font-size: 0.9rem;
  line-height: 1.58;
}

@media (max-width: 820px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-left: 2.85rem;
    padding-top: 0;
  }

  .timeline::before {
    top: 14px;
    bottom: 14px;
    left: 16px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-item {
    padding-top: 0;
  }

  .timeline-marker {
    top: 16px;
    left: -2.85rem;
  }
}

/* ==========================================================================
   11. Drop-In Ready Video Section („In Kürze“ / „Coming soon“)
   ========================================================================== */

.video-card {
  max-width: 960px;
  margin-inline: auto;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(0.85rem, 1.8vw, 1.25rem);
  box-shadow: var(--shadow-lg);
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  background: var(--navy-900);
  cursor: pointer;
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter var(--transition-base);
}

.video-stage:hover .video-poster {
  transform: scale(1.02);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(8, 27, 70, 0.22) 0%,
    rgba(8, 27, 70, 0.56) 100%
  );
}

.video-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(8, 27, 70, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-status-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30dffe;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(8, 27, 70, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(2, 9, 38, 0.45);
  transition: transform var(--transition-base), background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.video-stage:hover .video-play-btn {
  transform: scale(1.07);
  background: var(--brand-primary);
  border-color: #ffffff;
}

.video-play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-caption {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 500;
  max-width: 44ch;
  text-shadow: 0 1px 6px rgba(2, 9, 38, 0.5);
}

.video-player,
.video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
}

.video-feedback {
  margin-top: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.video-feedback.is-visible {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   12. Fusalis Special Components (fusalis.html)
   ========================================================================== */

.fusalis-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 5.5vw, 4.75rem);
  background:
    radial-gradient(56% 52% at 86% 12%, rgba(64, 59, 250, 0.22) 0%, rgba(2, 9, 38, 0) 70%),
    radial-gradient(46% 46% at 12% 88%, rgba(10, 255, 164, 0.11) 0%, rgba(2, 9, 38, 0) 70%),
    var(--navy-950);
  color: var(--text-on-dark);
}

.fusalis-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}

.fusalis-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.fusalis-hero .lead {
  color: var(--text-on-dark-muted);
  margin-bottom: 1.5rem;
}

.fusalis-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.15rem;
}

.fusalis-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(19, 251, 227, 0.1);
  border: 1px solid rgba(19, 251, 227, 0.32);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fusalis-dev-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0affa4;
  box-shadow: 0 0 10px rgba(10, 255, 164, 0.8);
}

/* Seamless Logo Integration on #020926 */
.fusalis-logo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fusalis-brand-logo {
  width: min(290px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fusalis-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hit-Rate Hero Highlight KPIs (Directly at top of fusalis.html) */
.fusalis-kpi-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fusalis-kpi-card {
  position: relative;
  padding: 1.35rem 1.45rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.fusalis-kpi-card--highlight {
  background: linear-gradient(
    145deg,
    rgba(10, 255, 164, 0.1) 0%,
    rgba(64, 59, 250, 0.14) 100%
  );
  border-color: rgba(19, 251, 227, 0.36);
}

.fusalis-kpi-card--highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gradient-fusalis);
}

.fusalis-kpi-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  margin-bottom: 0.45rem;
}

.fusalis-kpi-value {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.35rem;
}

.fusalis-kpi-card--highlight .fusalis-kpi-value {
  background: var(--gradient-fusalis);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fusalis-kpi-sub {
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
  line-height: 1.4;
}

@media (max-width: 991px) {
  .fusalis-hero-top {
    grid-template-columns: 1fr;
  }

  .fusalis-brand-logo {
    width: 190px;
  }

  .fusalis-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .fusalis-kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact Methodology Section (2 Clear Cards) */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.method-card {
  padding: 1.75rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.method-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.method-card h3 {
  margin-bottom: 0.55rem;
}

.method-card p {
  font-size: 0.94rem;
  line-height: 1.62;
}

/* Stock Logo Grid – Optically Normalized White Chips */
.stock-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  gap: 1rem;
}

.stock-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 112px;
  padding: 16px 14px 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  color: var(--navy-900);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.stock-chip:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  color: var(--navy-900);
}

.stock-chip-logo-box {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
}

.stock-chip-logo-box img {
  max-height: 28px;
  max-width: 124px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Aspect-ratio normalization for extreme proportions (Tesla 1:1, Berkshire 13:1) */
.stock-chip-logo-box img.stock-logo--square {
  max-height: 40px;
  max-width: 44px;
}

.stock-chip-logo-box img.stock-logo--wide {
  max-height: 22px;
  max-width: 148px;
}

.stock-chip-logo-box img.stock-logo--tall {
  max-height: 34px;
  max-width: 96px;
}

.stock-chip-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.stock-chip-meta {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Track Record Controls & Institutional Table */
.track-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.track-search-wrap {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
}

.track-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
}

.track-search-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px 0 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.track-search-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}

.track-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.75rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.track-count {
  font-weight: 600;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}

.track-scroll-hint {
  display: none;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .track-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
}

.track-table-wrap {
  position: relative;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.track-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.track-table thead th {
  padding: 14px 16px;
  text-align: left;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.track-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
  white-space: nowrap;
}

.track-table tbody tr:last-child td {
  border-bottom: 0;
}

.track-table tbody tr:hover td {
  background: #f8faff;
}

.track-table tbody tr.is-hidden {
  display: none;
}

.track-table .col-num {
  text-align: right;
}

.track-asset-name {
  font-weight: 700;
  color: var(--navy-900);
}

.track-asset-sub {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}

.delta-pos {
  color: var(--success);
  font-weight: 700;
}

.delta-neg {
  color: #b45309;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.status-pill--hit {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.status-pill--hit::before {
  content: '✓';
  font-weight: 800;
}

.status-pill--open {
  background: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
}

.status-pill--open::before {
  content: '•';
  font-size: 1rem;
  line-height: 1;
}

.track-empty-row td {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--text-muted);
  white-space: normal;
}

/* Price Callout for Fusalis Target Request */
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 900px) {
  .request-layout {
    grid-template-columns: 1fr;
  }
}

.price-callout {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--navy-950);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.price-callout h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.price-callout p {
  color: var(--text-on-dark-muted);
  font-size: 0.93rem;
}

.price-callout-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(19, 251, 227, 0.25);
  font-variant-numeric: tabular-nums;
}

.price-callout-amount strong {
  font-size: 2rem;
  font-weight: 800;
  color: #13fbe3;
  line-height: 1;
}

.price-callout-amount span {
  font-size: 0.86rem;
  color: var(--text-on-dark-muted);
}

.check-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #0affa4;
  font-weight: 800;
}

.check-list--light li {
  color: var(--text-secondary);
}

.check-list--light li::before {
  color: var(--brand-primary);
}

/* ==========================================================================
   13. Subpage Hero, B2B Advertising (werben.html), Legal (impressum.html)
   ========================================================================== */

.page-hero {
  padding-block: clamp(2.5rem, 5vw, 3.8rem);
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(76, 106, 254, 0.08) 0%, transparent 70%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero--navy {
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(48, 223, 254, 0.14) 0%, transparent 70%),
    var(--navy-900);
  color: var(--text-on-dark);
  border-bottom: 0;
}

.page-hero--navy h1 {
  color: #ffffff;
}

.page-hero--navy .lead {
  color: var(--text-on-dark-muted);
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

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

.benefit-card {
  padding: 1.5rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.benefit-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.benefit-card p {
  font-size: 0.92rem;
}

.b2b-format-card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.35rem);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.b2b-format-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-fh);
}

/* Info Cards (Contact Page Sidebar / Highlights) */
.info-card {
  padding: 1.65rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.info-card + .info-card {
  margin-top: 1.15rem;
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* Legal Document Styling (impressum.html) */
.legal-content {
  max-width: 76ch;
}

.legal-section {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.legal-content h3 {
  font-size: 1.08rem;
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
}

.legal-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-box {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  margin: 1rem 0 1.25rem;
}

/* ==========================================================================
   14. Secure Anti-Spam Contact & Request Forms
   ========================================================================== */

.form-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.secure-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-required {
  color: var(--danger);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.form-textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--danger);
  background-color: var(--danger-bg);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-error {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--danger);
  min-height: 0;
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

.form-checkbox-row input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox-row label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Honeypot Field – Invisible off-viewport for human users, trap for naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
}

.form-status--error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.form-status--info {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--navy-900);
}

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0.25rem;
}

.form-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0.25rem;
}

.form-actions-row .btn {
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

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

.form-security-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.form-security-note .icon {
  color: var(--success);
  flex-shrink: 0;
}

/* Prepared Client-Side Mail Preview Card (Databek Analytics Style) */
.prepared-mail-box[hidden] {
  display: none;
}

.prepared-mail-box {
  margin-top: 0.5rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--brand-primary);
  box-shadow: var(--shadow-sm);
  animation: fhCardReveal 260ms var(--ease-out);
}

.prepared-mail-header {
  margin-bottom: 1rem;
}

.prepared-mail-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 0.25rem;
}

.prepared-mail-hint {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.prepared-mail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
}

.prepared-mail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.prepared-mail-row + .prepared-mail-row {
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.prepared-mail-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 200px;
}

.prepared-mail-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.prepared-mail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  word-break: break-word;
}

.prepared-mail-email {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 0.88rem;
  color: var(--brand-primary);
}

.prepared-mail-content {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.prepared-mail-content-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.prepared-mail-body {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 280px;
  overflow-y: auto;
}

.prepared-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  transition: background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.prepared-copy-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.prepared-copy-btn:active {
  transform: translateY(1px);
}

.prepared-copy-btn.is-copied {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: var(--success);
}

@media (max-width: 560px) {
  .prepared-mail-box {
    padding: 1.05rem;
  }

  .prepared-copy-btn {
    width: 100%;
  }
}

/* ==========================================================================
   15. Editorial Footer
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding-top: clamp(3rem, 5vw, 4.25rem);
  padding-bottom: 2rem;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-fh);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 2.5rem;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-sub {
  color: #93c5fd;
}

.footer-about {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--text-on-dark-muted);
  max-width: 36ch;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.95rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #b8c7e0;
  margin-bottom: 1.75rem;
}

.footer-disclaimer strong {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #9fb3d4;
}

.footer-bottom a {
  color: #dbeafe;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-link-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.footer-link-btn:hover,
.footer-link-btn:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}

/* ==========================================================================
   16. DSGVO / TDDDG Privacy Consent Banner (DE & EN)
   ========================================================================== */

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.consent-banner[hidden] {
  display: none;
}

.consent-card {
  pointer-events: auto;
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 54px rgba(2, 9, 38, 0.24), 0 4px 16px rgba(8, 27, 70, 0.1);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.75rem;
  align-items: center;
}

.consent-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.consent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(29, 78, 216, 0.1);
  color: var(--brand-primary);
  flex-shrink: 0;
}

.consent-icon svg {
  width: 16px;
  height: 16px;
}

.consent-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.consent-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--success-bg);
  color: var(--success);
}

.consent-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.consent-text a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-text a:hover {
  color: var(--brand-primary-hover);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.consent-actions .btn {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .consent-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .consent-card {
    grid-template-columns: 1fr;
    padding: 1.1rem 1.15rem;
    gap: 0.9rem;
  }

  .consent-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consent-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .consent-actions {
    grid-template-columns: 1fr;
  }
}
