/* ===================================================
   Bausch IT – Entwurf "Reinweiß + Graphit"
   Helles, technisch-redaktionelles Design
   Reinweiß · Graphit · Orange als einziger Akzent
   Durchgehend hell – keine wechselnden dunklen Bänder.
   =================================================== */

:root {
  /* Flächen */
  --paper:      #FFFFFF;
  --paper-2:    #F5F5F5;
  --card:       #FFFFFF;
  --slate:      #1B1B1B;
  --slate-2:    #262626;

  /* Schrift */
  --ink:        #1B1B1B;
  --ink-2:      #5E5E5E;
  --ink-3:      #9C9C9C;

  /* Marke – Orange ist der einzige Farbakzent.
     "--blue" bleibt als Variablenname stehen (spart Umbenennen an
     vielen Stellen), zeigt inhaltlich aber auf neutrales Graphit –
     für Links, Trennlinien und sekundäre Schema-Linien. */
  --blue:       #4A4A4A;
  --blue-deep:  #1B1B1B;
  --blue-wash:  #F0F0F0;
  --orange:     #E0621E;
  --orange-2:   #F2894A;
  --orange-wash:#FBE9DD;

  /* Linien */
  --rule:       rgba(0, 0, 0, 0.13);
  --rule-soft:  rgba(0, 0, 0, 0.065);
  --rule-light: rgba(255, 255, 255, 0.14);

  --font:       'Source Sans 3', system-ui, 'Segoe UI', sans-serif;
  --display:    'Bricolage Grotesque', 'Source Sans 3', system-ui, sans-serif;

  --r:          4px;
  --r-lg:       10px;
  --ease:       0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fast:  0.22s cubic-bezier(0.22, 1, 0.36, 1);

  --gutter:     clamp(1.25rem, 4vw, 3.5rem);
  --maxw:       1280px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; z-index: 999;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ===================================================
   TYPOGRAFIE
   =================================================== */
.d1, .d2, .d3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.028em;
  font-variation-settings: 'wdth' 96, 'opsz' 42;
  color: var(--ink);
  text-wrap: balance;
}
.d1 { font-size: clamp(2.9rem, 7.2vw, 6.1rem); }
.d2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.d3 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.04; }

