/* ==========================================================================
   InfraQ: Design System & Styles
   Stack: reines CSS, kein Framework
   ========================================================================== */

/* ---------- Fonts (lokal) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design Tokens ---------- */
:root {
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --bg-void: #07080c;
  --bg-dark: #0b0d12;
  --bg-elevated: #12151c;
  --bg-panel: #161922;
  --bg-light: #eef0f4;
  --bg-soft: #f5f6f8;
  --bg-white: #ffffff;

  --text: #f4f5f7;
  --text-muted: #b4bac8;
  --text-faint: #6b7280;
  --text-on-dark: #c8ced9;
  --link-on-dark: #9bb4ff;
  --link-on-dark-hover: #b8c9ff;
  --text-dark: #0c0e14;
  --text-body: #3d4450;
  --text-soft: #5c6573;

  --accent: #3b6af5;
  --accent-hover: #2f5ae0;
  --accent-soft: rgba(59, 106, 245, 0.18);
  --accent-glow: rgba(59, 106, 245, 0.35);

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(12, 14, 20, 0.08);

  --card-violet: linear-gradient(160deg, #2a1f4a 0%, #1a1530 45%, #12101f 100%);
  --card-cyan: linear-gradient(160deg, #b8f0ea 0%, #7edcd4 100%);
  --card-lavender: #e4e0f5;
  --card-mint: #d8efe8;
  --card-sky: #d6e8f7;
  --card-sand: #ebe6df;
  --card-slate: #dde2ea;

  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 40px rgba(8, 10, 20, 0.08);

  --container: 1120px;
  --container-wide: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.5rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
  --dur-fast: 0.2s;

  --focus: 0 0 0 3px rgba(59, 106, 245, 0.45);
  --progress-gradient: linear-gradient(90deg, #7edcd4 0%, #5ac8ff 45%, #3b6af5 100%);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-void);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

address {
  font-style: normal;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - var(--gutter) * 2, var(--container-wide));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

.section-sm {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text-dark);
  max-width: 18ch;
}

.section-title.is-light {
  color: var(--text);
}

.section-lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-soft);
  max-width: 42ch;
  line-height: 1.65;
}

.section-lead.is-light {
  color: var(--text-on-dark);
}

.content-dark .eyebrow,
.stack .eyebrow,
.region .eyebrow,
.references .eyebrow,
.page-hero .eyebrow {
  color: var(--text-muted);
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}

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

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(12, 14, 20, 0.2);
}
.btn-ghost-dark:hover {
  background: rgba(12, 14, 20, 0.05);
}

.btn-dark {
  background: var(--text-dark);
  color: #fff;
}
.btn-dark:hover {
  background: #1a1d28;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-group--center {
  justify-content: center;
}

