/* =================================================================
   Lukas Kraus — IT-Dienstleistungen
   Editorial Apple Dark · Bento · Sticky scroll · Atmosphere
   ================================================================= */

/* ---------- Local fonts (Geist) — no external requests ---------- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Geist-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Geist-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Geist-SemiBold.woff2') format('woff2');
}

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces */
  --bg-primary: #0a0a0a;
  --bg-secondary: #0e0e0e;
  --bg-tertiary: #141414;
  --surface: #111113;
  --surface-elevated: #17171a;
  --surface-hover: #1c1c1f;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --text-quaternary: #48484a;

  /* Accent (cyan → sky → blue) — preserved */
  --accent-light: #38bdf8;
  --accent-mid:   #0ea5e9;
  --accent-deep:  #2563eb;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #2563eb 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
  --accent-gradient-faint: linear-gradient(135deg, rgba(56, 189, 248, 0.06) 0%, rgba(37, 99, 235, 0.06) 100%);
  --accent-glow: rgba(14, 165, 233, 0.30);

  /* Status */
  --status-success: #10b981;

  /* Type */
  --font-display: 'Geist', 'Inter Tight', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-body:    'Geist', 'Inter Tight', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, 'Cascadia Mono', monospace;

  /* Motion */
  --ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:   cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: var(--accent-mid); color: #fff; }

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

/* Global keyboard focus indicator (a11y — focus-states) */
:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 10px; border: 2px solid var(--bg-primary); }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* ---------- Atmosphere (fixed background layers) ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.atmosphere-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
    radial-gradient(50% 40% at 85% 20%, rgba(37, 99, 235, 0.07), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(14, 165, 233, 0.05), transparent 60%);
  filter: blur(0px);
  opacity: 0.95;
}

.atmosphere-grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Keep all content above atmosphere */
.navbar, header.hero, .marquee-strip, .trust-bar, section.section, footer.footer { position: relative; z-index: 1; }
.scroll-progress { z-index: 9999; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent-gradient);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s var(--ease-out-quart), background 0.3s var(--ease-out-quart);
  z-index: 1000;
}

.navbar.scrolled {
  border-bottom-color: var(--border-subtle);
  background: rgba(10, 10, 10, 0.82);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary) !important;
}

.navbar-brand img { height: 34px; width: 34px; display: block; }

.navbar-brand .brand-text-sr {
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  white-space: nowrap;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.9375rem;
  font-weight: 400;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s var(--ease-out-quart);
  position: relative;
}

.navbar-nav .nav-link:hover { color: var(--text-primary) !important; }

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 1rem; right: 1rem;
  height: 1px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-quart);
}

.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

