/* christoph-hitz.ch – gemeinsames Stylesheet für alle Seiten
   Look: clean und seriös. Weiss + Navy, ein Akzent (Stahlblau). Schrift: Manrope. */

/* Schrift lokal eingebunden (keine Verbindung zu Google) */
@font-face { font-family: "Manrope Local"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope Local"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope Local"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope Local"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope Local"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #FFFFFF;
  --soft: #F5F7FA;
  --ink: #0E1B2C;
  --muted: #526070;
  --line: #E6EAF0;
  --navy: #0E1B2C;
  --navy-2: #1B2B40;
  --navy-line: #2C3E56;
  --on-navy: #E7EDF4;
  --on-navy-muted: #93A3B7;
  --accent: #2E6DA4;
  --accent-2: #5B9BD5;
  --accent-soft: #EAF2F9;
  --ok: #1E7A4F;
  --font: "Manrope Local", "Manrope", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -.03em; line-height: 1.1; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.sec { padding-block: 112px; }
.soft { background: var(--soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-top: 14px; }
.sec-head p { color: var(--muted); max-width: 44ch; justify-self: end; }

/* Buttons & Links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 8px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: background .2s, color .2s, transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: var(--accent); }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link:hover { color: var(--accent); }

/* Topbar (Unterseiten) */
.topbar { border-bottom: 1px solid var(--line); background: var(--bg); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; }
.brand span { color: var(--accent); }
.topbar nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-size: .95rem; font-weight: 500; }
.topbar nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.topbar nav a:not(.btn):hover { color: var(--ink); }

/* ---------- Startseite: Hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 740px; }
.hero-left {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding-block: 28px 48px;
  padding-left: max(20px, calc((100vw - var(--maxw)) / 2 + 20px), env(safe-area-inset-left, 0px));
  padding-right: 56px;
}
.hero-left::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 85% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 85% 45%, #000 0%, transparent 75%);
}
.hero-left > * { position: relative; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.menu { display: flex; gap: 28px; flex-wrap: wrap; font-size: .95rem; font-weight: 500; }
.menu a { color: var(--muted); text-decoration: none; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after { transform: scaleX(1); }
.hero-copy { margin-block: auto; padding-block: 56px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 33em; }
.hero .lead strong { color: var(--ink); font-weight: 700; }
.hero .actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.facts { display: flex; gap: 48px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; }
.facts b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts span { font-size: .85rem; color: var(--muted); }

.hero-right {
  background: var(--navy); color: var(--on-navy);
  display: flex; flex-direction: column; gap: 22px; min-width: 0;
  padding-block: 28px 48px; padding-left: 44px;
  padding-right: max(20px, calc((100vw - var(--maxw)) / 2 + 20px), env(safe-area-inset-right, 0px));
}
.hero-right .top { display: flex; justify-content: flex-end; }
.portrait { position: relative; flex-grow: 1; min-height: 360px; border-radius: 12px; background: var(--navy-2); }
.portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; border-radius: 12px; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: #FFFFFF; color: var(--ink); border-radius: 10px; padding: 10px 14px;
  font-size: .85rem; font-weight: 700; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45);
}
.chip-avail { top: 18px; left: -22px; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #22A06B; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22A06B; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(2.8); opacity: 0; } }
.chip-flow { bottom: 18px; right: 18px; left: 18px; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; }
.flow-head { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.flow-steps span { height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
/* Ruhezustand = alles erledigt (wird ohne Animation angezeigt) */
.flow-steps span::after { content: ""; position: absolute; inset: 0; background: #22A06B; transform-origin: left; animation: 10s linear infinite; }
.flow-steps .s1::after { animation-name: s1; }
.flow-steps .s2::after { animation-name: s2; }
.flow-steps .s3::after { animation-name: s3; }
.flow-steps .s4::after { animation-name: s4; }
/* Ablauf in 10 s: Balken füllt sich blau, wird grün mit Häkchen, dann folgt der nächste Schritt, am Schluss "Live" */
@keyframes s1 { 0% { transform: scaleX(0); background: var(--accent); } 13% { transform: scaleX(1); background: var(--accent); } 15%, 90% { transform: scaleX(1); background: #22A06B; } 95%, 100% { transform: scaleX(0); background: #22A06B; } }
@keyframes s2 { 0%, 17% { transform: scaleX(0); background: var(--accent); } 30% { transform: scaleX(1); background: var(--accent); } 32%, 90% { transform: scaleX(1); background: #22A06B; } 95%, 100% { transform: scaleX(0); background: #22A06B; } }
@keyframes s3 { 0%, 34% { transform: scaleX(0); background: var(--accent); } 47% { transform: scaleX(1); background: var(--accent); } 49%, 90% { transform: scaleX(1); background: #22A06B; } 95%, 100% { transform: scaleX(0); background: #22A06B; } }
@keyframes s4 { 0%, 52% { transform: scaleX(0); } 56%, 90% { transform: scaleX(1); } 95%, 100% { transform: scaleX(0); } }
.flow-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: .72rem; font-weight: 700; color: #1E7A4F; }
.flow-labels span { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; animation: 10s linear infinite; }
.flow-labels i { width: 14px; height: 14px; border-radius: 50%; background: #22A06B; color: #FFFFFF; display: grid; place-items: center; flex-shrink: 0; animation: 10s ease-out infinite; }
.flow-labels i svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; flex-shrink: 0; animation: 10s linear infinite; }
.flow-labels .l1 { animation-name: t1; } .flow-labels .l1 i { animation-name: c1; }
.flow-labels .l2 { animation-name: t2; } .flow-labels .l2 i { animation-name: c2; }
.flow-labels .l3 { animation-name: t3; } .flow-labels .l3 i { animation-name: c3; }
.flow-labels .l4 { animation-name: t4; } .live-dot { animation-name: dot; }
@keyframes t1 { 0%, 14% { color: var(--muted); } 15%, 92% { color: #1E7A4F; } 96%, 100% { color: var(--muted); } }
@keyframes t2 { 0%, 31% { color: var(--muted); } 32%, 92% { color: #1E7A4F; } 96%, 100% { color: var(--muted); } }
@keyframes t3 { 0%, 48% { color: var(--muted); } 49%, 92% { color: #1E7A4F; } 96%, 100% { color: var(--muted); } }
@keyframes t4 { 0%, 55% { color: var(--muted); } 56%, 92% { color: #1E7A4F; } 96%, 100% { color: var(--muted); } }
@keyframes c1 { 0%, 14% { transform: scale(0); } 17% { transform: scale(1.25); } 19%, 92% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
@keyframes c2 { 0%, 31% { transform: scale(0); } 34% { transform: scale(1.25); } 36%, 92% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
@keyframes c3 { 0%, 48% { transform: scale(0); } 51% { transform: scale(1.25); } 53%, 92% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
@keyframes dot { 0%, 55% { background: var(--line); box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); } 56% { background: #22A06B; box-shadow: 0 0 0 0 rgba(34, 160, 107, .6); } 64% { box-shadow: 0 0 0 7px rgba(34, 160, 107, 0); } 65%, 92% { background: #22A06B; box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); } 96%, 100% { background: var(--line); } }
.who b { display: block; font-size: 1.05rem; }
.who span { font-size: .9rem; color: var(--on-navy-muted); }

/* Load-Animation Hero (nur Bewegung, Inhalt ist immer sichtbar) */
.rise { animation: rise .8s var(--ease) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* Scroll-Animation (nur Bewegung, Inhalt bleibt lesbar) */
.js [data-reveal] { transform: translateY(26px); transition: transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { transform: none; }

/* Icon-Kachel */
.ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: background .25s, color .25s, transform .25s var(--ease); }
.ico .icon { width: 24px; height: 24px; }

/* Warum */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.why-item { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.why-item h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.why-item p { color: var(--muted); font-size: .97rem; }
.why-item:hover .ico { background: var(--accent); color: #FFFFFF; transform: translateY(-3px); }

/* Angebot */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer { background: var(--bg); border-radius: 16px; padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform .3s var(--ease), box-shadow .3s; }
.offer:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(14, 27, 44, .35); }
.offer:hover .ico { background: var(--accent); color: #FFFFFF; }
.offer .k { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.offer h3 { font-size: 1.4rem; }
.offer p { color: var(--muted); }
.dots { margin: 6px 0 0; padding: 18px 0 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; border-top: 1px solid var(--line); }
.dots li { display: flex; gap: 10px; align-items: baseline; }
.dots li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: translateY(-2px); }

/* Projektkarten */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.proj { display: flex; flex-direction: column; gap: 18px; text-decoration: none; min-width: 0; }
.shot { aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; border-radius: 14px; background: var(--soft); position: relative; box-shadow: 0 0 0 1px var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.proj:hover .shot img { transform: scale(1.03); }
.shot .pv { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8%; background: #22313A; color: #F6F7F8; }
.shot .pv small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.shot .pv strong { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.1; letter-spacing: -.02em; }
.shot img + .pv { display: none; }
.shot .go { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); transform: translateY(8px) scale(.9); opacity: 0; transition: all .3s var(--ease); }
.shot .go .icon { width: 20px; height: 20px; }
.proj:hover .shot .go, .proj:focus-visible .shot .go { opacity: 1; transform: none; }
.proj-body { display: flex; flex-direction: column; gap: 8px; }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.proj-top b { font-size: 1.2rem; letter-spacing: -.02em; }
.proj:hover .proj-top b { color: var(--accent); }
.proj-body p { color: var(--muted); font-size: .97rem; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9A227; }
.status.live::before { background: var(--ok); }

/* Ablauf */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
/* Linie zwischen den Icons: drei Abschnitte, die sich nacheinander füllen */
.track { position: absolute; top: 27px; left: 28px; width: calc(75% + 24px); height: 2px; background: var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.seg { position: relative; overflow: hidden; }
.seg::after { content: ""; position: absolute; inset: 0; background: #22A06B; transform-origin: left; animation: 12s linear infinite; }
.g1::after { animation-name: g1; } .g2::after { animation-name: g2; } .g3::after { animation-name: g3; }
@keyframes g1 { 0%, 9% { transform: scaleX(0); background: var(--accent); } 22% { transform: scaleX(1); background: var(--accent); } 23%, 90% { transform: scaleX(1); background: #22A06B; } 95%, 100% { transform: scaleX(0); background: #22A06B; } }
@keyframes g2 { 0%, 26% { transform: scaleX(0); background: var(--accent); } 39% { transform: scaleX(1); background: var(--accent); } 40%, 90% { transform: scaleX(1); background: #22A06B; } 95%, 100% { transform: scaleX(0); background: #22A06B; } }
@keyframes g3 { 0%, 43% { transform: scaleX(0); background: var(--accent); } 56% { transform: scaleX(1); background: var(--accent); } 57%, 90% { transform: scaleX(1); background: #22A06B; } 95%, 100% { transform: scaleX(0); background: #22A06B; } }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; position: relative; z-index: 1; transition: border-color .25s, background .25s, color .25s; }
.soft .step-ico { background: var(--soft); }
/* Nach Go-live: gestrichelte Linie bis zum Rand = laufende Betreuung */
.track-after { position: absolute; top: 27px; left: calc(75% + 52px + 28px); right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, #22A06B 0 8px, transparent 8px 16px);
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent);
  animation: march 1s linear infinite, after-show 12s linear infinite; }
@keyframes march { from { background-position: 0 0; } to { background-position: 16px 0; } }
@keyframes after-show { 0%, 61% { opacity: 0; clip-path: inset(0 100% 0 0); } 70%, 92% { opacity: 1; clip-path: inset(0 0 0 0); } 96%, 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
/* Icons: Ruhezustand = erledigt (grün mit Häkchen) */
.steps .step-ico { border-color: #22A06B; color: #1E7A4F; animation: 12s linear infinite; }
.done-ck { position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 50%; background: #22A06B; color: #FFFFFF; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--soft); animation: 12s ease-out infinite; }
.done-ck svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.st1 .step-ico { animation-name: i1; } .st1 .done-ck { animation-name: k1; }
.st2 .step-ico { animation-name: i2; } .st2 .done-ck { animation-name: k2; }
.st3 .step-ico { animation-name: i3; } .st3 .done-ck { animation-name: k3; }
.st4 .step-ico { animation-name: i4; } .st4 .done-ck { animation-name: k4; }
@keyframes i1 { 0% { border-color: var(--line); color: var(--accent); } 3%, 6% { border-color: var(--accent); color: var(--accent); } 8%, 92% { border-color: #22A06B; color: #1E7A4F; } 96%, 100% { border-color: var(--line); color: var(--accent); } }
@keyframes i2 { 0%, 21% { border-color: var(--line); color: var(--accent); } 22%, 23% { border-color: var(--accent); color: var(--accent); } 25%, 92% { border-color: #22A06B; color: #1E7A4F; } 96%, 100% { border-color: var(--line); color: var(--accent); } }
@keyframes i3 { 0%, 38% { border-color: var(--line); color: var(--accent); } 39%, 40% { border-color: var(--accent); color: var(--accent); } 42%, 92% { border-color: #22A06B; color: #1E7A4F; } 96%, 100% { border-color: var(--line); color: var(--accent); } }
@keyframes i4 { 0%, 55% { border-color: var(--line); color: var(--accent); box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); } 56%, 57% { border-color: var(--accent); color: var(--accent); } 59% { border-color: #22A06B; color: #1E7A4F; box-shadow: 0 0 0 0 rgba(34, 160, 107, .45); } 68% { box-shadow: 0 0 0 14px rgba(34, 160, 107, 0); } 69%, 92% { border-color: #22A06B; color: #1E7A4F; box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); } 96%, 100% { border-color: var(--line); color: var(--accent); } }
@keyframes k1 { 0%, 7% { transform: scale(0); } 10% { transform: scale(1.25); } 12%, 92% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
@keyframes k2 { 0%, 24% { transform: scale(0); } 27% { transform: scale(1.25); } 29%, 92% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
@keyframes k3 { 0%, 41% { transform: scale(0); } 44% { transform: scale(1.25); } 46%, 92% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
@keyframes k4 { 0%, 58% { transform: scale(0); } 61% { transform: scale(1.25); } 63%, 92% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
.steps small { font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.steps h3 { font-size: 1.12rem; letter-spacing: -.02em; }
.steps p { color: var(--muted); font-size: .96rem; }

/* Über mich */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.about-photo { position: relative; border-radius: 16px; aspect-ratio: 3 / 4; max-width: 100%; background: var(--soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.about-photo .badge { position: absolute; right: -18px; bottom: 28px; background: var(--navy); color: var(--on-navy); border-radius: 12px; padding: 14px 18px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45); display: flex; align-items: baseline; gap: 10px; }
.about-photo .badge b { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.about-photo .badge span { font-size: .85rem; color: var(--on-navy-muted); line-height: 1.3; }
.about h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-top: 14px; }
.about .text { display: grid; gap: 16px; color: var(--muted); max-width: 58ch; margin-top: 22px; }
.about .text p:first-child { color: var(--ink); font-size: 1.15rem; }
.path { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.path::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--line), var(--accent)); }
.path li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 8px 0; position: relative; }
.path .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); color: var(--muted); display: grid; place-items: center; }
.path .dot .icon { width: 20px; height: 20px; }
.path b { display: block; font-size: 1rem; }
.path span { font-size: .9rem; color: var(--muted); }
.path li.now .dot { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.path li.now b { color: var(--accent); }

/* Kontakt + Footer */
.contact { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--navy-line) 1.2px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 50% 80% at 90% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 80% at 90% 50%, #000, transparent 75%); }
.contact .wrap { position: relative; padding-block: 96px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.contact .eyebrow { color: var(--on-navy-muted); }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 14px; }
.contact p { margin-top: 16px; color: var(--on-navy-muted); font-size: 1.1rem; max-width: 44ch; }
.mailbox { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 14px; padding: 8px; display: grid; gap: 4px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 10px; text-decoration: none; color: var(--on-navy); transition: background .2s; min-width: 0; }
.contact-row:hover { background: rgba(255, 255, 255, .06); }
.contact-row + .contact-row { border-top: 1px solid var(--navy-line); border-radius: 0 0 10px 10px; }
.c-ico { width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; color: var(--ink); display: grid; place-items: center; flex-shrink: 0; transition: transform .25s var(--ease); }
.c-ico .icon { width: 20px; height: 20px; }
.contact-row:hover .c-ico { transform: scale(1.06); }
.contact-row small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); }
.contact-row b { display: block; font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
footer { background: var(--navy); color: var(--on-navy-muted); }
footer .wrap { padding-block: 22px; border-top: 1px solid var(--navy-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--on-navy); }

/* ---------- Projekt-Detailseiten ---------- */
.band { background: var(--soft); border-block: 1px solid var(--line); }
.why-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.why-card h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.why-card p { color: var(--muted); font-size: .97rem; }
.crumb { font-size: .92rem; font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.crumb:hover { color: var(--ink); }
.p-head { padding-block: 56px 48px; display: grid; gap: 22px; }
.p-head h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -.04em; max-width: 18ch; }
.p-head .lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); margin-top: 12px; }
.meta div { padding: 18px 20px 18px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.meta div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.meta span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meta b { font-weight: 700; font-size: 1rem; overflow-wrap: anywhere; }
.meta a { color: var(--accent); text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.browser { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); box-shadow: 0 30px 60px -36px rgba(14, 27, 44, .45); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DAE2; }
.browser .bar span { margin-left: 10px; flex: 1; min-width: 0; font-size: .8rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; }
.browser .ph-shot { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 8%; background: #22313A; color: #F6F7F8; }
.browser .ph-shot small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.browser .ph-shot strong { font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.story > div { display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--ink); padding-top: 20px; min-width: 0; }
.story > div:last-child { border-top-color: var(--accent); }
.story h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.story p { color: var(--muted); }
.work { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: start; }
.work h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-top: 14px; margin-bottom: 28px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232E6DA4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; margin-top: 2px; }
.checks b { display: block; font-size: 1.02rem; }
.checks span { color: var(--muted); font-size: .96rem; }
.phone { border: 8px solid var(--navy); border-radius: 34px; overflow: hidden; background: var(--navy); box-shadow: 0 30px 60px -30px rgba(14, 27, 44, .5); max-width: 300px; margin-inline: auto; width: 100%; }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 26px; }
.phone-cap { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 14px; }
.second-shot { margin-top: 28px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { font-size: .9rem; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.result-box { background: var(--navy); color: var(--on-navy); border-radius: 14px; padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.result-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.result-box p { color: var(--on-navy-muted); margin-top: 10px; max-width: 56ch; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 36px; border-top: 1px solid var(--line); }
.next a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.next a span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next a b { font-size: 1.3rem; letter-spacing: -.02em; }
.next a:hover b { color: var(--accent); }
.next a.right { text-align: right; }

/* Detailseiten: Erweiterungen */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; font-size: .88rem; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.p-head { padding-block: 36px 48px; }
.p-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.p-actions .icon { width: 18px; height: 18px; }
.hero-shot { margin-bottom: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-block: 1px solid var(--line); }
.kpis div { padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpis div + div { border-left: 1px solid var(--line); }
.kpis b { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: var(--accent); font-variant-numeric: tabular-nums; }
.kpis span { font-size: .92rem; color: var(--muted); }
.story .ico { margin-bottom: 4px; }
.story > div:hover .ico { background: var(--accent); color: #FFFFFF; }
.checks .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.checks .ck .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.checks li:has(.ck)::before { content: none; }
.checks li:has(.ck) { grid-template-columns: 26px 1fr; gap: 14px; }
.work .why-card .ico { margin-bottom: 4px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.gallery.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery.three .gal:first-child { grid-column: 1 / -1; }
.gallery.one { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.gal { margin: 0; min-width: 0; }
.gal figcaption { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.gal .browser { transition: transform .4s var(--ease), box-shadow .4s; }
.gal:hover .browser { transform: translateY(-4px); }
.gal-phone figcaption { text-align: center; }
.gallery.one .gal-phone { max-width: 320px; }
.gallery.phones { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.gallery.phones .gal { width: 280px; max-width: 100%; }
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tech h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 14px 0 14px; }
.tech p { color: var(--muted); max-width: 48ch; }
.tech .stack span { background: var(--bg); padding: 10px 16px; font-size: .95rem; }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.nx { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; text-decoration: none; padding: 14px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, transform .25s var(--ease); min-width: 0; }
.nx:hover { border-color: var(--accent); transform: translateY(-2px); }
.nx-img { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--soft); }
.nx-img img { width: 100%; height: 100%; object-fit: cover; }
.nx-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nx-txt small { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nx-txt b { font-size: 1.2rem; letter-spacing: -.02em; }
.nx:hover .nx-txt b { color: var(--accent); }
.nx-txt em { font-style: normal; font-size: .88rem; color: var(--muted); }
.nx.right { grid-template-columns: 1fr 140px; text-align: right; }
.nx.right .nx-img { order: 2; }

/* Rechtliche Seiten */
.legal { max-width: 820px; padding-bottom: 96px; }
.legal-head { padding-block: 36px 40px; display: grid; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.04em; }
.legal-head .lead { font-size: 1.15rem; color: var(--muted); }
.legal section { padding-block: 28px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.legal section:last-of-type { border-bottom: 0; }
.legal h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); }
.legal b { color: var(--ink); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal address { font-style: normal; line-height: 1.7; }
.legal-date { font-size: .9rem; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound b { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; letter-spacing: -.05em; color: var(--accent); line-height: 1; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 14px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { transform: none; }
  .shot .go { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .track, .track-after { display: none; }
  .meta { grid-template-columns: 1fr 1fr; }
  .meta div:nth-child(3) { padding-left: 0; border-left: 0; }
  .meta div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-left { padding: 22px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); }
  .hero-copy { padding-block: 40px 32px; }
  .hero-right { padding: 28px max(20px, env(safe-area-inset-right, 0px)) 32px max(20px, env(safe-area-inset-left, 0px)); }
  .hero-right .top { display: none; }
  .portrait { min-height: 0; aspect-ratio: 4 / 4.4; max-width: 100%; }
  .chip-avail { left: 12px; top: 12px; }
  .menu { display: none; }
  .sec { padding-block: 80px; }
  .sec-head, .about, .contact .wrap, .work { grid-template-columns: 1fr; gap: 28px; }
  .sec-head p { justify-self: start; }
  .offer-grid, .proj-grid, .story { grid-template-columns: 1fr; }
  .story { gap: 36px; }
  .about { gap: 48px; }
  .about-photo { max-width: 380px; }
  .about-photo .badge { right: 12px; }
  .result-box { grid-template-columns: 1fr; padding: 32px 24px; }
  .topbar nav a:not(.btn) { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:nth-child(3) { border-left: 0; }
  .kpis div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery, .gallery.three, .tech, .next-grid { grid-template-columns: 1fr; }
  .tech { gap: 24px; }
}
@media (max-width: 520px) {
  .why-grid, .steps, .meta { grid-template-columns: 1fr; }
  .meta div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts { gap: 28px; }
  .next a.right { text-align: left; }
  .flow-labels { font-size: .6rem; }
  .flow-labels span { gap: 3px; }
  .flow-labels i { width: 11px; height: 11px; }
  .flow-labels i svg { width: 8px; height: 8px; }
  .live-dot { width: 6px; height: 6px; }
  .chip-flow { left: 10px; right: 10px; bottom: 10px; padding: 12px; }
  .kpis div { padding: 20px 16px; }
  .nx, .nx.right { grid-template-columns: 96px 1fr; text-align: left; }
  .nx.right .nx-img { order: 0; }
}
