/* ============================================================
   LinKa Solutions — Investor-Grade Landing Page
   Design Reference: Stripe · Wise · Linear · Vercel · N26
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Brand Colors */
  --color-primary:        #0F766E;
  --color-primary-dark:   #134E4A;
  --color-primary-light:  #CCFBF1;
  --color-accent:         #F59E0B;

  /* Background */
  --color-bg:             #FFFFFF;
  --color-bg-subtle:      #F8FAFC;
  --color-bg-dark:        #0F172A;

  /* Text */
  --color-text-primary:   #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted:     #94A3B8;
  --color-text-inverse:   #FFFFFF;

  /* UI */
  --color-border:         #E2E8F0;
  --color-border-subtle:  #F1F5F9;
  --color-success:        #10B981;

  /* Typography */
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale */
  --text-xs:    0.75rem;   /* 12px */
  --text-sm:    0.875rem;  /* 14px */
  --text-base:  1rem;      /* 16px */
  --text-lg:    1.125rem;  /* 18px */
  --text-xl:    1.5rem;    /* 24px */
  --text-2xl:   2rem;      /* 32px */
  --text-3xl:   3rem;      /* 48px */
  --text-4xl:   4rem;      /* 64px */
  --text-5xl:   5rem;      /* 80px */

  /* Spacing (8-point grid) */
  --sp-1:   0.5rem;    /* 8px  */
  --sp-2:   1rem;      /* 16px */
  --sp-3:   1.5rem;    /* 24px */
  --sp-4:   2rem;      /* 32px */
  --sp-5:   3rem;      /* 48px */
  --sp-6:   4rem;      /* 64px */
  --sp-7:   6rem;      /* 96px */
  --sp-8:   8rem;      /* 128px */

  /* Container */
  --container-max:  1200px;
  --container-pad:  1.5rem; /* 24px */

  /* Motion */
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  /* Shadows */
  --shadow-xs:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm:  0 1px 3px 0 rgb(0 0 0 / 0.10), 0 1px 2px -1px rgb(0 0 0 / 0.10);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(0 0 0 / 0.10);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.10);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  hanging-punctuation: first last;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ── Skip to Content ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-2);
  z-index: 9999;
  padding: var(--sp-1) var(--sp-2);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: var(--sp-1);
}

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Typography ──────────────────────────────────────────── */
.display-xl {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-md {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-xl {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
}

.heading-lg {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.body-base {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.body-sm {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

/* ── Section Layout ──────────────────────────────────────── */
section {
  padding-block: var(--sp-7);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--sp-6);
}

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

.section-header .section-label {
  justify-content: flex-start;
}

.section-header.centered .section-label {
  justify-content: center;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition:
    background-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    transform var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
  white-space: nowrap;
  cursor: pointer;
}

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

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

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-text-secondary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  padding-inline: 0;
}

.btn-ghost:hover {
  color: var(--color-primary-dark);
  transform: translateX(2px);
}

/* ── Site Top Accent Bar ─────────────────────────────────── */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #14B8A6 60%, var(--color-accent) 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

/* ── Navigation ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 3px;
  z-index: 100;
  background: rgb(15 23 42 / 0.88);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background-color var(--duration-base) ease,
    border-color var(--duration-base) ease,
    box-shadow var(--duration-base) ease;
}

.site-header.scrolled {
  background: rgb(255 255 255 / 0.96);
  border-color: var(--color-border);
  box-shadow: var(--shadow-xs);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--sp-3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav-logo img,
.nav-logo svg {
  height: 56px;
  width: auto;
}

.nav-logo-img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.3);
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #E2E8F0;
  line-height: 1.2;
  transition: color var(--duration-base) ease;
}

.nav-logo-text strong {
  font-weight: 700;
  color: #FFFFFF;
}

.site-header.scrolled .nav-logo-text {
  color: var(--color-text-secondary);
}

.site-header.scrolled .nav-logo-text strong {
  color: var(--color-text-primary);
}

/* Nav buttons on dark header */
.lang-switcher button {
  color: #94A3B8;
}

.lang-switcher button[aria-current="true"] {
  color: #FFFFFF;
  background: rgb(255 255 255 / 0.12);
}

.site-header.scrolled .lang-switcher button {
  color: var(--color-text-secondary);
}

.site-header.scrolled .lang-switcher button[aria-current="true"] {
  color: var(--color-text-primary);
  background: var(--color-bg-subtle);
}

/* btn-secondary on dark header */
.nav-actions .btn-secondary {
  color: #E2E8F0;
  border-color: rgb(255 255 255 / 0.25);
  background: transparent;
}

.nav-actions .btn-secondary:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.45);
  color: #FFFFFF;
}

.site-header.scrolled .nav-actions .btn-secondary {
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

.site-header.scrolled .nav-actions .btn-secondary:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.lang-switcher button {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast), background var(--duration-fast);
}

.lang-switcher button:hover,
.lang-switcher button[aria-current="true"] {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* ── Hero Section ────────────────────────────────────────── */
#hero {
  position: relative;
  padding-block: var(--sp-8) var(--sp-7);
  background: var(--color-bg-dark);
  border-bottom: none;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgb(20 184 166 / 0.13) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgb(15 23 42 / 0.6));
  pointer-events: none;
}

