/* ============================================
   rehaar.de – Hub-Seite
   Light Design, Navy Accent
   Aligned with rehaar-instruments.de
   ============================================ */

/* Inter – lokal gehostet (DSGVO-konform, kein Google-Server-Kontakt) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  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-1D7F, U+1D80-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: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  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;
}

/* --- Design Tokens --- */
:root {
  --blue: #0047AB;
  --blue-dark: #003d91;
  --blue-light: #e8f0fc;
  --blue-glow: rgba(0, 71, 171, 0.12);

  --navy: #0f2642;
  --navy-light: #1a3a5c;

  --beige: #dbd1bf;
  --beige-light: #f5f1eb;
  --beige-bg: #faf8f5;
  --beige-dark: #c4b8a3;

  --text: #1a1a1a;
  --text-muted: #666666;
  --text-light: #999999;
  --bg: #ffffff;
  --white: #ffffff;
  --bg-alt: #fafafa;
  --bg-subtle: #f5f5f5;
  --border: #e5e5e5;
  --border-light: #f0f0f0;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --section-py: 120px;
  --section-py-mobile: 64px;

  --ease: cubic-bezier(0.4, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Copy Protection --- */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
/* Allow selection in forms/inputs only */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
/* Block image dragging */
img, canvas, svg {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
/* Re-enable pointer events for interactive SVGs inside links/buttons */
a svg, button svg, .nav svg { pointer-events: auto; }
/* Hide content from print */
@media print {
  body { display: none !important; }
  html::after {
    content: '© REHAAR – Inhalte urheberrechtlich geschützt. Druck nicht gestattet.';
    display: block; padding: 60px; text-align: center;
    font: 600 24px/1.5 Inter, system-ui, sans-serif; color: #0047AB;
  }
}
/* DevTools open: blur sensitive canvas content */
.dt-open canvas { filter: blur(8px) brightness(0.7); transition: filter 0.3s; }
.dt-open .hero__canvas::after {
  content: '\00A9 REHAAR'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font: 700 32px/1 Inter, system-ui, sans-serif; color: var(--blue); opacity: 0.3;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -1.2px;
  line-height: 1.12;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.3px;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 540px;
}

/* Registered Trademark */
.reg {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 400;
  opacity: 0.4;
  line-height: 1;
}

/* ® on logo via CSS */
.nav__logo {
  position: relative;
}

.nav__logo::after {
  content: '\00AE';
  font-size: 8px;
  font-weight: 500;
  opacity: 0.3;
  vertical-align: super;
  margin-left: 1px;
  line-height: 1;
}

.footer__logo::after {
  content: '\00AE';
  font-size: 8px;
  font-weight: 500;
  opacity: 0.25;
  vertical-align: super;
  margin-left: 2px;
  color: rgba(255,255,255,0.35);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.section--navy {
  background: var(--navy);
}

.section--navy h1, .section--navy h2, .section--navy h3 {
  color: #ffffff;
}

.section--navy p, .section--navy .lead {
  color: rgba(255,255,255,0.5);
}

.section--navy .label {
  color: #5a9cff;
}

.section--navy .label::before {
  background: #5a9cff;
}

.section--blue {
  background: var(--blue);
}

.section--blue h2, .section--blue p {
  color: #ffffff;
}

@media (max-width: 768px) {
  .section { padding: var(--section-py-mobile) 0; }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
[data-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-stagger] > *:nth-child(2) { transition-delay: 0.1s; }
[data-stagger] > *:nth-child(3) { transition-delay: 0.2s; }
[data-stagger] > *:nth-child(4) { transition-delay: 0.3s; }
[data-stagger] > *:nth-child(5) { transition-delay: 0.4s; }
[data-stagger] > *:nth-child(6) { transition-delay: 0.5s; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,71,171,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}

.btn--ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn .arrow {
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* =========================
   NAVIGATION (Light Default)
   ========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  transition: padding 0.4s var(--ease);
}

.nav.is-scrolled .nav__inner {
  padding: 16px 0;
}

.nav__logo img {
  height: 26px;
  width: auto;
}

/* Logo swap: beige before scroll, blue/dark after scroll */
.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  transition: opacity 0.4s var(--ease);
}

/* Default (hero): show beige logo, hide dark */
.nav__logo .logo-beige {
  display: block;
  opacity: 1;
}
.nav__logo .logo-dark {
  display: none;
}

/* Before scroll: links lighter */
.nav:not(.is-scrolled) .nav__menu a {
  color: var(--text-light);
}

/* Scrolled: swap to blue/dark logo */
.nav.is-scrolled .nav__logo .logo-beige {
  display: none;
}
.nav.is-scrolled .nav__logo .logo-dark {
  display: block;
}

.nav.is-scrolled .nav__menu a {
  color: var(--text-muted);
}

.nav.is-scrolled .nav__menu a:hover,
.nav.is-scrolled .nav__menu a.active {
  color: var(--text);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Light default: dark text links */
.nav__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__menu a:hover,
.nav__menu a.active {
  color: var(--text);
}

/* Mobile */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s var(--ease-out);
}

.nav__toggle span:nth-child(1) { top: 10px; }
.nav__toggle span:nth-child(2) { top: 15px; }
.nav__toggle span:nth-child(3) { top: 20px; }

.nav__toggle.is-active span:nth-child(1) { top: 15px; transform: translateX(-50%) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { top: 15px; transform: translateX(-50%) rotate(-45deg); }

/* Mobile: Hamburger → X */
.nav__toggle.is-active span { background: var(--text); }

/* Prevent backdrop-filter containing block when menu is open */
.nav.menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 768px) {
  .nav__toggle { display: block; position: relative; z-index: 301; }

  .nav__menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px 40px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 300;
    animation: fadeIn 0.3s var(--ease);
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__menu a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
  }

  .nav__menu a:hover { color: var(--text); }

  .lang-toggle {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
  }

  .lang-toggle a {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    opacity: 0.5;
  }

  .lang-toggle a.is-active {
    color: var(--text) !important;
    opacity: 1;
  }

  .lang-toggle .lang-sep {
    color: var(--text-muted);
    opacity: 0.3;
  }
}

/* ── Language Toggle ── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(0,0,0,0.1);
}

.lang-toggle a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-toggle a:hover { opacity: 0.75; }

.lang-toggle a.is-active {
  opacity: 1;
  color: var(--text);
}

.lang-toggle .lang-sep {
  color: var(--text-muted);
  opacity: 0.2;
  font-size: 11px;
  font-weight: 400;
  user-select: none;
}

.nav:not(.is-scrolled) .lang-toggle {
  border-left-color: rgba(0,0,0,0.08);
}

.nav:not(.is-scrolled) .lang-toggle a {
  color: var(--text-muted);
}

.nav:not(.is-scrolled) .lang-toggle a.is-active {
  color: var(--text);
  opacity: 1;
}

.nav:not(.is-scrolled) .lang-toggle .lang-sep {
  color: rgba(0,0,0,0.15);
}

.nav.is-scrolled .lang-toggle {
  border-left-color: var(--border-light);
}

/* =========================
   HERO (Living Blueprint)
   ========================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
  padding: 0;
  height: 100vh;
  min-height: 600px;
  border-bottom: 1px solid var(--border-light);
}

.hero--page {
  padding: 140px 0 80px;
  height: auto;
  min-height: auto;
}

/* Nav starts invisible on homepage, fades in after animation */
.nav--hero-intro {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s var(--ease);
}

.nav--hero-intro.is-revealed {
  opacity: 1;
  pointer-events: all;
}

/* Blueprint Canvas – full background, starts centered */
.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: canvasFadeIn 0.3s ease 0.1s forwards;
}

@keyframes canvasFadeIn {
  to { opacity: 1; }
}

/* Gradient overlay – starts invisible, reveals with text */
.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.97) 0%,
    rgba(255,255,255,0.9) 32%,
    rgba(255,255,255,0.45) 55%,
    rgba(255,255,255,0) 72%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__gradient.is-visible {
  opacity: 1;
}

/* Content above everything – starts invisible */
.hero__content {
  position: relative;
  z-index: 10;
  max-width: 620px;
}

/* Label reveal – delayed until after animation intro */
.hero .label {
  color: var(--blue);
  opacity: 0;
  transform: translateY(20px);
  animation: heroUp 0.8s var(--ease-out) 3.2s forwards;
}

.hero .label::before {
  background: var(--blue);
}

/* Word-by-word headline reveal */
.hero h1 {
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.1;
}

.word-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 4px;
}

