/* ============================================================
   Leon Koch Webdesign – Hauptstylesheet
   Design-System: Minimalist Professional, Inter, Blue Accent
   ============================================================ */

/* ---------- Custom Properties (Design Tokens) ---------- */
:root {
  /* Colors */
  --clr-white:        #ffffff;
  --clr-bg:           #060d1e;
  --clr-bg-section:   #0a1530;
  --clr-text:         #e2e8f0;
  --clr-text-muted:   #94a3b8;
  --clr-text-light:   #4e6585;
  --clr-accent:       #3b82f6;
  --clr-accent-hover: #2563eb;
  --clr-accent-light: rgba(59,130,246,.12);
  --clr-accent-border:rgba(59,130,246,.3);
  --clr-border:       rgba(255,255,255,.09);
  --clr-footer-bg:    #020810;
  --clr-footer-text:  #64748b;
  --clr-success:      #22c55e;

  /* Typography */
  --font:             'Inter', system-ui, -apple-system, sans-serif;

  /* Font scale (Major Third) */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;

  /* Weights */
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Line heights */
  --lh-tight:   1.2;
  --lh-normal:  1.5;
  --lh-relaxed: 1.75;

  /* Spacing (8pt grid) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Borders & Radius */
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.45),  0 1px 2px rgba(0,0,0,.3);
  --shadow:     0 4px 12px rgba(0,0,0,.5),  0 2px 4px rgba(0,0,0,.35);
  --shadow-md:  0 8px 24px rgba(0,0,0,.55), 0 4px 8px rgba(0,0,0,.4);
  --shadow-lg:  0 20px 40px rgba(0,0,0,.65), 0 8px 16px rgba(0,0,0,.45);

  /* Transitions */
  --tr: 180ms ease;
  --tr-slow: 320ms ease;

  /* Layout */
  --max-w: 1200px;
  --gutter: 1.5rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--clr-text);
  background: var(--clr-bg);
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
select option {
  background: #0e1a35;
  color: #e2e8f0;
}
button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}
button { cursor: pointer; }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.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;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--clr-text);
}
h1 { font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl)); }
h2 { font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl)); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { color: var(--clr-text-muted); line-height: var(--lh-relaxed); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-accent), #6366f1);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-title { margin-bottom: var(--sp-4); }
.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  max-width: 56ch;
  margin-bottom: var(--sp-12);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius);
  transition: background var(--tr), color var(--tr), box-shadow var(--tr), transform var(--tr);
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.btn--primary:hover {
  background: var(--clr-accent-hover);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.btn--outline {
  background: transparent;
  color: var(--clr-accent);
  border: 2px solid var(--clr-accent);
}
.btn--outline:hover {
  background: var(--clr-accent-light);
}
.btn--ghost {
  background: transparent;
  color: var(--clr-text-muted);
  border: 2px solid var(--clr-border);
}
.btn--ghost:hover {
  background: var(--clr-bg);
  border-color: var(--clr-text-light);
  color: var(--clr-text);
}
.btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,.82);
  border: 1.5px solid rgba(255,255,255,.18);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.4);
  color: var(--clr-white);
}
.btn--lg { padding: 1rem 2rem; font-size: var(--fs-lg); min-height: 56px; }

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,13,30,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--sp-8);
}

.header__logo {
  flex-shrink: 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--clr-text);
  letter-spacing: -0.02em;
}
.header__logo span { color: var(--clr-accent); }

