:root {
  color-scheme: dark;
  --bg: #061113;
  --bg-2: #081719;
  --surface: #0c2023;
  --surface-2: #102b2f;
  --line: rgba(134, 239, 221, 0.22);
  --line-strong: rgba(134, 239, 221, 0.42);
  --text: #f4fbfa;
  --muted: #acc4c3;
  --quiet: #789594;
  --accent: #55e9ca;
  --accent-2: #1dddf5;
  --amber: #f0ae47;
  --danger: #ff785c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
  --header: 82px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 78% 8%, rgba(29, 221, 245, 0.11), transparent 33rem),
    radial-gradient(circle at 15% 36%, rgba(85, 233, 202, 0.08), transparent 28rem),
    linear-gradient(180deg, #04090a 0%, var(--bg) 36%, #071012 100%);
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 233, 211, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 233, 211, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 65%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(8, 23, 25, 0.2), rgba(8, 23, 25, 0.68)),
    repeating-linear-gradient(150deg, rgba(85, 233, 202, 0.018) 0 1px, transparent 1px 17px);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

p {
  color: var(--muted);
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: #031012;
  border-radius: 6px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header);
  border-bottom: 1px solid rgba(134, 239, 221, 0.18);
  background: rgba(4, 13, 15, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: var(--header);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 210px;
}