.section-title--wide {
  max-width: 28ch;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 110;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__bar {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: var(--progress-gradient);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress__bar {
    transition: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(100% - var(--gutter) * 2, var(--container-wide));
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  z-index: 2;
  line-height: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: 2.35rem;
  max-width: min(48vw, 12rem);
  object-fit: contain;
}

.logo-footer .logo-img {
  height: 2.75rem;
  max-width: 13.5rem;
}

.nav-desktop {
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-chevron {
  opacity: 0.7;
  transition: transform var(--dur-fast) var(--ease);
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Mega menu */
.has-mega {
  position: static;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: calc(var(--header-h) - 0.25rem);
  transform: translateX(-50%) translateY(8px);
  width: min(calc(100vw - 2rem), 1080px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 120;
}

.mega-menu[hidden] {
  display: none;
}

.mega-menu.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-inner {
  background: rgba(18, 21, 28, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
}

.mega-cols {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.1fr 0.9fr;
  gap: 0.5rem 1rem;
}

.mega-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.mega-link {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}

.mega-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mega-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

.mega-link strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.15rem;
}

.mega-link span span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.mega-aside {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mega-aside-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mega-aside-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: auto;
  transition: color var(--dur-fast) var(--ease);
}
.mega-aside-link:hover {
  color: #fff;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: rgba(7, 8, 12, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem var(--gutter) 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-inner nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 2rem;
}

.mobile-nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 1.25rem 0 0.35rem;
  padding-left: 0.25rem;
}

.mobile-nav-label:first-child {
  margin-top: 0;
}

.mobile-nav-inner a:not(.btn) {
  display: block;
  padding: 0.85rem 0.25rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
  color: #fff;
}

.mobile-nav-inner a[aria-current="page"] {
  color: var(--accent);
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(160, 195, 240, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(120, 190, 220, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 45% 38% at 8% 75%, rgba(130, 170, 220, 0.14) 0%, transparent 55%),
    linear-gradient(175deg, #456892 0%, #3a5a82 32%, #314e72 68%, #2a4466 100%);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero.is-network-ready .hero-network {
  opacity: 0.28;
}

.hero-glow {
  position: absolute;
  top: -12%;
  left: 50%;
  width: min(900px, 120vw);
  height: 58vh;
  margin-left: calc(min(900px, 120vw) / -2);
  background: radial-gradient(ellipse at center, rgba(130, 175, 235, 0.26) 0%, rgba(100, 150, 210, 0.1) 45%, transparent 72%);
  animation: hero-glow-breathe 9s ease-in-out infinite;
}

.hero-glow--secondary {
  top: auto;
  bottom: -24%;
  left: 18%;
  transform: none;
  width: min(480px, 65vw);
  height: 40vh;
  background: radial-gradient(ellipse at center, rgba(90, 190, 210, 0.14) 0%, transparent 70%);
  animation-name: hero-glow-breathe-free;
  animation-delay: -3s;
  animation-duration: 11s;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: hero-orb-drift 18s ease-in-out infinite;
}

.hero-orb--a {
  width: min(300px, 38vw);
  height: min(300px, 38vw);
  top: 22%;
  right: 4%;
  background: radial-gradient(circle, rgba(110, 160, 230, 0.42) 0%, rgba(110, 160, 230, 0.12) 42%, transparent 70%);
}

.hero-orb--b {
  width: min(240px, 32vw);
  height: min(240px, 32vw);
  bottom: 10%;
  left: 4%;
  background: radial-gradient(circle, rgba(100, 190, 220, 0.34) 0%, rgba(100, 190, 220, 0.1) 42%, transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.hero-ring {
  position: absolute;
  top: 52%;
  left: 50%;
  width: min(680px, 84vw);
  height: min(680px, 84vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(140, 180, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 80px rgba(100, 160, 255, 0.04);
  animation: hero-ring-pulse 10s ease-in-out infinite;
  opacity: 0.55;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.035);
}

.hero-ring::after {
  inset: 28%;
  border-color: rgba(140, 190, 255, 0.07);
  /* Kein zweites infinite Scale — spart Composite-Arbeit */
  opacity: 0.7;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  pointer-events: none;
  /* Leichtes Raster statt teurem feTurbulence-SVG */
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
  background-size: 4px 4px;
}

/* Leseschleier: Mitte und Menü ruhiger, Animation eher an den Rändern */
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 42, 68, 0.82) 0%, rgba(26, 42, 68, 0.4) 11%, transparent 24%),
    radial-gradient(ellipse 62% 56% at 50% 45%, rgba(22, 36, 58, 0.88) 0%, rgba(22, 36, 58, 0.55) 36%, rgba(22, 36, 58, 0.18) 58%, transparent 76%),
    linear-gradient(180deg, transparent 72%, rgba(26, 42, 68, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(100% - var(--gutter) * 2, 820px);
  margin-inline: auto;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -26% -18%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(18, 30, 50, 0.72) 0%, rgba(18, 30, 50, 0.35) 45%, transparent 70%);
  pointer-events: none;
}

.page-home .hero-content.reveal {
  opacity: 1;
  transform: none;
}

.page-home .hero-content h1,
.page-home .hero-content .hero-lead,
.page-home .hero-content .btn-group,
.page-home .hero-content .hero-reassure {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-enter 0.9s var(--ease) forwards;
}

.page-home .hero-content h1 { animation-delay: 0.12s; }
.page-home .hero-content .hero-lead { animation-delay: 0.28s; }
.page-home .hero-content .btn-group { animation-delay: 0.44s; }
.page-home .hero-content .hero-reassure { animation-delay: 0.58s; }

.hero h1 {
  font-size: clamp(2.5rem, 6.8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 28px rgba(18, 32, 54, 0.45);
}

.hero-lead {
  font-size: clamp(1.1rem, 2.1vw, 1.28rem);
  color: #edf2f8;
  line-height: 1.65;
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-shadow: 0 1px 16px rgba(18, 32, 54, 0.35);
}

.hero .btn-group {
  justify-content: center;
  margin-bottom: 1rem;
}

.hero .btn-primary {
  box-shadow: 0 0 0 1px rgba(90, 140, 255, 0.4), 0 12px 36px rgba(59, 106, 245, 0.38);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #f4f7fc;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
}

.hero-reassure {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(230, 236, 246, 0.88);
  letter-spacing: 0.01em;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 1.5rem;
  height: 2.35rem;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  display: grid;
  justify-content: center;
  padding-top: 0.4rem;
  opacity: 0;
  animation: hero-enter 0.8s var(--ease) 1.1s forwards;
}

.hero-scroll span {
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  animation: scroll-dot 1.8s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-glow-breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.92; }
}

@keyframes hero-glow-breathe-free {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.82; }
}

@keyframes hero-orb-drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.38; }
  50% { transform: translate(-12px, 14px); opacity: 0.48; }
}

@keyframes hero-ring-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}

/* Menü auf dem Hero: leichter Leseschutz ohne harten Balken */
.page-home .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(28, 46, 74, 0.52) 0%, rgba(28, 46, 74, 0.18) 70%, transparent 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.page-home .site-header.is-scrolled {
  background: rgba(32, 52, 82, 0.88);
}

/* ---------- Featured dual cards ---------- */
.featured {
  background: var(--bg-void);
  padding-top: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--dur) var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-card--dark {
  background: var(--card-violet);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card--light {
  background: var(--card-cyan);
  color: var(--text-dark);
}

.feature-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.feature-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.8;
}

.feature-card--dark .feature-card-label {
  opacity: 0.85;
}

.feature-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.5;
  display: grid;
  place-items: center;
}

.feature-card h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  max-width: 16ch;
}

.feature-card p {
  font-size: 0.975rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.feature-card--dark p {
  opacity: 1;
  color: var(--text-on-dark);
}

.feature-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- InfraQ.Cloud hint ---------- */
.cloud-hint {
  background: var(--bg-void);
  padding: 0 var(--gutter) clamp(2.75rem, 6vw, 4.5rem);
}

.cloud-hint[hidden] {
  display: none;
}

.cloud-hint-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(9rem, auto) minmax(0, 1fr) auto auto;
  gap: 1.25rem 1.25rem;
  align-items: center;
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.4rem, 3.2vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(125, 196, 255, 0.18);
  background:
    radial-gradient(ellipse 70% 140% at 0% 40%, rgba(90, 180, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 100% at 100% 80%, rgba(59, 106, 245, 0.12), transparent 50%),
    linear-gradient(145deg, #121820 0%, #0d1118 55%, #0b0d12 100%);
  overflow: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cloud-hint-inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #7dc4ff 0%, var(--accent) 100%);
  opacity: 0.9;
}

.cloud-hint.is-leaving .cloud-hint-inner {
  opacity: 0;
  transform: translateY(8px);
}

.cloud-hint-brand {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.cloud-hint-dot {
  color: #7dc4ff;
}

.cloud-hint-body {
  min-width: 0;
}

.cloud-hint-body h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text);
}

.cloud-hint-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-on-dark);
  max-width: 46ch;
  transition: opacity 0.25s var(--ease);
}

