/* ============================================================
   Mahlich GmbH — Startseite v2 · "Premium" (Apple WWDC / OneText)
   Dunkler Glow-Hero + hellerer, luftiger Body
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

:root {
  /* light body palette (cool, premium, a touch of blue) */
  --bg: oklch(0.974 0.008 258);
  --surface: oklch(0.998 0.002 258);
  --surface-2: oklch(0.952 0.012 258);
  --ink: oklch(0.215 0.045 266);
  --ink-soft: oklch(0.46 0.03 263);
  --line: oklch(0.905 0.013 258);
  --line-soft: oklch(0.93 0.01 258);

  --brand: #02027d;
  --brand-bright: oklch(0.55 0.19 264);
  --accent: var(--brand);

  /* dark hero palette */
  --hero-1: oklch(0.255 0.075 268);
  --hero-2: oklch(0.165 0.055 267);
  --hero-3: oklch(0.115 0.04 266);
  --glow: 255, 240, 214;      /* warm white (WWDC) */
  --glow-2: 120, 180, 255;    /* cool blue accent */

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --radius-sm: 14px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* accent overrides (tweak) */
[data-accent="hellblau"] { --accent: oklch(0.55 0.19 264); }
[data-accent="cyan"]     { --accent: oklch(0.62 0.12 210); }
[data-accent="markenblau"] { --accent: #02027d; }

/* glow color (tweak) */
[data-glow="kuehl"]    { --glow: 150, 195, 255; }
[data-glow="neutral"]  { --glow: 244, 246, 252; }

[data-corners="weich"] { --radius: 30px; --radius-sm: 18px; }
[data-corners="standard"] { --radius: 14px; --radius-sm: 10px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.7em;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.5em; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { display: grid; place-items: center; width: 1.55em; height: 1.55em; border-radius: 50%; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(2px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px -12px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn-primary .arrow { background: rgba(255,255,255,0.2); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px color-mix(in oklab, var(--accent) 75%, transparent); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light .arrow { background: color-mix(in oklab, var(--brand) 14%, #fff); color: var(--brand); }
.btn-ghost-d { color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn-ghost-d:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---- Apple "Liquid Glass" buttons ---- */
.btn-glass {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0.14));
  border: 1px solid rgba(255,255,255,0.28);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -8px 18px -10px rgba(255,255,255,0.25),
    0 10px 28px -10px rgba(0,0,0,0.5);
}
.btn-glass::before { /* specular sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.10) 30%, rgba(255,255,255,0) 52%);
  opacity: 0.85;
}
.btn-glass .arrow { background: rgba(255,255,255,0.28); color: #fff; }
.btn-glass:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.14));
  border-color: rgba(255,255,255,0.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -8px 18px -10px rgba(255,255,255,0.3),
    0 16px 38px -10px rgba(0,0,0,0.55);
}

/* brand-tinted glass for light backgrounds (reappearing header) */
.btn-glass-brand {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 56%, transparent), color-mix(in oklab, var(--brand) 34%, transparent));
  border: 1px solid color-mix(in oklab, var(--brand) 22%, rgba(255,255,255,0.75));
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  text-shadow: 0 1px 2px rgba(2,2,60,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -6px 14px -8px rgba(255,255,255,0.4),
    0 10px 26px -12px color-mix(in oklab, var(--brand) 55%, transparent);
}
.btn-glass-brand::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.18) 28%, rgba(255,255,255,0) 50%);
  opacity: 0.9;
}
.btn-glass-brand .arrow { background: rgba(255,255,255,0.3); color: #fff; }
.btn-glass-brand:hover {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 66%, transparent), color-mix(in oklab, var(--brand) 44%, transparent));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 16px 34px -12px color-mix(in oklab, var(--brand) 60%, transparent);
}

/* Fallback: Glas-Look bleibt sichtbar, auch wenn der Browser backdrop-filter
   nicht unterstützt oder nicht rendert (ältere Browser, ohne GPU-Beschleunigung,
   manche Server-/Remote-Umgebungen) */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .btn-glass { background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.18)); }
  .btn-glass:hover { background: linear-gradient(180deg, rgba(255,255,255,0.44), rgba(255,255,255,0.24)); }
  .btn-glass-brand { background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 88%, transparent), color-mix(in oklab, var(--brand) 68%, transparent)); }
  .fernwartung { background: linear-gradient(180deg, rgba(46,60,128,0.94), rgba(28,38,92,0.94)); }
  .site-nav { background: rgba(255,255,255,0.97); }
}