.word-reveal > span {
  display: inline-block;
  transform: translateY(115%);
  animation: wordUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Delayed: text appears AFTER the animation intro (~3.5s) */
.word-reveal:nth-child(1) > span { animation-delay: 3.4s; }
.word-reveal:nth-child(2) > span { animation-delay: 3.55s; }
.word-reveal:nth-child(3) > span { animation-delay: 3.62s; }
.word-reveal:nth-child(4) > span { animation-delay: 3.82s; }
.word-reveal:nth-child(5) > span { animation-delay: 3.96s; }
.word-reveal:nth-child(6) > span { animation-delay: 4.08s; }

@keyframes wordUp {
  to { transform: translateY(0); }
}

/* Accent line under headline */
.hero__line {
  width: 0;
  height: 2px;
  background: var(--blue);
  margin: 24px 0 28px;
  animation: drawLine 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 4.3s forwards;
}

@keyframes drawLine {
  to { width: 64px; }
}

/* Lead text: fade + blur */
.hero .lead {
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px);
  animation: leadReveal 1.2s var(--ease-out) 4.5s forwards;
}

@keyframes leadReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes heroUp {
  to { opacity: 1; transform: none; }
}

/* Reduced motion: skip intro, show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .nav--hero-intro { opacity: 1; pointer-events: all; }
  .hero__gradient { opacity: 1; }
  .hero__canvas { animation: none; opacity: 1; }
  .word-reveal > span { animation: none; transform: none; }
  .hero__line { animation: none; width: 64px; }
  .hero .lead { animation: none; opacity: 1; filter: none; transform: none; }
  .hero .label { animation: none; opacity: 1; transform: none; }
}

/* =========================
   CONSENT-GATED ANIMATIONS
   Animationen pausiert bis Cookie-Consent.
   JS fuegt .animations-ready auf body hinzu.
   ========================= */