.cloud-hint-body.is-swapping p,
.cloud-hint-body.is-swapping h2 {
  opacity: 0.35;
}

.cloud-hint-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cloud-hint-dismiss {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.cloud-hint-dismiss:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.cloud-hint-dismiss:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .cloud-hint-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "meta dismiss"
      "body body"
      "actions actions";
    gap: 1rem 1.25rem;
  }

  .cloud-hint-meta { grid-area: meta; }
  .cloud-hint-body { grid-area: body; }
  .cloud-hint-actions { grid-area: actions; }
  .cloud-hint-dismiss {
    grid-area: dismiss;
    justify-self: end;
    align-self: start;
  }

  .cloud-hint-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cloud-hint-actions .btn {
    width: 100%;
  }
}

/* ---------- Approach / Problem ---------- */
.approach {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.approach-compare {
  display: grid;
  gap: 1rem;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.65rem;
  border: 1px solid var(--line-dark);
}

.compare-card--old {
  background: #fff;
  opacity: 0.9;
}

.compare-card--new {
  background: var(--bg-dark);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-card);
}

.compare-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.compare-card--new .compare-tag {
  opacity: 0.8;
  color: var(--text-muted);
}

.compare-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.compare-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body);
}

.compare-card--new p {
  color: var(--text-on-dark);
}