/* ============================================================
   HERO (dark, glow)
   ============================================================ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--hero-1), transparent 60%),
    linear-gradient(180deg, var(--hero-2) 0%, var(--hero-3) 100%);
  color: #fff;
  padding-top: 24px;
  padding-bottom: clamp(48px, 7vh, 96px);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
/* warm light bloom */
.hero .bloom {
  position: absolute; z-index: -1; left: 50%; top: clamp(150px, 21vh, 290px);
  width: min(740px, 92vw); height: 360px; transform: translateX(-50%);
  background:
    radial-gradient(ellipse 34% 44% at 57% 46%, rgba(var(--glow), 1) 0%, rgba(var(--glow), 0.5) 24%, rgba(var(--glow), 0.16) 46%, transparent 66%),
    radial-gradient(circle at 67% 40%, rgba(var(--glow), 0.42), transparent 56%);
  filter: blur(26px); opacity: 0.95; pointer-events: none;
}
.hero .bloom-2 {
  position: absolute; z-index: -1; right: -8%; top: 8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(var(--glow-2), 0.40), transparent 62%);
  filter: blur(50px); pointer-events: none;
}
/* single server rack in the background left, with precisely-placed blinking LEDs */
.hero-server {
  position: absolute; z-index: -1; pointer-events: none;
  left: clamp(-440px, -20vw, -240px); bottom: clamp(-150px, -9vh, -70px);
  height: min(108%, 940px); aspect-ratio: 1000 / 1245;
}
.hero-server-img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: bottom left;
  filter: blur(2.4px) brightness(0.92) contrast(1.02);
  opacity: 0.34;
  -webkit-mask-image: radial-gradient(120% 100% at 42% 50%, #000 48%, rgba(0,0,0,0.55) 70%, transparent 90%);
  mask-image: radial-gradient(120% 100% at 42% 50%, #000 48%, rgba(0,0,0,0.55) 70%, transparent 90%);
}
/* blinking mini status LEDs (green + blue), softly blurred, random flicker */
.hero-leds { position: absolute; inset: 0; }
.led {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  filter: blur(1px);
  opacity: 0; animation: led-blink var(--dur, 3s) ease-in-out infinite; animation-delay: var(--d);
}
.led.g { background: #5dffa0; box-shadow: 0 0 6px 1.5px rgba(93,255,160,0.9), 0 0 13px 3px rgba(93,255,160,0.4); }
.led.b { background: #6bb6ff; box-shadow: 0 0 6px 1.5px rgba(107,182,255,0.95), 0 0 13px 3px rgba(107,182,255,0.45); }
@keyframes led-blink {
  0%   { opacity: 0.12; }
  12%  { opacity: 0.95; }
  22%  { opacity: 0.30; }
  34%  { opacity: 0.80; }
  46%  { opacity: 0.16; }
  60%  { opacity: 0.65; }
  72%  { opacity: 0.22; }
  100% { opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) { .led { animation: none; opacity: 0.6; } }
@media (max-width: 760px) { .hero-server-img { opacity: 0.2; } .led { width: 4px; height: 4px; } }
/* persistent Fernwartung (remote-support) button */
.fernwartung {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px; border-radius: var(--r-pill);
  position: fixed;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.13));
  border: 1px solid rgba(255,255,255,0.28);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  overflow: hidden; isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 14px 34px -10px rgba(0,0,0,0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.fernwartung::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0) 54%);
  opacity: 0.8;
}
.fernwartung:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 20px 44px -12px rgba(0,0,0,0.55); }
.fernwartung.hide { opacity: 0; transform: translateY(14px) scale(0.96); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.fernwartung .fw-ic {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: color-mix(in oklab, var(--brand) 78%, transparent);
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
}
.fernwartung .fw-ic::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand) 55%, transparent);
  animation: fw-pulse 2.6s var(--ease) infinite;
}
@keyframes fw-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand) 50%, transparent); }
  70% { box-shadow: 0 0 0 12px rgba(2,2,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(2,2,125,0); }
}
.fernwartung .fw-ic svg { width: 20px; height: 20px; }
.fernwartung .fw-tx { display: flex; flex-direction: column; line-height: 1.15; }
.fernwartung .fw-tx b { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.fernwartung .fw-tx small { font-size: 0.74rem; color: rgba(255,255,255,0.75); }
@media (prefers-reduced-motion: reduce) { .fernwartung .fw-ic::after { animation: none; } }
@media (max-width: 600px) {
  .fernwartung { right: 14px; bottom: 14px; padding: 10px; gap: 0; }
  .fernwartung .fw-tx { display: none; }
}

/* faint top grid */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.4; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(110% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* nav */
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav .brand { flex-shrink: 0; }
.nav .brand img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 8px; margin-inline: auto; }
.nav-links a { font-size: 0.95rem; white-space: nowrap; color: rgba(255,255,255,0.74); padding: 9px 16px; border-radius: var(--r-pill); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-right .login { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.nav-right .login:hover { color: #fff; }
@media (max-width: 920px) { .nav-links { display: none; } .nav-right .login { display: none; } }

/* reappearing floating glass pill header (slides in after the intro sequence) */
.site-nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 60;
  padding-inline: var(--pad);
  transform: translateY(-180%); transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.site-nav.show { transform: translateY(0); }
.site-nav .wrap {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px; height: 62px;
  max-width: 1120px; margin: 0 auto; padding-inline: 14px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.5));
  border: 1px solid rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -10px 22px -12px rgba(255,255,255,0.6),
    0 18px 44px -16px rgba(2,2,60,0.34),
    0 2px 8px -4px rgba(2,2,60,0.2);
  position: relative; isolation: isolate; overflow: hidden;
}
.site-nav .wrap::before { /* specular sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 26%, rgba(255,255,255,0) 46%);
  opacity: 0.8;
}
.site-nav .brand { flex-shrink: 0; cursor: pointer; padding-left: 6px; }
.site-nav .brand img { height: 26px; width: auto; display: block; }
.site-nav-links { display: flex; gap: 4px; margin-inline: auto; }
.site-nav-links a { font-size: 0.94rem; white-space: nowrap; color: var(--ink-soft); padding: 9px 14px; border-radius: var(--r-pill); transition: color 0.2s, background 0.2s; }
.site-nav-links a:hover { color: var(--accent); background: var(--surface-2); }
.site-nav-right { display: flex; align-items: center; gap: 18px; }
.site-nav-right .login { font-size: 0.94rem; color: var(--ink); white-space: nowrap; }
.site-nav-right .login:hover { color: var(--accent); }
.site-nav .btn { padding: 0.6em 1.05em; font-size: 0.92rem; }
@media (max-width: 920px) { .site-nav-links, .site-nav-right .login { display: none; } }

/* hero content */
.hero-content { text-align: center; max-width: 940px; margin: auto; position: relative; z-index: 2; }

.hero .eyebrow { color: rgba(255,255,255,0.62); }
.hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: oklch(0.78 0.18 150); box-shadow: 0 0 0 0 rgba(60, 210, 130, 0.55); animation: pulse-live 2.4s var(--ease) infinite; }
@media (prefers-reduced-motion: reduce) { .hero .eyebrow::before { animation: none; } }
@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(60, 210, 130, 0.5); }
  60% { box-shadow: 0 0 0 7px rgba(60, 210, 130, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 210, 130, 0); }
}
.hero h1 { font-size: clamp(2.7rem, 7.6vw, 6rem); font-weight: 600; letter-spacing: -0.035em; margin-top: 22px; line-height: 0.98; }
.hero h1 .line2 { display: block; position: relative; }