/* Kleines Kapitälchen-Label mit Marker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--orange);
  flex: none;
}
.eyebrow--light { color: rgba(255,255,255,.66); }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
}
.body { color: var(--ink-2); max-width: 62ch; }
.body + .body { margin-top: 1rem; }
.body strong { color: var(--ink); font-weight: 700; }

/* Handgezeichneter Unterstrich */
.mark {
  position: relative;
  color: var(--orange);
  white-space: nowrap;
}
.mark svg {
  position: absolute;
  left: -2%; bottom: -.14em;
  width: 104%; height: .32em;
  overflow: visible;
}
.mark path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}
.is-ready .mark path {
  animation: draw 1.1s cubic-bezier(.6,0,.2,1) .55s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.005em;
  padding: .82rem 1.5rem;
  border-radius: var(--r);
  transition: background var(--ease-fast), color var(--ease-fast),
              border-color var(--ease-fast), transform var(--ease-fast);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--solid { background: var(--orange); color: #fff; }
.btn--solid:hover { background: #c85d0f; transform: translateY(-2px); }

.btn--full { width: 100%; justify-content: center; }

/* Textlink mit Pfeil */
.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--rule);
  transition: border-color var(--ease-fast), color var(--ease-fast);
}
.arrowlink svg { width: 16px; height: 16px; transition: transform var(--ease-fast); }
.arrowlink:hover { border-color: var(--orange); color: var(--orange); }
.arrowlink:hover svg { transform: translateX(4px); }

/* ===================================================
   INTRO-ANIMATION
   =================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: transform .85s cubic-bezier(.76,0,.24,1),
              opacity .5s ease .35s;
}
.intro__inner {
  display: grid;
  justify-items: center;
  gap: 2.4rem;
  padding: 2rem;
}
.intro__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 14), 1fr);
  gap: clamp(9px, 1.5vw, 15px);
}
.intro__dot {
  width: clamp(5px, .75vw, 8px);
  height: clamp(5px, .75vw, 8px);
  background: var(--ink);
  opacity: 0;
  transform: scale(.2);
  animation: dotIn .5s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes dotIn {
  to { opacity: .16; transform: scale(1); }
}
.intro__dot--hot { background: var(--orange); }
.intro.is-lit .intro__dot--hot {
  opacity: 1;
  transform: scale(1.55);
  transition: opacity .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1);
}
.intro.is-lit .intro__dot--blue {
  background: var(--blue);
  opacity: .85;
  transition: opacity .4s ease .05s, background .4s ease;
}

.intro__logo {
  width: clamp(160px, 22vw, 240px);
  opacity: 0;
  transform: translateY(14px);
}
.intro.is-lit .intro__logo {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease .1s, transform .7s cubic-bezier(.22,1,.36,1) .1s;
}
.intro__line {
  width: 0;
  height: 1.5px;
  background: var(--orange);
  justify-self: center;
}
.intro.is-lit .intro__line {
  width: clamp(160px, 22vw, 240px);
  transition: width .8s cubic-bezier(.76,0,.24,1) .3s;
}
.intro__skip {
  position: absolute;
  right: 1.6rem; bottom: 1.4rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
}
.intro__skip:hover { color: var(--ink); }

.intro.is-done { transform: translateY(-101%); opacity: 0; pointer-events: none; }

body.intro-active { overflow: hidden; }

/* Gestaffelter Auftritt des Hero nach dem Intro */
.stagger > * { opacity: 0; transform: translateY(18px); }
.is-ready .stagger > * {
  animation: rise .8s cubic-bezier(.22,1,.36,1) forwards;
}
.is-ready .stagger > *:nth-child(1) { animation-delay: .04s; }
.is-ready .stagger > *:nth-child(2) { animation-delay: .12s; }
.is-ready .stagger > *:nth-child(3) { animation-delay: .2s; }
.is-ready .stagger > *:nth-child(4) { animation-delay: .28s; }
.is-ready .stagger > *:nth-child(5) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ===================================================
   HEADER
   =================================================== */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  /* Ruhezustand oben auf der Seite: voll blickdicht, kein Aufblitzen
     eines helleren Grautons beim Laden. Der Glaseffekt kommt erst
     beim Scrollen dazu (.is-stuck). */
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
}
.hdr.is-stuck {
  background: rgba(27, 27, 27, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 4px 28px rgba(0,0,0,.22);
}
.hdr__bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: 78px;
}
.hdr.is-stuck .hdr__bar { height: 66px; }
.hdr__bar { transition: height var(--ease); }

.hdr__logo img { height: 46px; width: auto; transition: height var(--ease); }
.hdr.is-stuck .hdr__logo img { height: 40px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .85rem;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  border-radius: var(--r);
  transition: color var(--ease-fast), background var(--ease-fast);
}
.nav__link:hover, .nav__link.is-active { color: #fff; background: rgba(255,255,255,.09); }

.nav__cta {
  margin-left: .6rem;
  padding: .58rem 1.1rem;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--r);
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: background var(--ease-fast);
}
.nav__cta:hover { background: var(--orange-2); }
.nav__cta svg { width: 15px; height: 15px; }

.burger { display: none; margin-left: auto; padding: .55rem; }
.burger span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform var(--ease-fast), opacity var(--ease-fast);
}
.burger span + span { margin-top: 6px; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7.5rem, 15vh, 10.5rem) 0 3rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
/* Feines Raster als Atmosphäre */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--rule-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule-soft) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse 80% 60% at 65% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 65% 35%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.28fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.hero__fig {
  position: relative;
  margin-right: clamp(-2.5rem, -5vw, -1rem);
}
/* Warmer Lichtschein hinter der Zeichnung */
.hero__fig::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 58% 42%, rgba(224, 98, 30, .16), transparent 62%);
  filter: blur(46px);
  z-index: -1;
  pointer-events: none;
}
.hero__title { margin: 1.25rem 0 0; }
.hero__lead { margin-top: 2.3rem; }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }

/* Feines Raster als wiederkehrendes Motiv – verklammert Hero, Leistungen,
   Fernwartung und das Kontakt-Panel optisch zu einer Formensprache. */