body:not(.animations-ready) .hero__canvas {
  animation: none;
  opacity: 0;
}
body:not(.animations-ready) .hero .label {
  animation: none;
}
body:not(.animations-ready) .word-reveal > span {
  animation: none;
}
body:not(.animations-ready) .hero__line {
  animation: none;
}
body:not(.animations-ready) .hero .lead {
  animation: none;
}
/* Nav sofort sichtbar fuer Cookie-Banner-Interaktion */
body:not(.animations-ready) .nav--hero-intro {
  opacity: 1;
  pointer-events: all;
}
/* Gradient NICHT vor Consent zeigen (verdeckt Canvas in Firefox) */

/* Hero page variant (subpages) */
.hero--page .hero__content {
  max-width: 640px;
}

.hero--page h1 {
  opacity: 0;
  transform: translateY(32px);
  animation: heroUp 0.8s var(--ease) 0.2s forwards;
}

.hero--page .lead {
  filter: none;
  animation: heroUp 0.7s var(--ease) 0.4s forwards;
}

@media (max-width: 768px) {
  .hero { height: 100vh; min-height: 500px; }
  .hero__gradient {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.88) 40%,
      rgba(255,255,255,0.35) 100%
    );
  }
}

/* =========================
   HUB CARDS (Two Business Areas)
   ========================= */
.hub-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
}

.hub-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,71,171,0.10);
}

.hub-card__visual {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.hub-card__visual--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-card__icon {
  width: 140px;
  height: 140px;
  color: var(--navy);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}

.hub-card:hover .hub-card__icon {
  opacity: 0.75;
  transform: scale(1.06);
}

.hub-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,71,171,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s;
}

.hub-card:hover .hub-card__visual::after {
  opacity: 0.5;
}

.hub-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hub-card:hover .hub-card__visual img {
  transform: scale(1.05);
}

.hub-card--instruments .hub-card__visual {
  background: var(--bg-subtle);
}

.hub-card--medical .hub-card__visual {
  background: var(--bg-subtle);
}

.hub-card--academy .hub-card__visual {
  background: var(--bg-subtle);
}

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

.hub-cards--three .hub-card__visual {
  height: 180px;
}

.hub-cards--three .hub-card__body {
  padding: 32px;
}

.hub-card__body {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hub-card__number {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hub-card__body h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text);
}

.hub-card__body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hub-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.2s;
  margin-top: auto;
}

