/* InfraDot AG – Website
   Farben und Formen aus dem Logo: Royal-Blau → Himmelblau, runde, kräftige Geometrie. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #05070d;
  --bg-2: #080b16;
  --surface: #0c1020;
  --surface-2: #10162b;
  --line: rgba(160, 180, 255, 0.09);
  --line-2: rgba(160, 180, 255, 0.18);
  --text: #eef1f8;
  --muted: #8d95ab;
  --brand: #1a41c2;
  --blue: #3d6bff;
  --sky: #5ab8f5;
  --grad: linear-gradient(120deg, #1a41c2 0%, #3d6bff 55%, #5ab8f5 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Unbounded", var(--font);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
address {
  font-style: normal;
}
::selection {
  background: var(--blue);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.muted {
  color: var(--muted);
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(61, 107, 255, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(61, 107, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 107, 255, 0);
  }
}
.section-title,
.page-title,
.hero-title,
.cta-title {
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.section-title {
  margin-top: 16px;
  font-size: clamp(34px, 4.6vw, 60px);
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 22px;
  border-radius: 3px;
  background: var(--grad);
}
.section-lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 460px;
}
.h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.icon {
  width: 34px;
  height: 34px;
  color: var(--sky);
}
.icon-sm {
  width: 20px;
  height: 20px;
}

/* ---------- Buttons & Links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(61, 107, 255, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(61, 107, 255, 0.9);
}
.btn-ghost {
  color: var(--text);
  background: rgba(12, 16, 32, 0.6);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
}
.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-weight: 600;
  color: var(--text);
}
.link-arrow::after {
  content: "→";
  color: var(--sky);
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover::after {
  transform: translateX(5px);
}

/* ---------- Header ----------
   Logo links, Navigation waagrecht rechts (Vorlage fmi-inc.com).
   Desktop: Maus über der Navigation → der Header wird weiss (Farben invertiert) und klappt
   unter „Kontakt“ LinkedIn, Telefon und E-Mail auf – ein schmaler Balken.
   Bis 920px: Menü-Knopf, die Navigation klappt untereinander unter dem weissen Header auf.
   Nutzt aus der Website: --brand, --ease, --line, --gutter, --header-h (88px), .container, .sr-only */
.site-header {
  --ink: #0a0e1a;
  --ink-muted: #5b6375;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s;
}
/* Zwei Flächen hinter dem Inhalt: dunkel beim Scrollen, weiss wenn aufgeklappt */
.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.site-header::before {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header::after {
  background: #fff;
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.55);
}
.site-header.is-scrolled {
  border-color: var(--line);
}
.site-header.is-scrolled::before {
  opacity: 1;
}
/* Aufgeklappt: weiss, Schrift und Logo dunkel */
.site-header.is-open,
.menu-open .site-header {
  color: var(--ink);
  border-color: rgba(10, 14, 26, 0.08);
}
.site-header.is-open::after,
.menu-open .site-header::after {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: var(--header-h);
}
.brand {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
}
.brand img {
  height: 40px;
  width: auto;
  transition: opacity 0.35s var(--ease);
}
.brand-dark {
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  opacity: 0;
}
.is-open .brand-light,
.menu-open .brand-light {
  opacity: 0;
}
.is-open .brand-dark,
.menu-open .brand-dark {
  opacity: 1;
}