.tex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--rule-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule-soft) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse 70% 70% at 15% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 15% 0%, #000, transparent 75%);
}
.tex--dark {
  background-image:
    linear-gradient(to right, var(--rule-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule-light) 1px, transparent 1px);
}

/* ===================================================
   SVG-SCHEMA (Hero-Illustration)
   =================================================== */
.schema { width: 100%; height: auto; overflow: visible; }
.schema .s-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
}
.schema .s-thin { stroke-width: 1; opacity: .28; }
.schema .s-hot { stroke: var(--orange); stroke-width: 2.1; opacity: 1; }
.schema .s-fill {
  fill: var(--card);
  stroke: var(--ink);
  stroke-width: 1.4;
  opacity: 1;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.1));
}
.schema .s-dot { fill: var(--orange); }
.schema .s-dot-b { fill: var(--blue); }
.schema text {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  fill: var(--ink-3);
  text-transform: uppercase;
}
.schema .s-label {
  font-size: 12.5px;
  letter-spacing: .01em;
  text-transform: none;
  fill: var(--ink);
}

/* Registrierwinkel an den vier Ecken + Messstriche – geben den
   Zeichnungen den Charakter eines technischen Blattes statt Clipart */
.schema .s-frame { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .22; }
.schema .s-tick { stroke: var(--ink); stroke-width: 1; opacity: .25; }
.schema .s-node-ring { fill: none; stroke: var(--orange); stroke-width: 1.1; opacity: .4; }

/* Selbstzeichnende Pfade */
.draw { stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900); }
.is-ready .draw { animation: draw 1.1s cubic-bezier(.5,0,.2,1) forwards; }

.pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); }
.is-ready .pop { animation: pop .45s cubic-bezier(.34,1.56,.64,1) forwards; }
.is-ready .pop--1 { animation-delay: .34s; }
.is-ready .pop--2 { animation-delay: .44s; }
.is-ready .pop--3 { animation-delay: .54s; }
.is-ready .pop--4 { animation-delay: .64s; }
.is-ready .pop--5 { animation-delay: .74s; }
.is-ready .pop--6 { animation-delay: .84s; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Signalimpuls, der den Strang entlangläuft */
.schema .pulse { opacity: 0; }
.is-ready .schema .pulse {
  animation: pulseRun 3.4s cubic-bezier(.5,0,.5,1) 1.8s infinite;
}
@keyframes pulseRun {
  0%   { stroke-dashoffset: 26;   opacity: 0; }
  8%   { opacity: 1; }
  70%  { stroke-dashoffset: -440; opacity: 1; }
  85%, 100% { stroke-dashoffset: -440; opacity: 0; }
}

/* Pulsierende WLAN-Wellen */
@keyframes waveOut {
  0%   { opacity: 0; transform: scale(.55); }
  35%  { opacity: .8; }
  100% { opacity: 0; transform: scale(1.25); }
}
.schema .wave { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.is-ready .schema .wave { animation: waveOut 2.8s ease-out infinite; animation-delay: 1.1s; }
.is-ready .schema .wave--2 { animation-delay: .55s; }
.is-ready .schema .wave--3 { animation-delay: 0s; }

/* Blinkende Aktivitäts-LEDs am Server (IT-Betreuung) */
@keyframes hddBlink {
  0%, 100% { opacity: .2; }
  4%  { opacity: 1; }
  7%  { opacity: .2; }
  9%  { opacity: 1; }
  12% { opacity: .2; }
  53% { opacity: 1; }
  56% { opacity: .2; }
  79% { opacity: 1; }
  83% { opacity: .2; }
}
.schema .s-hdd { opacity: .2; }
.is-ready .schema .s-hdd { animation: hddBlink 8.5s steps(1,end) infinite; }
.is-ready .schema .s-hdd--b { animation-duration: 11s; animation-delay: 2.5s; }
.is-ready .schema .s-hdd--c { animation-duration: 7s; animation-delay: 4.2s; }

/* ===================================================
   LEISTUNGS-INDEX (redaktionelle Liste)
   =================================================== */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

.shead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}
.shead__title { margin-top: .9rem; }
.shead__note { color: var(--ink-2); max-width: 52ch; padding-bottom: .3rem; }

/* Dunkle Fassung – trennt die drei hellen Blöcke am Seitenanfang
   (Hero, Leistungsübersicht, 01) sauber auf, statt sie zu einem
   langen weißen Einstieg verschmelzen zu lassen. */
.section--dark { background: var(--ink); color: rgba(255,255,255,.86); position: relative; overflow: hidden; }
.section--dark > .wrap { position: relative; }
.section--soft { background: var(--paper-2); }
.section--dark .d2, .section--dark .d3 { color: #fff; }
.section--dark .shead { border-bottom-color: rgba(255,255,255,.16); }
.section--dark .shead__note { color: rgba(255,255,255,.65); }

/* Leistungen – Datenblatt-Raster: 3x2 Zellen, Haarlinien statt Karten
   mit Schlagschatten. Zitiert die Registrierwinkel/Messstriche des
   Hero-Schemas, damit die Seite eine durchgehende Formensprache hat. */
.svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.13);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.svc__i {
  background: var(--ink);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--ease-fast);
}
.svc__i::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.svc__i:hover, .svc__i:focus-visible { background: var(--slate-2); }
.svc__i:hover::after, .svc__i:focus-visible::after { transform: scaleX(1); }
.svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.svc__no {
  font-family: var(--display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--orange);
  transition: color var(--ease-fast);
}
.svc__i:hover .svc__no, .svc__i:focus-visible .svc__no { color: #fff; }
.svc__ic { width: 26px; height: 26px; color: rgba(255,255,255,.3); transition: color var(--ease-fast); }
.svc__ic svg { width: 100%; height: 100%; stroke-width: 1.5; }
.svc__i:hover .svc__ic, .svc__i:focus-visible .svc__ic { color: var(--orange); }
.svc__name {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #fff;
  margin-top: 1.15rem;
  font-variation-settings: 'wdth' 96, 'opsz' 28;
}
.svc__desc {
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255,255,255,.56);
  margin-top: .55rem;
  max-width: 34ch;
}
.svc__tags {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

/* Kompakte Aufzählung als Fließtext-Tags */
.tag {
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: .3rem .8rem;
}
.svc__tags .tag {
  background: transparent;
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.68);
  font-size: .75rem;
  padding: .2rem .6rem;
}
.section--dark .tag {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.78);
}