/* Desktop Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  border-radius: var(--radius);
  transition: color var(--tr), background var(--tr);
}
.nav__link:hover,
.nav__link.active {
  color: var(--clr-text);
  background: var(--clr-bg-section);
}
.nav__link--cta {
  background: var(--clr-accent);
  color: var(--clr-white) !important;
  padding: 0.5rem 1.125rem;
  margin-left: var(--sp-2);
  font-weight: var(--fw-semibold);
}
.nav__link--cta:hover {
  background: var(--clr-accent-hover) !important;
}

/* Hamburger (mobile) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-2);
  border-radius: var(--radius);
}
.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--sp-24);
}
.section--alt {
  position: relative;
  overflow: hidden;
  background: #081529;
}
.section--alt > .container { position: relative; z-index: 2; }
.section--accent {
  background: var(--clr-accent);
  color: var(--clr-white);
}
.section--accent h2,
.section--accent p,
.section--accent .section-label {
  color: var(--clr-white);
}
.section--accent .section-label {
  opacity: .7;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-16);
  min-height: 440px;
}
.hero__content { max-width: 580px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
  border: 1px solid var(--clr-accent-border);
  letter-spacing: 0.01em;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.65); }
}
.hero__eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow-dot { animation: none; }
}
.hero__title {
  font-size: clamp(var(--fs-3xl), 7vw, 5rem);
  line-height: 1.04;
  margin-bottom: var(--sp-6);
  letter-spacing: -0.05em;
}
.hero__title-accent { color: var(--clr-accent); }
.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-8);
  max-width: 48ch;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}
.hero__meta-icon { color: var(--clr-text-light); }

/* Hero Visual: Browser Mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.browser-mockup {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
}
.browser-bar {
  background: var(--clr-bg-section);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #fc5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.875rem;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-left: 0.5rem;
}
.browser-content {
  padding: 1.5rem;
  min-height: 300px;
  background: #f8fafc;
}
.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.mock-logo {
  width: 80px; height: 10px;
  background: #1e293b;
  border-radius: 3px;
}
.mock-nav-links {
  display: flex;
  gap: 0.75rem;
}
.mock-nav-link {
  width: 40px; height: 8px;
  background: #cbd5e1;
  border-radius: 3px;
}
.mock-hero-area {
  text-align: center;
  padding: 1rem 0 1.5rem;
}
.mock-headline {
  width: 70%; height: 16px;
  background: #1e293b;
  border-radius: 4px;
  margin: 0 auto 0.75rem;
}
.mock-subline {
  width: 55%; height: 8px;
  background: #cbd5e1;
  border-radius: 3px;
  margin: 0 auto 0.5rem;
}
.mock-subline-short {
  width: 40%; height: 8px;
  background: #cbd5e1;
  border-radius: 3px;
  margin: 0 auto 1.25rem;
}
.mock-btn {
  display: inline-block;
  width: 100px; height: 28px;
  background: var(--clr-accent);
  border-radius: 6px;
}
.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.mock-card {
  height: 60px;
  background: #e2e8f0;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

/* ---------- Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: box-shadow var(--tr-slow), transform var(--tr-slow), border-color var(--tr);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--clr-accent-border);
}
.card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-light);
  border-radius: var(--radius);
  margin-bottom: var(--sp-5);
  color: var(--clr-accent);
  flex-shrink: 0;
}
.card__icon svg { width: 22px; height: 22px; }
.card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-3);
  color: var(--clr-text);
}
.card__text {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  line-height: var(--lh-relaxed);
}

/* ---------- Feature List ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.feature-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.feature-item__check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--clr-accent), #6366f1);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}
.feature-item__check svg { width: 12px; height: 12px; }
.feature-item__text {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  line-height: var(--lh-relaxed);
}
.feature-item__title {
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  display: block;
  margin-bottom: 2px;
}

/* ---------- Stats ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-6);
  padding: var(--sp-10) var(--sp-12);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.08);
  margin-top: var(--sp-8);
}
.stat { text-align: center; }
.stat__number {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat__label {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  font-weight: var(--fw-medium);
}

/* ---------- Profile / Über mich ---------- */
.profile-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-16);
  align-items: start;
}
.profile-image-wrap {
  width: 280px;
  flex-shrink: 0;
}
.profile-image {
  width: 280px;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--clr-bg-section) 0%, var(--clr-accent-light) 100%);
  border-radius: var(--radius-xl);
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.profile-image__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}
.profile-image__placeholder svg {
  width: 64px; height: 64px;
  color: var(--clr-text-light);
}
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-accent-border);
  margin-top: var(--sp-4);
  width: 100%;
  justify-content: center;
}