/* Menüpunkte */
.mainnav-link {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: inherit;
  transition: color 0.25s;
}
/* Kleiner Pfeil ↗ beim Darüberfahren */
.mainnav-arrow {
  position: absolute;
  top: 50%;
  right: -15px;
  width: 11px;
  height: 11px;
  margin-top: -6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.mainnav-link:hover .mainnav-arrow,
.mainnav-link:focus-visible .mainnav-arrow {
  opacity: 1;
  transform: none;
}
.mainnav-link[aria-current="page"] {
  color: var(--sky, #5ab8f5);
}
.is-open .mainnav-link:hover,
.is-open .mainnav-link[aria-current="page"],
.menu-open .mainnav-link:hover,
.menu-open .mainnav-link[aria-current="page"] {
  color: var(--brand);
}
.mainnav-sub a {
  color: var(--ink-muted);
  transition: color 0.2s;
}
.mainnav-sub a:hover {
  color: var(--brand);
}
.site-header :focus-visible {
  outline-color: currentColor;
}

.burger {
  display: none;
}

/* ---------- Desktop: Navigation waagrecht, Unterpunkte als Spalten ---------- */
@media (min-width: 921px) {
  .mainnav-list {
    display: flex;
    gap: clamp(26px, 3vw, 46px);
  }
  .mainnav-item {
    display: flex;
    flex-direction: column;
  }
  .mainnav-link {
    height: var(--header-h);
    font-size: 15px;
    letter-spacing: 0.01em;
  }
  /* Die Spalte klappt über grid-template-rows auf (0fr → 1fr); width: 0, damit lange
     Unterpunkte die Abstände der Menüpunkte nicht verschieben */
  .mainnav-drop {
    display: grid;
    grid-template-rows: 0fr;
    width: 0;
    margin-top: -24px;
    transition: grid-template-rows 0.45s var(--ease);
  }
  .is-open .mainnav-drop {
    grid-template-rows: 1fr;
  }
  .mainnav-sub {
    width: max-content;
    min-height: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
  }
  .mainnav-sub li + li {
    margin-top: 5px;
  }
  .mainnav-sub li:last-child {
    padding-bottom: 20px;
  }
  /* Letzte Spalte (Kontakt) rechtsbündig, damit sie nicht über den Rand hinausragt */
  .mainnav-item:last-child .mainnav-drop {
    align-self: flex-end;
    direction: rtl;
  }
  .mainnav-item:last-child .mainnav-sub {
    direction: ltr;
    text-align: right;
  }
  /* Unterpunkte blenden nacheinander ein */
  .mainnav-sub li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.3s var(--ease);
  }
  .is-open .mainnav-sub li {
    opacity: 1;
    transform: none;
    transition-duration: 0.4s, 0.5s;
    transition-delay: calc(0.1s + var(--i) * 0.04s + var(--j) * 0.025s);
  }
  .nav-backdrop {
    display: none;
  }
}

/* ---------- Handy & Tablet: Menü-Knopf, Navigation untereinander ---------- */
@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .menu-open .site-header {
    max-height: 100dvh;
    overflow-y: auto;
  }
  .burger {
    position: relative;
    display: block;
    width: 48px;
    height: var(--header-h);
    margin-right: -8px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .burger span:not(.sr-only) {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 2px;
    margin-top: -1px;
    background: currentColor;
    transition: width 0.3s var(--ease), transform 0.4s var(--ease), opacity 0.2s;
  }
  .burger span:nth-child(1) {
    transform: translateY(-8px);
  }
  .burger span:nth-child(3) {
    transform: translateY(8px);
  }
  .burger:hover span:nth-child(2) {
    width: 22px;
  }
  /* Offen: die drei Striche werden zum ✕ */
  .menu-open .burger span:nth-child(1) {
    transform: rotate(45deg);
  }
  .menu-open .burger span:nth-child(2) {
    opacity: 0;
  }
  .menu-open .burger span:nth-child(3) {
    transform: rotate(-45deg);
  }
  .mainnav {
    order: 3;
    flex-basis: 100%;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease);
  }
  .menu-open .mainnav {
    grid-template-rows: 1fr;
  }
  .mainnav-list {
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s linear 0.5s;
  }
  .menu-open .mainnav-list {
    visibility: visible;
    transition-delay: 0s;
  }
  .mainnav-item {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.4s var(--ease);
  }
  .menu-open .mainnav-item {
    opacity: 1;
    transform: none;
    transition-duration: 0.4s, 0.5s;
    transition-delay: calc(0.1s + var(--i) * 0.05s);
  }
  .mainnav-item:first-child {
    padding-top: 4px;
  }
  .mainnav-item:last-child {
    padding-bottom: 24px;
  }
  .mainnav-link {
    display: inline-flex;
    padding: 5px 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }
  .mainnav-arrow {
    display: none;
  }
  /* LinkedIn/Telefon/E-Mail unten wie bisher */
  .mainnav-drop--kontakt .mainnav-sub {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 3px solid var(--brand);
    font-size: 14px;
  }
  /* Seite darunter abdunkeln, Klick daneben schliesst */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(5, 7, 13, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0s linear 0.4s;
  }
  .menu-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header *,
  .site-header::before,
  .site-header::after,
  .nav-backdrop {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-globe {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 13, 0.85) 0%, rgba(5, 7, 13, 0.35) 38%, transparent 60%),
    linear-gradient(0deg, rgba(5, 7, 13, 0.9) 0%, transparent 38%);
}
/* Slogan-Variante: Text links und Karte rechts, eine volle Bildschirmhöhe. */
.hero--slogan {
  min-height: 100svh;
  align-items: center;
  background: var(--bg);
}
.hero--slogan .hero-globe {
  inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
}
.hero--slogan .hero-fade {
  background: linear-gradient(90deg, rgba(5, 7, 13, 0.88) 0%, rgba(5, 7, 13, 0.65) 30%, transparent 62%),
    linear-gradient(to bottom, transparent 64%, rgba(5, 7, 13, 0.4) 82%, var(--bg) 100%);
}
.hero--slogan + .section {
  padding-top: clamp(48px, 6vw, 80px);
}
.hero-slogan {
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 60px;
  text-align: left;
}
.hero-copy {
  max-width: 56%;
}
.hero-keywords {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4em 1.25em;
  margin: 0 0 clamp(18px, 2.3vw, 30px);
  color: #c9d2e5;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 300;
  line-height: 1.4;
}
.hero-word {
  display: inline-block;
  white-space: nowrap;
  animation: slogan-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.1s + var(--word-index) * 0.25s);
}
.hero-headline {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(48px, 5.8vw, 84px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #fff;
}
.hero-headline-line {
  display: block;
  animation: slogan-pop 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.75s + var(--line-index) * 0.16s);
}
.hero-headline-accent {
  margin-top: 0.12em;
  font-size: 0.78em;
  font-weight: 300;
  letter-spacing: -0.04em;
  background: linear-gradient(110deg, #3d6bff 0%, #5ab8f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes slogan-pop {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@media (max-width: 919px) {
  .hero--slogan {
    min-height: max(520px, 100svh);
    align-items: flex-start;
  }
  .hero-slogan {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 0;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-keywords {
    gap: 0.4em 1.1em;
    margin-bottom: 18px;
    font-size: clamp(16px, 2.8vw, 22px);
  }
  .hero-headline {
    max-width: 680px;
    font-size: clamp(43px, 7vw, 66px);
  }
  .hero-headline-accent {
    font-size: 0.76em;
  }
  .hero--slogan .hero-fade {
    background: linear-gradient(180deg, rgba(5, 7, 13, 0.82) 0%, rgba(5, 7, 13, 0.35) 30%, transparent 52%),
      linear-gradient(to bottom, transparent 64%, rgba(5, 7, 13, 0.4) 82%, var(--bg) 100%);
  }
}
@media (max-width: 600px) {
  .hero-slogan {
    padding-top: calc(var(--header-h) + 28px);
  }
  .hero-headline-accent {
    max-width: 13em;
  }
}
@media (max-width: 359px) {
  .hero-headline {
    font-size: 39px;
  }
  .hero-headline-accent {
    font-size: 0.72em;
  }
}
/* Kurzes Querformat nutzt die Anordnung mit Text und Karte nebeneinander. */
@media (min-width: 601px) and (max-width: 919px) and (max-height: 600px) {
  .hero--slogan {
    min-height: 100svh;
    align-items: center;
  }
  .hero-slogan {
    padding-top: calc(var(--header-h) + 10px);
    padding-bottom: 24px;
  }
  .hero-copy {
    max-width: 56%;
  }
  .hero-keywords {
    font-size: 16px;
  }
  .hero-headline {
    font-size: clamp(36px, 5vw, 48px);
  }
  .hero--slogan .hero-fade {
    background: linear-gradient(90deg, rgba(5, 7, 13, 0.88) 0%, rgba(5, 7, 13, 0.65) 30%, transparent 62%),
      linear-gradient(to bottom, transparent 64%, rgba(5, 7, 13, 0.4) 82%, var(--bg) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-word,
  .hero-headline-line {
    animation: none;
  }
}
.hero-content {
  padding: calc(var(--header-h) + 40px) 0 clamp(56px, 11vh, 120px);
}
.hero-title {
  margin-top: 22px;
  font-size: clamp(46px, 7.6vw, 118px);
  max-width: 11ch;
}
.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-kicker {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  color: #c3c9d8;
}
.hero-lead {
  margin-top: 24px;
  max-width: 520px;
  color: #b3bacb;
  font-size: clamp(16px, 1.4vw, 19px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-loader {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: opacity 0.8s;
}
.hero-loader.is-done {
  opacity: 0;
}
.hero-loader-bar {
  position: relative;
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: var(--line-2);
}
.hero-loader-bar i {
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  background: var(--sky);
}
.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--sky), transparent);
  animation: drip 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 90% at 80% 10%, rgba(61, 107, 255, 0.22), transparent 70%),
    radial-gradient(40% 60% at 95% 90%, rgba(90, 184, 245, 0.12), transparent 70%);
}
.page-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(170, 190, 255, 0.16) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 90% at 75% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 90% at 75% 30%, #000 20%, transparent 75%);
}
.fiber {
  position: absolute;
  right: -10%;
  height: 1px;
  width: 70%;
  background: linear-gradient(90deg, transparent, rgba(90, 184, 245, 0.8), transparent);
  transform: rotate(-12deg);
  opacity: 0.5;
  animation: fiber 7s linear infinite;
}
.fiber.f1 {
  top: 30%;
}
.fiber.f2 {
  top: 48%;
  animation-delay: -2.5s;
  width: 55%;
}
.fiber.f3 {
  top: 66%;
  animation-delay: -5s;
  width: 60%;
}
@keyframes fiber {
  from {
    transform: translateX(40%) rotate(-12deg);
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  to {
    transform: translateX(-60%) rotate(-12deg);
    opacity: 0;
  }
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  font: 400 12px/1 var(--mono);
  color: var(--muted);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 10px;
  opacity: 0.5;
}
.breadcrumbs a:hover {
  color: var(--text);
}
.page-hero-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 26px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(61, 107, 255, 0.25), rgba(26, 65, 194, 0.08));
  border: 1px solid var(--line-2);
}
.page-title {
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 84px);
  max-width: 16ch;
}
.page-lead {
  margin-top: 22px;
  max-width: 600px;
  color: #b3bacb;
  font-size: clamp(17px, 1.5vw, 20px);
}
.page-lead a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Sektionen ---------- */
.section {
  padding: clamp(80px, 11vw, 150px) 0;
}
.section-tight {
  padding-top: clamp(56px, 7vw, 90px);
}
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