.navbar-toggler { border: 0.5px solid var(--border-default); padding: 0.4rem 0.6rem; border-radius: 8px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23f5f5f7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: #f5f5f7;
  color: #0a0a0a;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s var(--ease-out-quart), background 0.3s var(--ease-out-quart);
  cursor: pointer;
}
.btn-primary-custom:hover { background: #fff; color: #0a0a0a; transform: translateY(-1px); }
.btn-primary-custom i { transition: transform 0.3s var(--ease-out-quart); }
.btn-primary-custom:hover i { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 400;
  border: 0.5px solid var(--border-default);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s var(--ease-out-quart);
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.btn-gradient {
  background: var(--accent-gradient);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart);
  cursor: pointer;
}
.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0ea5e9, #2563eb, #38bdf8);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-quart);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -8px var(--accent-glow); color: #fff; }
.btn-gradient:hover::before { opacity: 1; }
.btn-gradient > * { position: relative; z-index: 1; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding: 9rem 0 6rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10), transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-content { position: relative; z-index: 2; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border: 0.5px solid var(--border-default);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.status-dot {
  width: 6px; height: 6px;
  background: var(--status-success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--status-success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.0;
  margin: 1.5rem 0;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 0 2.5rem;
}

.hero-cta-row { display: flex; gap: 0.875rem; flex-wrap: wrap; }

/* Visible focus rings for keyboard users (a11y) */
.hero .btn-gradient:focus-visible,
.hero .btn-ghost:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

/* Hero trust proof (authorized partners + credential) */
.hero-proof {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-proof-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.hero-proof-row {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  flex-wrap: wrap;
}
.hero-proof-logo {
  height: 26px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.3s var(--ease-out-quart), filter 0.3s var(--ease-out-quart);
}
.hero-proof-logo-unifi { height: 20px; }
.hero-proof:hover .hero-proof-logo { opacity: 0.95; filter: grayscale(0); }
.hero-proof-div {
  width: 0.5px;
  height: 22px;
  background: var(--border-default);
  flex: 0 0 auto;
}
.hero-proof-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.hero-proof-text i {
  color: var(--status-success);
  font-size: 0.9375rem;
}

/* Hero scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-tertiary);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 3;
  opacity: 0;
  transition: opacity 1s var(--ease-out-expo) 1.2s, color 0.3s var(--ease-out-quart);
}
.hero.loaded .hero-scroll-cue { opacity: 1; }
.hero-scroll-cue:hover { color: var(--text-secondary); }
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--border-strong) 50%, var(--accent-light));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--accent-light), transparent 50%);
  animation: scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(-100%); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ---------- HERO: Floating glass cards ---------- */
.hero-cards {
  position: relative;
  min-height: 480px;
  perspective: 1200px;
}

/* Soft aurora glow behind the cards */
.hero-cards-glow {
  position: absolute;
  inset: 8% 2% 12%;
  background:
    radial-gradient(58% 56% at 60% 35%, rgba(56, 189, 248, 0.22), transparent 70%),
    radial-gradient(50% 50% at 30% 80%, rgba(37, 99, 235, 0.18), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: auroraDrift 14s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-6%, 4%, 0) scale(1.08); }
}

/* Card shell — owns parallax translate (set via JS custom props) */
.float-card {
  position: absolute;
  z-index: 2;
  opacity: 0;
  transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px), 0);
  transition: transform 0.6s var(--ease-out-quart), opacity 1s var(--ease-out-expo);
  will-change: transform;
}
.hero.loaded .float-card { opacity: 1; }
.hero.loaded .float-card-1 { transition-delay: 0s, 0.5s; }
.hero.loaded .float-card-2 { transition-delay: 0s, 0.7s; }
.hero.loaded .float-card-3 { transition-delay: 0s, 0.9s; }

/* Inner surface — owns the continuous float animation */
.float-card-inner {
  position: relative;
  border-radius: var(--r-lg);
  padding: 1.25rem 1.375rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 0.5px solid var(--border-default);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    0 28px 64px -22px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  animation: floaty var(--float-dur, 8s) ease-in-out var(--float-delay, 0s) infinite;
}
@keyframes floaty {
  0%   { transform: translateY(0)     rotate(var(--rot, 0deg)); }
  50%  { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) * 0.35)); }
  100% { transform: translateY(0)     rotate(var(--rot, 0deg)); }
}

/* Card placement (overlapping, staggered cluster) */
.float-card-1 { top: 0;       left: 4%;  width: min(78%, 290px); z-index: 2; }
.float-card-2 { top: 38%;     right: 0;  width: min(72%, 264px); z-index: 1; }
.float-card-3 { bottom: 2%;   left: 0;   width: min(52%, 196px); z-index: 3; }

/* Card head */
.float-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.float-ico {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-gradient-soft);
  border: 0.5px solid var(--border-default);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  font-size: 1.1875rem;
}
.float-ico i {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.float-ico-sm { width: 36px; height: 36px; font-size: 1.0625rem; margin-bottom: 0.875rem; }

.float-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 0.5px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.float-pill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--status-success);
  box-shadow: 0 0 8px var(--status-success);
  animation: pulse 2s ease-in-out infinite;
}

.float-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}
.float-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0.375rem 0 0;
  line-height: 1.4;
}