.compare-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.compare-list li {
  font-size: 0.9rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-body);
}

.compare-card--new .compare-list li {
  color: var(--text-on-dark);
}

.compare-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.compare-card--new .compare-list li::before {
  background: var(--accent);
  opacity: 1;
}

/* ---------- Services grid ---------- */
.services {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.service-card {
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: transform var(--dur) var(--ease),
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.service-card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  padding: 1.6rem 1.5rem 1.75rem;
  border-radius: inherit;
}

.service-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.service-card-icon {
  display: inline-flex;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  line-height: 1.55;
  margin: 0;
}

.services-cta {
  margin-top: 2rem;
}

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

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Managed stack ---------- */
.stack {
  background: var(--bg-void);
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.stack-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.stack-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.stack-item:hover {
  border-color: var(--line-strong);
  background: var(--bg-panel);
}

.stack-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #fff;
}

.stack-item span {
  font-size: 0.8rem;
  color: var(--text-on-dark);
  line-height: 1.4;
}

.stack-item:nth-child(1) { grid-column: 1 / -1; }

/* ---------- Process ---------- */
.process {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.process-item {
  position: relative;
  padding-top: 0.5rem;
}

.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.process-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.process-item p {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.55;
}

.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 3.5rem;
  right: -0.75rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 106, 245, 0.45), rgba(12, 14, 20, 0.08));
}

/* ---------- Region ---------- */
.region {
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
}

.region-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.region-benefits {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.region-benefits li {
  display: grid;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(59, 106, 245, 0.45);
}

.region-benefits strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.region-benefits span {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-on-dark);
}

.region-presence {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.35rem);
  background:
    linear-gradient(165deg, rgba(59, 106, 245, 0.14) 0%, transparent 42%),
    var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
}

.region-presence::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% 35%;
  height: 70%;
  background: radial-gradient(circle, rgba(59, 106, 245, 0.22), transparent 68%);
  pointer-events: none;
}

.region-presence-label {
  position: relative;
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.region-route {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.35rem;
  display: grid;
  gap: clamp(1.35rem, 3vw, 1.85rem);
}

.region-route::before {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(59, 106, 245, 0.15),
    rgba(59, 106, 245, 0.7),
    rgba(59, 106, 245, 0.15)
  );
}

.region-stop {
  position: relative;
  display: grid;
  gap: 0.2rem;
}

.region-stop-dot {
  position: absolute;
  left: -1.35rem;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: region-pulse 2.8s ease-in-out infinite;
}

.region-stop:nth-child(2) .region-stop-dot {
  animation-delay: 0.45s;
}

.region-stop:nth-child(3) .region-stop-dot {
  animation-delay: 0.9s;
}

