/* ============================================================
   preTeam — Design System
   ============================================================ */

:root {
  /* Brand — matches live site (deep burgundy magenta) */
  --brand: #A41158;
  --brand-deep: #7D0044;
  --brand-bright: #E20074;
  --brand-soft: #FCE9F1;
  --brand-glow: rgba(166, 0, 91, 0.14);

  /* Neutrals */
  --ink: #3A3A3A;
  --dark-ink: #14141A;
  --ink-2: #1E1E24;
  --ash: #6B6B74;
  --ash-2: #9C9CA4;
  --ash-3: #C4C4CA;
  --paper: #FBFAF8;
  --fog: #EEEDEA;
  --fog-2: #E2E1DD;
  --white: #FFFFFF;

  /* Type */
  --f-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max: 1920px;
  --gut: clamp(20px, 5vw, 80px);
  --sec-y: clamp(80px, 10vw, 140px);
  --radius: 6px;
  --radius-lg: 14px;
  --radius-xl: 22px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-in-out-quart: cubic-bezier(.76, 0, .24, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  opacity: 0;
  /* opacity-only fade: a transform here would make body the containing block for
     the position:fixed header and drag it during load (caused the jerky reveal) */
  transition: opacity 0.7s var(--ease-out-quart);
}

body.loaded {
  opacity: 1;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

::selection {
  background: var(--brand);
  color: white;
}

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

.only-mobile {
  display: none;
}

@media (max-width: 720px) {
  .only-mobile {
    display: block;
  }

  .only-desktop {
    display: none;
  }
}

/* ============================================================
   Typography scale
   ============================================================ */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brand);
}

.eyebrow .num {
  color: var(--brand);
  font-weight: 500;
}

.h-display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(38px, 6.6vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.032em;
  color: var(--ink);
  /* long German words (e.g. "Telekommunikation") wrap/hyphenate instead of clipping */
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.h-display em {
  font-style: normal;
  color: var(--brand);
  font-weight: 500;
  position: relative;
}

.h-display em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.03em;
  height: 6px;
  background: var(--brand);
  opacity: 0.14;
  border-radius: 3px;
}

.h-page {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--dark-ink);
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.h-page em {
  font-style: normal;
  color: var(--brand);
  font-weight: 500;
}

.h-section {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.024em;
}

.h-section em {
  font-style: normal;
  color: var(--brand);
  font-weight: 500;
}

.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ash);
  max-width: 62ch;
}

/* Word-splitting for hero animation */
.split-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  vertical-align: bottom;
}

.split-word>span {
  display: inline-block;
  transform: translateY(120%);
  transition: transform 1s var(--ease-out-quart);
}

body.loaded .split-word>span {
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(251, 250, 248, 0.75);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  /* entrance: gently fade + slide down once the page has loaded */
  opacity: 0;
  transform: translateY(-14px);
  transition:
    transform 0.55s var(--ease-out-quart),
    opacity 0.55s var(--ease-out-quart),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    padding 0.3s var(--ease);
}

.nav.revealed {
  opacity: 1;
  transform: translateY(0);
}

.nav.scrolled {
  padding: 8px 0;
  border-bottom-color: var(--fog);
  background: rgba(251, 250, 248, 0.94);
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo svg {
  height: 42px;
  width: auto;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand);
}

.nav-link.active {
  background: var(--brand);
  color: var(--white);
}

.nav-link.active:hover {
  color: var(--white);
  background: var(--brand-deep);
}

.nav-link .caret {
  width: 9px;
  height: 9px;
  transition: transform 0.25s var(--ease);
}

.nav-item:hover .nav-link .caret {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 300px;
  box-shadow:
    0 1px 3px rgba(20, 20, 26, 0.04),
    0 20px 50px -12px rgba(20, 20, 26, 0.16);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s var(--ease),
    transform 0.3s var(--ease-out-quart),
    visibility 0.25s;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.dropdown-link small {
  font-size: 11.5px;
  color: var(--ash-2);
  font-weight: 400;
}

.dropdown-link:hover {
  background: var(--paper);
  color: var(--brand);
}

.dropdown-link:hover small {
  color: var(--brand);
}

/* Right nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s var(--ease);
}

.nav-phone:hover {
  color: var(--brand);
}

.nav-phone svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--brand);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 12px;
  height: 12px;
}

/* Mobile burger */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.nav.open .burger span {
  background: transparent;
}

.nav.open .burger span::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav.open .burger span::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: 99;
  padding: 100px var(--gut) 60px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.4s var(--ease-out-quart);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 1081px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu>ul>li {
  border-bottom: 1px solid var(--fog);
}

.mobile-menu>ul>li>a,
.mobile-menu>ul>li>button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  width: 100%;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s var(--ease);
}

