/* ============================================
   FISHERMANS-MEDIA v7 — 21st.dev Inspired Upgrade
   Mesh Gradients · Bento Grid · Timeline · Shimmer
   ============================================ */

:root {
  /* Brand colours */
  --deep: #0c2340;
  --deep-90: rgba(12,35,64,.96);
  --midnight: #1a5294;
  --lake: #2068b8;
  --lake-dark: #1a5a9e;
  --sky: #5aa3e6;
  --cyan: #3dd4e8;
  --cyan-soft: rgba(61,212,232,.12);

  /* Dark palette */
  --bg-base: #050810;
  --bg-elevated: #0a1628;
  --surface: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.08);
  --foreground: #e8f0fe;
  --foreground-muted: #8a9bb8;
  --accent-glow: rgba(61,212,232,0.2);

  /* Light palette */
  --white: #fafaf8;
  --white-pure: #ffffff;
  --ice: #f2f6fb;
  --mist: #dde5f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;

  /* Gradients */
  --gradient-hero: #050810;
  --gradient-dark: linear-gradient(170deg, #050810 0%, #0a1628 50%, #050810 100%);
  --gradient-cta: linear-gradient(135deg, #050810 0%, #0c2340 40%, #1a3d6e 70%, #050810 100%);

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  /* Easing */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   RESET + BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  scroll-padding-top: 80px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #050810; }
::-webkit-scrollbar-thumb { background: rgba(61,212,232,0.3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(61,212,232,0.6); }

::selection { background: rgba(61,212,232,0.3); color: #ffffff; }

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  font-feature-settings: "kern" 1, "liga" 1;
}

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

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

/* ============================================
   UTILITIES
   ============================================ */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 16px;
  background: rgba(61,212,232,0.08);
  border: 1px solid rgba(61,212,232,0.2);
  border-radius: 50px;
  margin-bottom: 24px;
}

.section-label--light {
  color: var(--lake);
  background: rgba(32,104,184,0.08);
  border-color: rgba(32,104,184,0.2);
}

.section-label--dark {
  color: var(--cyan);
  background: rgba(61,212,232,0.08);
  border-color: rgba(61,212,232,0.2);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s var(--ease-apple), background 0.25s ease, border-color 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #3dd4e8 0%, #2068b8 100%);
  color: #050810;
  border: none;
  box-shadow: 0 0 40px rgba(61,212,232,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(61,212,232,0.5);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.07);
  transform: translateY(-3px);
}

.btn-white {
  background: #ffffff;
  color: var(--deep);
  border-color: #ffffff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.btn-white:hover {
  background: var(--ice);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.nav__links a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   NAVIGATION — Glassmorphism
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), padding 0.4s var(--ease-apple), border-color 0.4s ease;
  padding: 22px 0;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5,8,16,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .01em;
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--sky);
  font-size: 13px;
  font-weight: 400;
  margin-left: 8px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .02em;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-apple);
}
.nav__links a:hover {
  color: #ffffff;
}
.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s;
}
.lang-btn.active {
  background: var(--white);
  color: var(--deep);
}

.nav__cta {
  padding: 10px 22px;
  font-size: 13px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================
   KEYFRAMES — v7 New + Preserved
   ============================================ */

/* --- v7 NEW: Mesh background shift --- */
@keyframes meshShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- v7 NEW: Badge dot pulse --- */
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.65); }
}

/* --- v7 NEW: H1 em shimmer --- */
@keyframes textShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* --- v7 NEW: Spotlight pulse on CTA --- */
@keyframes spotlightPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}

/* --- v7 NEW: Timeline dot glow pulse --- */
@keyframes timelineDotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(61,212,232,0.4); }
  50% { box-shadow: 0 0 18px rgba(61,212,232,0.9), 0 0 32px rgba(61,212,232,0.3); }
}

/* --- Preserved from v6 --- */
@keyframes waveScroll {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -600; }
}

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

@keyframes heroLabelSlide {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroH1Reveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0% 0 0); opacity: 1; }
}

