/* ═══════════════════════════════════════════════════════════════
   Heritage Media Labs — Premium Design System
   ═══════════════════════════════════════════════════════════════ */

:root {
  --color-bg: #060807;
  --color-bg-elevated: #0a0e0b;
  --color-surface: #111916;
  --color-surface-hover: #182119;
  --color-text: #f0f5f0;
  --color-text-secondary: #c5d4c5;
  --color-muted: #7a917c;
  --color-accent: #10a33a;
  --color-accent-hover: #14c445;
  --color-accent-soft: rgba(16, 163, 58, 0.15);
  --color-accent-glow: rgba(16, 163, 58, 0.3);
  --color-gold: #d4af37;
  --color-gold-muted: rgba(212, 175, 55, 0.25);
  --color-gold-soft: rgba(212, 175, 55, 0.08);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(16, 163, 58, 0.06), 0 8px 32px rgba(0, 0, 0, 0.4);
  --container-width: 1200px;
  --header-height: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#main {
  min-height: 50vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ── Utility ───────────────────────────────────────────────── */

.container {
  width: min(var(--container-width), 90vw);
  margin-inline: auto;
}

.container--wide {
  width: min(1400px, 94vw);
  margin-inline: auto;
}

.muted {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.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;
}

/* ── Animations ────────────────────────────────────────────── */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(16, 163, 58, 0.15); }
  50%      { box-shadow: 0 0 40px rgba(16, 163, 58, 0.3); }
}

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

@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-in {
  animation: fadeInUp 0.7s var(--ease-out) both;
}

/* ── Skip Link ─────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
}

.skip-link:focus {
  left: 1rem;
  top: 0;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Dropdown (.nav-main) positions against this box */
  isolation: isolate;
  background: rgba(6, 8, 7, 0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--color-border);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent-soft) 20%, var(--color-gold-muted) 50%, var(--color-accent-soft) 80%, transparent 100%);
  background-size: 200% 100%;
  animation: gradient-flow 8s ease infinite;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
  min-height: var(--header-height);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

/* Wortmarke (transparent, z. B. weißes HML-Logo) — nicht quadratisch beschneiden */
.brand .site-logo-wordmark {
  width: auto;
  height: 48px;
  max-width: 104px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── Navigation ─────────────────────────────────────────────── */

.nav-main {
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
}

.nav-main a {
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-xs);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

.nav-main a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
  border-radius: 1px;
}

.nav-main a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-main a:hover::after {
  width: 60%;
  left: 20%;
}

.nav-main a[aria-current="page"] {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-main a[aria-current="page"]::after {
  width: 60%;
  left: 20%;
  background: var(--color-accent);
}

@media (min-width: 1081px) and (max-width: 1320px) {
  .nav-main a {
    padding: 0.45rem 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .brand-text {
    font-size: 1.1rem;
  }
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

.phone-block {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
}

.phone-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 600;
}

.phone-num {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Mobile Nav Toggle ──────────────────────────────────────── */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius-xs);
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: border-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--color-border-hover);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 163, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16, 163, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 1.5px solid rgba(16, 163, 58, 0.5);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.88rem 2.2rem;
  font-size: 0.95rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), #e8c84a);
  color: #1a1400;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #1a1400;
}

.header-cta {
  font-size: 0.8rem;
  padding: 0.55rem 1.2rem;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   DECORATIVE ELEMENTS
   ═══════════════════════════════════════════════════════════════ */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: 240px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-hover));
}

.divider::after {
  background: linear-gradient(90deg, var(--color-border-hover), transparent);
}

.divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.7;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--color-border-hover) 50%, transparent 95%);
  margin: 0;
  border: none;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  overflow: hidden;
  min-height: max(520px, 68vh);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.6) contrast(1.1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 70% at 15% 50%, rgba(6, 8, 7, 0.96) 0%, transparent 65%),
    radial-gradient(ellipse 50% 100% at 50% 100%, rgba(6, 8, 7, 0.95) 0%, transparent 50%),
    linear-gradient(180deg, rgba(6, 8, 7, 0.3) 0%, rgba(6, 8, 7, 0.7) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(var(--container-width), 90vw);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 7rem);
}