/* Leistungs-Grid (Linien-Raster wie auf einem Plan) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-grid > li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px;
  padding: 28px 24px 26px;
  overflow: hidden;
  transition: background 0.35s;
}
.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(61, 107, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.service-tile:hover::before,
.service-tile:focus-visible::before {
  opacity: 1;
}
.service-tile .icon {
  margin-top: 26px;
  transition: transform 0.35s var(--ease);
}
.service-tile:hover .icon {
  transform: translateY(-3px);
}
.tile-num {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em;
  color: #5c6580;
}
.tile-title {
  position: relative;
  margin-top: auto;
  padding-top: 22px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tile-text {
  position: relative;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.tile-arrow {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.tile-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-tile:hover .tile-arrow {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(-45deg);
}

/* Startseite: Dienstleistung und zugehöriges Symbol */
.service-grid--compact .service-tile {
  min-height: 190px;
  padding: 28px 16px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}
.service-grid--compact .service-tile .icon {
  width: 40px;
  height: 40px;
  margin-top: 0;
  flex-shrink: 0;
}
.service-grid--compact .tile-title {
  margin-top: 0;
  padding-top: 0;
  line-height: 1.35;
}

/* Leistungs-Liste (Übersichtsseite) */
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px 44px 1.1fr 1fr 40px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.service-row:hover {
  background: linear-gradient(90deg, transparent, rgba(61, 107, 255, 0.07), transparent);
}
.service-row-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.service-row-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.service-row-body p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.service-row-points {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #b3bacb;
}
.service-row-points li::before,
.checklist li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 8px var(--sky);
  vertical-align: middle;
}
.service-row .tile-arrow {
  position: static;
}
.service-row:hover .tile-arrow {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(-45deg);
}
/* Seite Dienstleistungen: Nummer, Symbol, Titel und rechts die Stichpunkte – ohne Beschreibung, ohne Link */
.service-list--titles .service-row {
  grid-template-columns: 48px 44px 1.1fr 1fr;
}
.service-list--titles .service-row:hover {
  background: none;
}
/* Umbrochene Stichpunkte hängend einrücken (Punkt 6px + 10px Abstand) */
.service-list--titles .service-row-points li {
  padding-left: 16px;
  text-indent: -16px;
}

/* Ablauf */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.process::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 7px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), var(--blue), var(--sky), transparent);
}
.process li {
  position: relative;
  padding-top: 40px;
}
.process li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--sky);
  box-shadow: 0 0 14px rgba(90, 184, 245, 0.6);
}
.process-num {
  font: 500 12px/1 var(--mono);
  color: var(--sky);
}
.process h3 {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 650;
}
.process p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* Über uns */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.about-text p:not(.eyebrow) {
  margin-top: 20px;
  color: #b3bacb;
  font-size: 18px;
}
.founders {
  display: grid;
  gap: 16px;
}
.founders-wide {
  grid-template-columns: 1fr 1fr;
}
.founder {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
}
.founder-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--grad);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.founder h3 {
  font-size: 20px;
  font-weight: 650;
}
.founder-role {
  margin-top: 2px;
  font: 500 11px/1.6 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}