@keyframes statsPop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.96); }
  60%  { transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(61,212,232,.6), 0 0 40px rgba(61,212,232,.3); }
  50%  { box-shadow: 0 0 0 14px rgba(61,212,232,.0), 0 0 56px rgba(61,212,232,.45); }
  100% { box-shadow: 0 0 0 0 rgba(61,212,232,.0), 0 0 40px rgba(61,212,232,.3); }
}

@keyframes orbPulse {
  0%, 100% { opacity: .6; }
  50%       { opacity: 1; }
}

@keyframes orbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(50px, -40px) scale(1.08); }
  66%  { transform: translate(-25px, 25px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-45px, 30px) scale(1.12); }
  70%  { transform: translate(30px, -20px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes waveGlow {
  0%, 100% { opacity: .06; }
  50%       { opacity: .14; }
}

@keyframes lineGlow {
  0%, 100% { opacity: .4; }
  50%       { opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1) translate(-50%, -50%); }
  50%       { opacity: 1; transform: scale(1.05) translate(-50%, -50%); }
}

/* ============================================
   HERO — v7: Animated Gradient Mesh Background
   ============================================ */

/* UPGRADE 1: Mesh gradient replaces simple gradient */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(61,212,232,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(32,104,184,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(12,35,64,0.8) 0%, transparent 70%),
    #050810;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* UPGRADE 1: Animated mesh shift layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(300deg, rgba(61,212,232,0.04), rgba(32,104,184,0.06), rgba(5,8,16,0), rgba(61,212,232,0.03));
  background-size: 300% 300%;
  animation: meshShift 12s ease infinite;
  pointer-events: none;
  z-index: 0;
}

/* Bottom separator line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.06);
  animation: lineGlow 4s ease-in-out infinite;
  z-index: 2;
}

/* UPGRADE 8: Grain/Noise overlay as separate element */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

/* Subtle orbs — remain as secondary atmospheric layer */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero-orb--1 {
  width: 700px;
  height: 700px;
  top: -180px;
  right: -5%;
  background: radial-gradient(circle, rgba(61,212,232,.05) 0%, rgba(61,212,232,.02) 50%, transparent 70%);
  filter: blur(160px);
  animation: orbFloat1 24s ease-in-out infinite, orbPulse 8s ease-in-out infinite;
  z-index: 1;
}

.hero-orb--2 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  right: 18%;
  background: radial-gradient(circle, rgba(32,104,184,.08) 0%, rgba(32,104,184,.03) 55%, transparent 70%);
  filter: blur(140px);
  animation: orbFloat2 18s ease-in-out infinite;
  animation-delay: -6s;
  z-index: 1;
}

/* SVG Water lines */
.hero-waves {
  position: absolute;
  right: 0;
  top: 0;
  width: 65%;
  height: 100%;
  pointer-events: none;
  opacity: .07;
  overflow: hidden;
  animation: waveGlow 7s ease-in-out infinite;
  z-index: 1;
}

.hero-waves line,
.hero-waves path {
  animation: waveScroll 8s linear infinite;
}
.hero-waves .wave-2 { animation-delay: -2s; animation-duration: 11s; }
.hero-waves .wave-3 { animation-delay: -4.5s; animation-duration: 14s; }
.hero-waves .wave-4 { animation-delay: -1s; animation-duration: 9s; }
.hero-waves .wave-5 { animation-delay: -3s; animation-duration: 13s; }

/* Diagonal bg lines */
.hero__bg-lines {
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 55%;
  height: 80%;
  background: repeating-linear-gradient(
    -15deg,
    transparent,
    transparent 40px,
    rgba(61,212,232,.02) 40px,
    rgba(61,212,232,.02) 41px
  );
  pointer-events: none;
  z-index: 1;
}

/* Hero entrance animations */
.hero-animate {
  opacity: 0;
  transform: translateY(32px);
}

.hero-animate.ready {
  animation: heroEntrance 0.9s var(--ease-apple) forwards;
}
.hero-animate--label.ready {
  animation: heroLabelSlide 0.7s var(--ease-apple) forwards;
}
.hero-animate--h1.ready {
  animation: heroH1Reveal 1.1s var(--ease-apple) forwards;
}
.hero-animate--sub.ready {
  animation: heroEntrance 0.9s var(--ease-apple) forwards;
}
.hero-animate--ctas.ready {
  animation: heroEntrance 0.9s var(--ease-apple) forwards;
}
.hero-animate--stats.ready {
  animation: statsPop 0.8s var(--ease-apple) forwards;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 148px 0 108px;
  max-width: 740px;
}