.mobile-menu>ul>li>a:hover,
.mobile-menu>ul>li>button:hover {
  color: var(--brand);
}

.mobile-menu>ul>li>a.active {
  color: var(--brand);
}

.mobile-menu .caret {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.mobile-menu li.open .caret {
  transform: rotate(180deg);
}

.mobile-menu .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-quart);
}

.mobile-menu li.open .submenu {
  max-height: 400px;
}

.mobile-menu .submenu li a {
  display: block;
  padding: 12px 0 12px 16px;
  font-size: 15px;
  color: var(--ash);
  border-left: 2px solid var(--fog);
  margin-bottom: 4px;
}

.mobile-menu .submenu li a:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.mobile-menu-cta {
  margin-top: 30px;
  display: block;
  padding: 18px;
  background: var(--brand);
  color: var(--white);
  text-align: center;
  border-radius: 12px;
  font-weight: 500;
}

.mobile-menu-contact {
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ash);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-contact a {
  color: var(--ink);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.2s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--brand);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--fog-2);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-link {
  padding: 0;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 8px;
}

.btn-link:hover {
  color: var(--brand);
  gap: 12px;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: var(--sec-y) 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.section-head .lede {
  justify-self: end;
  text-align: left;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 160px;
  padding-bottom: var(--sec-y);
  position: relative;
  overflow: hidden;
}

.hero-signal {
  position: absolute;
  right: calc(var(--gut) * -1);
  top: 130px;
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 70px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-bottom: 20px;
}

.hero-copy .eyebrow {
  margin-bottom: 32px;
}

.hero-copy .h-display {
  margin-bottom: 32px;
}

.hero-copy .lede {
  margin-bottom: 42px;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ash);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Status card (hero-right) */
.status-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid var(--fog);
  box-shadow:
    0 1px 2px rgba(20, 20, 26, 0.04),
    0 24px 60px -20px rgba(20, 20, 26, 0.16);
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 1s 0.4s var(--ease-out-quart), opacity 1s 0.4s var(--ease-out-quart);
}

body.loaded .status-card {
  transform: translateY(0);
  opacity: 1;
}

.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--fog);
  margin-bottom: 24px;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  position: relative;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10B981;
  opacity: 0;
  animation: pulse 2.4s var(--ease) infinite;
}

.live-dot.closed {
  background: var(--ash-2);
}

.live-dot.closed::after {
  border-color: var(--ash-2);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .45;
  }

  70% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.live-label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.status-badge {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fog);
}

.status-today {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.status-today small {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ash);
  font-weight: 400;
  margin-left: 8px;
}

.status-note {
  font-size: 13.5px;
  color: var(--ash);
  margin: 6px 0 22px;
}

.status-actions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--fog);
  padding-top: 18px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  font-size: 14px;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.status-row .ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease);
}

.status-row .ico svg {
  width: 14px;
  height: 14px;
}

.status-row strong {
  font-weight: 500;
  display: block;
}

.status-row small {
  color: var(--ash);
  font-size: 12.5px;
  display: block;
  margin-top: 1px;
}

a.status-row:hover {
  color: var(--brand);
}

a.status-row:hover .ico {
  background: var(--brand-soft);
}

/* Hero pills strip */
.hero-meta {
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--fog);
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ash);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--fog-2);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.hero-meta .pill .sq {
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 1px;
}

/* ============================================================
   Marquee ticker
   ============================================================ */
.marquee-wrap {
  padding: 26px 0;
  background: var(--dark-ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
}

.marquee {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--f-display);
  font-style: normal;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 60px;
  color: var(--paper);
}

.marquee-item .dot {
  width: 10px;
  height: 10px;
  background: var(--brand);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee:hover {
  animation-play-state: paused;
}

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out-quart),
    transform 0.9s var(--ease-out-quart);
}

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

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease-out-quart),
    transform 0.8s var(--ease-out-quart);
}

.reveal-stagger.in>*:nth-child(1) {
  transition-delay: 0.00s;
}

.reveal-stagger.in>*:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal-stagger.in>*:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal-stagger.in>*:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal-stagger.in>*:nth-child(5) {
  transition-delay: 0.32s;
}