/* ===================================================
   ÜBER UNS – "Werkstattblatt": starker Text links,
   nummerierte Kernaussagen rechts statt drei enger Kästen.
   =================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about__lead .d2 { margin-top: .9rem; }
.about__note { max-width: 38ch; margin-top: 1.4rem; }

/* Startet auf Hoehe der H2 links, nicht auf Hoehe des Eyebrows darueber */
.facts { margin-top: 2.15rem; }
.fact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 1.4rem;
  align-items: start;
  padding: 1.05rem 0;
}
.fact:first-child { padding-top: 0; }
.fact + .fact { border-top: 1px solid var(--rule); }
.fact__no {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--orange);
  opacity: .32;
}
.fact b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
  font-variation-settings: 'wdth' 96, 'opsz' 28;
}
.fact span { display: block; margin-top: .5rem; font-size: .95rem; line-height: 1.6; color: var(--ink-2); max-width: 48ch; }

/* ===================================================
   FERNWARTUNG
   =================================================== */
.remote {
  background: var(--slate-2);
  color: rgba(255,255,255,.68);
  position: relative;
  overflow: hidden;
}
.remote__inner {
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  /* padding-block statt shorthand: 'padding: X 0' würde die
     seitliche Polsterung von .wrap überschreiben und die Section
     breiter als den Rest der Seite machen. */
  padding-block: clamp(2.6rem, 5vw, 3.6rem);
  position: relative;
}
#t-remote { color: #fff; }
.remote__note { margin-top: .5rem; color: rgba(255,255,255,.62); }
.remote__steps { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; }
.remote__step { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: rgba(255,255,255,.55); }
.remote__step b {
  width: 21px; height: 21px; border-radius: 50%;
  background: rgba(224,98,30,.2); color: var(--orange-2);
  display: grid; place-items: center;
  font-size: .74rem; font-weight: 800; flex: none;
}
.remote__dl { justify-self: center; }