/* UPGRADE 2: Floating Badge — replaces hero__label */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(232,240,254,0.7);
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.02em;
}

.hero-badge__dot {
  width: 6px;
  height: 6px;
  background: #3dd4e8;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(61,212,232,0.8);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 600;
  color: rgba(255,255,255,.97);
  line-height: 1.0;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

/* UPGRADE 3: Shimmer animated gradient on em */
.hero h1 em {
  position: relative;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #3dd4e8 0%, #7eb8f5 50%, #3dd4e8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite;
}

.hero__sub {
  font-size: 19px;
  font-weight: 300;
  color: rgba(232,240,254,.72);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 580px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero__ctas .btn-primary {
  animation: ctaPulse 2.6s ease-in-out 2.2s infinite;
  position: relative;
}

/* Stats row */
.hero__stats {
  display: flex;
  gap: 12px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* UPGRADE 4: Animated border-gradient on stats cards via CSS mask */
.hero__stat {
  flex: 1;
  position: relative;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.4s var(--ease-apple);
  overflow: hidden;
}

/* Gradient border using pseudo + mask technique */
.hero__stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(61,212,232,0.35), rgba(32,104,184,0.15), rgba(61,212,232,0.06), rgba(255,255,255,0.04));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__stat:hover {
  background: rgba(255,255,255,0.06);
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 500;
  background: linear-gradient(135deg, #3dd4e8, #5aa3e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.46);
  font-weight: 400;
  line-height: 1.45;
}

/* ============================================
   POSITIONING — dark elevated
   ============================================ */

.positioning {
  padding: 128px 0;
  background: #0a1628;
  position: relative;
}

.positioning__intro {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}

.positioning__intro h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.positioning__intro p {
  font-size: 18px;
  color: var(--foreground-muted);
  line-height: 1.75;
  font-weight: 300;
}

.positioning__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pos-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-apple);
}
.pos-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(61,212,232,0.2);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(61,212,232,0.1);
}

/* CSS icon for pos-cards (replaces emoji) */
.pos-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(61,212,232,0.08);
  border: 1px solid rgba(61,212,232,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.pos-card__icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.pos-card h3 {
  font-size: 20px;
  color: var(--foreground);
  margin-bottom: 12px;
  font-weight: 500;
}

.pos-card p {
  font-size: 15px;
  color: var(--foreground-muted);
  line-height: 1.7;
}

/* ============================================
   SERVICES — v7: BENTO GRID
   ============================================ */

.services {
  padding: 128px 0;
  background: #f2f6fb;
}

.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-header p {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
}

.section-header--dark h2 { color: var(--foreground); }
.section-header--dark p { color: var(--foreground-muted); }

/* UPGRADE 5: Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 300px;
  gap: 16px;
}

.bento-card--large  { grid-column: span 4; }
.bento-card--small  { grid-column: span 2; }
.bento-card--medium { grid-column: span 3; }

.bento-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), border-color 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.11);
  border-color: rgba(32,104,184,0.22);
}

/* Hover animated border glow */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(32,104,184,0.08) 0%, transparent 70%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-card:hover::after {
  opacity: 1;
}

/* CSS Icon — gradient shape in top corner */
.bento-card__icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(32,104,184,0.1) 0%, rgba(61,212,232,0.08) 100%);
  border: 1px solid rgba(32,104,184,0.15);
}

.bento-card__icon svg {
  width: 24px;
  height: 24px;
}

.bento-card__num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--lake);
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.7;
}

.bento-card h3 {
  font-size: 22px;
  color: var(--gray-800);
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.2;
}

/* Large card: bigger headline */
.bento-card--large h3 {
  font-size: 28px;
}