.reveal-stagger.in>*:nth-child(6) {
  transition-delay: 0.40s;
}

.reveal-stagger.in>* {
  opacity: 1;
  transform: none;
}

.reveal-stagger.in>*[data-hold] {
  opacity: 0;
  transform: translateY(24px);
}

/* ============================================================
   PATHS (two audiences)
   ============================================================ */
.paths {
  background: var(--white);
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
}

.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--fog);
  border: 1px solid var(--fog);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.path {
  background: var(--white);
  padding: 60px 50px 50px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 480px;
  transition: background 0.4s var(--ease);
  overflow: hidden;
}

.path::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at center, var(--brand-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.path:hover::before {
  opacity: 1;
}

.path .path-tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.path .path-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
}

.path h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--ink);
}

.path h3 em {
  font-style: normal;
  color: var(--brand);
  font-weight: 500;
}

.path p {
  color: var(--ash);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 30px;
}

.path ul {
  list-style: none;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px dashed var(--fog-2);
}

.path ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--ink);
  transition: transform 0.3s var(--ease), color 0.2s;
}

.path ul li::before {
  content: "→";
  color: var(--brand);
  font-family: var(--f-mono);
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}

.path:hover ul li::before {
  transform: translateX(3px);
}

.path .path-cta {
  margin-top: 26px;
  align-self: flex-start;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--fog);
  border: 1px solid var(--fog);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.service {
  background: var(--white);
  padding: 42px 36px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 340px;
  transition: background 0.35s var(--ease);
  overflow: hidden;
}

.service:hover {
  background: var(--paper);
}

.service::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-quart);
}

.service:hover::after {
  transform: scaleX(1);
}

.service .s-num {
  position: absolute;
  top: 42px;
  right: 36px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ash-2);
  letter-spacing: 0.14em;
}

.service .s-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 14px;
  margin-bottom: 32px;
  transition: transform 0.4s var(--ease-out-quart);
}

.service:hover .s-icon {
  transform: scale(1.06) rotate(-3deg);
}

.service .s-icon svg {
  width: 24px;
  height: 24px;
}

.service h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
}

.service p {
  color: var(--ash);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 26px;
  flex-grow: 1;
}

.service .s-link {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.service .s-link:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.service:hover .s-link {
  color: var(--brand);
  gap: 14px;
}

.service .s-link svg {
  width: 12px;
  height: 12px;
}

/* ============================================================
   ABOUT (dark section)
   ============================================================ */
.about-section {
  background: var(--dark-ink);
  color: var(--paper);
}

.about-section .h-section {
  color: var(--paper);
}

.about-section .h-section em {
  color: var(--brand-bright);
}

.about-section .eyebrow {
  color: var(--ash-2);
}

.about-section .eyebrow::before {
  background: var(--brand-bright);
}

.about-section .lede {
  color: #B8B8C0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: #C2C2CA;
  margin-bottom: 22px;
}

.about-copy p strong {
  color: var(--white);
  font-weight: 500;
}

.about-facts {
  background: var(--ink-2);
  border: 1px solid #2A2A32;
  border-radius: var(--radius-xl);
  padding: 40px;
}

.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid #2A2A32;
  gap: 20px;
}

.fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.fact .k {
  font-family: var(--f-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ash-2);
  flex-shrink: 0;
}

.fact .v {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--white);
  font-weight: 500;
  text-align: right;
  line-height: 1.15;
}

.fact .v small {
  display: block;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--ash-2);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.member {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s var(--ease-out-quart),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.member:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 20px 40px -20px var(--brand-glow);
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
}

.member.dog .avatar {
  background: var(--fog);
  color: var(--brand);
}

.member.dog .avatar::after {
  display: none;
}

.m-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  color: var(--ink);
}

.m-role {
  font-size: 13.5px;
  color: var(--ash);
  margin-bottom: 24px;
}

.m-contact {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--fog);
  width: 100%;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.m-contact a {
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.m-contact a:hover {
  color: var(--brand);
}

.m-contact .lbl {
  color: var(--ash-2);
  margin-right: 6px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* Left column stacks the form + the on-site appointment CTA */
.contact-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.appt-card {
  background: linear-gradient(135deg, var(--brand-soft), var(--paper) 72%);
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-xl);
  padding: 34px 44px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.appt-copy {
  flex: 1;
  min-width: 0;
}

/* Animated appointment calendar with pulsing halo + self-drawing check */
.appt-visual {
  position: relative;
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  color: var(--brand);
}

.appt-halo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow), transparent 68%);
  animation: appt-halo 3.2s ease-in-out infinite;
}

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