.founder p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.quote {
  margin: 0;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: radial-gradient(100% 120% at 0% 0%, rgba(61, 107, 255, 0.2), transparent 60%), var(--surface);
}
.quote p {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.value {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.value h3 {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 650;
}
.value p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* Leistung (Detailseite) */
.service-detail {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.service-intro {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: #dce1ec;
  margin-bottom: 48px;
}
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.checklist li {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 16px;
}
.service-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 100% at 100% 0%, rgba(61, 107, 255, 0.22), transparent 60%), var(--surface);
}
.aside-title {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.service-aside > p:not(.eyebrow):not(.aside-title) {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 15px;
}
.aside-link {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  color: #c3c9d8;
}
.aside-link:first-of-type {
  margin-top: 22px;
}
.aside-link:hover {
  color: var(--sky);
}
/* Ruhige, gut lesbare Dienstleistungsdetails */
.page-hero--service .page-title {
  max-width: 940px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.08;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}
.service-main .service-intro {
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 680px;
}
.service-checklist {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 20px;
}
.service-checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  line-height: 1.5;
}
.service-checklist li:last-child { border-bottom: 0; }
.service-checklist li::before { display: none; }
.service-checklist svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: none;
  stroke: var(--sky);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-aside {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 20px;
  border-color: rgba(123, 155, 211, 0.2);
  background: linear-gradient(145deg, rgba(61, 107, 255, 0.09), transparent 75%), var(--surface);
}
.service-aside .aside-title {
  margin-top: 14px;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.service-contact-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(99, 151, 255, 0.5);
  border-radius: 12px;
  background: rgba(61, 107, 255, 0.12);
  color: #eef4ff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.2s, border-color 0.2s;
}
.service-contact-button svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.service-contact-button:hover { background: rgba(61, 107, 255, 0.24); border-color: #6397ff; }
.service-contact-button:hover svg { transform: translateX(3px); }
.service-contact-button:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.service-direct-contact { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.service-direct-contact p { color: var(--muted); font-size: 12px; }
.service-direct-contact .aside-link { margin-top: 8px; }

.service-grid:has(> li:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}
.more-link {
  margin-top: 8px;
}

/* CTA: schlichter Streifen – Titel, eine Zeile, zwei Schaltflächen zur Kontaktseite
   (Vorlage: „Kontaktieren Sie uns!“ auf multinetcom.ch, in infradot-Farben) */
.cta {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-title {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
}
.cta-text {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 36px;
}
/* Rahmen-Schaltfläche: Beim Darüberfahren läuft die Füllung von links herein und nach rechts wieder hinaus */
.cta-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 58px;
  padding: 0 28px;
  border: 2px solid var(--text);
  color: var(--text);
  font: 650 14px/1 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease);
}
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.cta-btn:hover,
.cta-btn:focus-visible {
  border-radius: 0;
  color: var(--bg);
}
.cta-btn:hover::before,
.cta-btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}
.cta-btn--brand {
  border-color: var(--blue);
}
.cta-btn--brand::before {
  background: var(--grad);
}
.cta-btn--brand:hover,
.cta-btn--brand:focus-visible {
  color: #fff;
}
@media (max-width: 560px) {
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-btn {
    min-width: 0;
  }
}

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 14px;
}
.contact-card {
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-card address,
.contact-card .contact-big {
  display: block;
  margin-top: 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
}
.contact-card .contact-big:hover {
  color: var(--sky);
}
.contact-card .muted {
  margin-top: 4px;
  font-size: 15px;
}
.contact-card .link-arrow {
  margin-top: 14px;
  font-size: 15px;
}
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 8px;
}
.field span {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  font: 400 16px/1.4 var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 107, 255, 0.18);
}
.field [aria-invalid="true"] {
  border-color: #ff6b81;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}
.check input {
  margin-top: 3px;
  accent-color: var(--blue);
}
.check a {
  color: var(--sky);
  text-decoration: underline;
}
.contact-form .btn {
  justify-self: start;
}
.form-note {
  font-size: 14px;
  color: var(--sky);
}

/* Rechtstexte */
.prose {
  max-width: 760px;
}
.prose h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 650;
}
.prose p {
  color: #b3bacb;
  margin-top: 10px;
}
.prose a {
  color: var(--sky);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.3fr 1fr;
  gap: 40px;
  padding: 72px 0 56px;
}
.footer-brand img {
  height: 40px;
  width: auto;
}
.footer-brand p {
  margin-top: 20px;
  max-width: 300px;
  color: var(--muted);
}
.social {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: #c3c9d8;
  transition: background 0.2s, color 0.2s;
}
.social svg {
  width: 18px;
  height: 18px;
}
.social:hover {
  background: var(--blue);
  color: #fff;
}
.footer-title {
  margin-bottom: 18px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links-2 {
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}
.footer-links a,
.footer-meta a {
  color: #c3c9d8;
}
.footer-links a:hover,
.footer-meta a:hover {
  color: #fff;
}
.footer-address {
  color: #c3c9d8;
  line-height: 1.7;
}
/* Standorte im Footer: Kanton als Titel, feine Linie dazwischen */
.footer-locations {
  max-width: 260px;
}
.footer-address strong {
  display: block;
  font-weight: 500;
  color: #fff;
}
.footer-address + .footer-address {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.footer-meta {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom span:last-child {
  display: flex;
  gap: 22px;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Scroll-Animationen ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  .process::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .values {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 920px) {
  .about,
  .service-detail,
  .contact {
    grid-template-columns: 1fr;
  }
  .service-aside {
    position: static;
  }
  .service-row {
    grid-template-columns: 40px 1fr 40px;
  }
  .service-row .icon {
    display: none;
  }
  .service-list--titles .service-row {
    grid-template-columns: 40px 36px 1fr;
    gap: 12px 16px;
  }
  .service-list--titles .service-row .icon {
    display: block;
  }
  /* Stichpunkte auf schmalen Bildschirmen unter dem Titel statt rechts daneben */
  .service-list--titles .service-row-points {
    display: grid;
    grid-column: 3;
  }
  .service-row-points {
    display: none;
  }
  .hero-fade {
    background: linear-gradient(0deg, rgba(5, 7, 13, 0.95) 10%, rgba(5, 7, 13, 0.2) 60%, transparent);
  }
  .hero-loader {
    display: none;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .service-grid,
  .service-grid:has(> li:nth-child(3):last-child) {
    grid-template-columns: 1fr 1fr;
  }
  .service-tile {
    min-height: 210px;
    padding: 22px 18px;
  }
  .service-grid--compact .service-tile {
    min-height: 164px;
    padding: 24px 12px;
    gap: 20px;
  }
  .service-grid--compact .service-tile .icon {
    width: 36px;
    height: 36px;
  }
  .service-grid--compact .tile-title {
    font-size: 13px;
    letter-spacing: 0.03em;
  }
  .tile-text {
    display: none;
  }
  .process,
  .founders-wide,
  .values,
  .checklist,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  /* Handy: Nummer und Titel bilden eine kompakte, durchgehende Liste. */
  [aria-labelledby="ablauf-title"] .section-head { margin-bottom: 24px; }
  .process { gap: 0; }
  .process li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .process li:last-child { border-bottom: 0; }
  .process li::before { display: none; }
  .process-num {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(90, 184, 245, 0.2);
    border-radius: 12px;
    background: rgba(61, 107, 255, 0.06);
    font-size: 12px;
  }
  .process h3 { margin-top: 0; font-size: 18px; font-weight: 550; line-height: 1.35; }
  .service-detail { gap: 32px; }
  .service-main .service-intro { margin-bottom: 28px; font-size: 18px; }
  .service-contact-button { padding-inline: 16px; }
  .scroll-hint {
    display: none;
  }
  .founder {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Über-uns-Slider ----------
   Übergangs-Abschnitt nach den Leistungen (Vorlage: multinetcom.ch, „Über uns“).
   Die Bilder fahren vertikal nach oben, der Text links wechselt mit – endlos: nach dem letzten
   Bild kommt das erste wieder von unten.
   Tempo und Punkte wie in der Vorlage: 1 s Fahrt (schnell los, weich aus), kleine Punkte rechts senkrecht.
   Nutzt aus der Website: --bg, --text, --muted, --sky, --blue, --grad, --mono, --gutter, --ease,
   --line-2, --radius-lg, .container */
.us-slider {
  --us-height: clamp(560px, 78vh, 680px);
  --us-speed: 1000ms;
  --us-glide: cubic-bezier(0.25, 0.1, 0.25, 1);
  /* Hochformat-Fotos höchstens so breit zeigen (Breite = Höhe × 2.2, links bleibt Platz für den Text)
     – siehe .us-slide.is-capped */
  --us-cap: min(calc(var(--us-height) * 2.2), 78vw);
  --us-fade: clamp(0px, (100vw - var(--us-cap)) * 0.6, 520px);
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--us-height);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

/* Bilder */
.us-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
/* Jede Folie liegt für sich: Die neue fährt herein, die alte hinaus. So geht es auch vom letzten
   Bild direkt weiter zum ersten, ohne zurückzuspulen. --us-enter / --us-exit setzt das Skript
   (1 = unten, -1 = oben). */
.us-track {
  position: relative;
  height: 100%;
}
.us-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  transform: translateY(calc(var(--us-enter, 1) * 100%));
}
.us-slide.is-active,
.us-slide.is-leaving {
  visibility: visible;
  transition: transform var(--us-speed) var(--us-glide);
}
.us-slide.is-active {
  z-index: 1;
  transform: none;
}
.us-slide.is-leaving {
  transform: translateY(calc(var(--us-exit, -1) * 100%));
}
.us-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Hochformat-Fotos nicht über die ganze Breite aufziehen – sonst bleibt nur ein schmaler, stark
   vergrösserter Streifen und das Motiv gerät unter den Text. Das Bild steht rechts und läuft links
   weich in den Grund aus. */
.us-slide.is-capped img {
  width: min(100%, var(--us-cap));
  margin-left: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--us-fade));
  mask-image: linear-gradient(90deg, transparent, #000 var(--us-fade));
}
/* Links dunkel für den Text, rechts leicht für die Punkte, oben und unten weich in die Nachbar-Abschnitte */
.us-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5, 7, 13, 0) 16%, rgba(5, 7, 13, 0) 84%, var(--bg) 100%),
    radial-gradient(55% 75% at 0% 100%, rgba(26, 65, 194, 0.32), transparent 70%),
    linear-gradient(270deg, rgba(5, 7, 13, 0.5) 0, rgba(5, 7, 13, 0) 140px),
    linear-gradient(90deg, rgba(5, 7, 13, 0.95) 0%, rgba(5, 7, 13, 0.88) 26%, rgba(5, 7, 13, 0.5) 58%, rgba(5, 7, 13, 0.12) 100%);
}

/* Text */
.us-content {
  max-width: 500px;
  padding-block: 96px;
}
.us-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.us-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--sky);
}
.us-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(61, 107, 255, 0.6);
  animation: us-pulse 2.2s infinite;
}
@keyframes us-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(61, 107, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 107, 255, 0);
  }
}
.us-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.us-count b {
  font-weight: 500;
  color: var(--text);
}