.bento-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Large card shows more content — limit text on small cards */
.bento-card--small p,
.bento-card--medium p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Large card background accent */
.bento-card--large {
  background: linear-gradient(160deg, #ffffff 60%, rgba(32,104,184,0.04) 100%);
}

/* ============================================
   NUMBERS — v7: Horizontal layout, separator lines
   ============================================ */

.numbers {
  padding: 128px 0;
  background: #050810;
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.numbers::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(61,212,232,0.07) 0%, rgba(32,104,184,0.04) 40%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
  transform-origin: center center;
}

/* UPGRADE 7: Numbers inner — flat horizontal layout */
.numbers__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
}

.number-card {
  padding: 48px 40px;
  text-align: center;
  position: relative;
}

/* Separator lines between cards */
.number-card + .number-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

/* Very large value numbers */
.number-card__value {
  font-family: var(--font-heading);
  font-size: clamp(72px, 9vw, 96px);
  font-weight: 500;
  background: linear-gradient(135deg, #3dd4e8 0%, #5aa3e6 60%, #2068b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.number-card__label {
  font-size: 16px;
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 10px;
}

.number-card__sub {
  font-size: 13px;
  color: var(--foreground-muted);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================
   PROCESS — v7: Vertical Timeline
   ============================================ */

.process {
  padding: 128px 0;
  background: #fafaf8;
}

/* UPGRADE 9: Vertical timeline layout */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 60px auto 0;
}

.process-step {
  display: grid;
  grid-template-columns: 72px 36px 1fr;
  gap: 0 20px;
  padding: 40px 0;
  align-items: start;
  position: relative;
}

.process-step__number {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 3px;
  text-align: right;
  opacity: 0.9;
}

.process-step__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2px;
}

/* Cyan dot with glow */
.process-step__line::before {
  content: '';
  width: 10px;
  height: 10px;
  background: #3dd4e8;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(61,212,232,0.6);
  flex-shrink: 0;
  animation: timelineDotPulse 3s ease-in-out infinite;
}

/* Vertical gradient line to next step */
.process-step__line::after {
  content: '';
  width: 1px;
  flex: 1;
  min-height: 60px;
  background: linear-gradient(to bottom, rgba(61,212,232,0.4), rgba(61,212,232,0.05));
  margin-top: 10px;
}

/* Hide line after last step */
.process-step:last-child .process-step__line::after {
  display: none;
}

.process-step__content {
  padding-bottom: 0;
}

.process-step__meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.process-step h3 {
  font-size: 22px;
  color: var(--gray-800);
  margin-bottom: 10px;
  font-weight: 500;
}

.process-step p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   ABOUT — v7: Glassmorphism Person Cards
   ============================================ */

.about {
  padding: 128px 0;
  background: #0a1628;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* UPGRADE 10: Glassmorphism person card — vertical layout */
.person-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-apple);
  position: relative;
  overflow: hidden;
}

.person-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(ellipse at 30% 0%, rgba(61,212,232,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.person-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(61,212,232,0.2);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(61,212,232,0.1);
}

/* Gradient avatar — vertical card: avatar on top */
.person-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3dd4e8 0%, #2068b8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #050810;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(61,212,232,0.25);
}

.person-card__info {
  position: relative;
  z-index: 1;
}

.person-card__info h3 {
  font-size: 22px;
  color: var(--foreground);
  margin-bottom: 6px;
  font-weight: 500;
}

.person-card__role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  opacity: 0.8;
}

.person-card__bio {
  font-size: 15px;
  color: var(--foreground-muted);
  line-height: 1.75;
}

/* ============================================
   CTA SECTION — v7: Spotlight Pulse
   ============================================ */

.cta-section {
  padding: 140px 0;
  background: var(--gradient-cta);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial glow */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 50%, rgba(61,212,232,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* UPGRADE 6: Spotlight pulse effect */
.cta-section::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(61,212,232,0.12) 0%, rgba(32,104,184,0.06) 40%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: spotlightPulse 6s ease-in-out infinite;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  color: rgba(255,255,255,.97);
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.cta-section p {
  font-size: 18px;
  font-weight: 300;
  color: rgba(232,240,254,.75);
  line-height: 1.75;
  margin-bottom: 44px;
}

.cta-section__email {
  display: block;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
  transition: color 0.25s ease;
}
.cta-section__email:hover {
  color: rgba(255,255,255,.9);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #050810;
  padding: 44px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--foreground);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,.38);
  transition: color .25s ease;
  letter-spacing: 0.01em;
}
.footer__links a:hover {
  color: rgba(255,255,255,.75);
}