.region-stop-name {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

.region-stop-note {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  line-height: 1.4;
}

@keyframes region-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(59, 106, 245, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .region-stop-dot {
    animation: none;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-soft);
  color: var(--text-dark);
  padding-block: clamp(4.5rem, 10vw, 7rem);
}

.cta-band-inner {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

.cta-band h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.cta-band .btn-group {
  justify-content: center;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
}

.page-hero .hero-glow {
  height: 50vh;
  opacity: 0.85;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

/* ---------- Team / photo visuals ---------- */
.team-visual {
  background: var(--bg-white);
  color: var(--text-dark);
}

.team-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.team-visual-grid .media-figure:first-child {
  order: 0;
}

.media-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

.media-figure picture,
.media-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 1.1s var(--ease);
}

.media-figure:hover img {
  transform: scale(1.03);
}

.photo-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-void);
  line-height: 0;
}

.photo-band picture,
.photo-band img {
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, 0.35) 0%, transparent 28%, transparent 72%, rgba(7, 8, 12, 0.55) 100%),
    linear-gradient(90deg, rgba(7, 8, 12, 0.2) 0%, transparent 25%, transparent 75%, rgba(7, 8, 12, 0.2) 100%);
}

/* ---------- Team people ---------- */
.team-people {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.team-people-intro {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
  text-align: center;
}

.team-people-intro .section-title,
.team-people-intro .section-lead {
  margin-inline: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  max-width: 44rem;
  margin-inline: auto;
}

.team-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-person-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-card);
}

.team-person-photo picture,
.team-person-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.team-person-photo--placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, #e8ecf4 0%, #d5dce8 100%);
  color: var(--text-soft);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.team-person-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin: 0 0 0.2rem;
}