.appt-cal {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 6px 10px var(--brand-glow));
  animation: appt-bob 3.2s ease-in-out infinite;
}

@keyframes appt-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.appt-check {
  stroke-dasharray: 15;
  stroke-dashoffset: 15;
  animation: appt-draw 3.4s ease-in-out infinite;
}

@keyframes appt-draw {
  0%,
  8% {
    stroke-dashoffset: 15;
  }
  32%,
  74% {
    stroke-dashoffset: 0;
  }
  90%,
  100% {
    stroke-dashoffset: 15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .appt-halo,
  .appt-cal,
  .appt-check {
    animation: none;
  }
  .appt-check {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 560px) {
  .appt-card {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 18px;
  }
}

.appt-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--dark-ink);
  margin-top: 14px;
}

.appt-card h3 em {
  font-style: normal;
  color: var(--brand);
  font-weight: 500;
}

.appt-card p {
  color: var(--ash);
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0 22px;
  max-width: 48ch;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--fog);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
}

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

.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 8px;
}

.field label .req {
  color: var(--brand);
}

.field input,
.field textarea {
  font: inherit;
  font-family: var(--f-body);
  font-size: 15px;
  padding: 15px 16px;
  background: var(--white);
  border: 1px solid var(--fog-2);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 26px;
  font-size: 13px;
  color: var(--ash);
  line-height: 1.55;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-row a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 3px;
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--fog);
  flex-wrap: wrap;
}

.form-foot small {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.08em;
}

.form-msg {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--brand);
  margin-top: 14px;
  letter-spacing: 0.08em;
}

.form-msg:empty {
  margin-top: 0;
}

.form-msg.is-ok {
  color: #1a7a3c;
}

.form-msg.is-error {
  color: #c0261b;
}

.side-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--fog);
  border-radius: var(--radius-xl);
  padding: 30px 32px;
}

.info-card h5 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h5 .num {
  color: var(--brand);
}

.info-card .big {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 4px;
  display: block;
}

a.big {
  transition: color 0.2s var(--ease);
}

a.big:hover {
  color: var(--brand);
}

.info-card .sub {
  color: var(--ash);
  font-size: 14px;
}

.hours-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 20px;
  margin-top: 8px;
}

.hours-list dt {
  padding: 9px 0;
  font-size: 14px;
  color: var(--ash);
  border-bottom: 1px dashed var(--fog);
}

.hours-list dd {
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--f-mono);
  font-weight: 500;
  border-bottom: 1px dashed var(--fog);
  text-align: right;
}

.hours-list dt:last-of-type,
.hours-list dd:last-of-type {
  border-bottom: 0;
}

.hours-list .closed {
  color: var(--ash-2);
}

/* Map card */
.map-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 240px;
  background: var(--paper);
}

.map-svg {
  width: 100%;
  height: 240px;
  display: block;
  background: linear-gradient(180deg, #F6F4F0 0%, #FBFAF8 100%);
}

.map-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(251, 250, 248, 0.98) 60%);
  padding: 20px 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.map-overlay .addr {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.015em;
}

.map-overlay .addr small {
  display: block;
  font-family: var(--f-body);
  color: var(--ash);
  font-size: 13px;
  margin-top: 2px;
}

.map-link {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 15px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: background 0.25s var(--ease);
}

.map-link:hover {
  background: var(--brand);
}

.map-link svg {
  width: 11px;
  height: 11px;
}

/* ============================================================
   Content pages (single-column layouts)
   ============================================================ */
.page-hero {
  padding: 160px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero .eyebrow {
  margin-bottom: 24px;
}

.page-hero .h-page {
  margin-bottom: 26px;
  max-width: 18ch;
}

.page-hero .lede {
  max-width: 60ch;
  margin-bottom: 40px;
}

.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ash);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.crumbs a {
  color: var(--ash);
  transition: color 0.2s var(--ease);
}

.crumbs a:hover {
  color: var(--brand);
}

.crumbs .sep {
  color: var(--ash-3);
}

.crumbs .current {
  color: var(--ink);
}

.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.prose p {
  margin-bottom: 24px;
}

.prose p.lead {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 34px;
  letter-spacing: -0.01em;
}

.prose h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 48px 0 20px;
  color: var(--dark-ink);
}

.prose h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 34px 0 14px;
  color: var(--ink);
}

