/* Gebäudereinigung · "Spatial HUD" (hell)
   Layout: dunkles Raumraster, Inhalte auf 1240px, 3D-Objekte aus reinem CSS als Blickfang. */
:root {
  --bg: #F3F6F9;
  --surface: #FFFFFF;
  --surface-2: #E9F0F7;
  --ice-rgb: 10, 99, 201;
  --line: rgba(var(--ice-rgb), .13);
  --line-strong: rgba(var(--ice-rgb), .32);
  --text: #0B1726;
  --muted: #4B5D70;
  --ice: #0A5FC2;
  --signal: #F2622E;
  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --f-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.app { position: relative; z-index: 1; }
a { color: var(--ice); }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
img { max-width: 100%; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
.stack-s { display: flex; flex-direction: column; gap: 8px; }
.stack-m { display: flex; flex-direction: column; gap: 18px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--signal); color: #1A0A03; padding: 12px 16px; }

/* Typografie */
h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
.h1 { font-size: clamp(34px, 5.2vw, 72px); line-height: 1.05; font-weight: 800; }
.h1 em { font-style: normal; color: var(--ice); }
.h2 { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.12; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: #33465A; max-width: 36em; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--signal); flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  font-family: var(--f-body); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--signal); background: var(--signal); color: #1A0A03;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .2s, color .2s;
}
.btn:hover { background: #F57A4C; color: #1A0A03; }
.btn-ghost { background: rgba(var(--ice-rgb), .04); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(var(--ice-rgb), .12); color: var(--text); }
.arrow { flex: none; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(243, 246, 249, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding-block: 12px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 10px 14px; border: 1px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-color: var(--line-strong); }
.nav a.btn { color: #1A0A03; border-color: var(--signal); padding: 10px 18px; margin-left: 8px; min-height: 44px; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) 32px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 32px 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero .h1 { font-size: clamp(32px, 3.5vw, 50px); hyphens: manual; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 3D-Hochhaus: Gondel zieht ab, Tuch poliert, Glas glänzt (Zyklus 11 s) */
.scene { position: relative; height: 660px; perspective: 1500px; perspective-origin: 50% 30%; }
.scene-rig {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(-10deg + var(--ty, 0deg))) rotateY(var(--tx, 0deg));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.tower {
  position: absolute; left: 50%; top: 92px; width: 140px; height: 500px; margin-left: -70px;
  transform-style: preserve-3d; animation: fx-spin 44s linear infinite;
}
@keyframes fx-spin { from { transform: rotateY(-20deg); } to { transform: rotateY(340deg); } }
.face {
  position: absolute; left: 0; top: 0; width: 140px; height: 500px;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(16, 1fr); gap: 4px; padding: 8px;
  background: linear-gradient(180deg, rgba(var(--ice-rgb), .14), rgba(var(--ice-rgb), .04));
  border: 1px solid var(--line-strong);
}
.f-front { transform: translateZ(70px); }
.f-back { transform: rotateY(180deg) translateZ(70px); }
.f-right { transform: rotateY(90deg) translateZ(70px); }
.f-left { transform: rotateY(-90deg) translateZ(70px); }
.f-top { height: 140px; top: -70px; transform: rotateX(90deg); background: rgba(var(--ice-rgb), .16); display: block; padding: 0; }
.r0 { --d: 0.000s; }
.r1 { --d: 0.378s; }
.r2 { --d: 0.756s; }
.r3 { --d: 1.134s; }
.r4 { --d: 1.512s; }
.r5 { --d: 1.890s; }
.r6 { --d: 2.268s; }
.r7 { --d: 2.646s; }
.r8 { --d: 3.024s; }
.r9 { --d: 3.402s; }
.r10 { --d: 3.780s; }
.r11 { --d: 4.158s; }
.r12 { --d: 4.536s; }
.r13 { --d: 4.914s; }
.r14 { --d: 5.292s; }
.r15 { --d: 5.670s; }
.win { background: #5FB4FF; animation: fx-flash 11s linear infinite both; animation-delay: var(--d, 0s); }
@keyframes fx-flash {
  0% { background: #FFFFFF; box-shadow: 0 0 12px rgba(56, 160, 255, .9); }
  5%, 100% { background: #5FB4FF; box-shadow: none; }
}
/* Schmutzfilm: wird von der Gondel von oben nach unten abgezogen und kommt am Ende zurück */
.grime {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    rfx-gradient(circle at 30% 20%, rgba(120, 104, 80, .35), transparent 40%),
    rfx-gradient(circle at 70% 60%, rgba(120, 104, 80, .3), transparent 45%),
    linear-gradient(125deg, rgba(190, 196, 200, .78), rgba(160, 158, 150, .7));
  animation: fx-grime 11s linear infinite both;
}
@keyframes fx-grime {
  0% { clip-path: inset(0 0 0 0); opacity: 1; }
  55% { clip-path: inset(100% 0 0 0); opacity: 1; }
  90% { clip-path: inset(100% 0 0 0); opacity: 0; }
  91% { clip-path: inset(0 0 0 0); opacity: 0; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
.gondola {
  position: absolute; left: -7px; right: -7px; top: 0; height: 12px; z-index: 3;
  background: var(--signal); border: 1px solid #B8441C; border-radius: 2px;
  box-shadow: 0 6px 14px -4px rgba(242, 98, 46, .6);
  animation: fx-gondola 11s linear infinite both;
}
.squeegee { position: absolute; left: 4px; right: 4px; top: 100%; height: 3px; background: #1F2A36; border-radius: 0 0 2px 2px; }
.cable { position: absolute; top: 0; height: 100%; width: 1.5px; z-index: 3; background: #2E3D4E; transform-origin: top; animation: fx-cable 11s linear infinite both; }
.cable-l { left: 14px; }
.cable-r { right: 14px; }
@keyframes fx-gondola {
  0% { transform: translateY(-6px); opacity: 0; }
  2% { opacity: 1; }
  55% { transform: translateY(488px); opacity: 1; }
  58%, 100% { transform: translateY(488px); opacity: 0; }
}
@keyframes fx-cable {
  0% { transform: scaleY(0); opacity: 0; }
  2% { opacity: 1; }
  55% { transform: scaleY(.976); opacity: 1; }
  58%, 100% { transform: scaleY(.976); opacity: 0; }
}
/* Poliertuch: wischt im Zickzack von unten nach oben */
.cloth {
  position: absolute; left: 0; top: 0; width: 34px; height: 22px; z-index: 4; opacity: 0;
  background: linear-gradient(135deg, #FFF3C4, #FFD76A); border: 1px solid #C99A1E; border-radius: 4px 9px 5px 10px;
  box-shadow: 0 4px 10px -3px rgba(11, 23, 38, .45), 0 0 16px rgba(255, 255, 255, .9);
  animation: fx-cloth 11s ease-in-out infinite both;
}
@keyframes fx-cloth {
  0%, 57% { transform: translate(8px, 466px) rotate(-8deg); opacity: 0; }
  59% { transform: translate(8px, 466px) rotate(-8deg); opacity: 1; }
  62% { transform: translate(98px, 400px) rotate(10deg); opacity: 1; }
  65% { transform: translate(8px, 330px) rotate(-10deg); opacity: 1; }
  68% { transform: translate(98px, 255px) rotate(10deg); opacity: 1; }
  71% { transform: translate(8px, 180px) rotate(-10deg); opacity: 1; }
  74% { transform: translate(98px, 105px) rotate(10deg); opacity: 1; }
  77% { transform: translate(50px, 24px) rotate(0deg); opacity: 1; }
  79%, 100% { transform: translate(50px, 10px) rotate(0deg); opacity: 0; }
}
/* Glanz: läuft nach dem Polieren über das Glas */
.shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) no-repeat;
  background-size: 300% 100%;
  animation: fx-shine 11s linear infinite both;
}
@keyframes fx-shine {
  0%, 76% { background-position: 120% 0; opacity: 0; }
  77% { opacity: 1; }
  88% { background-position: -20% 0; opacity: 1; }
  89%, 100% { background-position: -20% 0; opacity: 0; }
}
.spark {
  position: absolute; z-index: 4; width: 20px; height: 20px; background: #FFFFFF; transform: scale(0);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95));
  animation: fx-spark 11s ease-out infinite both;
}
.spark-1 { left: 20px; top: 70px; }
.spark-2 { left: 96px; top: 220px; animation-delay: .35s; }
.spark-3 { left: 34px; top: 380px; animation-delay: .7s; }
@keyframes fx-spark {
  0%, 77% { transform: scale(0) rotate(0deg); }
  81% { transform: scale(1.15) rotate(45deg); }
  86%, 100% { transform: scale(0) rotate(90deg); }
}
.mast { position: absolute; left: 69px; top: -74px; width: 2px; height: 74px; background: #2E3D4E; }
.mast-2 { transform: rotateY(90deg); }
.mast::before { content: ""; position: absolute; top: -4px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: fx-blink 1.6s steps(2, jump-none) infinite; }
@keyframes fx-blink { 50% { opacity: .2; } }
.floor {
  position: absolute; left: 50%; top: 592px; width: 900px; height: 900px; margin: -450px 0 0 -450px;
  transform: rotateX(90deg);
  background-image: linear-gradient(rgba(var(--ice-rgb), .28) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ice-rgb), .28) 1px, transparent 1px);
  background-size: 45px 45px;
  -webkit-mask-image: rfx-gradient(closest-side, #000 20%, transparent); mask-image: rfx-gradient(closest-side, #000 20%, transparent);
}
.floor::after { content: ""; position: absolute; inset: 38%; background: rfx-gradient(closest-side, rgba(var(--ice-rgb), .3), transparent); }
.hud {
  position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; color: var(--muted);
  border-left: 1px solid var(--signal); background: rgba(255, 255, 255, .88);
}
.hud b { color: var(--text); font-weight: 500; }
.hud-1 { top: 24px; left: 0; }
.hud-2 { top: 52%; right: 0; }
.hud-3 { bottom: 20px; left: 6%; }

/* 3D-Glaswürfel: verschmutzt, Tuch wischt schnell, Glas blitzt, Seifenblasen (Zyklus 4,8 s) */
.cube-scene { position: relative; height: 360px; display: grid; place-items: center; perspective: 1000px; }
.cube-rig { transform-style: preserve-3d; transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cube { position: relative; width: 190px; height: 190px; transform-style: preserve-3d; animation: fx-cube 16s linear infinite, fx-float 4s ease-in-out infinite; }
@keyframes fx-cube { from { transform: rotateX(-22deg) rotateY(-30deg); } to { transform: rotateX(-22deg) rotateY(330deg); } }
@keyframes fx-float { 50% { translate: 0 -16px; } }
.cube-face {
  --fd: 0s;
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background:
    linear-gradient(rgba(var(--ice-rgb), .16) 1.5px, transparent 1.5px) 0 0 / 100% 33.4%,
    linear-gradient(90deg, rgba(var(--ice-rgb), .16) 1.5px, transparent 1.5px) 0 0 / 33.4% 100%,
    linear-gradient(145deg, #FFFFFF, #CFE6FF);
  border: 2px solid #0A5FC2;
  box-shadow: inset 0 0 46px rgba(var(--ice-rgb), .22);
}
.cf-0 { transform: translateZ(95px); }
.cf-1 { transform: rotateY(90deg) translateZ(95px); --fd: .35s; }
.cf-2 { transform: rotateY(180deg) translateZ(95px); --fd: .7s; }
.cf-3 { transform: rotateY(-90deg) translateZ(95px); --fd: 1.05s; }
.cf-4 { transform: rotateX(90deg) translateZ(95px); --fd: .2s; }
.cf-5 { transform: rotateX(-90deg) translateZ(95px); --fd: .2s; }
.cube-icon { position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--signal); color: #FFFFFF; box-shadow: 0 10px 24px -8px rgba(242, 98, 46, .7); animation: fx-cube-pop 4.8s ease-out infinite both; animation-delay: var(--fd); }
@keyframes fx-cube-pop { 0%, 34% { scale: .9; } 42% { scale: 1.12; } 50%, 100% { scale: 1; } }
.cube-grime {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 22% 28%, rgba(74, 56, 34, .75), transparent 34%),
    radial-gradient(circle at 74% 66%, rgba(74, 56, 34, .7), transparent 38%),
    radial-gradient(circle at 62% 16%, rgba(52, 44, 34, .6), transparent 28%),
    radial-gradient(circle at 30% 82%, rgba(60, 50, 36, .6), transparent 30%),
    linear-gradient(135deg, #8E877A, #6F685B);
  animation: fx-cube-grime 4.8s linear infinite both; animation-delay: var(--fd);
}
@keyframes fx-cube-grime {
  0%, 6% { clip-path: inset(0 0 0 0); opacity: 1; }
  34% { clip-path: inset(100% 0 0 0); opacity: 1; }
  84% { clip-path: inset(100% 0 0 0); opacity: 0; }
  85% { clip-path: inset(0 0 0 0); opacity: 0; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
.cube-cloth {
  position: absolute; left: 0; top: 0; width: 70px; height: 42px; opacity: 0;
  background: linear-gradient(135deg, #FFF6CF, #FFD24D); border: 1.5px solid #B88A12; border-radius: 6px 15px 7px 16px;
  box-shadow: 0 6px 14px -3px rgba(11, 23, 38, .55), 0 0 22px rgba(255, 255, 255, 1);
  animation: fx-cube-cloth 4.8s cubic-bezier(.45, 0, .55, 1) infinite both; animation-delay: var(--fd);
}
@keyframes fx-cube-cloth {
  0%, 4% { transform: translate(4px, -30px) rotate(-10deg); opacity: 0; }
  6% { transform: translate(4px, -20px) rotate(-10deg); opacity: 1; }
  13% { transform: translate(116px, 22px) rotate(12deg); opacity: 1; }
  20% { transform: translate(4px, 66px) rotate(-12deg); opacity: 1; }
  27% { transform: translate(116px, 110px) rotate(12deg); opacity: 1; }
  34% { transform: translate(4px, 150px) rotate(-12deg); opacity: 1; }
  38%, 100% { transform: translate(-30px, 190px) rotate(-12deg); opacity: 0; }
}
.cube-shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 34%, #FFFFFF 50%, transparent 66%) no-repeat;
  background-size: 300% 100%;
  animation: fx-cube-shine 4.8s linear infinite both; animation-delay: var(--fd);
}
@keyframes fx-cube-shine {
  0%, 35% { background-position: 120% 0; opacity: 0; }
  36% { opacity: .95; }
  50% { background-position: -20% 0; opacity: .95; }
  51%, 100% { background-position: -20% 0; opacity: 0; }
}
.cube-spark-1, .cube-spark-2 { animation-name: fx-cube-spark; animation-duration: 4.8s; animation-delay: var(--fd); filter: drop-shadow(0 0 6px rgba(10, 95, 194, .95)); }
.cube-spark-1 { left: 14px; top: 16px; width: 30px; height: 30px; }
.cube-spark-2 { right: 16px; bottom: 18px; width: 24px; height: 24px; }
@keyframes fx-cube-spark {
  0%, 38% { transform: scale(0) rotate(0deg); }
  46% { transform: scale(1.25) rotate(45deg); }
  58%, 100% { transform: scale(0) rotate(90deg); }
}
.bubble {
  position: absolute; bottom: 60px; left: 50%; width: 16px; height: 16px; border-radius: 50%; opacity: 0;
  border: 1.5px solid rgba(var(--ice-rgb), .55); background: radial-gradient(circle at 32% 30%, #FFFFFF 0 18%, rgba(var(--ice-rgb), .12) 40%, transparent 70%);
  animation: fx-bubble 4.8s ease-in infinite;
}
.bubble:nth-child(1) { margin-left: -150px; animation-delay: .2s; }
.bubble:nth-child(2) { margin-left: -118px; width: 10px; height: 10px; animation-delay: 1.5s; }
.bubble:nth-child(3) { margin-left: -60px; width: 22px; height: 22px; animation-delay: 2.6s; }
.bubble:nth-child(4) { margin-left: 44px; width: 12px; height: 12px; animation-delay: .9s; }
.bubble:nth-child(5) { margin-left: 110px; width: 20px; height: 20px; animation-delay: 3.3s; }
.bubble:nth-child(6) { margin-left: 140px; width: 9px; height: 9px; animation-delay: 2s; }
.bubble:nth-child(7) { margin-left: 4px; width: 14px; height: 14px; animation-delay: 4s; }
@keyframes fx-bubble {
  0% { transform: translate(0, 0) scale(.5); opacity: 0; }
  12% { opacity: .95; }
  60% { transform: translate(14px, -170px) scale(1); opacity: .9; }
  100% { transform: translate(-8px, -280px) scale(1.15); opacity: 0; }
}
.cube-shadow { position: absolute; bottom: 20px; left: 50%; width: 230px; height: 30px; margin-left: -115px; background: radial-gradient(closest-side, rgba(var(--ice-rgb), .3), transparent); animation: fx-shadow 4s ease-in-out infinite; }
@keyframes fx-shadow { 50% { scale: .86; opacity: .7; } }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--surface); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--f-display); font-size: 34px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: 15px; }

/* Abschnitte */
.section { padding-block: clamp(56px, 7vw, 104px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* Leistungs-Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  position: relative; overflow: hidden; background: var(--surface); padding: 28px; min-height: 240px;
  display: flex; flex-direction: column; gap: 14px; color: var(--text); text-decoration: none; transition: background .25s;
}
.card:hover { background: var(--surface-2); color: var(--text); }
.card-code { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--signal); text-transform: uppercase; }
.card h3 { font-size: 21px; line-height: 1.22; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-go { margin-top: auto; display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 13px; color: var(--ice); }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ice); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover::after { transform: scaleX(1); }
.card:hover .arrow { translate: 4px 0; }
.arrow { transition: translate .25s; }

/* Kategorien */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; font-family: var(--f-mono); font-size: 13px; color: var(--text); text-decoration: none; border: 1px solid var(--line-strong); }
.chip span { color: var(--signal); }
.chip:hover { border-color: var(--ice); color: var(--text); }
.cat-block { display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 100px; }
.cat-block + .cat-block { margin-top: 72px; }
.cat-title { display: flex; align-items: baseline; gap: 16px; font-size: clamp(22px, 2.4vw, 30px); }
.cat-count { font-family: var(--f-mono); font-size: 14px; font-weight: 400; color: var(--muted); }

/* Versprechen und Schritte */
.promises, .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.promise { border-top: 1px solid var(--line-strong); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.promise-idx { font-family: var(--f-mono); font-size: 13px; color: var(--signal); letter-spacing: .06em; text-transform: uppercase; }
.promise h3 { font-size: 19px; line-height: 1.25; }
.promise p { color: var(--muted); }

/* Referenzen */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 16px; }
.ref { position: relative; box-shadow: 0 18px 40px -28px rgba(11, 23, 38, .35); background: var(--surface); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.ref::before { content: ""; position: absolute; top: -1px; left: -1px; width: 18px; height: 18px; border-top: 2px solid var(--signal); border-left: 2px solid var(--signal); }
.ref-name { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.ref-meta { font-family: var(--f-mono); font-size: 13px; color: var(--ice); }

/* Einsatzgebiet */
.area { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px; align-items: center; padding: clamp(24px, 4vw, 56px); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.districts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.districts li { font-family: var(--f-mono); font-size: 13px; padding: 8px 12px; border: 1px solid var(--line-strong); }
.area-plane { position: relative; height: 280px; perspective: 700px; }
.area-grid {
  position: absolute; inset: -30% -20%; transform: rotateX(62deg);
  background-image: linear-gradient(rgba(var(--ice-rgb), .3) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ice-rgb), .3) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: rfx-gradient(closest-side, #000 30%, transparent); mask-image: rfx-gradient(closest-side, #000 30%, transparent);
}
.area-pin { position: absolute; left: 50%; top: 52%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 18px var(--signal); }
.area-pin::after { content: ""; position: absolute; inset: -7px; border: 1px solid var(--signal); border-radius: 50%; animation: fx-ping 2.4s ease-out infinite; }
@keyframes fx-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.area-label { position: absolute; left: calc(50% + 18px); top: calc(52% - 34px); font-family: var(--f-mono); font-size: 12px; color: var(--text); padding: 4px 8px; background: rgba(255, 255, 255, .9); border-left: 1px solid var(--signal); white-space: nowrap; }

/* CTA */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line-strong); background: linear-gradient(120deg, rgba(var(--ice-rgb), .07), transparent 60%), var(--surface); }
.cta .stack-m { max-width: 700px; }

/* Unterseiten-Kopf */
.page-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 24px 48px; align-items: center; padding-block: clamp(40px, 5vw, 72px) 24px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* Detail */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px 64px; align-items: start; }
.points { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 22px); }
.points li span { font-family: var(--f-mono); font-size: 13px; color: var(--signal); }

/* Über uns */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.person { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.person-photo { aspect-ratio: 4 / 3; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(45deg, rgba(var(--ice-rgb), .05) 0 10px, transparent 10px 20px); }
.person-body { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.person-role { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); }
.person-name { font-family: var(--f-display); font-size: 22px; }
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.badge { background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.badge-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.badge-v { font-family: var(--f-display); font-size: 18px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 48px; align-items: start; }
.form { box-shadow: 0 24px 60px -36px rgba(11, 23, 38, .35); background: var(--surface); border: 1px solid var(--line-strong); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
  background: #F8FAFC; border: 1px solid var(--line-strong); border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ice); outline: none; box-shadow: 0 0 0 3px rgba(var(--ice-rgb), .18); }
.field ::placeholder { color: #7A8A9B; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--signal); }
.validation-message { color: #B8321A; font-size: 14px; }
.invalid { border-color: #B8321A !important; }
.form-ok { border-color: var(--ice); }
.form .btn { align-self: flex-start; }
.contact-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-item { background: var(--surface); padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
a.contact-item:hover { background: var(--surface-2); }
.contact-item .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { font-size: 19px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }

/* Fuß */
.site-footer { margin-top: clamp(64px, 8vw, 112px); padding-block: 56px 28px; border-top: 1px solid var(--line); background: #FFFFFF; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px 48px; }
.person-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); max-width: 820px; }
.person-wide .person-photo { border-bottom: 0; min-height: 220px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--ice); }
.footer-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { color: var(--muted); display: inline-block; padding: 10px 0; }

/* Große Buttons, Hero-Belege */
.btn-lg { min-height: 56px; padding: 16px 26px; font-size: 17px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.hero-proof b { color: var(--text); font-weight: 700; margin-right: 4px; }

/* Angebotsbereich mit Formular */
.quote { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 56px; align-items: start; scroll-margin-top: 90px; }
#angebot { scroll-margin-top: 90px; }
.quote-side { display: flex; flex-direction: column; gap: 24px; }
.quote-steps { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.quote-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 500; }
.quote-steps span { font-family: var(--f-mono); font-size: 13px; color: var(--signal); padding-top: 2px; }
.form-group { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form-group + .form-group { padding-top: 22px; border-top: 1px solid var(--line); }
.form-group legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); }
.form-group legend + * { clear: both; }
.field-label { font-size: 14px; font-weight: 700; }
.input-unit { position: relative; }
.input-unit input { padding-right: 52px; }
.input-unit span { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-family: var(--f-mono); font-size: 14px; color: var(--muted); pointer-events: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; font-size: 15px; border: 1px solid var(--line-strong); background: #F8FAFC; color: var(--text); transition: background .15s, border-color .15s; }
.pill input:checked + span { background: var(--text); border-color: var(--text); color: #FFFFFF; }
.pill input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.pill:hover span { border-color: var(--ice); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 14px 16px; border: 1px solid #B8321A; background: #FDF0EC; color: #7A1F0E; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-submit .muted { font-size: 14px; }
.form-ok { gap: 14px; }
.form-ok .h2 { font-size: clamp(24px, 2.6vw, 34px); }
.form { position: relative; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-strong); font-family: var(--f-mono); font-weight: 400; color: var(--ice); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; color: var(--signal); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); max-width: 62ch; }

/* Kurzprofil */
.profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 56px; align-items: start; padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); }
.facts { margin: 0; display: flex; flex-direction: column; }
.facts div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* Navigation: Dropdown "Leistungen" */
.nav-drop { position: static; }
.nav-drop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; padding: 10px 14px; border: 1px solid transparent; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .2s, translate .2s; }
.nav-drop[open] summary, .nav-drop summary:hover, .nav-drop.is-active summary { color: var(--text); }
.nav-drop[open] summary { border-color: var(--line-strong); }
.nav-drop[open] summary::after { rotate: 225deg; translate: 0 2px; }
.site-header .header-row { position: relative; }
.mega {
  position: absolute; z-index: 30; left: clamp(16px, 4vw, 48px); right: clamp(16px, 4vw, 48px); top: 100%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; padding: 28px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -30px rgba(11, 23, 38, .45);
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.mega-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); padding: 0 10px 10px; }
.nav a.mega-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px; color: var(--text); font-size: 15.5px; font-weight: 500; border: 0; }
.nav a.mega-link .icon { color: var(--signal); flex: none; }
.nav a.mega-link:hover, .nav a.mega-link.active { background: var(--surface-2); }
.nav a.mega-all { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 16px 10px 0; border: 0; border-top: 1px solid var(--line); color: var(--ice); font-weight: 700; }
.nav a.nav-tel { font-family: var(--f-mono); font-size: 14px; color: var(--text); }

/* Leistungs-Kacheln */
.tiles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 128px; padding: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, translate .2s; }
.tile:hover, .tile.is-active { border-color: var(--signal); box-shadow: 0 18px 36px -22px rgba(242, 98, 46, .55); color: var(--text); }
.tile:hover { translate: 0 -3px; }
.tile-top, .card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tile-icon { display: grid; place-items: center; width: 38px; height: 38px; background: rgba(242, 98, 46, .1); color: #C2410C; }
.tile.is-active .tile-icon, .tile:hover .tile-icon { background: var(--signal); color: #1A0A03; }
.tile-nr { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.tile.is-active .tile-nr { color: #C2410C; }
.tile-name { font-weight: 700; font-size: 15px; line-height: 1.3; hyphens: auto; overflow-wrap: anywhere; }
.card-code { color: var(--muted); }

/* Branchen */
.branchen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.branche { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--surface); color: var(--text); text-decoration: none; transition: background .2s; }
.branche:hover { background: var(--surface-2); color: var(--text); }
.branche h3 { font-size: 18px; line-height: 1.25; }
.branche p { color: var(--muted); font-size: 15.5px; }
.branche .card-go { margin-top: auto; padding-top: 8px; }
.branche:hover .arrow { translate: 4px 0; }
.hero .h1 em { display: block; }
.area-pin-2 { left: 34%; top: 38%; scale: .7; opacity: .75; }
.area-pin-3 { left: 68%; top: 66%; scale: .7; opacity: .75; }
.area-pin-2::after { animation-delay: .8s; }
.area-pin-3::after { animation-delay: 1.5s; }

/* Blazor */
h1:focus { outline: none; }
.blazor-error-boundary { background: #b32121; padding: 1rem; color: white; }
.blazor-error-boundary::after { content: "Ein Fehler ist aufgetreten."; }

/* Mobil */
@media (max-width: 900px) {
  .nav a.nav-tel { display: none; }
  .mega { position: static; grid-template-columns: 1fr; gap: 20px; box-shadow: none; padding: 16px; margin-top: 8px; max-height: none; }
  .nav-drop[open] { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { position: static; }
  .scene { height: 540px; }
  .scene-rig { scale: .8; transform-origin: 50% 0; }
  .hud-2 { display: none; }
  .nav a.btn { margin-left: 0; }
  .cube-scene { height: 300px; }
}

/* Logo */
.logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.logo img { width: auto; height: auto; max-width: 100%; }
.site-header .logo img { width: 132px; }
.site-footer .logo img { width: 150px; }

/* Fließtext-Abschnitte */
.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px 64px; align-items: start; }
.story-text { display: flex; flex-direction: column; gap: 16px; max-width: 66ch; font-size: 17.5px; color: #26384B; }
.section-head .muted { max-width: 62ch; }
.cat-head { display: flex; flex-direction: column; gap: 6px; }
.cat-head .muted { max-width: 70ch; }
.footer-address { font-style: normal; }
address.v { font-style: normal; }

/* Smartphone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .h1, .hero .h1 { font-size: clamp(25px, 7.4vw, 32px); line-height: 1.12; }
  .h2 { font-size: clamp(22px, 6.2vw, 28px); }
  .lead { font-size: 17px; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .header-row { padding-block: 8px; gap: 6px 12px; }
  .site-header .logo img { width: 104px; }
  .story-text { font-size: 16.5px; }
  .nav { width: 100%; gap: 0 2px; }
  .nav > a, .nav-drop summary { padding: 8px 9px; font-size: 14.5px; }
  .nav a.btn { margin-left: auto; padding: 8px 12px; min-height: 40px; font-size: 14.5px; }
  .hero { padding-top: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .form .btn, .cta .btn { width: 100%; }
  .cta .hero-actions { width: 100%; }
  .hero-proof { flex-direction: column; gap: 4px; }
  .section { padding-top: 52px; }
  .section-head { margin-bottom: 24px; }
  .section-head .btn { width: 100%; }
  .page-head { padding-top: 24px; gap: 8px; }
  .cube-scene { height: 260px; }
  .cube-rig { scale: .8; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 18px 14px; }
  .stat-label { font-size: 14px; }
  .scene { height: 500px; }
  .scene-rig { scale: .74; }
  .stat-num { font-size: 28px; }
  .card { min-height: 0; padding: 22px; }
  .tile { min-height: 112px; padding: 14px; }
  .tile-name { font-size: 14px; }
  .points li { grid-template-columns: 36px 1fr; gap: 10px; padding: 16px 0; font-size: 17px; }
  .faq details p { padding-right: 0; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .area-plane { height: 200px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; font-size: 14.5px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid .stack-s { gap: 6px; min-width: 0; overflow-wrap: anywhere; }
  .site-footer { padding-block: 36px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 24px; }
  .crumbs { font-size: 12px; }
  .pill span { padding: 8px 12px; font-size: 14.5px; }
  .hud { font-size: 11px; padding: 6px 9px; }
}

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tower { transform: rotateY(-32deg); }
  .cube { transform: rotateX(-22deg) rotateY(-35deg); }
  .gondola, .cable, .cloth, .grime, .spark, .cube-grime, .cube-cloth, .bubble { display: none; }
  .tower { transform: rotateY(-32deg); }
}