.brand-mark {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  background: #061113 url("../images/favicon.svg") center / cover no-repeat;
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: none;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-text span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  color: #dce8e7;
  font-size: 0.94rem;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(85, 233, 202, 0.08);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  background: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.main {
  overflow: hidden;
}

.section {
  position: relative;
  padding: 98px 0;
}

.section-tight {
  padding: 72px 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head > *,
.page-hero .container > * {
  min-width: 0;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.section-head p {
  font-size: 1.04rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: stretch;
  border-bottom: 1px solid rgba(134, 239, 221, 0.22);
  background: #03080a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(3, 8, 10, 0.96) 0%, rgba(3, 8, 10, 0.72) 31%, rgba(3, 8, 10, 0.24) 62%, rgba(3, 8, 10, 0.34) 100%),
    linear-gradient(180deg, rgba(3, 8, 10, 0.22) 0%, rgba(3, 8, 10, 0.3) 54%, #061113 100%),
    url("../images/hero-glasfaser-trasse.png");
  background-size: cover;
  background-position: center;
}

.hero-fiber-canvas {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 45%;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 44px;
  align-items: center;
  padding: 72px 0 54px;
}

.hero-copy {
  max-width: 710px;
}

.hero-title {
  display: grid;
  gap: 8px;
  margin-bottom: 23px;
  font-weight: 830;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-title .name {
  font-size: clamp(4rem, 12vw, 10.2rem);
}

.hero-title .office {
  font-size: clamp(2.1rem, 5.7vw, 5.15rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-lead {
  max-width: 620px;
  color: #eaf6f4;
  font-size: clamp(1.28rem, 2.1vw, 1.78rem);
  line-height: 1.32;
}

.hero-lead strong {
  color: var(--accent);
  font-weight: 760;
}

.hero-text {
  max-width: 520px;
  margin-top: 22px;
  color: #bdd2d1;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  --button-bg: linear-gradient(135deg, #36d8b9, #117d75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(137, 255, 236, 0.35);
  border-radius: 6px;
  background: var(--button-bg);
  color: #021112;
  font-size: 0.91rem;
  font-weight: 770;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(26, 222, 199, 0.2);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 255, 248, 0.8);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button.secondary {
  --button-bg: rgba(255, 255, 255, 0.03);
  color: #ecfffc;
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(85, 233, 202, 0.08);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(232, 255, 251, 0.38);
  border-radius: 8px;
  background: rgba(6, 17, 19, 0.46);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.intro-band {
  border-bottom: 1px solid rgba(134, 239, 221, 0.18);
  background:
    linear-gradient(90deg, rgba(9, 40, 43, 0.82), rgba(7, 16, 18, 0.88)),
    radial-gradient(circle at 78% 50%, rgba(85, 233, 202, 0.15), transparent 36rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.intro-copy h2 {
  max-width: 540px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.08;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  max-width: 540px;
}

.proof-item {
  min-width: 0;
}

.proof-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  color: var(--accent);
}

.proof-item strong {
  display: block;
  color: #ecfffc;
  font-size: 0.93rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.map-panel {
  min-height: 310px;
  border-left: 1px solid rgba(134, 239, 221, 0.2);
  position: relative;
  overflow: hidden;
}

.network-map {
  position: absolute;
  inset: -35px -20px;
  opacity: 0.94;
}

.map-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(85, 233, 202, 0.9);
}

.node-a { left: 15%; top: 42%; }
.node-b { left: 41%; top: 31%; }
.node-c { left: 66%; top: 55%; }
.node-d { left: 82%; top: 27%; }

.network-line {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  box-shadow: 0 0 14px rgba(29, 221, 245, 0.68);
  opacity: 0.72;
}

.line-1 { left: 16%; top: 44%; width: 29%; transform: rotate(-17deg); }
.line-2 { left: 42%; top: 33%; width: 33%; transform: rotate(26deg); }
.line-3 { left: 66%; top: 56%; width: 22%; transform: rotate(-45deg); }
.line-4 { left: 22%; top: 70%; width: 51%; transform: rotate(-8deg); opacity: .38; }

.map-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 270px;
  padding: 16px;
  border: 1px solid rgba(134, 239, 221, 0.24);
  background: rgba(6, 17, 19, 0.72);
  border-radius: 8px;
}

.map-label strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(280px, 0.92fr) minmax(260px, 0.74fr);
  gap: 28px;
  align-items: center;
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(134, 239, 221, 0.13);
}

.service-item svg {
  width: 42px;
  height: 42px;
  color: var(--accent);
}

.service-item h3 {
  margin-bottom: 4px;
  color: #f4fbfa;
  font-size: 1.02rem;
}

.service-item p {
  font-size: 0.94rem;
}

.service-core {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.ground-model {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1.15;
  transform: rotateX(58deg) rotateZ(-42deg);
  transform-style: preserve-3d;
}

.ground-top,
.ground-side,
.ground-front {
  position: absolute;
  border: 1px solid rgba(134, 239, 221, 0.18);
  background: #10292d;
}

.ground-top {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.15) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255, 255, 255, 0.13) 48% 52%, transparent 53%),
    linear-gradient(135deg, #142f35, #071314);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.ground-side {
  left: 0;
  right: 0;
  bottom: -64px;
  height: 64px;
  transform: rotateX(-90deg);
  transform-origin: top;
  background: linear-gradient(180deg, #173332, #30231a 55%, #11100e);
}

.ground-front {
  top: 0;
  bottom: 0;
  right: -64px;
  width: 64px;
  transform: rotateY(90deg);
  transform-origin: left;
  background: linear-gradient(90deg, #1c3532, #16120f);
}

.model-building,
.model-cabinet,
.model-road,
.model-cable,
.model-duct {
  position: absolute;
  transform-style: preserve-3d;
}

.model-road {
  left: 13%;
  top: 17%;
  width: 74%;
  height: 20%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, #293237, #11191b);
}

.model-cable {
  left: 15%;
  bottom: 25%;
  width: 70%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--amber));
  box-shadow: 0 0 18px rgba(29, 221, 245, 0.8), 0 0 34px rgba(85, 233, 202, 0.42);
}

.model-duct {
  left: 20%;
  bottom: 19%;
  width: 62%;
  height: 5px;
  border-radius: 99px;
  background: #d77b25;
  box-shadow: 0 10px 0 #d77b25;
}

.model-building {
  right: 12%;
  top: 48%;
  width: 72px;
  height: 66px;
  transform: translateZ(32px);
  background: linear-gradient(135deg, #dce4e2, #819594);
  box-shadow: 0 34px 35px rgba(0, 0, 0, 0.28);
}

.model-building::before {
  content: "";
  position: absolute;
  left: 0;
  top: -28px;
  border-left: 36px solid transparent;
  border-right: 36px solid transparent;
  border-bottom: 28px solid #25343a;
}

.model-cabinet {
  left: 44%;
  top: 49%;
  width: 48px;
  height: 58px;
  transform: translateZ(26px);
  border: 1px solid rgba(89, 255, 224, 0.3);
  background: linear-gradient(135deg, #d5e1df, #455b5e);
}

.fiber-demo {
  border-top: 1px solid rgba(134, 239, 221, 0.18);
  border-bottom: 1px solid rgba(134, 239, 221, 0.18);
  background:
    linear-gradient(180deg, rgba(5, 13, 15, 0.18), rgba(6, 17, 19, 0.96)),
    url("../images/prozess-hausanschluss.png") center bottom / cover no-repeat;
}

.fiber-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 17, 19, 0.96) 0%, rgba(6, 17, 19, 0.48) 36%, rgba(6, 17, 19, 0.86) 100%),
    linear-gradient(90deg, rgba(6, 17, 19, 0.92), transparent 48%, rgba(6, 17, 19, 0.76));
}

.fiber-demo .container {
  position: relative;
  z-index: 2;
}

.demo-stage {
  position: relative;
  height: clamp(520px, 58vw, 640px);
  min-height: 0;
  margin-top: 36px;
  border: 1px solid rgba(134, 239, 221, 0.26);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(4, 12, 14, 0.72);
  box-shadow: var(--shadow);
}

.demo-stage canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.process-photo-stage {
  --process-x: 0%;
  background: #061113;
  touch-action: pan-y;
}

.process-photo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 10, 12, 0.44) 0%, rgba(3, 10, 12, 0.06) 42%, rgba(3, 10, 12, 0.82) 100%),
    linear-gradient(90deg, rgba(3, 10, 12, 0.76), transparent 48%, rgba(3, 10, 12, 0.28));
}

.process-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--process-x) bottom;
  transition: object-position 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: object-position;
}