.prose ul {
  list-style: none;
  margin: 20px 0 30px;
}

.prose ul li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 16px;
  border-bottom: 1px dashed var(--fog);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 12px;
  height: 1px;
  background: var(--brand);
}

.prose ul li:last-child {
  border-bottom: 0;
}

.prose strong {
  color: var(--brand);
  font-weight: 500;
}

.prose blockquote {
  border-left: 3px solid var(--brand);
  padding: 8px 0 8px 22px;
  margin: 32px 0;
  font-family: var(--f-display);
  font-size: 22px;
  font-style: normal;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.prose a {
  color: var(--brand);
  border-bottom: 1px solid var(--brand-soft);
  transition: border-color 0.2s var(--ease);
}

.prose a:hover {
  border-color: var(--brand);
}

.page-cta-strip {
  background: var(--paper);
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  padding: 70px 0;
}

.cta-strip-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-strip-grid h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--dark-ink);
}

.cta-strip-grid h3 em {
  font-style: normal;
  color: var(--brand);
  font-weight: 500;
}

.cta-strip-grid p {
  color: var(--ash);
  margin-top: 8px;
  font-size: 15.5px;
}

.cta-strip-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Split content columns */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 70px;
  align-items: start;
}

.two-col .prose {
  max-width: none;
}

.side-block {
  background: var(--paper);
  border: 1px solid var(--fog);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: 100px;
}

.side-block h4 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
  margin-bottom: 20px;
}

.side-block .side-list {
  list-style: none;
  margin: 0;
}

.side-block .side-list li {
  border-bottom: 1px solid var(--fog);
}

.side-block .side-list li:last-child {
  border-bottom: 0;
}

.side-block .side-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 14.5px;
  color: var(--ink);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.side-block .side-list a:hover {
  color: var(--brand);
  padding-left: 4px;
}

.side-block .side-list a::after {
  content: "→";
  font-family: var(--f-mono);
  color: var(--ash-3);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.side-block .side-list a:hover::after {
  color: var(--brand);
  transform: translateX(4px);
}

.side-block .side-list a.active {
  color: var(--brand);
  font-weight: 500;
}

.side-block .side-list a.active::after {
  color: var(--brand);
}

/* Mipe Media credit card on Impressum */
.side-block .mm-card {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--fog);
}

.side-block .mm-card .mm-logo-link {
  display: block;
  margin-bottom: 20px;
}

.side-block .mm-card .mm-logo {
  width: 100%;
  max-width: 190px;
  height: auto;
}

.side-block .mm-card h5 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
  margin-bottom: 12px;
}

.side-block .mm-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ash);
  margin-bottom: 14px;
}

.side-block .mm-card .mm-addr {
  color: var(--ink);
}

.side-block .mm-card .mm-links {
  margin-bottom: 0;
}

.side-block .mm-card .mm-links a {
  color: var(--brand);
  border-bottom: 1px solid var(--brand-soft);
  transition: border-color 0.2s var(--ease);
}

.side-block .mm-card .mm-links a:hover {
  border-color: var(--brand);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-ink);
  color: var(--ash-2);
  padding: 90px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #2A2A32;
}

.footer-brand-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #B4B4BC;
  max-width: 320px;
  margin: 24px 0;
}

.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(226, 0, 116, 0.10);
  border: 1px solid rgba(226, 0, 116, 0.28);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.footer-partner .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
  animation: pulse-glow 3s infinite;
}

/* Floating Telekom Business Partner badge — fixed on every page */
.bp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 90;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  box-shadow: 0 10px 30px rgba(20, 20, 26, 0.22);
  -webkit-tap-highlight-color: transparent;
  /* entrance: start hidden below its corner, slide up when .is-in is added */
  transform: translateY(calc(100% + 22px));
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, box-shadow 0.28s ease;
}

.bp-float.is-in {
  transform: translateY(0);
  opacity: 1;
}

.bp-float img {
  display: block;
  width: 100%;
  height: 100%;
}

.bp-float.is-in:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 38px rgba(20, 20, 26, 0.3);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