.team-person-role {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.team-person-job {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* ---------- Content sections ---------- */
.content-light {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.content-dark {
  background: var(--bg-void);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split-sticky h2 {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.detail-list {
  display: grid;
  gap: 1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Asymmetrische Restzeilen vermeiden (nur Desktop):
   4 → 2×2 statt 3+1 | 10 → 2×5 statt 3+3+3+1 */
@media (min-width: 1101px) {
  .detail-grid:has(> :nth-child(4):last-child),
  .detail-grid:has(> :nth-child(10):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.detail-grid .detail-item {
  height: 100%;
}

.detail-item {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line-dark);
}

.detail-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.detail-item p {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.55;
}

.detail-item--dark {
  background: var(--bg-elevated);
  border-color: var(--line);
  color: #fff;
}

.detail-item--dark p {
  color: var(--text-on-dark);
}

.detail-item a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.detail-item a:hover {
  opacity: 0.8;
}

.detail-item--dark a,
.detail-item--dark .text-link {
  color: var(--link-on-dark);
}

.detail-item--dark a:hover,
.detail-item--dark .text-link:hover {
  color: var(--link-on-dark-hover);
  opacity: 1;
}

/* ---------- Referenzkunden ---------- */
.references {
  background: var(--bg-dark);
  border-top: 1px solid var(--line);
}

.references .section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.references-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.75rem, 4vw, 3.25rem);
}

.references-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-height: 4.75rem;
}

.references-logo {
  display: block;
  width: auto;
  max-width: 11.5rem;
  height: clamp(2.6rem, 4.8vw, 3.4rem);
  object-fit: contain;
  object-position: center;
}

.references-logo--weinzierl {
  height: clamp(3.1rem, 5.8vw, 4rem);
  max-width: 12.5rem;
}

.references-logo--konuksever {
  height: clamp(3.4rem, 6.2vw, 4.35rem);
  max-width: 13.5rem;
}

.references-logo--lehrwerk {
  height: clamp(2.85rem, 5.2vw, 3.6rem);
  max-width: 12.5rem;
}

.references-logo--sl {
  height: clamp(3.4rem, 6.4vw, 4.5rem);
  max-width: 7.25rem;
}

/* ---------- Partner logos (Security) ---------- */
.partners {
  border-top: 1px solid var(--line-dark);
}

.partners-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.partners-copy .section-title {
  margin-bottom: 0.65rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem 2rem;
}

.partners-logo {
  display: block;
  width: auto;
  height: clamp(2.5rem, 5vw, 3.25rem);
  object-fit: contain;
  object-position: left center;
}

.partners-logo--sophos {
  height: clamp(2.75rem, 5.5vw, 3.5rem);
}

.partners-logo--eset {
  height: clamp(2.35rem, 4.8vw, 3rem);
}

.partners-logo--hp {
  height: clamp(4.5rem, 9vw, 6rem);
}

.form-hint a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Forms ---------- */
.form-section {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.contact-card h2 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.contact-card .next-steps {
  margin-top: 0.5rem;
}

.contact-card .next-step strong {
  color: #fff;
}

.contact-card .next-step p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-card .text-link {
  color: #9bb4ff;
}

.contact-card .mt-3 {
  margin-top: 1.75rem;
}

.contact-meta {
  display: grid;
  gap: 1rem;
}

.contact-meta dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}

.contact-meta dd {
  font-size: 1rem;
  font-weight: 500;
}

.contact-meta a:hover {
  color: var(--accent);
}

.form-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(12, 14, 20, 0.12);
  background: var(--bg-soft);
  color: var(--text-dark);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.cf-turnstile,
.cf-turnstile-host {
  margin: 0.25rem 0 0.5rem;
}

.turnstile-gate {
  margin-top: 0.25rem;
}

.turnstile-consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.turnstile-consent .form-hint {
  margin: 0;
  max-width: 42rem;
  line-height: 1.5;
}

/* Auf hellem Formular: dunkler Kontrast (btn-ghost wäre hell-auf-hell unsichtbar) */
.turnstile-consent .btn,
.turnstile-consent .btn-ghost,
.turnstile-consent .btn-primary {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.turnstile-consent .btn:hover,
.turnstile-consent .btn-ghost:hover,
.turnstile-consent .btn-primary:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}

.turnstile-consent .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.turnstile-widget-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.turnstile-status {
  margin: 0;
}

.form-actions .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.form-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

.alert-success {
  background: #e6f6ef;
  color: #0f5132;
  border: 1px solid #b7e4cd;
}

.alert-error {
  background: #fdeaea;
  color: #842029;
  border: 1px solid #f1c0c5;
}

.field-error {
  font-size: 0.8rem;
  color: #b42318;
}

.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: #e35d6a;
}

/* ---------- Legal / prose ---------- */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin: 1.75rem 0 0.6rem;
}

.prose h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.45rem;
}

.prose p,
.prose li {
  color: var(--text-body);
  margin-bottom: 0.85rem;
  line-height: 1.65;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose a {
  word-break: break-word;
}

.prose .legal-emphasis {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.placeholder-note {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: #fff3cd;
  color: #664d03;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Hub / related / FAQ ---------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.hub-card {
  background: var(--bg-white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  display: grid;
  gap: 0.65rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.hub-card:hover {
  border-color: rgba(59, 106, 245, 0.35);
  box-shadow: var(--shadow-card);
}

.hub-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hub-card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.hub-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.hub-card-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

.hub-card-link:hover {
  color: var(--accent-hover);
}

.hub-card--span {
  grid-column: 1 / -1;
}

.hub-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hub-subitem {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
}

.hub-subitem h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.hub-subitem p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.related-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 901px) {
  .related-services:has(> :nth-child(4):last-child),
  .related-services:has(> :nth-child(5)),
  .related-services:has(> :nth-child(6)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.related-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  color: inherit;
  text-decoration: none;
}

.related-card:hover {
  border-color: rgba(59, 106, 245, 0.4);
  transform: translateY(-2px);
}

.related-card strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.related-card span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.content-dark .related-card {
  background: var(--bg-elevated);
  border-color: var(--line);
}

.content-dark .related-card strong {
  color: #fff;
}

.content-dark .related-card span {
  color: var(--text-on-dark);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding-right: 3rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-item .faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-body);
  line-height: 1.65;
}

.faq-item .faq-answer p + p {
  margin-top: 0.75rem;
}

.faq-item .faq-answer a {
  color: var(--accent);
  font-weight: 600;
}

.faq-item .faq-answer ol,
.faq-item .faq-answer ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
}

.faq-item .faq-answer ol {
  list-style: decimal;
}

.faq-item .faq-answer ul {
  list-style: disc;
}

.faq-item .faq-answer li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

.next-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.next-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
}

.next-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  display: grid;
  place-items: center;
}

.next-step strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.next-step p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.925rem;
  line-height: 1.5;
}