.hub-card:hover .hub-card__cta {
  gap: 10px;
}

@media (max-width: 1024px) {
  .hub-cards--three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hub-cards,
  .hub-cards--three { grid-template-columns: 1fr; }
}

/* =========================
   STATS STRIP (Light)
   ========================= */
.stats-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat { position: relative; }

.stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

.stat:last-child::after { display: none; }

.stat__value {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat__text {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat::after { display: none; }
}

/* =========================
   ABOUT TEASER
   ========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-content .btn {
  margin-top: 12px;
}

.about-challenges {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}
.about-challenges li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.about-challenges li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--blue);
  border-radius: 1px;
  transform: rotate(45deg);
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  border-radius: 16px;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Subtle accent corner */
.about-image::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 48px;
  height: 48px;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  border-radius: 0 16px 0 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.about-image:hover::after {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image--blueprint { position: relative; top: auto; }
}

/* =========================
   CONTENT SECTIONS (About page)
   ========================= */
.content-section {
  max-width: 680px;
}

.content-section h2 {
  margin-bottom: 20px;
}

.content-section p {
  font-size: 17px;
  line-height: 1.9;
}

/* =========================
   FOUNDERS
   ========================= */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.founder {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.founder:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.founder__avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.founder:hover .founder__avatar {
  transform: scale(1.08);
}

.founder h3 { margin-bottom: 4px; }

.founder__role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.founder p {
  font-size: 15px;
  line-height: 1.7;
}

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

/* =========================
   TIMELINE
   ========================= */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 560px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  padding-bottom: 36px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--bg);
  z-index: 1;
  transition: all 0.3s;
}

.timeline__item:hover::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-light);
}

.timeline__year {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline__text {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  transition: color 0.2s;
}

.timeline__item:hover .timeline__text {
  color: var(--text);
}

/* =========================
   KONTAKT
   ========================= */
/* ── Kontakt Section – Premium Layout ── */
.kontakt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.kontakt__left {}

.kontakt__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.kontakt h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.kontakt__lead {
  color: rgba(255,255,255,0.45) !important;
  font-size: 16px;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 0;
}

/* Right column: contact info cards */
.kontakt__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kontakt__card {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.kontakt__card:first-child {
  padding-top: 0;
}

.kontakt__card:last-child {
  border-bottom: none;
}

.kontakt__card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt__card-icon svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.4);
  fill: none;
  stroke-width: 1.8;
}

.kontakt__card-content {}

.kontakt__card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}

.kontakt__card-text {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 !important;
}

.kontakt__card-text a {
  color: rgba(255,255,255,0.65);
  transition: color 0.25s var(--ease);
}

.kontakt__card-text a:hover {
  color: #fff;
}

.kontakt__company {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 2px !important;
}

.kontakt__cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.kontakt__cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s var(--ease);
}

.kontakt__cta-ghost:hover {
  color: rgba(255,255,255,0.8);
}

.kontakt__cta-ghost svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Horizontal divider line inside section */
.kontakt__divider {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 8px 0;
}

/* Bottom trust bar */
.kontakt__trust {
  grid-column: 1 / -1;
  display: flex;
  gap: 32px;
  align-items: center;
}

.kontakt__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.2);
}

.kontakt__trust-item svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255,255,255,0.25);
  fill: none;
  stroke-width: 2;
}

/* Legacy compat – hide old elements */
.kontakt__details {
  margin-top: 24px;
}

.kontakt__details a {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  transition: color 0.2s;
  display: inline-block;
  padding: 2px 0;
}

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

/* ── Kontakt Mobile ── */
@media (max-width: 768px) {
  .kontakt {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kontakt__lead { max-width: 100%; }

  .kontakt__trust {
    flex-wrap: wrap;
    gap: 20px;
  }

  .kontakt__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Quote Avatar */
.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 auto 20px;
}

/* =========================
   FOOTER – Premium Corporate
   ========================= */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Top bar: Logo + Tagline ── */
.footer__top {
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer__logo img {
  height: 26px;
  opacity: 0.5;
  transition: opacity 0.3s var(--ease);
}

.footer__logo:hover img { opacity: 0.8; }

.footer__tagline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

/* ── Grid: 4-column layout ── */
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
}

.footer__col-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

/* Column 1: Company info */
.footer__about p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
  max-width: 300px;
}