#hero .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-6);
  align-items: center;
  max-width: 100%;
}

#hero .hero-content {
  display: grid;
  gap: var(--sp-4);
  max-width: 620px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-brand-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgb(20 184 166 / 0.25),
    0 0 60px rgb(15 118 110 / 0.35),
    0 20px 60px rgb(0 0 0 / 0.4);
  animation: hero-logo-in 0.9s 0.15s var(--ease-out) both;
}

@keyframes hero-logo-in {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

#hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 5px 12px 5px 10px;
  background: rgb(20 184 166 / 0.15);
  color: #5EEAD4;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgb(20 184 166 / 0.3);
  width: fit-content;
  animation: eyebrow-in 0.6s var(--ease-out) both;
}

#hero .eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

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

#hero h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  animation: hero-h1-in 0.7s 0.1s var(--ease-out) both;
}

@keyframes hero-h1-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

#hero h1 .accent {
  color: #2DD4BF;
  display: block;
}

#hero .hero-sub {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: #94A3B8;
  max-width: 580px;
  animation: hero-sub-in 0.7s 0.2s var(--ease-out) both;
}

@keyframes hero-sub-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

#hero .hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  animation: hero-ctas-in 0.7s 0.3s var(--ease-out) both;
}

@keyframes hero-ctas-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero CTA overrides for dark background */
#hero .btn-secondary {
  color: #E2E8F0;
  border-color: rgb(255 255 255 / 0.25);
  background: transparent;
}

#hero .btn-secondary:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.45);
  color: #FFFFFF;
}

#hero .btn-ghost {
  color: #2DD4BF;
}

#hero .btn-ghost:hover {
  color: #5EEAD4;
}

/* ── Market Position Section ─────────────────────────────── */
#markt {
  background: var(--color-bg-subtle);
}

.number-heroes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.number-hero-card {
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow var(--duration-base) ease,
    transform var(--duration-base) ease,
    border-color var(--duration-base) ease;
}

.number-hero-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgb(15 118 110 / 0.25);
}

.number-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #14B8A6);
}

.number-hero-card:nth-child(1) { --reveal-delay: 0ms; }
.number-hero-card:nth-child(2) { --reveal-delay: 100ms; }
.number-hero-card:nth-child(3) { --reveal-delay: 200ms; }

.number-hero-value {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-2);
  min-height: 2.75rem;
}

.number-hero-divider {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  margin-bottom: var(--sp-2);
  opacity: 0.6;
}

.number-hero-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.number-hero-source {
  font-size: 0.7rem;
  color: var(--color-text-secondary); /* contrast fix: muted #94A3B8 fails AA on white */
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--color-border-subtle);
  letter-spacing: 0.01em;
}

.market-body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: var(--sp-6);
  align-items: start;
}

.market-text p {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-3);
}

.market-text p:last-child {
  margin-bottom: 0;
}

.market-sources {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: var(--sp-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

.market-sources strong {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-1);
}

.market-sources ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.market-sources li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.market-sources li::before {
  content: '–';
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ── Card Stagger Delays ─────────────────────────────────── */
.provision-card:nth-child(1),
.compliance-card:nth-child(1),
.team-card:nth-child(1) { --reveal-delay: 0ms; }

.provision-card:nth-child(2),
.compliance-card:nth-child(2),
.team-card:nth-child(2) { --reveal-delay: 80ms; }

.provision-card:nth-child(3),
.compliance-card:nth-child(3) { --reveal-delay: 160ms; }

.compliance-card:nth-child(4) { --reveal-delay: 240ms; }
.compliance-card:nth-child(5) { --reveal-delay: 320ms; }

/* ── Business Model Section ──────────────────────────────── */
#modell {
  background: var(--color-bg-subtle);
}

.model-intro {
  max-width: 700px;
  margin-bottom: var(--sp-5);
}

.model-intro p {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-top: var(--sp-2);
}

.platform-refs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-3);
}

.platform-refs-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.platform-ref {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-bg);
  letter-spacing: 0.01em;
}

.provision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.provision-card {
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--duration-base) ease,
    transform var(--duration-base) ease;
}

.provision-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-border);
  transition: background var(--duration-base) ease;
}

.provision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.provision-card:hover::after {
  background: var(--color-primary);
}

.provision-rate {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-3);
}