/* Signal bars (card 1) */
.float-signal {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
  margin-top: 1rem;
}
.float-signal span {
  flex: 1;
  border-radius: 2px;
  background: var(--accent-gradient);
  opacity: 0.85;
  transform-origin: bottom;
  animation: signalPulse 1.8s ease-in-out infinite;
}
.float-signal span:nth-child(1) { height: 35%; animation-delay: 0s;    }
.float-signal span:nth-child(2) { height: 60%; animation-delay: 0.15s; }
.float-signal span:nth-child(3) { height: 90%; animation-delay: 0.3s;  }
.float-signal span:nth-child(4) { height: 70%; animation-delay: 0.45s; }
.float-signal span:nth-child(5) { height: 45%; animation-delay: 0.6s;  }
@keyframes signalPulse {
  0%, 100% { transform: scaleY(0.7); opacity: 0.55; }
  50%      { transform: scaleY(1);   opacity: 0.95; }
}

/* Consultation tag (card 2) */
.float-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  border: 0.5px solid var(--border-default);
  background: var(--accent-gradient-faint);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* Stat card (card 3) */
.float-card-3 .float-card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.float-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
  font-feature-settings: 'tnum';
}
.float-stat-label {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ---------- MARQUEE STRIP ---------- */
.marquee-strip {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  border-top: 0.5px solid var(--border-subtle);
  border-bottom: 0.5px solid var(--border-subtle);
  background: rgba(10, 10, 10, 0.4);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  animation: marqueeSlide 50s linear infinite;
  width: max-content;
  will-change: transform;
}
.marquee-group {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9375rem;
  border: 0.5px solid var(--border-default);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.3s var(--ease-out-quart), border-color 0.3s var(--ease-out-quart), background 0.3s var(--ease-out-quart);
}
.marquee-item:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}
.marquee-item i {
  font-size: 0.9375rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 0.375rem)); }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 0.5px solid var(--border-subtle);
  border-bottom: 0.5px solid var(--border-subtle);
  padding: 1.5rem 0;
}
/* Equal column heights so all 4 items stretch to the same size */
.trust-bar .row > [class*="col-"] { display: flex; }
.trust-bar .trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  letter-spacing: 0.005em;
  width: 100%;
  text-align: center;
}
.trust-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-gradient-soft);
  border: 0.5px solid rgba(56, 189, 248, 0.15);
  flex-shrink: 0;
}
.trust-ico i {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.8125rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 8rem 0;
  position: relative;
}

/* Centered section header (legacy) */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-header h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0.875rem 0 1rem;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Asymmetric editorial header */
.section-header-asym {
  text-align: left;
  max-width: 100%;
  margin: 0 0 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.section-header-asym h2 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  max-width: 22ch;
}
.section-header-asym p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
.section-header-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 0.5px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}
.section-header-index {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ---------- BENTO GRID (Leistungen) ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1rem;
}

.bento-card {
  position: relative;
  background: var(--surface);
  border: 0.5px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 2rem;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  grid-column: span 2;
  transition:
    transform 0.55s var(--ease-out-expo),
    border-color 0.4s var(--ease-out-quart),
    background 0.4s var(--ease-out-quart),
    box-shadow 0.5s var(--ease-out-quart);
}

/* Cursor spotlight overlay */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.10), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-quart);
  pointer-events: none;
  z-index: 1;
}
.bento-card > * { position: relative; z-index: 2; }
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-default);
  background: var(--surface-elevated);
  box-shadow: 0 24px 64px -28px rgba(0, 0, 0, 0.6);
}
.bento-card:hover::before { opacity: 1; }