.footer__address {
  font-size: 14px;
  line-height: 1.75;
  font-style: normal;
  color: rgba(255,255,255,0.3);
}

.footer__address a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer__address a:hover {
  color: rgba(255,255,255,0.7);
}

/* Column 2 & 3: Navigation links */
.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__nav li a {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
  display: inline-block;
}

.footer__nav li a:hover {
  color: rgba(255,255,255,0.75);
  transform: translateX(3px);
}

/* Column 4: Contact CTA */
.footer__contact-text {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 12px 22px;
  transition: all 0.3s var(--ease);
}

.footer__cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

.footer__cta svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.footer__cta:hover svg {
  opacity: 1;
  transform: translateX(2px);
}

/* ── Divider ── */
.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* ── Simple footer (legal pages) ── */
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 24px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.footer__links a:hover {
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ── Bottom bar ── */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.02em;
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.02em;
}

.footer__legal {
  display: flex;
  gap: 28px;
}

.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.footer__legal a:hover {
  color: rgba(255,255,255,0.55);
}

/* ── Footer certification badge (subtle) ── */
.footer__badges {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.18);
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
}

.footer__badge svg {
  width: 13px;
  height: 13px;
  opacity: 0.35;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 40px 0 32px;
  }

  .footer__brand { gap: 16px; }

  .footer__tagline {
    border-left: none;
    padding-left: 0;
    font-size: 11px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    padding: 36px 0;
  }

  .footer__about { grid-column: 1 / -1; }
  .footer__about p { max-width: 100%; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 0 28px;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__legal { gap: 20px; }
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  margin-top: 8px;
}

/* --- Spacer --- */
.spacer-line {
  height: 1px;
  background: var(--border);
}

/* =========================
   BLUEPRINT DESIGN SYSTEM
   Extends hero visual language
   ========================= */

/* A. Blueprint Section Marker */
.blueprint-marker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(0, 71, 171, 0.3);
  margin-bottom: 24px;
}

.blueprint-marker::after {
  content: '';
  display: inline-block;
  width: 48px;
  height: 1px;
  background: rgba(0, 71, 171, 0.12);
  vertical-align: middle;
}

.blueprint-marker--light {
  color: rgba(90, 156, 255, 0.35);
}

.blueprint-marker--light::after {
  background: rgba(90, 156, 255, 0.12);
}

/* B. Blueprint Divider */
.blueprint-divider {
  position: relative;
  height: 1px;
  background: rgba(0, 71, 171, 0.05);
  max-width: var(--max-w);
  margin: 0 auto;
}

.blueprint-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 71, 171, 0.12);
  transform: translate(-50%, -50%);
  background: var(--bg);
}

/* C. Blueprint Accent – Crosshair */
.blueprint-accent {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.blueprint-accent--crosshair {
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  height: 240px;
}

.blueprint-accent--crosshair::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 71, 171, 0.05);
}

.blueprint-accent--crosshair::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 71, 171, 0.05);
}

.blueprint-accent--crosshair span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 71, 171, 0.08);
  transform: translate(-50%, -50%);
}

/* D. Specs Strip Grid Background (light) */
.specs-strip__grid-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 71, 171, 0.025) 0px,
      rgba(0, 71, 171, 0.025) 1px,
      transparent 1px,
      transparent 46px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0, 71, 171, 0.025) 0px,
      rgba(0, 71, 171, 0.025) 1px,
      transparent 1px,
      transparent 46px
    );
  pointer-events: none;
}

/* E. Blueprint Overlay for dark sections */
.section--blueprint-overlay {
  position: relative;
}

.section--blueprint-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(90, 156, 255, 0.025) 0px,
      rgba(90, 156, 255, 0.025) 1px,
      transparent 1px,
      transparent 46px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(90, 156, 255, 0.025) 0px,
      rgba(90, 156, 255, 0.025) 1px,
      transparent 1px,
      transparent 46px
    );
  pointer-events: none;
  z-index: 0;
}

.section--blueprint-overlay > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .blueprint-accent--crosshair {
    display: none;
  }
}

/* =========================
   BEIGE SECTIONS
   ========================= */
.section--beige {
  background: var(--beige-bg);
}

.section--beige .label {
  color: var(--beige-dark);
}