.prose p { margin-bottom: var(--sp-5); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Timeline (Werdegang) ---------- */
.timeline {
  position: relative;
  padding-left: var(--sp-10);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-accent), #6366f1 60%, var(--clr-border));
}
.timeline__item {
  position: relative;
  padding-bottom: var(--sp-12);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-10) - 6px);
  top: 6px;
  width: 14px; height: 14px;
  background: var(--clr-bg-section);
  border: 2px solid var(--clr-accent);
  border-radius: 50%;
}
.timeline__item--active::before {
  background: linear-gradient(135deg, var(--clr-accent), #6366f1);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12), 0 0 14px rgba(37,99,235,.35);
}
.timeline__period {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-accent);
  letter-spacing: 0.03em;
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
}
.timeline__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-bottom: var(--sp-1);
}
.timeline__location {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-3);
}
.timeline__desc {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  max-width: 60ch;
}
.timeline__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-accent-border);
  margin-top: var(--sp-3);
}

/* ---------- Contact Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-16);
  align-items: start;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--clr-border);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-light);
  border-radius: var(--radius);
  color: var(--clr-accent);
  flex-shrink: 0;
}
.contact-info__icon svg { width: 18px; height: 18px; }
.contact-info__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-info__value {
  font-size: var(--fs-base);
  color: var(--clr-text);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: color var(--tr);
}
.contact-info__value:hover { color: var(--clr-accent); }

.form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: var(--sp-5);
}
.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}
.form-group label .required {
  color: var(--clr-accent);
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--fs-base);
  color: var(--clr-text);
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  transition: border-color var(--tr), box-shadow var(--tr);
  min-height: 48px;
}
.form-control:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  outline: none;
}
.form-control::placeholder { color: var(--clr-text-light); }
textarea.form-control {
  min-height: 148px;
  resize: vertical;
  line-height: var(--lh-relaxed);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding-block: var(--sp-20);
  background: var(--clr-accent);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section__inner {
  position: relative;
  text-align: center;
}
.cta-section h2 {
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}
.cta-section p {
  color: rgba(255,255,255,.8);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-8);
}
.btn--white {
  background: var(--clr-white);
  color: var(--clr-accent);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow);
}
.btn--white:hover {
  background: var(--clr-bg);
  box-shadow: var(--shadow-md);
}

/* ---------- Leistungen Detail ---------- */
.service-detail {
  display: grid;
  gap: var(--sp-6);
}
.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-10);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-8);
  align-items: start;
  transition: box-shadow var(--tr-slow), border-color var(--tr);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent-border);
}
.service-card__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  background: linear-gradient(135deg, rgba(37,99,235,.22) 0%, rgba(99,102,241,.18) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  user-select: none;
  letter-spacing: -0.04em;
  min-width: 60px;
  transition: background var(--tr-slow);
}
.service-card:hover .service-card__number {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.service-card__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-3);
}
.service-card__text {
  color: var(--clr-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
}
.service-card__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.service-bullet {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--clr-accent);
  background: var(--clr-accent-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: var(--fw-medium);
  border: 1px solid var(--clr-accent-border);
}

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
  padding-block: var(--sp-16) var(--sp-12);
  border-bottom: 1px solid var(--clr-border);
  background: #0e1d40;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 95% 50%, rgba(37,99,235,.25) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-5);
}
.page-hero__breadcrumb a {
  color: var(--clr-accent);
  transition: opacity var(--tr);
}
.page-hero__breadcrumb a:hover { opacity: .7; }
.page-hero__breadcrumb span { color: var(--clr-text-light); }
.page-hero__title { margin-bottom: var(--sp-4); }
.page-hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  max-width: 56ch;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--clr-footer-bg);
  color: var(--clr-footer-text);
  padding-block: var(--sp-16) var(--sp-10);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: var(--sp-12);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: var(--sp-8);
}
.footer__brand h3 {
  font-size: var(--fs-xl);
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}
.footer__brand h3 span { color: var(--clr-accent); }
.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--clr-footer-text);
  max-width: 36ch;
  line-height: var(--lh-relaxed);
}
.footer__col-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__link {
  font-size: var(--fs-sm);
  color: var(--clr-footer-text);
  transition: color var(--tr);
}
.footer__link:hover { color: var(--clr-white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer__copy {
  font-size: var(--fs-sm);
  color: var(--clr-footer-text);
}
.footer__legal {
  display: flex;
  gap: var(--sp-6);
}
.footer__legal a {
  font-size: var(--fs-sm);
  color: var(--clr-footer-text);
  transition: color var(--tr);
}
.footer__legal a:hover { color: var(--clr-white); }

/* ---------- Divider ---------- */
.divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin-block: var(--sp-12);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  background: var(--clr-accent);
  color: var(--clr-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  z-index: 9999;
  transition: top 0.1s;
}
.skip-link:focus { top: var(--sp-4); }

/* ---------- Utilities ---------- */
.text-center  { text-align: center; }
.text-accent  { color: var(--clr-accent); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }

/* ============================================================
   VISUAL ENHANCEMENTS
   ============================================================ */


/* ---------- Header scrolled state ---------- */
.header--scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
}

/* ---------- Gradient text (animated) ---------- */
.text-gradient {
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 25%, #06b6d4 50%, #8b5cf6 75%, #3b82f6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 5s linear infinite;
}
@keyframes gradient-flow {
  0%   { background-position: 0%   center; }
  100% { background-position: 200% center; }
}
@media (prefers-reduced-motion: reduce) {
  .text-gradient { animation: none; }
}

/* ---------- Hero visual enhancements ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--clr-bg);
  overflow: hidden;
}
/* Main gradient wash + bottom fade (behind all content) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 70%, var(--clr-bg) 100%),
    radial-gradient(ellipse 90% 80% at 95% 5%, rgba(37,99,235,.13) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(99,102,241,.09) 0%, transparent 50%);
  pointer-events: none;
  z-index: -2;
}
/* Dot-grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148,163,184,.65) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 100% at 82% 42%, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 82% 42%, black 25%, transparent 70%);
  z-index: -1;
}
/* Glowing orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.hero__orb--1 {
  width: 700px; height: 700px;
  right: -200px; top: -220px;
  background: radial-gradient(circle, rgba(37,99,235,.18) 0%, transparent 60%);
  filter: blur(55px);
}
.hero__orb--2 {
  display: none;
}
/* Decorative ring behind browser mockup */
.hero__visual-ring {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,.10);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero__visual-ring::before {
  content: '';
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,.06);
}