.process-photo-stage.is-pointer-panning .process-photo {
  transition-duration: 180ms;
}

.process-photo-stage .demo-step {
  cursor: pointer;
  background: rgba(5, 15, 17, 0.38);
}

.process-photo-stage .demo-step:hover,
.process-photo-stage .demo-step:focus-visible {
  background: rgba(85, 233, 202, 0.14);
  outline: none;
}

.demo-steps {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid rgba(134, 239, 221, 0.18);
  background: rgba(5, 15, 17, 0.78);
  backdrop-filter: blur(10px);
}

.demo-step {
  min-width: 0;
  padding: 16px 14px;
  border: 0;
  border-right: 1px solid rgba(134, 239, 221, 0.14);
  background: transparent;
  color: #dceeed;
  font: inherit;
  text-align: left;
}

.demo-step:last-child {
  border-right: 0;
}

.demo-step span {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.demo-step strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.18;
}

.demo-step.active {
  background: rgba(85, 233, 202, 0.1);
  color: #fff;
}

.demo-step.active span {
  color: #aafff0;
}

.demo-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 4;
  max-width: 420px;
  padding: 18px;
  border: 1px solid rgba(134, 239, 221, 0.28);
  border-radius: 8px;
  background: rgba(5, 15, 17, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.demo-caption strong {
  display: block;
  margin-bottom: 5px;
  color: #f4fbfa;
  font-size: 1rem;
}

.demo-caption p {
  color: #bdd6d4;
  font-size: 0.92rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  min-width: 0;
  border: 1px solid rgba(134, 239, 221, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(12, 32, 35, 0.58);
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(134, 239, 221, 0.52);
  background: rgba(14, 43, 47, 0.78);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.62;
  object-fit: cover;
  border-bottom: 1px solid rgba(134, 239, 221, 0.18);
}

.project-body {
  padding: 18px;
}

.project-type {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.project-body dl {
  display: grid;
  gap: 3px;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.86rem;
}

.project-body div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
}

.project-body dt {
  color: #dceeed;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 160ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  width: 42px;
}

.partners-band {
  padding-top: 0;
}

.partner-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(134, 239, 221, 0.2);
  border-radius: 8px;
  background: rgba(134, 239, 221, 0.16);
  overflow: hidden;
}

.partner-logo {
  min-height: 206px;
  display: flex;
  flex-direction: column;
  place-items: center;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 14px 16px;
  background: rgba(8, 28, 31, 0.78);
  color: #dbecea;
  text-align: center;
  font-weight: 760;
  line-height: 1.2;
}

.partner-logo img {
  width: 100%;
  height: 126px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid rgba(134, 239, 221, 0.22);
  background: linear-gradient(135deg, rgba(134, 239, 221, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.partner-logo:last-child {
  border-right: 0;
}

.partner-logo span {
  display: block;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
}

.cta-band {
  border-top: 1px solid rgba(134, 239, 221, 0.16);
  border-bottom: 1px solid rgba(134, 239, 221, 0.16);
  background:
    linear-gradient(110deg, rgba(7, 57, 51, 0.92), rgba(8, 23, 25, 0.88)),
    repeating-linear-gradient(130deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 23px);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.cta-inner h2 {
  margin-bottom: 6px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.12;
}

.site-footer {
  background: #050d0f;
  border-top: 1px solid rgba(134, 239, 221, 0.18);
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 32px;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  gap: 34px;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 18px;
  font-size: 0.92rem;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--text);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(134, 239, 221, 0.12);
  color: var(--quiet);
  font-size: 0.84rem;
}

.page-hero {
  position: relative;
  padding: 112px 0 76px;
  border-bottom: 1px solid rgba(134, 239, 221, 0.18);
  background:
    linear-gradient(90deg, rgba(5, 13, 15, 0.96), rgba(5, 13, 15, 0.72)),
    url("../images/hero-glasfaser-trasse.png") center / cover no-repeat;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(250px, 0.48fr);
  gap: 60px;
  align-items: end;
}

.page-hero p {
  margin-top: 18px;
  font-size: 1.12rem;
}

.page-meta {
  padding: 18px;
  border: 1px solid rgba(134, 239, 221, 0.22);
  border-radius: 8px;
  background: rgba(7, 18, 20, 0.72);
}

.page-meta span {
  display: block;
  color: var(--quiet);
  font-size: 0.82rem;
}

.page-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 1.02rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.detail-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(134, 239, 221, 0.2);
  border-radius: 8px;
  background: rgba(12, 32, 35, 0.54);
}

.detail-panel h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.detail-panel p {
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(190px, 0.36fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(134, 239, 221, 0.14);
}

.timeline-row time {
  color: var(--accent);
  font-weight: 800;
}

.timeline-row h3 {
  margin-bottom: 5px;
  font-size: 1.15rem;
}

.timeline-row .scope {
  color: #dceeed;
  font-size: 0.9rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.partner-grid.partner-directory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(134, 239, 221, 0.2);
  border-radius: 8px;
  background: rgba(12, 32, 35, 0.54);
}

.partner-card.partner-entry {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  min-height: 226px;
  padding: 14px 14px 18px;
}

.partner-entry-logo {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(134, 239, 221, 0.22);
  background:
    linear-gradient(135deg, rgba(134, 239, 221, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.partner-card.partner-entry img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card h3 {
  margin-bottom: 9px;
}

.partner-card.partner-entry h3 {
  margin: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.28;
  text-align: center;
  overflow-wrap: anywhere;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 34px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(134, 239, 221, 0.22);
  border-radius: 8px;
  background: rgba(12, 32, 35, 0.58);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label {
  color: #e4f3f2;
  font-size: 0.9rem;
  font-weight: 700;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(134, 239, 221, 0.22);
  border-radius: 6px;
  padding: 13px 14px;
  background: rgba(3, 8, 10, 0.62);
  color: var(--text);
  outline: 0;
}

.field-group textarea {
  min-height: 160px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(85, 233, 202, 0.12);
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.turnstile-field {
  min-height: 70px;
  display: flex;
  align-items: center;
}

.turnstile-field .cf-turnstile {
  max-width: 100%;
}

.form-note {
  display: none;
  padding: 12px 14px;
  border: 1px solid rgba(85, 233, 202, 0.36);
  border-radius: 6px;
  color: #dffaf6;
  background: rgba(85, 233, 202, 0.08);
}

.form-note.visible {
  display: block;
}

.success-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.success-dialog.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.success-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 13, 0.74);
  backdrop-filter: blur(12px);
}

.success-dialog__panel {
  position: relative;
  width: min(100%, 460px);
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 30px;
  border: 1px solid rgba(134, 239, 221, 0.32);
  border-radius: 8px;
  color: #f6fffd;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(14, 43, 45, 0.96), rgba(4, 16, 18, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(85, 233, 202, 0.16), transparent 45%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(0.97);
  transition: transform 180ms ease;
}

.success-dialog.is-visible .success-dialog__panel {
  transform: translateY(0) scale(1);
}

.success-dialog__icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #062322;
  background: linear-gradient(135deg, #85ffe8, #2edbc0);
  box-shadow: 0 0 0 8px rgba(85, 233, 202, 0.1);
}

.success-dialog__icon svg {
  width: 34px;
  height: 34px;
}

.success-dialog h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.success-dialog p {
  max-width: 34ch;
  color: #cfe9e5;
}

.success-dialog__button {
  min-width: 130px;
  justify-content: center;
}

.contact-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(134, 239, 221, 0.22);
  border-radius: 8px;
  background: rgba(6, 17, 19, 0.74);
}

.contact-card h2 {
  font-size: 1.45rem;
}

.contact-line {
  display: grid;
  gap: 3px;
}

.contact-line span {
  color: var(--quiet);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.contact-line a,
.contact-line strong {
  color: #f4fbfa;
  font-size: 1rem;
}

.map-sketch {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(134, 239, 221, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 57% 62%, rgba(85, 233, 202, 0.24), transparent 12px),
    linear-gradient(135deg, rgba(85, 233, 202, 0.1), rgba(29, 221, 245, 0.02));
}

.map-sketch::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(134, 239, 221, 0.28);
  clip-path: polygon(54% 3%, 69% 11%, 67% 25%, 80% 36%, 74% 55%, 83% 68%, 67% 83%, 49% 78%, 37% 94%, 23% 80%, 27% 62%, 14% 50%, 27% 35%, 23% 18%, 40% 16%);
}

.map-sketch::after {
  content: "Reutlingen";
  position: absolute;
  left: 54%;
  top: 61%;
  transform: translate(10px, -50%);
  color: #ecfffc;
  font-size: 0.82rem;
  font-weight: 700;
}

.map-embed {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(134, 239, 221, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 58% 57%, rgba(85, 233, 202, 0.34), transparent 14px),
    linear-gradient(135deg, rgba(85, 233, 202, 0.13), rgba(29, 221, 245, 0.03)),
    repeating-linear-gradient(25deg, rgba(134, 239, 221, 0.08) 0 1px, transparent 1px 34px),
    rgba(6, 17, 19, 0.7);
}

.map-embed iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 280px;
  border: 0;
  opacity: 0.86;
  filter: saturate(0.88) contrast(1.08);
  mix-blend-mode: screen;
}

.map-embed::before {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(134, 239, 221, 0.32);
  clip-path: polygon(54% 3%, 69% 11%, 67% 25%, 80% 36%, 74% 55%, 83% 68%, 67% 83%, 49% 78%, 37% 94%, 23% 80%, 27% 62%, 14% 50%, 27% 35%, 23% 18%, 40% 16%);
}

.map-embed::after {
  content: "Standort Reutlingen";
  position: absolute;
  left: 58%;
  top: 57%;
  z-index: 3;
  pointer-events: none;
  transform: translate(12px, -50%);
  color: #ecfffc;
  font-size: 0.82rem;
  font-weight: 760;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.map-link {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 720;
}

.legal {
  display: grid;
  gap: 28px;
}

.legal section {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(134, 239, 221, 0.14);
}

.legal h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.placeholder {
  color: var(--amber);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1100px) {
  .hero-inner,
  .section-head,
  .intro-grid,
  .page-hero .container,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .service-core {
    order: -1;
    min-height: 320px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-rail,
  .detail-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid.partner-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header: 72px;
  }

  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.98rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(134, 239, 221, 0.22);
    border-radius: 8px;
    background: rgba(5, 13, 15, 0.96);
    box-shadow: var(--shadow);
  }

  .menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding: 0 16px;
    text-align: center;
  }

  .site-nav a[aria-current="page"]::after {
    left: 50%;
    right: auto;
    width: 36px;
    transform: translateX(-50%);
  }

  .container,
  .narrow,
  .hero-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 60px 0 92px;
  }

  .hero-title .name {
    font-size: clamp(3rem, 16vw, 5.6rem);
  }

  .hero-title .office {
    font-size: clamp(1.55rem, 9vw, 3rem);
  }

  .hero-bg {
    background-image:
      linear-gradient(90deg, rgba(3, 8, 10, 0.96), rgba(3, 8, 10, 0.6)),
      linear-gradient(180deg, rgba(3, 8, 10, 0.18) 0%, #061113 100%),
      url("../images/hero-glasfaser-trasse.png");
    background-position: 58% center;
  }

  .proof-grid,
  .project-grid,
  .partner-rail,
  .detail-grid,
  .partner-grid,
  .partner-grid.partner-directory,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .partner-logo {
    border-right: 0;
    border-bottom: 1px solid rgba(134, 239, 221, 0.16);
  }

  .partner-logo:last-child {
    border-bottom: 0;
  }

  .demo-stage {
    height: 620px;
    min-height: 0;
  }

  .demo-stage canvas {
    min-height: 0;
  }

  .demo-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 70px 0;
  }

  .section-tight {
    padding: 54px 0;
  }

  .page-hero {
    padding: 92px 0 58px;
  }

  .section-head h2,
  .page-hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    line-height: 1.12;
  }

  .section-head p,
  .page-hero p {
    font-size: 1rem;
  }

  .page-meta strong,
  .partner-card.partner-entry h3 {
    overflow-wrap: anywhere;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .map-panel {
    min-height: 260px;
  }

  .demo-step {
    padding: 12px;
  }

  .demo-step strong {
    font-size: 0.79rem;
  }

  .demo-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .partner-card.partner-entry {
    min-height: 226px;
    gap: 12px;
    padding: 12px 12px 16px;
  }

  .partner-entry-logo {
    height: 140px;
    padding: 12px;
  }

  .partner-card.partner-entry h3 {
    min-height: auto;
    font-size: 0.95rem;
  }

  .contact-form,
  .contact-card,
  .detail-panel,
  .partner-card {
    padding: 20px;
  }
}