.provision-type {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.01em;
  margin-bottom: var(--sp-1);
}

.provision-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--color-border-subtle);
}

.provision-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.65;
  padding: var(--sp-2) var(--sp-3);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
}

.provision-note::before {
  content: '§';
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

/* ── Compliance Section ──────────────────────────────────── */
#compliance {
  background: linear-gradient(160deg, #0B4442 0%, #0F172A 60%);
  position: relative;
  overflow: hidden;
}

#compliance::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgb(20 184 166 / 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

#compliance .section-label {
  color: #5EEAD4;
}

#compliance .section-label::before {
  background: #5EEAD4;
}

#compliance .display-md {
  color: #FFFFFF;
}

.compliance-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-2);
}

.compliance-card {
  grid-column: span 2;
  padding: var(--sp-4);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition:
    border-color var(--duration-base) ease,
    background var(--duration-base) ease,
    transform var(--duration-base) ease;
}

/* Center bottom row: cards 4 + 5 across a 6-column grid */
.compliance-card:nth-child(4) { grid-column: 2 / 4; }
.compliance-card:nth-child(5) { grid-column: 4 / 6; }

.compliance-card:hover {
  border-color: rgb(20 184 166 / 0.45);
  background: rgb(20 184 166 / 0.08);
  transform: translateY(-2px);
}

.compliance-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}

.compliance-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(20 184 166 / 0.2);
  border-radius: var(--radius-sm);
  color: #2DD4BF;
  flex-shrink: 0;
  transition: background var(--duration-base) ease;
}

.compliance-card:hover .compliance-icon {
  background: rgb(20 184 166 / 0.35);
  color: #5EEAD4;
}

.compliance-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.compliance-check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #34D399;
}

.compliance-check svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.compliance-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: #F1F5F9;
  margin-bottom: var(--sp-1);
}

.compliance-card p {
  font-size: var(--text-sm);
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: var(--sp-2);
}

.reg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.reg-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgb(20 184 166 / 0.12);
  border: 1px solid rgb(20 184 166 / 0.25);
  color: #5EEAD4;
  white-space: nowrap;
}

/* ── Team Section ────────────────────────────────────────── */
#team {
  background: var(--color-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  max-width: 900px;
}

.team-card {
  padding: var(--sp-4);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow var(--duration-base) ease,
    border-color var(--duration-base) ease,
    transform var(--duration-base) ease;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgb(15 118 110 / 0.3);
  transform: translateY(-2px);
}

.team-card-top {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.team-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-inverse);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgb(15 118 110 / 0.25);
}

.team-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.team-role {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-divider {
  display: block;
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--sp-3);
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
}

.team-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-tag {
  padding: 4px 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: border-color var(--duration-fast), color var(--duration-fast);
}

.team-card:hover .team-tag {
  border-color: rgb(15 118 110 / 0.3);
  color: var(--color-primary);
}

/* ── Vision Section ──────────────────────────────────────── */
#vision {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgb(15 118 110 / 0.12) 0%, transparent 70%);
  pointer-events: none;
}

#vision .vision-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

#vision .section-label {
  color: var(--color-primary-light);
  justify-content: center;
  margin-bottom: var(--sp-4);
}

#vision .section-label::before {
  background: var(--color-primary-light);
}

.vision-accent {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #14B8A6);
  border-radius: 2px;
  margin: 0 auto var(--sp-4);
}

#vision h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text-inverse);
  margin-bottom: var(--sp-4);
}

#vision p {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: #94A3B8;
}

/* ── Contact Section ─────────────────────────────────────── */
#kontakt {
  background: var(--color-bg-dark);
  padding-top: 0;
  padding-bottom: var(--sp-7);
}

.contact-inner {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding-top: var(--sp-7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}

.contact-block h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-inverse);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.contact-block p {
  font-size: var(--text-base);
  color: #64748B;
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}

.contact-list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  transition: background var(--duration-fast);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  background: rgb(255 255 255 / 0.03);
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  min-width: 96px;
  flex-shrink: 0;
  opacity: 0.8;
}

.contact-item-value {
  font-size: var(--text-sm);
  color: #94A3B8;
}

.contact-item-value a {
  color: #CBD5E1;
  transition: color var(--duration-fast);
}

.contact-item-value a:hover {
  color: #FFFFFF;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  padding: 6px 14px;
  background: rgb(15 118 110 / 0.15);
  border: 1px solid rgb(15 118 110 / 0.3);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary-light);
  letter-spacing: 0.04em;
}

.contact-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgb(255 255 255 / 0.06);
  padding-block: var(--sp-3);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer-brand {
  font-size: var(--text-xs);
  color: #475569;
  letter-spacing: 0.01em;
}