/* Inner content layout */
.bento-card .icon-wrap {
  width: 44px; height: 44px;
  background: var(--accent-gradient-soft);
  border-radius: 12px;
  border: 0.5px solid rgba(56, 189, 248, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.5s var(--ease-out-expo);
}
.bento-card:hover .icon-wrap { transform: translateY(-2px) scale(1.04); }

.bento-card .icon-wrap i {
  font-size: 1.375rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.625rem;
  letter-spacing: -0.015em;
}

.bento-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.bento-card-body { display: flex; flex-direction: column; }

/* Feature card */
.bento-feature {
  grid-column: span 4;
  grid-row: span 2;
  padding: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.06), transparent 50%),
    var(--surface);
}
.bento-feature:hover {
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.10), transparent 50%),
    var(--surface-elevated);
}
.bento-feature .bento-feature-vis {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
}
.network-diagram { width: 92%; max-width: 440px; height: auto; }
.network-node circle:not(.network-pulse) {
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.55));
}
.network-hub circle:nth-child(3) { /* hub gradient fill */
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.8));
}
@keyframes netPulse {
  0%, 100% { transform: scale(1);   opacity: 0.5; }
  50%      { transform: scale(1.7); opacity: 0;   }
}
.network-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: netPulse 3.2s ease-in-out infinite;
}
.network-node[data-node="wan"]    .network-pulse { animation-delay: 0s; }
.network-node[data-node="client"] .network-pulse { animation-delay: 0.8s; }
.network-node[data-node="nas"]    .network-pulse { animation-delay: 1.6s; }
.network-hub .network-pulse { animation-delay: 0.4s; animation-duration: 2.8s; }
.network-flow circle { filter: drop-shadow(0 0 5px rgba(125, 211, 252, 0.9)); }

.bento-feature .bento-card-body {
  padding: 2rem;
  border-top: 0.5px solid var(--border-subtle);
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  align-self: flex-start;
  padding: 0.25rem 0.625rem;
  border: 0.5px solid var(--border-default);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  background: rgba(255,255,255,0.02);
}
.bento-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-light);
}

.bento-feature h3 { font-size: 1.5rem; }

/* ---------- PARTNER ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.partner-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 0.5px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.55s var(--ease-out-expo),
    border-color 0.4s var(--ease-out-quart),
    background 0.4s var(--ease-out-quart),
    box-shadow 0.5s var(--ease-out-quart);
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 50% 0%, rgba(56, 189, 248, 0.10), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-quart);
  pointer-events: none;
  z-index: 1;
}
.partner-card > * { position: relative; z-index: 2; }
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-default);
  background: var(--surface-elevated);
  box-shadow: 0 24px 64px -28px rgba(0, 0, 0, 0.6);
}
.partner-card:hover::before { opacity: 1; }

/* Logo container — distinct treatment per partner */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  border-bottom: 0.5px solid var(--border-subtle);
  min-height: 220px;
}

.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  /* Unified logo size across all partner cards (height-governed) */
  max-height: 90px;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out-expo);
}

.partner-card:hover .partner-logo img { transform: scale(1.03); }

/* Lenovo: official badge sits on its own light surface, presented like a credential */
.partner-card-lenovo .partner-logo {
  background:
    linear-gradient(180deg, #f8f8fb 0%, #eaeaef 100%);
  padding: 1.75rem;
}
.partner-card-lenovo .partner-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 0%, rgba(56, 189, 248, 0.06), transparent 70%);
  pointer-events: none;
}
.partner-card-lenovo .partner-logo img {
  border-radius: 8px;
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.35);
}

/* UniFi: white-on-dark wordmark — float on the surface with breathing room */
.partner-card-unifi .partner-logo {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(56, 189, 248, 0.08), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding: 2.5rem;
}
.partner-card-unifi .partner-logo img {
  filter: drop-shadow(0 0 32px rgba(56, 189, 248, 0.15));
}

.partner-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.25rem 0.625rem;
  border: 0.5px solid var(--border-default);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 1rem;
}
.partner-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-light);
}

.partner-card h3 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.625rem;
}

.partner-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 48ch;
}

/* ---------- About (editorial spread) ---------- */
.about-section { background: var(--bg-secondary); }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

/* Portrait — refined */
.about-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 0.5px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  display: block;
  transition: transform 1.4s var(--ease-out-expo);
  filter: saturate(0.95) contrast(1.02);
}
.about-visual:hover img { transform: scale(1.04); }

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 10, 10, 0.62) 100%);
  z-index: 1;
  pointer-events: none;
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35) 0%, transparent 35%, transparent 65%, rgba(37, 99, 235, 0.30) 100%);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.7;
  pointer-events: none;
}