.hero-content {
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  margin: 0 0 1.25rem;
}

.hero-kicker::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.hero-lead {
  color: var(--color-text-secondary);
  max-width: 34rem;
  margin: 0 0 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-visual {
  text-align: center;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-visual img {
  max-height: min(380px, 48vw);
  margin-inline: auto;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.55));
  animation: float 6s ease-in-out infinite;
}

.hero-ai {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(16, 163, 58, 0.04);
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

/* ═══════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════ */

.stats-bar {
  position: relative;
  z-index: 4;
  margin-top: -2rem;
  padding-bottom: 1.25rem;
}

.stats-inner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.stat-number span {
  color: var(--color-gold);
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
}

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

.section--alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--color-border-hover) 50%, transparent 95%);
}

.section--alt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--color-border-hover) 50%, transparent 95%);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.75rem;
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-gold-muted);
}

.section h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  text-wrap: balance;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  font-size: 1.4rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  letter-spacing: 0.02em;
}

.feature-card p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   NEWS CARDS
   ═══════════════════════════════════════════════════════════════ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: var(--shadow-glow);
  transition: all 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow);
}

.card-img {
  min-height: 200px;
  background: linear-gradient(145deg, #0c120e, #050705);
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.card-body p {
  color: var(--color-muted);
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════════ */

.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 4rem);
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, var(--color-accent-soft), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 100%, var(--color-gold-soft), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
  position: relative;
}

.cta-banner p {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
  position: relative;
  line-height: 1.65;
}

.cta-banner .btn {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER (subpages)
   ═══════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: var(--color-bg-elevated);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% -10%, var(--color-accent-soft), transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 100%, var(--color-gold-soft), transparent 50%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--color-border-hover) 50%, transparent 95%);
}

.page-hero .container {
  position: relative;
}

.page-header {
  padding: 0;
  margin: 0;
  border: none;
}

.page-header .page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
}

.page-header .page-kicker::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.6rem;
  line-height: 1.1;
  text-wrap: balance;
}