.section--beige .label::before {
  background: var(--beige-dark);
}

/* =========================
   PHILOSOPHY SECTION
   ========================= */
.section--philosophy {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--beige);
}

.philosophy {
  max-width: 820px;
}

.philosophy h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .section--philosophy {
    padding: 80px 0 56px;
  }
}

/* =========================
   PHILOSOPHY – EDITORIAL LAYOUT
   Two-column magazine spread with drop cap
   ========================= */
.philosophy--editorial {
  max-width: 1000px;
}

.philosophy--editorial h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -1px;
  margin-bottom: 32px;
}

.philosophy__lede {
  margin-bottom: 48px;
}

.philosophy__lede p {
  font-size: 20px;
  line-height: 1.85;
  color: var(--navy);
  margin-bottom: 0;
}

.philosophy__lede p:first-child::first-letter {
  font-size: 3.6em;
  font-weight: 700;
  float: left;
  line-height: 0.82;
  margin-right: 10px;
  margin-top: 6px;
  color: var(--blue);
}

.philosophy__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-top: 1px solid rgba(0, 71, 171, 0.12);
  padding-top: 40px;
}

.philosophy__col p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 0;
}

.philosophy__col:last-child p {
  font-style: italic;
  color: var(--navy);
  border-left: 2px solid var(--blue);
  padding-left: 20px;
}

@media (max-width: 768px) {
  .philosophy__columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .philosophy__lede p {
    font-size: 18px;
  }
  .philosophy__lede p:first-child::first-letter {
    font-size: 3em;
  }
}

/* =========================
   EDITORIAL SECTION
   Matches philosophy--editorial style:
   Lede paragraph + border-top separator + split grid
   ========================= */
.editorial-section {
  max-width: 1000px;
}

.editorial-section h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 32px;
}

.editorial-intro {
  margin-bottom: 48px;
}

.editorial-intro p:first-child {
  font-size: 20px;
  line-height: 1.85;
  color: var(--navy);
}

.editorial-intro p {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 24px;
}

.editorial-intro p:last-child {
  margin-bottom: 0;
}

.editorial-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  align-items: start;
  border-top: 1px solid rgba(0, 71, 171, 0.12);
  padding-top: 40px;
}

.editorial-split__text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 24px;
}

.editorial-split__text p:last-child {
  margin-bottom: 0;
}

.editorial-split__text .btn {
  margin-top: 12px;
}

.editorial-outro {
  border-top: 1px solid rgba(0, 71, 171, 0.12);
  padding-top: 40px;
  margin-top: 40px;
}

.editorial-outro p {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 0;
}

.editorial-split__video .about-image--blueprint {
  position: sticky;
  top: 100px;
}

@media (max-width: 768px) {
  .editorial-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .editorial-split__video .about-image--blueprint {
    position: relative;
    top: auto;
  }
  .editorial-intro p:first-child {
    font-size: 18px;
  }
}

/* =========================
   APPROACH / METHODIK
   ========================= */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  counter-reset: approach;
}

.approach-step {
  position: relative;
  padding-top: 48px;
}

.approach-step::before {
  content: counter(approach, decimal-leading-zero);
  counter-increment: approach;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--beige-dark);
}

.approach-step__line {
  width: 32px;
  height: 2px;
  background: var(--beige);
  margin-bottom: 20px;
}

.approach-step h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.approach-step p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Connector lines between steps */
.approach-step + .approach-step::after {
  content: '';
  position: absolute;
  top: 62px;
  left: -24px;
  width: 1px;
  height: 48px;
  background: var(--beige);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .approach-step + .approach-step::after {
    display: none;
  }
}

/* =========================
   QUOTE / ZITAT
   ========================= */
.quote-section {
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.quote-section blockquote {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--text);
  position: relative;
  border-left: 3px solid var(--blue);
  padding: 0 0 0 32px;
  margin-bottom: 24px;
}

.quote-section cite {
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  color: var(--text-muted);
  display: block;
  padding-left: 35px;
}

.quote-section cite strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

/* =========================
   FEATURE HIGHLIGHTS
   ========================= */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.3s var(--ease);
}

.feature:hover {
  border-color: var(--beige);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.04);
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}

.feature:hover .feature__icon {
  background: var(--beige);
  transform: scale(1.08);
}

.feature h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.feature p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

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