/* Alle Texte liegen in derselben Zelle – die Höhe springt beim Wechsel nicht */
.us-copies {
  display: grid;
  margin-top: 18px;
}
.us-copy {
  grid-area: 1 / 1;
  --us-dir: 1;
}
.us-slider[data-dir="down"] .us-copy {
  --us-dir: -1;
}
.us-copy > * {
  opacity: 0;
  transform: translateY(calc(var(--us-dir) * 26px));
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.us-copy.is-leaving > * {
  transform: translateY(calc(var(--us-dir) * -26px));
}
.us-copy.is-active > * {
  opacity: 1;
  transform: none;
  transition-duration: 0.65s;
}
.us-copy.is-active > :nth-child(1) {
  transition-delay: 0.25s;
}
.us-copy.is-active > :nth-child(2) {
  transition-delay: 0.33s;
}
.us-copy.is-active > :nth-child(3) {
  transition-delay: 0.41s;
}
.us-title {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--text);
}
/* Akzentlinie: fährt bei jedem Wechsel von links herein */
.us-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 22px;
  border-radius: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease) 0.45s;
}
.us-copy.is-active .us-title::after {
  transform: scaleX(1);
}
.us-text {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.us-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 26px;
  padding: 0 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(12, 16, 32, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.us-link::after {
  content: "→";
  color: var(--sky);
  transition: transform 0.25s var(--ease);
}
.us-copy.is-active .us-link {
  transition: opacity 0.65s var(--ease) 0.41s, transform 0.65s var(--ease) 0.41s, border-color 0.25s, background 0.25s;
}
.us-link:hover {
  border-color: var(--sky);
  background: rgba(26, 65, 194, 0.25);
}
.us-link:hover::after {
  transform: translateX(5px);
}

/* Punkte rechts (senkrecht): klein wie in der Vorlage – 8 px, 14 px Abstand, aktiv in infradot-Blau */
.us-nav {
  position: absolute;
  top: 50%;
  right: calc(var(--gutter) - 8px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
}
.us-dot {
  position: relative;
  width: 24px;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.us-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, background 0.3s, box-shadow 0.3s;
}
.us-dot:hover::before {
  opacity: 0.6;
}
.us-dot.is-active::before {
  opacity: 1;
  background: var(--sky);
  box-shadow: 0 0 8px rgba(61, 107, 255, 0.7);
}
/* Anhalten-Knopf: nur bei Tastaturbedienung sichtbar – die Vorlage zeigt nur die Punkte */
.us-toggle {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(5, 7, 13, 0.5);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: border-color 0.25s, color 0.25s;
}
.us-toggle:focus-visible {
  opacity: 1;
  pointer-events: auto;
}
.us-toggle:hover {
  border-color: var(--sky);
  color: var(--sky);
}
.us-toggle svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.us-toggle .us-icon-play,
.us-slider.is-stopped .us-toggle .us-icon-pause {
  display: none;
}
.us-slider.is-stopped .us-toggle .us-icon-play {
  display: block;
}

/* Einblenden, sobald der Abschnitt ins Bild scrollt (nur mit JS) */
.us-slider.is-armed .us-media {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease);
}
.us-slider.is-armed .us-head,
.us-slider.is-armed .us-nav {
  opacity: 0;
  transition: opacity 0.8s var(--ease) 0.2s;
}
.us-slider.is-armed:not(.is-in) .us-copy.is-active > * {
  opacity: 0;
  transform: translateY(26px);
}
.us-slider.is-armed:not(.is-in) .us-copy.is-active .us-title::after {
  transform: scaleX(0);
}
.us-slider.is-in .us-media {
  opacity: 1;
  transform: none;
}
.us-slider.is-in .us-head,
.us-slider.is-in .us-nav {
  opacity: 1;
}

/* Handy: Text oben, Bild darunter (wie multinetcom) */
@media (max-width: 768px) {
  .us-slider {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .us-content {
    max-width: none;
    padding-block: 72px 36px;
  }
  .us-text {
    font-size: 16px;
  }
  .us-media {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 2;
    height: 360px;
    margin-inline: var(--gutter);
    border-radius: var(--radius-lg);
  }
  .us-media::after {
    background: linear-gradient(180deg, rgba(5, 7, 13, 0) 55%, rgba(5, 7, 13, 0.75) 100%);
  }
  .us-slide.is-capped img {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .us-nav {
    top: auto;
    right: auto;
    bottom: 16px;
    left: 50%;
    flex-direction: row;
    transform: translateX(-50%);
  }
  .us-dot {
    width: 18px;
    height: 28px;
  }
  .us-toggle {
    top: 50%;
    left: calc(100% + 6px);
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .us-slide,
  .us-copy > *,
  .us-title::after,
  .us-slider.is-armed .us-media {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- Über uns: redaktioneller Aufbau ---------- */
.about-editorial-hero { position: relative; isolation: isolate; height: clamp(520px, 74vh, 740px); overflow: hidden; background: var(--bg-2); }
.about-photo { position: relative; margin: 0; min-width: 0; overflow: hidden; background: var(--surface); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, 50% 50%); }
.about-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(5,7,13,.8)); }
/* Bild bringt Titel und Text selbst mit: kein Verlauf, keine Bildunterschrift */
.about-photo-plain::after { content: none; }
.photo-caption { position: absolute; z-index: 1; bottom: 26px; left: 28px; right: 24px; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.photo-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--sky); }
.about-hero-photo { position: absolute; z-index: -1; inset: 0; }
.about-hero-photo::after { background: linear-gradient(180deg, rgba(5,7,13,.5), transparent 35%, rgba(5,7,13,.75)), linear-gradient(90deg, rgba(5,7,13,.5), transparent 75%); }
.about-hero-copy { position: absolute; left: 50%; transform: translateX(-50%); bottom: 68px; }
.about-hero-copy h1 { font-size: clamp(64px, 9vw, 120px); line-height: 1; font-weight: 750; letter-spacing: -.045em; text-transform: uppercase; margin-top: 20px; }
.about-scroll { position: absolute; right: 0; bottom: 2px; display: grid; place-items: center; width: 64px; height: 64px; background: var(--grad); border-radius: 50%; font-size: 27px; }
.principles-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.editorial-principles .section-title { max-width: 620px; }
.principle-list { display: grid; margin-top: 44px; }
.principle-list li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.editorial-num { font: 400 11px/1.6 var(--mono); color: var(--sky); padding-top: 5px; }
.principle-list h3 { font-size: 23px; line-height: 1.25; font-weight: 600; }
.principle-list p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.vertical-wordmark { justify-self: center; writing-mode: vertical-rl; font: 800 clamp(90px, 12vw, 158px)/.82 var(--font); letter-spacing: -.06em; color: rgba(61,107,255,.14); -webkit-text-stroke: 1px rgba(90,184,245,.32); }
.vertical-wordmark span { color: var(--sky); -webkit-text-stroke: 0; opacity: .55; }
.founder-signature { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 38px; }
.founder-signature strong, .founder-signature span { display: block; }
.founder-signature strong { font-size: 16px; font-weight: 600; }
.founder-signature span { color: var(--muted); font-size: 12px; margin-top: 4px; }
.editorial-benefits { border-top: 1px solid var(--line); background: var(--bg-2); }
.editorial-narrow { max-width: 950px; }
.benefit-list { margin-top: 42px; border-top: 1px solid var(--line-2); }
.benefit { border-bottom: 1px solid var(--line-2); }
.benefit summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; cursor: pointer; font-size: 21px; font-weight: 500; }
.benefit summary::-webkit-details-marker { display: none; }
.benefit-plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.benefit-plus::before, .benefit-plus::after { content: ""; position: absolute; background: var(--sky); left: 1px; right: 1px; top: 8px; height: 1px; }
.benefit-plus::after { transform: rotate(90deg); transition: transform .2s; }
.benefit[open] .benefit-plus::after { transform: rotate(0); }
.benefit > p { max-width: 730px; padding: 0 42px 30px 0; color: var(--muted); line-height: 1.8; }
.editorial-gallery { padding-top: 0; }
.gallery-head { margin-bottom: 42px; }
.photo-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 25vw, 350px); gap: 20px; }
.photo-gallery .about-photo { grid-column: span 2; }
.photo-gallery .about-photo:first-child { grid-column: span 4; }
.editorial-contact-strip { border-top: 1px solid var(--line); background: var(--bg-2); }
.editorial-contact-strip .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.editorial-contact-strip h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.025em; margin-top: 16px; }
.editorial-contact-strip .container > div:last-child { border-left: 1px solid var(--line-2); padding-left: 44px; display: grid; gap: 10px; }
.editorial-contact-strip .link-arrow { margin-bottom: 15px; color: var(--sky); }