.footer-brand strong {
  color: #64748B;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-nav a {
  font-size: var(--text-xs);
  color: #475569;
  transition: color var(--duration-fast);
  padding-inline: var(--sp-2);
  border-right: 1px solid rgb(255 255 255 / 0.08);
}

.footer-nav a:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-nav a:hover {
  color: #94A3B8;
}

/* ── Accessibility Utilities ─────────────────────────────── */
.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;
}

/* Focus-visible — keyboard navigation ring */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgb(15 118 110 / 0.15);
}

.nav-logo:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.lang-switcher button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.footer-nav a:focus-visible {
  outline: 2px solid #94A3B8;
  outline-offset: 3px;
  border-radius: 3px;
}

.compliance-card:focus-within {
  border-color: rgb(15 118 110 / 0.4);
}

/* Ensure compliance-card is not focusable itself — only its children */
.compliance-card,
.team-card,
.provision-card,
.number-hero-card {
  outline: none;
}

/* ── Scroll Reveal Animation ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Compliance: 2×2 + 1 centered on tablet */
  .compliance-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .compliance-card         { grid-column: span 2; }
  .compliance-card:nth-child(4) { grid-column: 1 / 3; }
  .compliance-card:nth-child(5) { grid-column: 3 / 5; }
}

@media (max-width: 900px) {
  .market-body {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .market-sources {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --sp-7: 4rem; /* section padding mobile: 64px */
  }

  #hero .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .hero-visual {
    order: -1;
  }

  .hero-brand-img {
    width: 180px;
    height: 180px;
  }

  #hero h1 {
    font-size: var(--text-3xl);
  }

  .nav-logo-text {
    display: none;
  }

  .number-heroes {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }

  .number-hero-card:nth-child(1),
  .number-hero-card:nth-child(2),
  .number-hero-card:nth-child(3) {
    --reveal-delay: 0ms;
  }

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

  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .compliance-card,
  .compliance-card:nth-child(4),
  .compliance-card:nth-child(5) { grid-column: 1 / -1; }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  #vision h2 {
    font-size: var(--text-2xl);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .nav-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 480px) {
  #hero h1 {
    font-size: var(--text-2xl);
  }

  .number-hero-value {
    font-size: var(--text-2xl);
  }
}

/* ── Reduced Motion ──────────────────────────────────────── */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  :root {
    --color-text-primary:   #000000;
    --color-text-secondary: #2D2D2D;
    --color-text-muted:     #555555;
    --color-bg:             #FFFFFF;
    --color-bg-subtle:      #F7F7F7;
    --color-border:         #CCCCCC;
    --color-primary:        #0F766E;
  }

  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  body::before { display: none; } /* hide accent bar */

  .site-header {
    position: static;
    border-bottom: 1px solid #CCCCCC;
    box-shadow: none;
    backdrop-filter: none;
  }

  .btn,
  .lang-switcher,
  .nav-actions,
  .contact-badge,
  .platform-refs,
  .hero-ctas { display: none !important; }

  #hero { padding-block: 2rem 1.5rem; border-bottom: 1px solid #CCCCCC; }
  #hero::before, #hero::after { display: none; }

  /* Dark sections → white for print */
  #vision,
  #kontakt,
  .site-footer {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  #vision::before { display: none; }
  .vision-accent { background: var(--color-primary); }

  #vision h2           { color: #000000 !important; }
  #vision p            { color: #333333 !important; }
  #vision .section-label { color: var(--color-primary) !important; }
  #vision .section-label::before { background: var(--color-primary); }

  .contact-inner       { border-top-color: #CCCCCC; }
  .contact-block h2    { color: #000000 !important; }
  .contact-block p     { color: #333333 !important; }
  .contact-list        { border-color: #CCCCCC; }
  .contact-item        { border-bottom-color: #CCCCCC; }
  .contact-item-label  { color: var(--color-primary) !important; }
  .contact-item-value,
  .contact-item-value a { color: #000000 !important; }
  .footer-brand,
  .footer-nav a        { color: #333333 !important; }
  .site-footer         { border-top-color: #CCCCCC; }

  /* Grid layouts stay 3-col on print (A4 landscape fits) */
  .number-heroes   { grid-template-columns: repeat(3, 1fr); }
  .provision-grid  { grid-template-columns: repeat(3, 1fr); }
  .team-grid       { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(3, 1fr); }
  .compliance-card,
  .compliance-card:nth-child(4),
  .compliance-card:nth-child(5) { grid-column: span 1; }
  .market-body     { grid-template-columns: 1fr; }

  section { break-inside: avoid; padding-block: 1.5rem; }

  .reveal { opacity: 1 !important; transform: none !important; }

  /* Show email href in print */
  a[href^="mailto"]::after {
    content: ' <' attr(href) '>';
    font-size: 0.75em;
    color: #555555;
  }

  a[href^="#"]::after { content: none; }
}