@media (max-width: 768px) {
  .features-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature { padding: 28px 16px; }
}

/* =========================
   SPECS STRIP (Blueprint)
   ========================= */
.specs-strip {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  border-top: 1px solid rgba(0, 71, 171, 0.06);
  border-bottom: 1px solid rgba(0, 71, 171, 0.06);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.spec {
  position: relative;
}

.spec::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(0, 71, 171, 0.06);
}

.spec:last-child::after {
  display: none;
}

.spec__value {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1.5px;
  margin-bottom: 8px;
  line-height: 1;
}

.spec__dim-line {
  width: 40px;
  height: 1px;
  background: rgba(0, 71, 171, 0.15);
  margin: 12px auto;
  position: relative;
}

.spec__dim-line::before,
.spec__dim-line::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: rgba(0, 71, 171, 0.15);
}

.spec__dim-line::before { left: 0; }
.spec__dim-line::after { right: 0; }

.spec__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .spec::after { display: none; }
}

/* =========================
   ABOUT IMAGE – Blueprint Frame
   ========================= */
.about-image--blueprint {
  position: sticky;
  top: 100px;
  border-radius: 16px;
  overflow: visible;
}

.about-image--blueprint img,
.about-image--blueprint video {
  border-radius: 16px;
  transition: transform 0.5s;
}

.about-image--blueprint video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image--blueprint:hover img,
.about-image--blueprint:hover video {
  transform: scale(1.03);
}

.about-image--blueprint::after {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 32px;
  height: 32px;
  border-top: 1.5px solid rgba(0, 71, 171, 0.25);
  border-right: 1.5px solid rgba(0, 71, 171, 0.25);
  border-radius: 0;
  opacity: 1;
  transition: all 0.4s var(--ease);
}

.about-image--blueprint::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 32px;
  height: 32px;
  border-bottom: 1.5px solid rgba(0, 71, 171, 0.25);
  border-left: 1.5px solid rgba(0, 71, 171, 0.25);
  z-index: 1;
  transition: all 0.4s var(--ease);
}

.about-image--blueprint:hover::after,
.about-image--blueprint:hover::before {
  width: 48px;
  height: 48px;
  border-color: rgba(0, 71, 171, 0.5);
}

/* Video Row Section – eigene Sektion */
.section--video-row {
  overflow: visible;
  padding: var(--section-py) 0;
}

.video-row__intro {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-style: italic;
}

/* Video Row – 3 Videos volle Breite nebeneinander */
.video-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 24px;
}

.video-row__item {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.video-row__item video {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: transform 0.5s;
}

.video-row__item:hover video {
  transform: scale(1.03);
}

/* Blueprint corner accents */
.video-row__item::after {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 32px;
  height: 32px;
  border-top: 1.5px solid rgba(0, 71, 171, 0.25);
  border-right: 1.5px solid rgba(0, 71, 171, 0.25);
  border-radius: 0;
  transition: all 0.4s var(--ease);
  pointer-events: none;
}

.video-row__item::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 32px;
  height: 32px;
  border-bottom: 1.5px solid rgba(0, 71, 171, 0.25);
  border-left: 1.5px solid rgba(0, 71, 171, 0.25);
  z-index: 1;
  transition: all 0.4s var(--ease);
  pointer-events: none;
}

.video-row__item:hover::after,
.video-row__item:hover::before {
  width: 48px;
  height: 48px;
  border-color: rgba(0, 71, 171, 0.5);
}

.video-row__label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,20,50,0.55);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 2;
}

@media (max-width: 768px) {
  .video-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }
}

/* =========================
   HUB CARD VISUAL PATTERNS
   ========================= */
.hub-card__visual--grid {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 71, 171, 0.04) 0px,
      rgba(0, 71, 171, 0.04) 1px,
      transparent 1px,
      transparent 23px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0, 71, 171, 0.04) 0px,
      rgba(0, 71, 171, 0.04) 1px,
      transparent 1px,
      transparent 23px
    ),
    linear-gradient(135deg, var(--bg-subtle), var(--blue-light));
}