/* Cinematic frame ticks */
.about-visual-frame {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 2;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: calc(var(--r-xl) - 8px);
}
.about-frame-tick {
  position: absolute;
  width: 12px; height: 12px;
  border-color: rgba(245, 245, 247, 0.85);
}
.about-frame-tick-tl { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; border-top-left-radius: 4px; }
.about-frame-tick-tr { top: -1px; right: -1px; border-top: 1px solid; border-right: 1px solid; border-top-right-radius: 4px; }
.about-frame-tick-bl { bottom: -1px; left: -1px; border-bottom: 1px solid; border-left: 1px solid; border-bottom-left-radius: 4px; }
.about-frame-tick-br { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; border-bottom-right-radius: 4px; }

.about-visual-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  color: #fff;
}
.about-visual-meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.about-visual-name {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* About text block */
.about-text .section-header-eyebrow { margin-bottom: 1.5rem; }

.about-text h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  font-weight: 600;
  line-height: 1.02;
}
.about-italic {
  font-style: italic;
  font-weight: 500;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 56ch;
}

.about-lead {
  font-size: 1.1875rem !important;
  color: var(--text-primary) !important;
  line-height: 1.55 !important;
  margin-bottom: 1.25rem !important;
}

.dropcap {
  float: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 0.85;
  padding: 0.2rem 0.6rem 0 0;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

/* Stats row — oversized editorial numerals */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 0.5px solid var(--border-subtle);
}
.stat .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: baseline;
}
.stat .stat-unit { font-size: 0.55em; padding-left: 0.05em; opacity: 0.9; }
.stat .stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ---------- PROZESS (sticky storyboard) ---------- */
.section-prozess { padding: 8rem 0; }

.prozess-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: flex-start;
}

.prozess-aside {
  position: sticky;
  top: 7rem;
  align-self: flex-start;
}
.prozess-aside h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0.875rem 0 1rem;
  line-height: 1.02;
}
.prozess-aside > p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.prozess-aside-meta {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border-subtle);
}
.prozess-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 0.5px solid var(--border-subtle);
}
.prozess-meta-item:last-child { border-bottom: none; padding-bottom: 0; }
.prozess-meta-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.prozess-meta-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.prozess-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.prozess-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 2rem;
  padding: 2.5rem 0;
  align-items: start;
}
.prozess-step:first-child { padding-top: 0; }
.prozess-step:last-child { padding-bottom: 0; }

.prozess-step-rule {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--border-default) 12%, var(--border-default) 88%, transparent);
}

.prozess-step-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.85;
  background: linear-gradient(180deg, #f5f5f7 0%, #6e6e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-feature-settings: 'tnum', 'ss01';
  transition: opacity 0.4s var(--ease-out-quart);
}
.prozess-step:hover .prozess-step-num {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prozess-step-body { padding-top: 0.625rem; }
.prozess-step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.625rem;
}
.prozess-step h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}
.prozess-step p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 52ch;
}

/* ---------- Contact ---------- */
.contact-section {
  text-align: left;
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.16), transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}
.contact-section .container { position: relative; }

.contact-frame {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 3rem;
  border: 0.5px solid var(--border-default);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%),
    rgba(14, 14, 18, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 32px 80px -28px rgba(0,0,0,0.55);
}
.contact-frame::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.12), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.contact-frame-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-frame-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.contact-section h2 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.contact-section p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 56ch;
  line-height: 1.55;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2.5rem;
  transition: opacity 0.3s var(--ease-out-quart);
  word-break: break-all;
}
.contact-email:hover { opacity: 0.85; }
.contact-email-prefix {
  background: var(--accent-gradient-soft);
  border-radius: 12px;
  padding: 0.5rem;
  display: inline-flex;
  border: 0.5px solid rgba(56, 189, 248, 0.18);
  flex-shrink: 0;
}
.contact-email-prefix i {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.125rem;
}

.contact-cta-row {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-footnote {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.contact-footnote-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-light);
}