/* Floating browser mockup */
@keyframes float-mockup {
  0%, 100% { transform: translateY(0px) rotate(0.3deg); }
  50%       { transform: translateY(-10px) rotate(-0.3deg); }
}
.browser-mockup {
  animation: float-mockup 7s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .browser-mockup { animation: none; }
}

/* ---------- Section heading accent line ---------- */
.section-title {
  position: relative;
  padding-bottom: var(--sp-4);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), #6366f1);
  border-radius: 2px;
}
.text-center .section-title::after,
.cta-section .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- Card glow on hover ---------- */
.card:hover {
  box-shadow: 0 24px 60px rgba(37,99,235,.18), 0 4px 16px rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.3);
  transform: translateY(-4px);
}

/* ---------- Service card left accent bar ---------- */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--clr-accent), #6366f1);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 300ms cubic-bezier(0.16,1,0.3,1);
  border-radius: 0 2px 2px 0;
}
.service-card:hover::before {
  transform: scaleY(1);
}
.service-card:hover {
  box-shadow: 0 12px 32px rgba(37,99,235,.11), 0 4px 8px rgba(37,99,235,.06);
}

/* ---------- CTA section gradient ---------- */
.cta-section {
  background: linear-gradient(135deg, #0a1a40 0%, #0f2460 35%, #1d4ed8 70%, #2563eb 100%);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
/* Glow orbs in CTA */
.cta-section::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,.35) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal--from-right {
  transform: translateX(40px) translateY(0);
}
.reveal--from-right.visible {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Stat number pulse on enter ---------- */
@keyframes stat-enter {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.stats-bar .reveal.visible .stat__number {
  animation: stat-enter 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .stats-bar .reveal.visible .stat__number { animation: none; }
}

/* ---------- Button glow on hover (alle Varianten) ---------- */
.btn {
  position: relative;
  overflow: hidden;
  transition:
    background   150ms ease,
    color        150ms ease,
    border-color 150ms ease,
    box-shadow   150ms ease,
    transform    150ms ease;
}

/* Shimmer-Schicht */
.btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,.35) 50%,
    transparent 70%
  );
  transform: skewX(-15deg);
  opacity: 0;
  transition: opacity 150ms ease, left 260ms ease;
  pointer-events: none;
}
.btn:hover::after {
  left: 125%;
  opacity: 1;
}

/* Primär */
.btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 24px rgba(37,99,235,.40), 0 2px 8px rgba(37,99,235,.20);
}