.page-header .lead {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 42rem;
  margin: 0;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   PROSE CONTENT
   ═══════════════════════════════════════════════════════════════ */

.page-body {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* ── Partner showcase ─────────────────────────────────────── */

.partner-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media screen and (min-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

.partner-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-glow);
}

.partner-card__logo-link {
  display: block;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.partner-card__logo-link:hover .partner-card__logo-frame {
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
}

.partner-card__logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 1rem 1.25rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.partner-card__logo-img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Logos mit dunklem Bildhintergrund (z. B. aberle-media, hohe helle Marken) */
.partner-card__logo-frame--light-mark {
  background: #090c10;
  min-height: 120px;
  padding: 1.25rem 1.5rem;
}

.partner-card__logo-img--tall {
  max-height: 100px;
}

.partner-card__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.partner-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.partner-card__title a:hover {
  color: var(--color-accent);
}

.partner-card__profile {
  max-width: none;
  margin-bottom: 1.25rem;
}

.partner-card__profile p {
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.partner-card__profile p:last-child {
  margin-bottom: 0;
}

.partner-card__cta {
  margin: 0;
}

.partner-page-intro {
  max-width: 44rem;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.prose p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.prose ul {
  padding-left: 0;
  list-style: none;
}

.prose li {
  margin: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* YouTube embeds: no request until cookie consent (see defer_youtube_embeds) */
.prose .hml-youtube-slot {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.prose .hml-youtube-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.prose .hml-youtube-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(6, 8, 7, 0.94);
}

.prose .hml-youtube-overlay__text {
  margin: 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.prose .hml-youtube-slot.is-consented .hml-youtube-overlay {
  display: none;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   FOUNDERS
   ═══════════════════════════════════════════════════════════════ */

.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.founder {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-glow);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.founder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  opacity: 0.5;
}

.founder:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-border-hover);
}

.founder h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

.founder .role {
  color: var(--color-gold);
  font-size: 0.82rem;
  margin: 0.3rem 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.founder p:last-child {
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.7;
  font-size: 0.96rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--color-bg-elevated);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--color-border-hover) 50%, transparent 95%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo.site-logo-wordmark {
  width: auto;
  height: 42px;
  max-width: 92px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.footer-tagline {
  color: var(--color-muted);
  margin: 0;
  max-width: 26rem;
  line-height: 1.65;
  font-size: 0.98rem;
}

.footer-legal-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.footer-company-address {
  margin: 1rem 0 0;
  max-width: 26rem;
  font-size: 0.82rem;
  line-height: 1.55;
  font-style: normal;
}

.footer-col {
  text-align: right;
}

.footer-col p a {
  color: var(--color-text-secondary);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.footer-col p a:hover {
  color: var(--color-text);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-end;
  margin: 0.75rem 0;
}

.footer-legal a {
  color: var(--color-muted);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--color-text-secondary);
}

.copyright {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--color-muted);
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-button:hover {
  color: var(--color-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   NEWS LIST
   ═══════════════════════════════════════════════════════════════ */

.news-list-item {
  display: grid;
  grid-template-columns: min(280px, 38%) 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.news-list-item:first-of-type {
  padding-top: 0;
}

.news-list-thumb {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-glow);
  line-height: 0;
}

.news-list-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-list-item:hover .news-list-thumb img {
  transform: scale(1.04);
}

.news-list-body {
  min-width: 0;
}

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

.article-cover {
  margin: 0 auto 2rem;
  max-width: 52rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-glow);
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.news-list h2 {
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
}

.news-list h2 a {
  color: var(--color-text);
  text-decoration: none;
}

.news-list h2 a:hover {
  color: var(--color-accent);
}

.news-list p {
  color: var(--color-muted);
  margin: 0 0 0.85rem;
  line-height: 1.65;
}

.news-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.news-back:hover {
  color: var(--color-text);
}

.news-back svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */

.faq-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.faq-cta {
  margin-top: 1.25rem;
}

.faq-list {
  max-width: 46rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--color-border-hover);
}

.faq-q {
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.75rem;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--color-accent);
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--color-muted);
  border-bottom: 2px solid var(--color-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}

.faq-item[open] .faq-q::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-a {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
}

.faq-a p:first-child {
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════════ */

.contact-phone-note {
  color: var(--color-muted);
  margin: 0.65rem 0 0;
}

.contact-phone-note a {
  font-weight: 600;
  color: var(--color-text-secondary);
}

.contact-page {
  padding-bottom: 3rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  margin-top: 2rem;
}

.contact-aside {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: linear-gradient(160deg, rgba(16, 163, 58, 0.08) 0%, rgba(17, 25, 22, 0.55) 100%);
}

.contact-aside-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.contact-aside-lead {
  margin: 0 0 0.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.contact-aside-phone {
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.contact-aside-phone:hover {
  text-decoration: underline;
}

.contact-company-address {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  font-style: normal;
}

.contact-aside-meta {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
}

.contact-form-panel {
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: rgba(12, 18, 16, 0.45);
}

.contact-form-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}

.contact-form {
  max-width: none;
  margin-top: 0;
}

.contact-form-actions {
  margin-top: 0.25rem;
}

.contact-form-submit {
  min-width: min(100%, 15rem);
}

.contact-alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.form-alert-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.form-alert-success .form-alert-icon {
  background: rgba(16, 163, 58, 0.25);
  color: var(--color-accent);
}

.form-alert-error .form-alert-icon {
  background: rgba(180, 50, 50, 0.2);
  color: #e8a598;
}

.contact-form-global ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.form-row--error .form-control {
  border-color: rgba(230, 100, 100, 0.55) !important;
}

.form-row--error .form-control:focus-visible {
  box-shadow: 0 0 0 3px rgba(230, 100, 100, 0.22);
}

.form-field-errors {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.85rem;
  color: #e8a598;
}

.form-field-errors li {
  margin: 0.15rem 0;
}

.form-help {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.45;
}

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

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

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
}

.form-row:has(input[required]:not(.hp-input)) > label:first-of-type::after,
.form-row:has(textarea[required]) > label:first-of-type::after {
  content: " *";
  color: var(--color-gold);
  font-weight: 700;
}

.form-row .req {
  color: var(--color-gold);
}

.form-row input,
.form-row textarea,
.form-row .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(17, 25, 22, 0.7);
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:hover,
.form-row textarea:hover,
.form-row .form-control:hover {
  border-color: var(--color-border-hover);
}

.form-row input:focus-visible,
.form-row textarea:focus-visible,
.form-row .form-control:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-row textarea {
  resize: vertical;
  min-height: 150px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0 0 1.25rem;
}

.form-alert {
  max-width: 48rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
}

.form-alert-success {
  background: rgba(16, 163, 58, 0.12);
  border-color: rgba(16, 163, 58, 0.3);
}

.form-alert-error {
  background: rgba(180, 50, 50, 0.12);
  border-color: rgba(230, 100, 100, 0.3);
}

.form-alert ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.form-alert p {
  margin: 0.35rem 0 0;
}

/* ═══════════════════════════════════════════════════════════════
   PRIVACY
   ═══════════════════════════════════════════════════════════════ */

.privacy-page .legal-section {
  margin-top: 2.5rem;
  max-width: 46rem;
}

.privacy-page .legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section-body ul {
  padding-left: 1.25rem;
}

.legal-section-body code {
  font-size: 0.88em;
  background: rgba(16, 163, 58, 0.1);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.legal-meta,
.legal-disclaimer {
  max-width: 46rem;
  margin-top: 2rem;
}

.legal-back {
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════════ */

body.cookie-banner-open {
  padding-bottom: 8rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 14, 11, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border-hover);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.4);
  padding: 1.25rem 0 1.5rem;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.cookie-banner-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.cookie-banner-body {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  max-width: 46rem;
  line-height: 1.6;
}

.cookie-banner-links {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE SELECTOR
   ═══════════════════════════════════════════════════════════════ */

/* Above cookie banner (z-index 200) so the pill stays visible and clickable */
.lang-floating {
  position: fixed;
  z-index: 210;
  left: max(0.75rem, env(safe-area-inset-left));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  font-size: 0.875rem;
}

body.cookie-banner-open .lang-floating {
  bottom: max(7rem, calc(env(safe-area-inset-bottom) + 6rem));
}

.lang-floating-details {
  position: relative;
}

.lang-floating-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem 0.45rem 0.55rem;
  margin: 0;
  background: rgba(17, 25, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  min-height: 44px;
  transition: border-color 0.2s ease;
}

.lang-floating-trigger::-webkit-details-marker {
  display: none;
}

.lang-floating-trigger::marker {
  content: "";
}

.lang-floating-trigger:hover {
  border-color: var(--color-border-hover);
}

.lang-floating-trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.lang-floating-globe {
  display: flex;
  color: var(--color-accent);
  flex-shrink: 0;
}

.lang-floating-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.lang-floating-title {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 600;
}

.lang-floating-current {
  font-weight: 600;
  font-size: 0.88rem;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-floating-chevron {
  display: flex;
  opacity: 0.6;
  flex-shrink: 0;
}

.lang-floating-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  min-width: min(280px, calc(100vw - 1.5rem));
  max-height: min(70vh, 360px);
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(17, 25, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
}

.lang-floating-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-floating-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.15rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
}

.lang-floating-option:hover,
.lang-floating-option:focus-visible {
  background: var(--color-accent-soft);
  color: var(--color-text);
  outline: none;
}

.lang-floating-option.is-current {
  color: var(--color-accent);
}

.lang-floating-check {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Tablet / small laptop: hamburger menu so nav + CTA are not crushed */
@media (max-width: 1080px) {
  .header-meta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-main {
    display: none;
    flex: none;
    margin-left: 0;
    order: 10;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 150;
    background: rgba(6, 8, 7, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0 1rem;
    box-shadow: var(--shadow);
  }

  .nav-main.is-open {
    display: block;
  }

  .nav-main ul {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .nav-main a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--radius-xs);
  }

  .nav-main a::after {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-kicker {
    justify-content: center;
  }

  .hero-kicker::before {
    display: none;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-height: 220px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card {
    grid-template-columns: 1fr;
  }

  .card-img {
    min-height: 180px;
    max-height: 220px;
  }

  .founders {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col {
    text-align: left;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item::after { display: none; }

  .form-row-split {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .hero {
    min-height: auto;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 400px) {
  .stats-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .stat-item { text-align: left; }
  .stat-item::after { display: none; }
}