.cost-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.cost-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.15rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.cost-item strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.2rem;
}

.cost-item p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.925rem;
  line-height: 1.5;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.audience-item {
  padding: 1.15rem 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
}

.audience-item strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.audience-item p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.925rem;
  line-height: 1.5;
}

.fit-board {
  display: grid;
  gap: 2.25rem;
  margin-top: 0.25rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fit-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  height: 100%;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease);
}

.fit-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.fit-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #9bb4ff;
  background: var(--accent-soft);
}

.fit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.fit-card p {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--text-on-dark);
}

.fit-outcomes-label {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.text-link {
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover {
  color: var(--accent-hover);
}

.content-dark .text-link {
  color: var(--link-on-dark);
}

.content-dark .text-link:hover {
  color: var(--link-on-dark-hover);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}

.footer-text {
  margin-top: 1rem;
  font-size: 0.925rem;
  line-height: 1.6;
  max-width: 32ch;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.925rem;
  transition: color var(--dur-fast) var(--ease);
}
.footer-links a:hover {
  color: #fff;
}

.footer-address {
  display: grid;
  gap: 0.35rem;
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

.footer-cta {
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-legal {
  display: grid;
  gap: 0.35rem;
  max-width: 90ch;
}

.footer-trademark {
  color: var(--text-muted);
  opacity: 0.85;
  line-height: 1.45;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 20%, rgba(255, 255, 255, 0.2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.error-page h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 1024px) {
  .mega-cols {
    grid-template-columns: 1fr 1fr;
  }

  .mega-aside {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .featured-grid,
  .approach-grid,
  .stack-grid,
  .region-inner,
  .split,
  .partners-inner,
  .team-visual-grid,
  .form-layout,
  .footer-grid,
  .hub-grid,
  .related-services,
  .audience-list,
  .fit-grid,
  .fit-grid--three {
    grid-template-columns: 1fr;
  }

  .hub-subgrid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 34rem;
  }

  .photo-band img {
    height: clamp(220px, 58vw, 360px);
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-item:not(:last-child)::after {
    display: none;
  }

  .split-sticky h2 {
    position: static;
  }
}

@media (max-width: 640px) {
  .featured-grid {
    gap: 1rem;
  }

  .references-logo--weinzierl {
    height: 2.85rem;
    max-width: 10.5rem;
  }

  .references-logo--konuksever {
    height: 3.1rem;
    max-width: 11.25rem;
  }

  .references-logo--lehrwerk {
    height: 2.6rem;
    max-width: 9.5rem;
  }

  .references-logo--sl {
    height: 3.15rem;
    max-width: 6.25rem;
  }

  .feature-card {
    min-height: 0;
  }

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

  .process-list,
  .stack-panel {
    grid-template-columns: 1fr;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 17rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.75rem);
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .header-actions .btn-primary,
  .header-cta {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .hero-scroll span,
  .hero-glow,
  .hero-orb,
  .hero-ring,
  .hero-ring::after {
    animation: none;
  }

  .page-home .hero-content h1,
  .page-home .hero-content .hero-lead,
  .page-home .hero-content .btn-group,
  .page-home .hero-content .hero-reassure,
  .hero-scroll {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-network {
    opacity: 0.28;
    transition: none;
  }
}