/* ---------- Kontakt: Formular links, Kontaktdaten und Karte rechts ---------- */
.contact-editorial { padding-top: calc(var(--header-h) + 52px); }
.contact-page-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.contact-page-head .section-title { font-size: clamp(38px, 4vw, 54px); }
.contact-page-lead { max-width: 380px; padding-bottom: 3px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.contact-editorial .eyebrow { font-family: var(--font); font-weight: 550; font-size: 12px; letter-spacing: .11em; }
.contact-editorial-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-form-shell { background: var(--surface); border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; }
.contact-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 12px; border-bottom: 1px solid var(--line-2); background: rgba(5, 7, 13, .3); }
.contact-tabs button { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; min-height: 74px; padding: 14px; border: 1px solid transparent; border-radius: 0; color: var(--muted); background: transparent; font: 400 15px/1.3 var(--font); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.contact-tabs button:hover { border-color: var(--line-2); color: var(--text); }
.contact-tabs button[aria-selected="true"] { border-color: rgba(90, 184, 245, .48); background: rgba(61, 107, 255, .12); color: var(--text); box-shadow: inset 3px 0 0 var(--sky); }
.contact-tabs svg { width: 21px; height: 21px; flex-shrink: 0; }
.contact-tabs button[aria-selected="true"] svg { color: var(--sky); }
.contact-tabs strong { display: block; font-size: 15px; font-weight: 600; }
.contact-tabs small { display: block; margin-top: 5px; color: var(--muted); font: 400 12px/1.3 var(--font); }
.contact-form-lines { border: 0; border-radius: 0; gap: 20px; padding: clamp(24px, 2.6vw, 34px); background: transparent; }
.contact-form-intro { margin-bottom: 2px; }
.contact-form-intro h2 { margin-bottom: 8px; font: 600 24px/1.2 var(--font); letter-spacing: -.025em; }
.contact-form-intro p { max-width: 360px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.contact-form-lines .field-row { gap: 14px; }
.contact-form-lines .field { min-width: 0; gap: 8px; }
.contact-form-lines .field span { color: var(--text); text-transform: none; letter-spacing: 0; font: 450 14px/1.4 var(--font); }
.contact-form-lines input:not([type="checkbox"]), .contact-form-lines select, .contact-form-lines textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(160, 180, 255, .21); border-radius: 1px; background: rgba(5, 7, 13, .46); color: var(--text); font: 400 16px/1.4 var(--font); transition: border-color .2s, background .2s, box-shadow .2s; }
.contact-form-lines .field textarea { min-height: 118px; resize: vertical; }
.contact-form-lines .field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235ab8f5' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; cursor: pointer; }
.contact-form-lines .field option { background: var(--surface); color: var(--text); font-family: var(--font); }
.contact-form-lines .field input:hover, .contact-form-lines .field select:hover, .contact-form-lines .field textarea:hover { border-color: rgba(160, 180, 255, .4); }
.contact-form-lines .field input:focus, .contact-form-lines .field select:focus, .contact-form-lines .field textarea:focus { border-color: var(--sky); outline: 0; background-color: rgba(61, 107, 255, .06); box-shadow: 0 0 0 3px rgba(90, 184, 245, .1); }
.contact-form-lines .check { align-items: flex-start; margin-top: 2px; color: var(--muted); font: 400 13px/1.5 var(--font); }
.contact-form-lines .check input { width: 17px; height: 17px; margin: 2px 0 0; flex-shrink: 0; border-radius: 0; font-family: var(--font); }
.contact-form-lines .check a { color: var(--text); text-decoration-color: rgba(160, 180, 255, .5); text-underline-offset: 3px; }
.contact-form-action { display: grid; gap: 10px; padding-top: 3px; }
.contact-form-lines .btn { width: 100%; justify-content: space-between; border-radius: 0; padding-inline: 20px; font: 550 15px/1 var(--font); min-height: 52px; }
.contact-mail-note { color: var(--muted); font: 400 12px/1.5 var(--font); }
.form-note:empty { display: none; }
/* Kontaktformular mit Versand im Hintergrund: Dateifeld, Spam-Falle, Rückmeldungen */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form-lines .field small { color: var(--muted); font: 400 12px/1.5 var(--font); }
.contact-form-lines .field input[type="file"] { padding: 9px 12px; color: var(--muted); font-size: 14px; cursor: pointer; }
.contact-form-lines .field input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 14px; border: 1px solid rgba(160, 180, 255, .3); border-radius: 0; background: transparent; color: var(--text); font: 500 13px/1 var(--font); cursor: pointer; }
.contact-form-lines .form-note[data-state="error"] { color: #ff8a9b; }
.contact-form-lines .btn:disabled { opacity: .6; cursor: progress; }
.contact-details-column { padding-top: 4px; }
.contact-direct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.contact-direct h2 { font: 450 14px/1.3 var(--font); color: var(--muted); margin-bottom: 10px; }
.contact-locations > h2 { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 20px; letter-spacing: -.015em; }
.contact-direct a { display: block; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.contact-direct a:hover, .location-maps-link:hover { color: var(--sky); }
.contact-direct p, .contact-direct .contact-linkedin { font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 8px; }
.contact-locations { margin-top: 32px; }
.location-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.location-list article { position: relative; border-left: 2px solid var(--line-2); padding: 0 0 0 18px; }
.location-num { position: absolute; right: 0; top: 5px; color: var(--sky); font: 500 12px/1 var(--font); }
.location-list h3 { margin-right: 24px; font-size: 19px; font-weight: 550; }
.location-list address, .location-list article > p:not(.location-num) { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.location-maps-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--sky); }
.contact-map-card { margin-top: 32px; border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; background: var(--surface); }
.contact-map-heading { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-map-heading .eyebrow { font-size: 11px; letter-spacing: .04em; }
.map-overview { border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 0; min-height: 36px; padding: 7px 12px; font: 400 12px/1.4 var(--font); cursor: pointer; }
.map-overview:hover { border-color: var(--sky); background: rgba(90, 184, 245, .06); }
.contact-location-map { position: relative; height: 340px; z-index: 0; background: #151e2c; }
.contact-location-map .leaflet-tile-pane { filter: grayscale(.8) invert(.9) hue-rotate(180deg) brightness(.78) contrast(.9); }
.infradot-map-pin { border: 1px solid white; border-radius: 50%; background: var(--blue); color: white; box-shadow: 0 0 0 7px rgba(61,107,255,.2); display: grid; place-items: center; font: 600 13px/1 var(--font); }
.infradot-map-label { border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 500 12px/1.4 var(--font); box-shadow: none; padding: 7px 10px; }
.contact-location-map .leaflet-tooltip-left::before { border-left-color: var(--surface); }
.contact-location-map .leaflet-tooltip-right::before { border-right-color: var(--surface); }
.contact-location-map .leaflet-control-attribution { color: #333; font-size: 10px; }
.contact-location-map .leaflet-popup-content-wrapper, .contact-location-map .leaflet-popup-tip { background: var(--surface); color: var(--text); }
.contact-location-map .leaflet-popup-content { font-family: var(--font); }
.contact-location-map .leaflet-popup-content p { margin: 9px 0; }
.contact-location-map .leaflet-popup-content a { color: var(--sky); }
.map-loading { position: absolute; z-index: 700; left: 18px; right: 18px; bottom: 34px; padding: 12px; border-radius: 9px; background: rgba(5,7,13,.85); color: var(--text); font-size: 12px; pointer-events: none; }
.map-loading[hidden] { display: none; }
.map-note { padding: 10px 18px; color: var(--muted); font-size: 11px; }
.contact-form-lines .field [aria-invalid="true"] { border-color: #ff6b81; }
.contact-form-lines .form-note { font: 400 14px/1.5 var(--font); }

@media (max-width: 920px) {
  .principles-layout { grid-template-columns: 1fr .45fr; gap: 36px; }
  .contact-editorial-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
  .contact-tabs button { padding: 12px 10px; gap: 9px; }
  .contact-tabs small { font-size: 11px; }
  .contact-direct, .location-list { grid-template-columns: 1fr; gap: 24px; }
  .contact-location-map { height: 320px; }
}
@media (max-width: 760px) {
  .contact-page-head { align-items: start; flex-direction: column; gap: 22px; }
  .contact-editorial-layout { grid-template-columns: 1fr; gap: 44px; }
  .contact-form-lines { padding: 28px; }
  .contact-direct, .location-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .about-editorial-hero { height: 520px; }
  .about-hero-copy { bottom: 50px; }
  .about-hero-copy h1 { font-size: clamp(54px, 14vw, 80px); }
  .about-scroll { width: 48px; height: 48px; bottom: -10px; right: 0; }
  .about-hero-photo img { object-position: 50% 50%; }
  .principles-layout { grid-template-columns: 1fr; }
  .vertical-wordmark { writing-mode: horizontal-tb; justify-self: start; font-size: clamp(62px, 18vw, 112px); margin-top: 24px; }
  .principle-list { margin-top: 24px; }
  .founder-signature { gap: 24px; }
  .benefit summary { font-size: 19px; padding-block: 24px; }
  .benefit > p { font-size: 16px; padding-right: 0; }
  .photo-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 210px; gap: 12px; }
  .photo-gallery .about-photo, .photo-gallery .about-photo:first-child { grid-column: span 1; }
  .photo-gallery .about-photo:first-child { grid-column: span 2; }
  .photo-caption { left: 14px; right: 14px; bottom: 16px; font-size: 14px; gap: 7px; }
  .editorial-contact-strip .container { grid-template-columns: 1fr; gap: 32px; }
  .editorial-contact-strip .container > div:last-child { border-left: 0; border-top: 1px solid var(--line-2); padding: 30px 0 0; }
  .contact-editorial { padding-top: 120px; }
  .contact-page-head { margin-bottom: 30px; }
  .contact-page-lead { font-size: 16px; }
  .contact-editorial-layout { gap: 40px; }
  .contact-tabs { padding: 8px; gap: 6px; }
  .contact-tabs button { min-height: 72px; padding: 12px 10px; gap: 9px; }
  .contact-tabs svg { width: 18px; height: 18px; }
  .contact-tabs strong { font-size: 14px; }
  .contact-tabs small { font-size: 11px; line-height: 1.4; }
  .contact-form-lines { padding: 22px; gap: 18px; }
  .contact-form-lines .field-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-form-intro h2 { font-size: 22px; }
  .contact-form-intro p { font-size: 14px; }
  .contact-direct, .location-list { gap: 20px; }
  .contact-direct a { font-size: 17px; }
  .location-list h3 { font-size: 18px; }
  .location-list article { padding-left: 12px; }
  .contact-map-heading { padding: 14px; }
  .contact-location-map { height: 320px; }
}
@media (max-width: 380px) {
  .contact-tabs button { align-items: flex-start; gap: 8px; padding: 12px 8px; }
  .contact-tabs small { font-size: 10px; }
  .contact-form-lines { padding: 18px; }
  .contact-direct, .location-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .benefit-plus::after { transition: none; }
}