@media (max-width: 640px) {
  .bp-float {
    width: 60px;
    height: 60px;
    left: 14px;
    bottom: 14px;
    border-radius: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-float {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media print {
  .bp-float {
    display: none;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(226, 0, 116, 0.7);
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 6px rgba(226, 0, 116, 0);
  }
}

.footer h6 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer ul a,
.footer ul li {
  font-size: 14px;
  color: #B4B4BC;
  transition: color 0.2s var(--ease);
}

.footer ul a:hover {
  color: var(--brand-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ash-2);
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom .legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom .legal a {
  color: var(--ash-2);
}

.footer-bottom .legal a:hover {
  color: var(--white);
}

.footer-bottom .footer-credit {
  color: var(--ash-2);
  transition: color 0.25s var(--ease);
}

.footer-bottom .footer-credit span {
  text-decoration: underline;
}

.footer-bottom .footer-credit:hover {
  color: var(--white);
}

/* Footer logo variant */
.footer .brand-logo svg .logo-text tspan {
  fill: var(--white);
}

.footer .brand-logo svg .tagline {
  fill: var(--ash-2);
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

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

  html {
    scroll-behavior: auto;
  }

  .split-word>span {
    transform: none !important;
  }

  body {
    opacity: 1;
    transform: none;
  }

  .marquee {
    animation: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {

  /* Collapse nav to burger early enough for tablets (incl. iPad Pro 1024px) */
  .nav-links,
  .nav-actions .nav-phone,
  .nav-actions .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-head .lede {
    justify-self: start;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .side-block {
    position: static;
  }
}

@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-signal {
    opacity: 0.4;
    right: -240px;
    top: 90px;
    width: 620px;
    height: 620px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cta-strip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --sec-y: 70px;
  }

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

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .member {
    padding: 22px 18px;
  }

  .path {
    padding: 40px 30px 34px;
    min-height: auto;
  }

  .form-card {
    padding: 28px 22px;
  }

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

  .about-facts {
    padding: 28px;
  }

  .info-card {
    padding: 24px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .status-card {
    padding: 24px;
  }

  .fact .v {
    font-size: 17px;
    text-align: left;
  }

  .fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .marquee-item {
    font-size: 26px;
    gap: 40px;
  }

  .marquee-item .dot {
    width: 8px;
    height: 8px;
  }

  .marquee {
    gap: 40px;
  }

  .cta-strip-actions {
    width: 100%;
  }

  .cta-strip-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media(max-width:419px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-strip-actions {
    flex-direction: column;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta a {
    justify-content: center;
  }
}

/* ============================================================
   Continuous hero-signal SVG animation
   ============================================================ */
@keyframes ring-pulse {

  0%,
  100% {
    opacity: var(--o);
    transform: scale(1);
  }

  50% {
    opacity: calc(var(--o) * 0.42);
    transform: scale(1.06);
  }
}

@keyframes core-breathe {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(1.14);
  }
}

@keyframes dot-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.45);
  }
}

@keyframes dash-flow {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -64;
  }
}

@keyframes signal-drift {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(2.4deg);
  }
}

.hero-signal g {
  transform-origin: 380px 380px;
  transform-box: view-box;
  animation: signal-drift 22s ease-in-out infinite;
}

.hero-signal g circle {
  transform-origin: 380px 380px;
  transform-box: view-box;
  animation: ring-pulse 4.4s cubic-bezier(.45, 0, .35, 1) infinite;
  will-change: transform, opacity;
}

.hero-signal g circle:nth-of-type(1) {
  --o: 0.95;
  animation-delay: 0s;
}

.hero-signal g circle:nth-of-type(2) {
  --o: 0.70;
  animation-delay: 0.35s;
}

.hero-signal g circle:nth-of-type(3) {
  --o: 0.50;
  animation-delay: 0.70s;
}

.hero-signal g circle:nth-of-type(4) {
  --o: 0.34;
  animation-delay: 1.05s;
}

.hero-signal g circle:nth-of-type(5) {
  --o: 0.20;
  animation-delay: 1.40s;
}

/* Core glow (radial-fill circle after </g>) */
.hero-signal>circle:nth-of-type(1) {
  transform-origin: 380px 380px;
  transform-box: view-box;
  animation: core-breathe 5.5s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Center solid dot */
.hero-signal>circle:nth-of-type(2) {
  transform-origin: 380px 380px;
  transform-box: view-box;
  animation: dot-pulse 2.4s ease-in-out infinite;
  will-change: transform;
}

/* Diagonal dashed line — dashes flow outward */
.hero-signal line {
  animation: dash-flow 2.8s linear infinite;
  will-change: stroke-dashoffset;
}

@media (prefers-reduced-motion: reduce) {

  .hero-signal g,
  .hero-signal g circle,
  .hero-signal>circle,
  .hero-signal line {
    animation: none !important;
  }
}