.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,.25);
}

/* ============================================
   SCROLL FADE-IN
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-apple), transform 0.7s var(--ease-apple);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   SUBPAGES — preserved
   ============================================ */

.subpage-hero {
  background: var(--gradient-hero);
  padding: 140px 0 72px;
  text-align: center;
}

.subpage-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 14px;
}

.subpage-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.65);
}

.subpage-content {
  padding: 80px 0;
  background: var(--white);
}

.subpage-content .container {
  max-width: 760px;
}

.contact-form {
  background: var(--ice);
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-bottom: 48px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: .03em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--lake);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-info__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-info__text p:first-child {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.contact-info__text a {
  font-size: 15px;
  color: var(--lake);
  font-weight: 500;
}
.contact-info__text a:hover {
  color: var(--lake-dark);
}

.impressum-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--gray-800);
  margin: 40px 0 12px;
}
.impressum-content h2:first-child { margin-top: 0; }
.impressum-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

  /* Bento: reorganize at tablet */
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
  }
  .bento-card--large  { grid-column: span 4; }
  .bento-card--small  { grid-column: span 2; }
  .bento-card--medium { grid-column: span 2; }

  /* Numbers: reduce padding */
  .number-card {
    padding: 40px 24px;
  }

  /* Process timeline: compact grid */
  .process-timeline {
    max-width: 100%;
  }
  .process-step {
    grid-template-columns: 56px 28px 1fr;
    gap: 0 16px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }

  .hero__stats {
    flex-direction: column;
    gap: 10px;
  }
  .hero__stat {
    width: 100%;
  }

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

  /* Bento: all full-width at mobile */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-card--large,
  .bento-card--small,
  .bento-card--medium {
    grid-column: span 1;
    min-height: 220px;
  }
  .bento-card--small p,
  .bento-card--medium p {
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  /* Numbers: stacked at mobile */
  .numbers__inner {
    grid-template-columns: 1fr;
  }
  .number-card + .number-card::before {
    top: 0;
    bottom: auto;
    left: 15%;
    right: 15%;
    width: auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  }
  .number-card {
    padding: 40px 24px;
  }

  /* Process timeline: narrower */
  .process-step {
    grid-template-columns: 48px 24px 1fr;
    gap: 0 12px;
    padding: 32px 0;
  }

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

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer__links {
    justify-content: center;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .hero__content {
    padding: 136px 0 96px;
  }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    flex-direction: unset;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
  }
  .btn {
    justify-content: center;
    width: 100%;
  }
  .nav__cta,
  .lang-btn {
    width: auto;
  }
  .contact-form {
    padding: 24px;
  }
  .person-card {
    padding: 28px 24px;
  }
  .hero__content {
    padding: 120px 0 80px;
  }
  .positioning,
  .services,
  .numbers,
  .process,
  .about,
  .cta-section {
    padding: 88px 0;
  }
  .number-card__value {
    font-size: 60px;
  }
  .pos-card,
  .bento-card {
    padding: 28px 22px;
  }
  .cta-section h2 {
    font-size: 30px;
    letter-spacing: -0.02em;
  }
  /* Process: 2-col on very small */
  .process-step {
    grid-template-columns: 40px 20px 1fr;
    gap: 0 10px;
  }
  .process-step__number {
    font-size: 11px;
  }
}

/* Touch devices: disable hover transforms */
@media (hover: none) {
  .pos-card:hover,
  .bento-card:hover,
  .number-card:hover,
  .person-card:hover {
    transform: none;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-orb,
  .hero-waves line,
  .hero-waves path,
  .hero-badge__dot,
  .hero h1 em,
  .process-step__line::before,
  .cta-section::after,
  .numbers::before {
    animation: none !important;
  }

  .hero h1 em {
    background: linear-gradient(135deg, #3dd4e8, #5aa3e6);
    background-size: auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-animate { opacity: 1; transform: none; }
  .hero-animate.ready { animation: none; opacity: 1; transform: none; }
  .hero__ctas .btn-primary { animation: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}
