/* =====================================================================
   Antunovic Automation – Konzept «Signal»
   Eine orange Signalleitung zieht sich durch die Seite. Alles, was
   passiert, wird als Ablauf gezeigt: Eingang, Schritt, Ergebnis.
   Farben:  Graphit #121314 · Graphit hell #1C1D20 · Beton #E7E5DF
            Kreide #F5F4F0 · Signal #FF4F12 · Stahl #8D9299
   Schrift: Archivo (breit, schwer) für Titel · Schibsted Grotesk für Text
            JetBrains Mono für Abläufe, Zeiten, Protokolle
   ===================================================================== */

@property --bg { syntax: '<color>'; inherits: true; initial-value: #121314; }
@property --fg { syntax: '<color>'; inherits: true; initial-value: #F5F4F0; }

:root {
  --ink: #121314;
  --ink-2: #1C1D20;
  --ink-3: #26282C;
  --beton: #E7E5DF;
  --kreide: #F5F4F0;
  --signal: #FF4F12;
  --signal-tief: #D63C06;
  --stahl: #8D9299;
  --stahl-hell: #B9BDC3;
  --text-dunkel: #3A3C40;

  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; font: 400 17px/1.6 var(--sans); color: var(--fg);
  background: var(--bg); transition: --bg .7s var(--ease), --fg .7s var(--ease);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body.is-light { --bg: #E7E5DF; --fg: #121314; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--signal); color: #fff; padding: 10px 16px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- Typo ---------- */
.h2 {
  font: 800 clamp(40px, 6.4vw, 96px)/.95 var(--display); font-stretch: 112%;
  letter-spacing: -.035em; max-width: 14ch; padding-top: .06em;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 58ch; margin-top: 22px; opacity: .82; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .02em; color: var(--stahl-hell); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255, 79, 18, .18); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--signal { background: var(--signal); color: #fff; }
.btn--signal:hover { background: var(--signal-tief); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--ink { background: var(--ink); color: var(--kreide); }
.btn--ink:hover { background: var(--signal); }

/* ---------- Eröffnung ---------- */
.boot { display: none; }
html.js:not(.seen) .boot {
  display: flex; position: fixed; inset: 0; z-index: 150; background: var(--ink);
  align-items: center; justify-content: center; flex-direction: column; gap: 22px;
  animation: boot-safety 0s 3.2s forwards; /* Sicherheitsnetz, falls Skripte fehlen */
}
@keyframes boot-safety { to { visibility: hidden; opacity: 0; } }
.boot__line { width: min(60vw, 520px); height: 2px; background: var(--signal); transform-origin: left; transform: scaleX(0); }
.boot__log { font: 500 14px/1 var(--mono); color: var(--stahl-hell); letter-spacing: .04em; min-height: 14px; display: flex; align-items: center; }
.boot__cursor { width: 8px; height: 15px; background: var(--signal); margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Signalleitung ---------- */
.wire { position: fixed; left: max(10px, calc((100vw - var(--wrap)) / 2 - 26px)); top: 0; bottom: 0; width: 2px; z-index: 30; pointer-events: none; }
.wire__track { position: absolute; inset: 0; background: currentColor; opacity: .1; }
.wire__fill { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--signal); transform-origin: top; transform: scaleY(var(--p, 0)); }
.wire__dot { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(255, 79, 18, .2); }
@media (max-width: 1360px) { .wire { left: 8px; } }

/* ---------- Kopfzeile ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 28px;
  padding: 16px var(--pad); color: var(--fg); transition: background .4s var(--ease), padding .4s var(--ease), color .6s;
}
.bar.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__led { fill: var(--signal); }
.brand__name { font: 800 17px/1 var(--display); font-stretch: 118%; letter-spacing: -.01em; display: flex; flex-direction: column; gap: 3px; }
.brand__name em { font: 500 11px/1 var(--mono); font-style: normal; letter-spacing: .08em; color: var(--stahl); }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 15px; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--signal); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--kreide); display: flex; align-items: center; padding: 100px var(--pad) 40px; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu a { font: 800 clamp(38px, 10vw, 64px)/1.1 var(--display); font-stretch: 112%; letter-spacing: -.03em; text-decoration: none; }
.menu a:hover { color: var(--signal); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(245, 244, 240, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 244, 240, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font: 850 clamp(46px, 5.7vw, 100px)/.92 var(--display); font-stretch: 116%; letter-spacing: -.045em; margin: 26px 0 0; }
.hero__title .line { display: block; overflow: hidden; padding-top: .08em; margin-top: -.08em; }
.hero__title .line > span { display: block; }
.hero__title .line--soft { color: var(--stahl); font-weight: 300; font-stretch: 100%; letter-spacing: -.03em; }
.hero__lead { max-width: 52ch; margin-top: 30px; font-size: clamp(17px, 1.4vw, 19px); color: var(--stahl-hell); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(245, 244, 240, .35); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--signal); animation: scrollhint 1.8s var(--ease) infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Live-Ablauf */
.flow { position: relative; aspect-ratio: 420 / 470; width: 100%; max-width: 480px; justify-self: end; }
.flow__cap { position: absolute; left: 0; top: -38px; display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); color: var(--stahl); }
.flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow__path { fill: none; stroke: rgba(245, 244, 240, .14); stroke-width: 1.5; stroke-dasharray: 4 6; }
.flow__run { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow__packet { fill: var(--signal); filter: drop-shadow(0 0 6px rgba(255, 79, 18, .8)); }
.flow__nodes { position: absolute; inset: 0; }
.node {
  position: absolute; transform: translate(-50%, -50%); width: 40%; min-width: 140px; padding: 11px 13px;
  background: var(--ink-2); border: 1px solid rgba(245, 244, 240, .1); border-radius: 8px;
  display: flex; flex-direction: column; gap: 4px; transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.node--1 { left: 16.67%; top: 10.64%; } .node--2 { left: 83.33%; top: 10.64%; }
.node--3 { left: 83.33%; top: 36.17%; } .node--4 { left: 16.67%; top: 36.17%; }
.node--5 { left: 16.67%; top: 61.7%; }  .node--6 { left: 83.33%; top: 61.7%; }
.node--7 { left: 83.33%; top: 87.23%; } .node--8 { left: 16.67%; top: 87.23%; }
.node__k { font: 500 11px/1.2 var(--mono); color: var(--stahl); letter-spacing: .02em; }
.node__v { font: 600 14px/1.25 var(--sans); color: var(--kreide); }
.node::before { content: ''; position: absolute; right: 10px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); transition: background .3s, box-shadow .3s; }
.node.is-on { border-color: rgba(255, 79, 18, .7); background: #221812; transform: translate(-50%, -50%) scale(1.03); }
.node.is-on::before { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.node.is-done::before { background: #4CC38A; }
.node--8.is-on { background: var(--signal); border-color: var(--signal); }
.node--8.is-on .node__k { color: rgba(255, 255, 255, .8); }
.flow__log { position: absolute; left: 0; right: 0; bottom: -46px; font: 500 12px/1.3 var(--mono); color: var(--stahl-hell); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow__log p::before { content: '> '; color: var(--signal); }

/* ---------- Vorher / Nachher ---------- */
.split { padding: clamp(110px, 14vw, 180px) 0 clamp(60px, 8vw, 100px); }
.compare { position: relative; margin-top: 56px; display: grid; grid-template-columns: 1fr; border-radius: 14px; overflow: hidden; min-height: 420px; user-select: none; --pos: 50%; }
.compare__side { grid-area: 1 / 1; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.compare__side--ohne { background: #D9D6CE; color: var(--ink); }
.compare__side--mit { background: var(--ink); color: var(--kreide); clip-path: inset(0 0 0 var(--pos)); padding-left: calc(52% + clamp(20px, 3vw, 40px)); }
.compare__side--ohne > * { max-width: calc(48% - clamp(20px, 3vw, 40px)); }
.compare__tag { font: 800 clamp(36px, 5vw, 64px)/1 var(--display); font-stretch: 116%; letter-spacing: -.03em; margin-bottom: 26px; }
.compare__side--mit .compare__tag { color: var(--signal); }
.compare__side li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid currentColor; border-color: rgba(18, 19, 20, .14); font-size: 16px; line-height: 1.45; }
.compare__side--mit li { border-color: rgba(245, 244, 240, .12); }
.compare__side li b { font: 500 13px/1.6 var(--mono); }
.compare__side--ohne li { text-decoration: line-through; text-decoration-color: rgba(18, 19, 20, .25); }
.compare__side--ohne li b { text-decoration: none; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--signal); z-index: 2; }
.compare__handle input { position: absolute; top: 0; bottom: 0; left: -40px; width: 80px; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--signal); pointer-events: none; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(255, 79, 18, .35); }
.compare__knob::before, .compare__knob::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid #fff; border-width: 0 0 2px 2px; }
.compare__knob::before { left: 13px; transform: rotate(45deg); }
.compare__knob::after { right: 13px; transform: rotate(-135deg); }
.compare__handle input:focus-visible + .compare__knob { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Leistungen ---------- */
.services { padding: clamp(60px, 8vw, 110px) 0 clamp(90px, 12vw, 160px); }
.services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.services__head .lead { margin: 0; }
.svc-list { margin-top: 70px; border-top: 2px solid var(--ink); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .7fr); gap: 32px; padding: 38px 0; border-bottom: 1px solid rgba(18, 19, 20, .16); position: relative; }
.svc::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc__title { font: 800 clamp(26px, 2.7vw, 40px)/1.02 var(--display); font-stretch: 100%; hyphens: manual; overflow-wrap: anywhere; letter-spacing: -.03em; transition: transform .5s var(--ease); }
.svc:hover .svc__title { transform: translateX(10px); }
.svc__text { color: var(--text-dunkel); max-width: 52ch; }
.svc__tags { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.svc__tags li { font: 500 13px/1 var(--mono); padding: 8px 10px; border: 1px solid rgba(18, 19, 20, .22); border-radius: 4px; }

/* ---------- Rechner ---------- */
.calc { padding: clamp(100px, 13vw, 170px) 0; position: relative; overflow: hidden; }
.calc__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.calc__form { margin-top: 44px; display: grid; gap: 30px; max-width: 520px; }
.range label { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; color: var(--stahl-hell); }
.range output { font: 600 22px/1 var(--mono); color: var(--kreide); }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin-top: 10px; cursor: pointer; --v: 50%; }
.range input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--signal) var(--v), rgba(245, 244, 240, .16) var(--v)); }
.range input::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(245, 244, 240, .16); }
.range input::-moz-range-progress { height: 3px; background: var(--signal); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: var(--kreide); border: 5px solid var(--signal); }
.range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--kreide); border: 5px solid var(--signal); }
.calc__result { border-left: 2px solid var(--signal); padding-left: clamp(24px, 4vw, 56px); }
.calc__label { font: 500 13px/1.3 var(--mono); color: var(--stahl); }
.calc__big { font: 850 clamp(96px, 16vw, 230px)/.85 var(--display); font-stretch: 120%; letter-spacing: -.06em; margin: 18px 0 8px; display: flex; align-items: baseline; gap: 14px; font-variant-numeric: tabular-nums; }
.calc__big small { font: 500 clamp(18px, 2vw, 26px)/1 var(--mono); letter-spacing: 0; color: var(--signal); }
.calc__sub { color: var(--stahl-hell); max-width: 40ch; }
.calc__sub b { color: var(--kreide); font-weight: 600; }

/* ---------- Referenz ---------- */
.ref { padding: clamp(100px, 13vw, 170px) 0; }
.ref__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.ref__head .lead { margin: 0; }
.ref__stage { position: relative; margin: 64px 0 50px; padding-right: clamp(40px, 9vw, 140px); }
.device { border-radius: 12px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(18, 19, 20, .45); }
.device--desk { border: 10px solid var(--ink); border-top-width: 26px; position: relative; }
.device--desk::before { content: ''; position: absolute; top: -17px; left: 6px; width: 40px; height: 8px; background: radial-gradient(circle, #3a3c40 3px, transparent 3.5px) 0 0/14px 8px repeat-x; }
.device--desk img { width: 100%; height: auto; }
.device--phone { position: absolute; right: 0; bottom: -40px; width: clamp(130px, 20%, 230px); border: 8px solid var(--ink); border-radius: 30px; }
.device--phone img { width: 100%; height: auto; border-radius: 22px; }
.ref__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 120px 0 40px; padding-right: clamp(0px, 14vw, 220px); }
.ref__facts li { border-top: 2px solid var(--ink); padding-top: 16px; color: var(--text-dunkel); font-size: 16px; }
.ref__facts b { display: block; color: var(--ink); font: 700 18px/1.3 var(--sans); margin-bottom: 6px; }

/* ---------- Ablauf ---------- */
.steps { padding: clamp(100px, 13vw, 170px) 0; }
.step-list { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.step-list::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: rgba(245, 244, 240, .12); }
.step-list::after { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--signal); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.step { position: relative; padding-right: 30px; }
.step__n { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(245, 244, 240, .2); font: 500 14px/1 var(--mono); transition: border-color .4s, background .4s, color .4s; }
.step.is-on .step__n { border-color: var(--signal); background: var(--signal); color: #fff; }
.step h3 { font: 800 clamp(24px, 2.4vw, 32px)/1.05 var(--display); font-stretch: 112%; letter-spacing: -.02em; margin: 28px 0 12px; }
.step p { color: var(--stahl-hell); font-size: 16px; max-width: 30ch; }

/* ---------- Preise ---------- */
.prices { padding: clamp(100px, 13vw, 170px) 0 clamp(60px, 8vw, 100px); }
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 18px; margin-top: 64px; align-items: stretch; }
.price { background: var(--kreide); border-radius: 14px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; }
.price--dark { background: var(--ink); color: var(--kreide); }
.price--line { background: transparent; border: 1.5px solid rgba(18, 19, 20, .25); border-radius: 6px; }
.price h3 { font: 500 14px/1 var(--mono); color: var(--stahl); }
.price__amount { font: 850 clamp(52px, 6vw, 84px)/1 var(--display); font-stretch: 116%; letter-spacing: -.045em; margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.price__amount small { font: 500 15px/1 var(--mono); letter-spacing: 0; color: var(--stahl); }
.price__amount--text { font-size: clamp(34px, 3.4vw, 46px); }
.price__note { color: var(--stahl); margin-top: 6px; font-size: 15px; }
.price ul { margin-top: 30px; display: grid; gap: 12px; }
.price li { display: flex; gap: 10px; font-size: 16px; line-height: 1.4; }
.price li .i { color: var(--signal); width: 20px; height: 20px; margin-top: 1px; }
.price__text { margin-top: 30px; color: var(--text-dunkel); }
.guarantee { margin-top: 34px; max-width: 80ch; padding: 20px 24px; border-left: 3px solid var(--signal); background: rgba(255, 79, 18, .07); font-size: 16px; }

/* ---------- Über mich ---------- */
.about { padding: clamp(60px, 8vw, 110px) 0 clamp(100px, 13vw, 170px); }
.about__wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.about .h2 { font-size: clamp(40px, 5vw, 80px); }
.about__text p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-dunkel); }
.about__text p + p { margin-top: 18px; }

/* ---------- Kontakt ---------- */
.contact { padding: clamp(120px, 15vw, 200px) 0 clamp(100px, 12vw, 160px); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(245, 244, 240, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 244, 240, .04) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.contact .wrap { position: relative; }
.contact__title { font: 850 clamp(56px, 11vw, 190px)/.88 var(--display); font-stretch: 120%; letter-spacing: -.055em; }
.contact__title .line { display: block; overflow: hidden; padding-top: .08em; margin-top: -.08em; }
.contact__title .line > span { display: block; }
.contact__title .line:last-child { color: var(--signal); }
.contact .lead { color: var(--stahl-hell); opacity: 1; margin-top: 36px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn.is-copied { border-color: #4CC38A; color: #4CC38A; }

/* ---------- Fusszeile ---------- */
.foot { padding: 30px 0 40px; border-top: 1px solid rgba(245, 244, 240, .1); font-size: 14px; color: var(--stahl); }
.foot__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--kreide); }

/* ---------- Einblenden ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); animation: reveal-safety 0s 3.5s forwards; }
html.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); animation: none; }
@keyframes reveal-safety { to { opacity: 1; transform: none; } }

/* ---------- Unterseiten ---------- */
.legal { padding: 150px 0 110px; min-height: 100vh; }
.legal .wrap { max-width: 860px; }
.legal h1 { font: 850 clamp(48px, 8vw, 100px)/.95 var(--display); font-stretch: 116%; letter-spacing: -.045em; margin-bottom: 44px; }
.legal h2 { font: 800 26px/1.2 var(--display); font-stretch: 110%; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-dunkel); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--ink); text-decoration-color: var(--signal); text-underline-offset: 3px; }
.todo { background: #FFE2D6; padding: 1px 6px; border-radius: 4px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .nav, .bar__cta { display: none; }
  .burger { display: block; }
  .hero__wrap { grid-template-columns: 1fr; }
  .flow { justify-self: start; margin-top: 60px; max-width: 460px; }
  .svc { grid-template-columns: 1fr 1.4fr; }
  .svc__tags { grid-column: 2; flex-direction: row; flex-wrap: wrap; }
  .step-list { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .step-list::before, .step-list::after { display: none; }
  .ref__facts { grid-template-columns: 1fr 1fr; padding-right: 0; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price--line { grid-column: span 2; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wire { display: none; }
  .hero { padding-top: 110px; }
  .hero__title { font-size: clamp(44px, 12.5vw, 72px); }
  .services__head, .ref__head, .about__wrap, .calc__wrap { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .svc__tags { grid-column: auto; }
  .compare { min-height: 0; border-radius: 10px; }
  .compare__side { grid-area: auto; padding: 26px 22px; }
  .compare__side--mit { clip-path: none; padding-left: 22px; }
  .compare__side--ohne > * { max-width: none; }
  .compare__handle { display: none; }
  .compare__side li { grid-template-columns: 1fr; gap: 2px; font-size: 15px; }
  .step-list { grid-template-columns: 1fr; }
  .ref__facts { grid-template-columns: 1fr; }
  .ref__stage { padding-right: 60px; }
  .device--desk { border-width: 6px; border-top-width: 18px; }
  .device--phone { width: 30%; bottom: -30px; border-width: 5px; border-radius: 18px; }
  .price-grid { grid-template-columns: 1fr; }
  .price--line { grid-column: auto; }
  .calc__result { border-left: 0; border-top: 2px solid var(--signal); padding: 30px 0 0; }
  .flow { width: 74%; max-width: 74%; margin-left: 13%; margin-top: 70px; }
  .flow__cap { left: -17.5%; }
  .flow__log { left: -17.5%; right: -17.5%; white-space: normal; }
  .node { min-width: 0; width: 56%; padding: 9px 10px; }
  .hero__scroll { display: none; }
  .node__v { font-size: 13px; }
  .contact__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