/* ---------- Footer ---------- */
.footer {
  background: #050505;
  border-top: 0.5px solid var(--border-subtle);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 0.5px solid var(--border-subtle);
}
.footer .brand-block {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}
.footer .brand-block img { height: 32px; width: 32px; display: block; }
.footer .brand-block .brand-text-sr { font-weight: 500; font-size: 1rem; color: var(--text-primary); }
.footer .brand-name { font-weight: 500; font-size: 1rem; }
.footer .footer-tagline { color: var(--text-tertiary); font-size: 0.875rem; line-height: 1.5; max-width: 320px; }
.footer h5 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.625rem; }
.footer ul a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease-out-quart);
}
.footer ul a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ---------- Legal Pages (Impressum/Datenschutz) ---------- */
.legal-hero {
  padding: 8rem 0 4rem;
  border-bottom: 0.5px solid var(--border-subtle);
}
.legal-hero .eyebrow { margin-bottom: 0.875rem; }
.legal-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  font-weight: 600;
}
.legal-content {
  padding: 5rem 0 7rem;
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border-subtle);
}
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin: 1.75rem 0 0.625rem;
  color: var(--text-primary);
}
.legal-content p, .legal-content li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.875rem;
}
.legal-content strong { color: var(--text-primary); font-weight: 500; }
.legal-content a {
  color: var(--accent-mid);
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
  transition: opacity 0.2s var(--ease-out-quart);
}
.legal-content a:hover { opacity: 0.7; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }

/* ---------- Reveal Animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero text staggered */
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.hero.loaded h1 .word { opacity: 1; transform: translateY(0); }
.hero.loaded h1 .word:nth-child(1) { transition-delay: 0.1s; }
.hero.loaded h1 .word:nth-child(2) { transition-delay: 0.2s; }
.hero.loaded h1 .word:nth-child(3) { transition-delay: 0.3s; }
.hero.loaded h1 .word:nth-child(4) { transition-delay: 0.4s; }
.hero.loaded h1 .word:nth-child(5) { transition-delay: 0.5s; }