/* ===================================================
   KONTAKT
   =================================================== */
/* Kontaktblatt: ein gerahmtes Objekt statt zweier loser Blöcke –
   dunkles Kontaktdaten-Panel + helles Formular, innen durch die
   Rahmenkante geteilt. Bereitet gleichzeitig den Übergang zum
   dunklen Footer vor. */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 34px 70px -46px rgba(0,0,0,.42);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.contact__side {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: clamp(1.9rem, 3vw, 2.7rem);
  position: relative;
  overflow: hidden;
}
.contact__side .tex { opacity: .5; }
.clines { position: relative; margin-top: 1.8rem; }
.cline { padding: 1.05rem 0; display: grid; grid-template-columns: auto 1fr; gap: .15rem .9rem; }
.cline:first-child { padding-top: 0; }
.cline + .cline { border-top: 1px solid rgba(255,255,255,.1); }
.cline__ic { grid-row: 1 / 3; width: 20px; height: 20px; color: var(--orange); margin-top: .2rem; }
.cline__ic svg { width: 100%; height: 100%; stroke-width: 1.6; }
.cline__l { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cline__v { font-size: .96rem; line-height: 1.45; color: rgba(255,255,255,.62); }
.cline__v a { color: #fff; border-bottom: 1.5px solid rgba(255,255,255,.22); transition: border-color var(--ease-fast), color var(--ease-fast); }
.cline__v a:hover { border-color: var(--orange-2); color: var(--orange-2); }
.cline--lead .cline__v { font-family: var(--display); font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; }
.cline--lead .cline__v a { color: #fff; border-bottom: 0; }
.cline--lead .cline__v a:hover { color: var(--orange-2); }

.contact__form { padding: clamp(1.9rem, 3vw, 2.8rem); }
.contact__form .eyebrow { margin-bottom: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1.5px solid var(--rule);
  border-radius: var(--r);
  padding: .72rem .9rem;
  width: 100%;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224,98,30,.14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E5E5E' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 17px;
  padding-right: 2.4rem;
}
.consent-note { font-size: .82rem; color: var(--ink-2); line-height: 1.55; margin: 1.1rem 0 1.3rem; }
.consent-note + .consent-note { margin-top: -.6rem; }
.consent-note a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__ok {
  display: none;
  margin-top: 1rem;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.1rem;
  background: var(--blue-wash);
  border-left: 3px solid var(--blue);
  border-radius: var(--r);
  font-size: .93rem;
  color: var(--blue-deep);
}
.form__ok.is-on { display: flex; }
.form__ok svg { width: 20px; height: 20px; flex: none; }

/* ===================================================
   FOOTER
   =================================================== */
.foot { background: var(--slate); color: rgba(230,237,247,.66); padding: clamp(2rem, 4vw, 2.8rem) 0 0; }
.foot__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 1.8rem;
}
.foot__logo img { height: 38px; width: auto; margin-bottom: .9rem; }
.foot__brandtext { font-size: .93rem; line-height: 1.6; max-width: 34ch; }
.foot h2 {
  font-family: var(--display);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; margin-bottom: 1rem;
}
.foot li + li { margin-top: .5rem; }
.foot a { font-size: .95rem; transition: color var(--ease-fast); }
.foot a:hover { color: var(--orange-2); }
.foot address p { display: flex; gap: .6rem; font-size: .95rem; margin-bottom: .55rem; }
.foot address svg { width: 16px; height: 16px; flex: none; margin-top: .25rem; opacity: .5; stroke-width: 1.7; }
.foot__bottom {
  border-top: 1px solid var(--rule-light);
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  justify-content: space-between;
  font-size: .87rem;
  color: rgba(230,237,247,.62);
}
.foot__bottom a:hover { color: var(--orange-2); }
.foot__legal { display: flex; gap: 1.4rem; }

/* ===================================================
   RECHTSTEXTE (Impressum, Datenschutz)
   =================================================== */
.legal-head { padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule); }
.legal-head .d2 { margin-top: .9rem; }
.legal {
  max-width: 68ch;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.legal h2 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-top: 2.6rem;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: 1.6rem;
}
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal p strong { color: var(--ink); }
.legal p { margin-top: .9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-top: .9rem; display: grid; gap: .4rem; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--rule); transition: color var(--ease-fast), border-color var(--ease-fast); }
.legal a:hover { color: var(--orange); border-color: var(--orange); }
.legal__stand { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--ink-3); }