/* chrome metallic text — directional light from the right (Apple WWDC) */
.chrome {
  background: linear-gradient(101deg,
    #6e7791 0%,
    #9aa3b8 24%,
    #d6dbe7 46%,
    #ffffff 66%,
    #fff4e2 82%,
    #ffd6a3 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(20,24,42,0.55))
    drop-shadow(0 2px 0 rgba(20,24,42,0.45))
    drop-shadow(0 3px 2px rgba(0,0,12,0.4))
    drop-shadow(0 0 30px rgba(255,226,182,0.5));
  padding-right: 0.08em;
}
.hero .sub { font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: rgba(255,255,255,0.76); margin: 28px auto 0; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.hero-trust { margin-top: 30px; font-size: 0.85rem; color: rgba(255,255,255,0.5); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* showcase image bridging dark -> light */
/* showcase: full-screen scroll-scrubbed intro video (sticky stage) */
.showcase {
  position: relative; z-index: 1;
  height: 400vh;
  background: var(--hero-3);
}
.showcase-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.showcase-frame { position: absolute; inset: 0; }
.showcase-frame canvas { width: 100%; height: 100%; display: block; }
/* seamless dark entry + light exit overlays (opacity driven by scroll JS) */
.showcase-in  { position: absolute; inset: 0; pointer-events: none; background: var(--hero-3); }
.showcase-out { position: absolute; inset: 0; pointer-events: none; background: oklch(0.262 0.078 268); opacity: 0; }

/* scroll-synced captions over the intro video */
.sc-captions { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.sc-cap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(900px, 86vw); text-align: center; padding: 0 20px; opacity: 0;
  will-change: opacity, transform;
}
.sc-cap::before {
  content: ""; position: absolute; inset: -60% -20%; z-index: -1;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(2,2,28,0.6), transparent 70%);
  filter: blur(22px);
}
.sc-cap .k { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; opacity: 0.82; }
.sc-cap h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.7rem); margin-top: 14px; letter-spacing: -0.02em; text-shadow: 0 2px 34px rgba(0,0,20,0.55); }
.sc-cap p { color: rgba(255,255,255,0.92); font-size: clamp(1rem, 1.5vw, 1.28rem); margin-top: 16px; text-shadow: 0 2px 22px rgba(0,0,20,0.5); }