/* Outline */
.btn--outline:hover {
  background: var(--clr-accent-light);
  box-shadow: 0 4px 16px rgba(37,99,235,.18);
}

/* Ghost */
.btn--ghost:hover {
  background: var(--clr-bg);
  border-color: var(--clr-text-light);
  color: var(--clr-text);
  box-shadow: 0 4px 12px rgba(15,23,42,.08);
}

/* Weiß (CTA-Bereich) */
.btn--white:hover {
  background: var(--clr-bg);
  box-shadow: 0 6px 24px rgba(255,255,255,.25), 0 2px 8px rgba(255,255,255,.15);
}

/* Shimmer im weißen Button etwas dunkler */
.btn--white::after {
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(37,99,235,.12) 50%,
    transparent 70%
  );
}

/* ---------- Responsive ---------- */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    text-align: center;
  }
  .hero__content { max-width: none; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .profile-image-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .profile-image { max-width: 240px; width: 100%; }

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
  .footer__brand { grid-column: 1 / -1; }

  .service-card {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    padding: var(--sp-6) var(--sp-8);
  }
  .service-card__number { font-size: var(--fs-3xl); }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  :root { --gutter: 1.125rem; }

  /* ── Spacing ── */
  .section { padding-block: var(--sp-12); }
  .hero { padding-block: var(--sp-8) var(--sp-10); }
  .page-hero { padding-block: var(--sp-10) var(--sp-8); }
  .cta-section { padding-block: var(--sp-16); }
  .footer { padding-block: var(--sp-12) var(--sp-8); }

  /* ── Typography ── */
  .section-subtitle { font-size: var(--fs-base); margin-bottom: var(--sp-8); }
  .hero__subtitle { font-size: var(--fs-base); }
  .hero__title { line-height: 1.1; letter-spacing: -0.04em; }

  /* ── Mobile Nav ── */
  .nav-toggle-label { display: flex; z-index: 110; }
  .nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100dvh;
    background: rgba(6,13,30,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform var(--tr-slow);
    z-index: 100;
  }
  .nav-toggle:checked ~ .nav { transform: translateX(0); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav__list {
    flex-direction: column;
    gap: var(--sp-2);
    width: 100%;
    padding: var(--sp-8);
  }
  .nav__link {
    font-size: var(--fs-xl);
    padding: var(--sp-4) var(--sp-6);
    width: 100%;
    text-align: center;
    border-radius: var(--radius-lg);
  }
  .nav__link--cta {
    margin-left: 0;
    margin-top: var(--sp-4);
    text-align: center;
    font-size: var(--fs-xl);
    border-radius: var(--radius-lg);
  }

  /* ── Hero ── */
  .hero__eyebrow { font-size: var(--fs-xs); padding: 0.3rem 0.75rem; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
  }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* ── Grids ── */
  .card-grid { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .card-grid--4 { grid-template-columns: 1fr 1fr; }
  .kurzvorstellung-grid { grid-template-columns: 1fr !important; }
  .feature-list { grid-template-columns: 1fr; }

  /* ── Cards ── */
  .card { padding: var(--sp-5); }
  .card__icon { width: 40px; height: 40px; margin-bottom: var(--sp-4); }
  .card__title { font-size: var(--fs-lg); }

  /* ── Service Cards ── */
  .service-card {
    padding: var(--sp-5);
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
  .service-card__number {
    font-size: var(--fs-2xl);
    min-width: auto;
  }

  /* ── Feature Items: card-style on mobile ── */
  .feature-item {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius);
    padding: var(--sp-4);
  }

  /* ── Stats ── */
  .stats-bar { display: none; }

  /* ── Profile ── */
  .profile-image { max-width: 180px; }

  /* ── Timeline ── */
  .timeline { padding-left: var(--sp-8); }
  .timeline__item { padding-bottom: var(--sp-8); }

  /* ── Footer ── */
  .footer__inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* ── Forms ── */
  .form-card { padding: var(--sp-6); }

  /* ── CTA ── */
  .cta-section__inner .btn--lg { width: 100%; justify-content: center; }
}

/* Small mobile (≤400px) */
@media (max-width: 400px) {
  :root { --gutter: 1rem; }
  .card-grid--4 { grid-template-columns: 1fr; }
  .hero__title { letter-spacing: -0.03em; }
}

/* ============================================================
   CARD GRADIENT TOP SHIMMER
   ============================================================ */
.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37,99,235,.55) 30%,
    rgba(139,92,246,.55) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 320ms ease;
}
.card:hover::before { opacity: 1; }