.hub-card__visual--floorplan {
  background: linear-gradient(135deg, var(--bg-subtle), #e5f0e8);
  position: relative;
  overflow: hidden;
}

.hub-card__visual--floorplan::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 30px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 71, 171, 0.06);
  box-shadow:
    0 0 0 20px transparent,
    0 0 0 21px rgba(0, 71, 171, 0.04),
    0 0 0 44px transparent,
    0 0 0 45px rgba(0, 71, 171, 0.035),
    0 0 0 72px transparent,
    0 0 0 73px rgba(0, 71, 171, 0.025),
    0 0 0 104px transparent,
    0 0 0 105px rgba(0, 71, 171, 0.015);
}

.hub-card__visual--nodes {
  background:
    radial-gradient(circle, rgba(0, 71, 171, 0.07) 1.2px, transparent 1.2px),
    linear-gradient(135deg, var(--bg-subtle), #f0e8f5);
  background-size: 24px 24px, 100% 100%;
}

/* =========================
   SERVICE CARDS (Medical Center)
   ========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 48px 32px;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--blue);
  transform: none;
  box-shadow: none;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease);
  opacity: 0.5;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card:hover .service-card__icon {
  color: var(--blue);
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

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

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

/* =========================
   FIT CHECK (Medical Center)
   ========================= */
.fit-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.fit-check__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.fit-check__card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.fit-check__card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--navy);
}

.fit-check__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fit-check__card li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.fit-check__card li::before {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 14px;
}

.fit-check__card--yes li::before {
  content: "\2713";
  color: var(--blue);
  font-weight: 700;
}

.fit-check__card--no li {
  color: var(--text-muted);
}

.fit-check__card--no li::before {
  content: "\2717";
  color: var(--text-light, #bbb);
}

@media (max-width: 768px) {
  .fit-check { grid-template-columns: 1fr; }
  .fit-check__card { padding: 28px 24px; }
}

/* =========================
   BENEFITS GRID (Medical Center)
   ========================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 100%;
}

/* 3-column variant */
.benefits-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 4-column variant */
.benefits-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.benefit {
  padding: 48px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: all 0.3s;
}

.benefits-grid--4 .benefit {
  padding: 32px 24px;
}

.benefit:hover {
  border-color: var(--blue);
  transform: none;
  box-shadow: none;
}

.benefit__number {
  font-family: monospace;
  font-size: 48px;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: 0;
  text-transform: none;
}

.benefit:hover .benefit__number {
  color: var(--blue);
}

.benefit h3 {
  margin-bottom: 12px;
}

.benefit p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.benefits-grid--4 .benefit h3 {
  font-size: 17px;
}

.benefits-grid--4 .benefit p {
  font-size: 14px;
}

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

@media (max-width: 768px) {
  .benefits-grid,
  .benefits-grid--3,
  .benefits-grid--4 { grid-template-columns: 1fr; }
}

/* =========================
   FAQ GRID
   ========================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--blue);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-item h4::before {
  content: 'Q';
  font-family: monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 4px 8px;
  flex-shrink: 0;
  transition: color 0.3s;
}

.faq-item:hover h4::before {
  color: var(--blue);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 36px;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-item {
    padding: 24px;
  }
}

/* =========================
   PROGRAM STACK (Academy)
   ========================= */
.program-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.program-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0 48px;
  padding: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.program-card:hover {
  border-color: var(--blue);
}

.program-card__number {
  font-family: monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.program-card__left h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.program-card__subtitle {
  font-size: 15px;
  color: var(--blue);
  line-height: 1.5;
}

.program-card__right > p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
}

.program-card__meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.program-meta-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.program-meta-label {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding-top: 2px;
}

.program-meta-value {
  color: var(--text);
}

@media (max-width: 768px) {
  .program-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
  }
  .program-card__left h3 {
    font-size: 24px;
  }
  .program-meta-row {
    grid-template-columns: 100px 1fr;
  }
}

/* =========================
   GALLERY GRID (Medical Center)
   ========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(0deg, rgba(15, 38, 66, 0.7) 0%, transparent 100%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

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

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-item__label { font-size: 11px; padding: 16px 12px 8px; }
}

/* =========================
   KOOPERATION LIST (Medical Center)
   ========================= */
.kooperation-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 2.2;
  list-style: none;
}

.kooperation-list li {
  position: relative;
  padding-left: 16px;
}

.kooperation-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 1px;
  background: var(--blue);
  opacity: 0.3;
}

/* --- Page Load --- */
body { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