/* ============================================================
   LOGO / TRUST STRIP (light)
   ============================================================ */
.logos { padding-block: clamp(48px, 6vw, 72px) 0; }
.logos .lbl { text-align: center; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 30px; margin-top: 26px; }
.logos-row .chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.logos-row .chip svg { width: 18px; height: 18px; color: var(--accent); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding-block: clamp(64px, 9vw, 130px); }
.section-head { max-width: 60ch; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head .eyebrow { color: var(--accent); }
.section-head .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-top: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; margin-top: 18px; }

/* ============================================================
   HIGHLIGHTS (image tiles)
   ============================================================ */
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .highlight-grid { grid-template-columns: 1fr; } }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 30px 60px -34px rgba(2,2,60,0.4); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile .ov { position: absolute; inset: 0; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(4,4,30,0.9) 0%, rgba(4,4,30,0.32) 46%, transparent 74%); }
.tile .ov .kk { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.tile .ov h3 { color: #fff; font-size: clamp(1.4rem, 2.1vw, 1.9rem); margin-top: 10px; }
.tile .ov p { color: rgba(255,255,255,0.85); font-size: 0.97rem; margin-top: 10px; max-width: 36ch; }

/* ============================================================
   LEISTUNGEN CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(2,2,60,0.32); border-color: var(--line-soft); }
.card .ic { width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 16%, #fff), color-mix(in oklab, var(--accent) 6%, #fff));
  border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line)); color: var(--accent); }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { font-size: 0.97rem; color: var(--ink-soft); }
.card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.card .more .arrow { transition: transform 0.25s var(--ease); }
.card:hover .more .arrow { transform: translateX(3px); }

/* ============================================================
   WHY (split, light)  + photo
   ============================================================ */
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .why-inner { grid-template-columns: 1fr; } }
.why-photo { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; box-shadow: 0 40px 80px -40px rgba(2,2,60,0.4); }
.quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; }
.quote-cite { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); margin-top: 16px; letter-spacing: 0.05em; }
.why-list { display: grid; gap: 4px; margin-top: 28px; }
.why-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.why-list li > :last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.why-list .tick { width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 2px;
  background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); display: grid; place-items: center; }
.why-list .tick svg { width: 14px; height: 14px; }
.why-list b { font-weight: 700; font-size: 1.04rem; }
.why-list span { color: var(--ink-soft); font-size: 0.93rem; }

/* ============================================================
   TOPICS
   ============================================================ */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .topics { grid-template-columns: 1fr; } }
.topic { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface);
  display: flex; flex-direction: column; gap: 10px; min-height: 190px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.topic:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -32px rgba(2,2,60,0.3); }
.topic .tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.topic h3 { font-size: 1.2rem; margin-top: auto; }
.topic p { font-size: 0.92rem; color: var(--ink-soft); }

/* ============================================================
   CTA (dark, glow echo)
   ============================================================ */
.cta { padding-block: clamp(40px, 6vw, 80px); }
.cta-box {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: calc(var(--radius) * 1.3);
  background: radial-gradient(120% 120% at 50% -20%, var(--hero-1), transparent 55%), linear-gradient(160deg, var(--hero-2), var(--hero-3));
  color: #fff; text-align: center; padding: clamp(48px, 7vw, 92px) clamp(28px, 5vw, 80px);
}
.cta-box .bloom { position: absolute; z-index: -1; left: 50%; top: -30%; width: 70%; height: 360px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(var(--glow),0.7), transparent 64%); filter: blur(40px); }
.cta-box h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-box p { color: rgba(255,255,255,0.78); margin: 18px auto 0; max-width: 46ch; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.cta-phone { display: block; font-family: var(--font-mono); font-size: 1.35rem; margin-top: 26px; color: #fff; }

/* ============================================================
   FOOTER (light)
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 34px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-about img { height: 28px; }
.foot-about p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 16px; max-width: 34ch; }
.foot-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; font-weight: 500; }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { color: var(--ink-soft); font-size: 0.95rem; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); }
.foot-bottom p, .foot-bottom a { font-size: 0.84rem; color: var(--ink-soft); }
.foot-legal { display: flex; gap: 22px; }

/* ============================================================
   ENTRANCE
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .hero h1, .hero .eyebrow, .hero .sub, .hero-actions, .hero-trust { animation: rise 0.9s var(--ease) backwards; }
  .hero .eyebrow { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.14s; }
  .hero .sub { animation-delay: 0.28s; }
  .hero-actions { animation-delay: 0.4s; }
  .hero-trust { animation-delay: 0.5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
}