/* Gradient icon boxes on cards */
.card__icon {
  background: linear-gradient(135deg, rgba(59,130,246,.15) 0%, rgba(99,102,241,.12) 100%);
}

/* ============================================================
   SECTION: KURZVORSTELLUNG — subtle gradient wash
   ============================================================ */
.section:not(.section--alt):not(.section--dark) {
  background: var(--clr-bg);
}

/* ============================================================
   SECTION--DARK (used on "Warum ich" section)
   ============================================================ */
.section--dark {
  background: #0a1530;
  position: relative;
  overflow: hidden;
}
/* Dot grid */
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
/* Labels + headings */
.section--dark .section-label {
  color: #7dd3fc;
}
.section--dark .section-label::before {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
}
.section--dark h2,
.section--dark .section-title { color: #f1f5f9; }
.section--dark .section-title::after {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
}
.section--dark .section-subtitle { color: rgba(241,245,249,.55); }
/* Glassmorphism cards */
.section--dark .card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.section--dark .card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(59,130,246,.4);
  box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(59,130,246,.15);
  transform: translateY(-4px);
}
.section--dark .card__title { color: #f1f5f9; }
.section--dark .card__text  { color: rgba(241,245,249,.62); }
.section--dark .card__icon {
  background: rgba(59,130,246,.15);
  color: #60a5fa;
}
/* Gradient shimmer on dark cards */
.section--dark .card::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(96,165,250,.6) 30%,
    rgba(167,139,250,.6) 70%,
    transparent 100%
  );
}
/* Ensure stacking context for dot-grid not covering cards */
.section--dark > .container { position: relative; z-index: 1; }

/* ============================================================
   DARK HERO VARIANT
   ============================================================ */

.hero--dark {
  background: #060d1e;
}
/* Override gradient wash */
.hero--dark::before {
  background:
    linear-gradient(to bottom, transparent 65%, #060d1e 100%),
    radial-gradient(ellipse 85% 75% at 80% -10%, rgba(37,99,235,.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 5% 95%, rgba(99,102,241,.2) 0%, transparent 55%);
}
/* Bright dot grid */
.hero--dark::after {
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 80% 100% at 80% 40%, black 20%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 40%, black 20%, transparent 65%);
}
/* Stronger blue glow orb */
.hero--dark .hero__orb--1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,.4) 0%, transparent 55%);
  filter: blur(70px);
}
/* Eyebrow badge */
.hero--dark .hero__eyebrow {
  background: rgba(59,130,246,.1);
  color: #7dd3fc;
  border-color: rgba(59,130,246,.2);
}
.hero--dark .hero__eyebrow-dot {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56,189,248,.7);
}
/* Typography */
.hero--dark .hero__title { color: #f1f5f9; }
.hero--dark .hero__subtitle { color: rgba(241,245,249,.55); }
/* Decorative rings */
.hero--dark .hero__visual-ring {
  border-color: rgba(255,255,255,.05);
}
.hero--dark .hero__visual-ring::before {
  border-color: rgba(255,255,255,.03);
}
/* Browser chrome adapts to dark bg */
.hero--dark .browser-bar {
  background: #1e293b;
  border-bottom-color: #2d3f5c;
}
.hero--dark .browser-url {
  background: #0f172a;
  border-color: #334155;
  color: #64748b;
}
/* Glowing mockup shadow */
.hero--dark .browser-mockup {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 30px 70px rgba(0,0,0,.55),
    0 0 100px rgba(37,99,235,.2);
}

/* ── Glassmorphism stats bar ── */
.stats-bar--dark {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}
.stats-bar--dark .stat__number {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-bar--dark .stat__label {
  color: rgba(241,245,249,.45);
}
/* Dividers between stats on dark */
@media (min-width: 641px) {
  .stats-bar--dark .stat + .stat {
    border-left: 1px solid rgba(255,255,255,.06);
    padding-left: var(--sp-6);
  }
}