.hero .status-badge,
.hero-subtitle,
.hero-cta-row,
.hero-proof {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.hero.loaded .status-badge   { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.hero.loaded .hero-subtitle  { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.hero.loaded .hero-cta-row   { opacity: 1; transform: translateY(0); transition-delay: 0.75s; }
.hero.loaded .hero-proof     { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }

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

/* ---- Tablet & below (≤991.98px) ---- */
@media (max-width: 991.98px) {
  /* Section spacing */
  .section, .section-prozess, .contact-section { padding: 5rem 0; }
  .section-header { margin-bottom: 3rem; }
  .section-header-asym { margin-bottom: 2.5rem; }

  /* Navbar collapse */
  .navbar-collapse {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 1rem -0.75rem -0.5rem;
    padding: 1rem 1.5rem 1.5rem;
    border-radius: 0 0 16px 16px;
    border-top: 0.5px solid var(--border-subtle);
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
    border-bottom: 0.5px solid var(--border-subtle);
  }
  .navbar-nav .nav-link:last-of-type { border-bottom: none; }
  .navbar-nav .nav-link::after { display: none; }
  .navbar .btn-primary-custom {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 3.75rem); margin: 1.25rem 0; }
  .hero-content { text-align: left; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
  .hero-scroll-cue { display: none; }
  .status-badge { font-size: 0.75rem; padding: 0.3125rem 0.75rem; }

  /* Floating cards: switch from overlapping cluster to a calm stacked column */
  .hero-proof { margin-top: 2rem; }
  .hero-cards {
    min-height: 0;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .hero-cards-glow { inset: -6% 0; animation: none; }
  .float-card {
    position: static;
    width: 100% !important;
    transform: none !important;
  }
  .float-card-inner { animation: none; }
  .float-card-1, .float-card-2, .float-card-3 { --rot: 0deg; }

  /* Marquee — smaller pills */
  .marquee-strip { padding: 0.875rem 0; }
  .marquee-track { gap: 0.625rem; }
  .marquee-group { gap: 0.625rem; }
  .marquee-item { padding: 0.4375rem 0.75rem; font-size: 0.75rem; }
  .marquee-item i { font-size: 0.875rem; }

  /* Trust bar tablet/desktop fall-back tightening (4 in a row at md+) */
  .trust-bar { padding: 1.25rem 0; }
  .trust-bar .trust-item { font-size: 0.75rem; gap: 0.5rem; }
  .trust-ico { width: 24px; height: 24px; }

  /* Section header asym */
  .section-header-asym h2 { font-size: clamp(2rem, 7vw, 2.75rem); }
  .section-header-asym p { font-size: 1rem; }

  /* Bento: 2 columns, feature spans both */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 0.875rem;
  }
  .bento-card { grid-column: span 1; min-height: 200px; padding: 1.75rem; }
  .bento-card h3 { font-size: 1.125rem; }
  .bento-card p { font-size: 0.875rem; }
  .bento-feature { grid-column: span 2; grid-row: span 1; }
  .bento-feature .bento-feature-vis { min-height: 220px; }
  .bento-feature .bento-card-body { padding: 1.75rem; }
  .bento-feature h3 { font-size: 1.375rem; }

  /* Partner */
  .partner-grid { grid-template-columns: 1fr; gap: 0.875rem; }
  .partner-logo { min-height: 160px; padding: 1.5rem; }
  .partner-logo img { max-height: 76px; }
  .partner-body { padding: 1.75rem; }
  .partner-card h3 { font-size: 1.25rem; }
  .partner-card p { font-size: 0.875rem; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-visual { max-width: 380px; margin: 0 auto; width: 100%; }
  .about-text h2 br { display: none; }
  .about-text h2 { font-size: clamp(2rem, 7vw, 2.75rem); margin-bottom: 1.5rem; }
  .about-text p { font-size: 0.9375rem; line-height: 1.65; }
  .about-lead { font-size: 1.0625rem !important; }
  .dropcap { font-size: 2.75rem; padding: 0.15rem 0.5rem 0 0; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 2rem; margin-top: 2rem; }
  .stat .stat-value { font-size: clamp(1.875rem, 7vw, 2.5rem); }

  /* Process */
  .prozess-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .prozess-aside { position: static; top: auto; }
  .prozess-aside h2 br { display: none; }
  .prozess-aside h2 { font-size: clamp(2rem, 7vw, 2.75rem); }
  .prozess-aside > p { font-size: 1rem; margin-bottom: 2rem; }
  .prozess-step { grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.75rem 0; }
  .prozess-step:first-child { padding-top: 0.5rem; }
  .prozess-step-num { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .prozess-step h3 { font-size: 1.125rem; }
  .prozess-step p { font-size: 0.9375rem; }

  /* Contact */
  .contact-section { padding: 6rem 0; }
  .contact-frame { padding: 2rem; }
  .contact-frame-meta { margin-bottom: 2rem; }
  .contact-section h2 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .contact-section p { font-size: 1rem; margin-bottom: 2rem; }
  .contact-email { font-size: clamp(1.0625rem, 4.5vw, 1.5rem); margin-bottom: 2rem; gap: 0.5rem; }
  .contact-email-prefix { padding: 0.4375rem; }
  .contact-cta-row { margin-bottom: 2rem; gap: 0.75rem; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ---- Trust bar 2-per-row range (≤767.98px = Bootstrap md break) ---- */
@media (max-width: 767.98px) {
  .trust-bar { padding: 1.5rem 0; }
  .trust-bar .row { row-gap: 1rem !important; }
  .trust-bar .trust-item {
    flex-direction: column;
    gap: 0.625rem;
    justify-content: center;
    min-height: 72px;
    padding: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .trust-ico { width: 32px; height: 32px; border-radius: 9px; }
  .trust-ico i { font-size: 0.9375rem; }
}

/* ---- Phone (≤575.98px) ---- */
@media (max-width: 575.98px) {
  .section, .section-prozess, .contact-section { padding: 4rem 0; }

  /* Hero status badge — allow graceful wrap with longer German text */
  .status-badge {
    align-items: flex-start;
    border-radius: 14px;
    line-height: 1.4;
    max-width: 100%;
  }
  .status-badge .status-dot { margin-top: 0.4375rem; flex-shrink: 0; }

  /* Hero CTAs stack */
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn-gradient,
  .hero-cta-row .btn-ghost { justify-content: center; width: 100%; }

  /* Hero proof — tighter gaps, allow wrap */
  .hero-proof { margin-top: 1.75rem; gap: 0.625rem; }
  .hero-proof-row { gap: 0.875rem; }
  .hero-proof-logo { height: 22px; }
  .hero-proof-logo-unifi { height: 18px; }
  .hero-proof-div { height: 18px; }
  .hero-proof-text { font-size: 0.75rem; }

  /* Trust bar — text-size tightening on phone (vertical layout inherited) */
  .trust-ico i { font-size: 0.875rem; }

  /* Floating cards — tighter padding on phone */
  .float-card-inner { padding: 1.125rem 1.25rem; }
  .float-stat-value { font-size: 1.75rem; }

  /* Bento: single column */
  .bento-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .bento-card, .bento-feature { grid-column: span 1; }
  .bento-card { padding: 1.5rem; min-height: 180px; }
  .bento-feature .bento-card-body { padding: 1.5rem; }
  .bento-feature .bento-feature-vis { min-height: 200px; }
  .bento-card h3 { font-size: 1.125rem; }
  .bento-feature h3 { font-size: 1.25rem; }

  /* Partner cards */
  .partner-grid { gap: 0.75rem; }
  .partner-logo { min-height: 140px; padding: 1.25rem; }
  .partner-logo img { max-height: 64px; }
  .partner-body { padding: 1.5rem; }
  .partner-card h3 { font-size: 1.125rem; }

  /* Trust bar — smaller text on tiny phones (layout already vertical from 767 break) */
  .trust-bar .trust-item { font-size: 0.6875rem; min-height: 68px; }
  .trust-ico { width: 30px; height: 30px; }

  /* Marquee — even smaller on phone */
  .marquee-item { padding: 0.375rem 0.625rem; font-size: 0.6875rem; }
  .marquee-item i { font-size: 0.8125rem; }

  /* About */
  .about-text h2 { margin-bottom: 1.25rem; }
  .dropcap { font-size: 2.25rem; padding: 0.1rem 0.45rem 0 0; }
  .stats-row { gap: 0.5rem; padding-top: 1.75rem; margin-top: 1.75rem; }
  .stat .stat-value { font-size: 1.625rem; }
  .stat .stat-label { font-size: 0.625rem; letter-spacing: 0.12em; }

  /* Process */
  .prozess-step { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
  .prozess-step:first-child { padding-top: 0; }
  .prozess-step-num { font-size: 2.5rem; }
  .prozess-step-body { padding-top: 0; }
  .prozess-aside-meta { padding-top: 1.25rem; }

  /* Contact */
  .contact-frame { padding: 1.5rem; border-radius: 22px; }
  .contact-frame-meta { flex-direction: column; align-items: flex-start; gap: 0.625rem; }
  .contact-section h2 { line-height: 1.05; }
  .contact-cta-row .btn-gradient,
  .contact-cta-row .btn-ghost { width: 100%; justify-content: center; }
  .contact-email { word-break: break-word; overflow-wrap: anywhere; }
  .contact-footnote { font-size: 0.625rem; letter-spacing: 0.12em; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div:first-child { grid-column: span 1; }
}

/* ---- Extra-small (≤375px) ---- */
@media (max-width: 375px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding: 6.5rem 0 3rem; }
  .hero h1 { font-size: 2rem; letter-spacing: -0.035em; }
  .hero-subtitle { font-size: 0.9375rem; }

  .float-card-inner { padding: 1rem 1.125rem; }

  .bento-card { padding: 1.25rem; }
  .bento-feature .bento-card-body { padding: 1.25rem; }
  .partner-logo { padding: 1rem; }
  .partner-body { padding: 1.25rem; }

  /* Trust bar: keep 2 cols (Bootstrap col-6) — no override */
  .stats-row { gap: 0.4375rem; }
  .stat .stat-value { font-size: 1.375rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .hero h1 .word,
  .hero .status-badge, .hero-subtitle, .hero-cta-row, .hero-proof,
  .float-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-track { animation: none !important; }
  .hero-scroll-cue { display: none; }
  .float-card-inner, .hero-cards-glow, .float-signal span { animation: none !important; }
}