/* ===================================================
   SCROLL-REVEAL
   =================================================== */
.rv { opacity: 0; transform: translateY(22px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); }
.rv-1.is-in { transition-delay: .09s; }
.rv-2.is-in { transition-delay: .18s; }

/* Ohne JS bleibt .is-in nie gesetzt und .rv/.stagger stecken dauerhaft
   bei opacity:0 fest - der komplette Seiteninhalt wäre unsichtbar.
   Progressive Enhancement statt Degradation: ohne Skripting-Unterstützung
   (oder wenn main.js aus irgendeinem Grund nicht lädt) alles sofort zeigen. */
@media (scripting: none) {
  .rv, .stagger > * { opacity: 1; transform: none; }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__fig { max-width: 620px; margin-right: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  html { font-size: 16px; }
  .nav { display: none; }
  .burger { display: block; }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 78px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 1.5rem var(--gutter) 3rem;
    overflow-y: auto;
  }
  .nav.is-open .nav__item { width: 100%; }
  .nav.is-open .nav__link {
    width: 100%;
    justify-content: space-between;
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule-soft);
    border-radius: 0;
    color: var(--ink-2);
  }
  .nav.is-open .nav__link:hover,
  .nav.is-open .nav__link.is-active { color: var(--ink); background: transparent; }
  .nav.is-open .nav__cta { margin: 1.5rem 0 0; justify-content: center; padding: .9rem; }

  .shead {
    grid-template-columns: 1fr;
    align-items: start; gap: 1.2rem;
  }
  .remote__inner { grid-template-columns: 1fr; }
  .remote__dl { justify-self: start; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .fact__no { font-size: 1.9rem; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .cline--lead .cline__v { font-size: 1.4rem; }
}

@media (max-width: 700px) {
  /* Das Anlagenschema wird auf dem Handy unleserlich klein –
     die Leistungsliste direkt darunter sagt dasselbe. */
  .hero__fig { display: none; }
  .hero__grid { padding-bottom: clamp(2rem, 6vw, 3rem); }
  .svc { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* ===================================================
   REDUZIERTE BEWEGUNG
   =================================================== */
/* html.force-motion = Vorschau-Modus (?intro=1), umgeht die Abschaltung */
@media (prefers-reduced-motion: reduce) {
  /* Der Universalselektor unten trifft nur Nachfahren von <html>, nicht
     <html> selbst - scroll-behavior steht aber am Wurzelelement. Ohne
     diese eigene Regel bleiben Anker-Sprünge trotz reduzierter Bewegung
     weich animiert. */
  html:not(.force-motion) { scroll-behavior: auto !important; }
  html:not(.force-motion) *,
  html:not(.force-motion) *::before,
  html:not(.force-motion) *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html:not(.force-motion) .rv { opacity: 1; transform: none; }
  html:not(.force-motion) .stagger > * { opacity: 1; transform: none; }
  html:not(.force-motion) .draw { stroke-dashoffset: 0; }
  html:not(.force-motion) .pop { opacity: 1; transform: none; }
  html:not(.force-motion) .mark path { stroke-dashoffset: 0; }
  /* .wave pulsiert normalerweise nach außen (WLAN-Icon) – ohne Bewegung
     bliebe sie sonst dauerhaft bei ihrem Startzustand opacity:0 hängen */
  html:not(.force-motion) .schema .wave { opacity: .8; }
  /* .s-hdd (Server-LEDs) blinkt normalerweise zufällig – ohne Bewegung
     bliebe sie sonst dauerhaft bei ihrem Startzustand opacity:.2 hängen */
  html:not(.force-motion) .schema .s-hdd { opacity: .8; }
}

/* --- Druck --- */
@media print {
  .hdr, .intro { display: none !important; }
  body { background: #fff; }
}
