:root {
  --bg: #07090b;
  --bg-2: #0b0f12;
  --surface: #10151a;
  --surface-2: #141a20;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --text: #f4f7f8;
  --muted: #98a5ad;
  --cyan: #29d9ff;
  --orange: #ff8a2b;
  --green: #65e6a8;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0,0,0,.34);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(41,217,255,.08), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(255,138,43,.07), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 100px 0; }
.section.compact { padding: 72px 0; }
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--orange)); }
.display {
  margin: 0;
  font-size: clamp(48px, 8vw, 110px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 900;
}
.display .accent { color: var(--cyan); }
.h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.05em;
}
.h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}
.lead { max-width: 720px; color: #c8d0d4; font-size: clamp(18px, 2vw, 22px); }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,9,11,.82);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.brand span { font-size: 20px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 10px 13px;
  border-radius: 10px;
  color: #b8c2c7;
  font-size: 14px;
  font-weight: 700;
}
.nav a:hover, .nav a.active { color: white; background: rgba(255,255,255,.07); }
.nav a.active { box-shadow: inset 0 -2px 0 var(--cyan); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: white; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.07); }
.btn.primary { background: white; color: #07090b; border-color: white; }
.btn.cyan { background: var(--cyan); color: #041015; border-color: var(--cyan); }
.btn.orange { background: var(--orange); color: #160b03; border-color: var(--orange); }

.hero { padding: 68px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.hero-copy { padding: 42px 0; }
.hero-copy .lead { margin: 28px 0 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c5cfd4;
  background: rgba(255,255,255,.025);
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px currentColor; }
.dot.orange { background: var(--orange); }

.hero-collage { position: relative; min-height: 650px; }
.hero-photo {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0d1114;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.one { inset: 0 22% 12% 0; transform: rotate(-2.3deg); }
.hero-photo.two { width: 48%; height: 52%; right: 0; bottom: 0; transform: rotate(3deg); }
.hero-badge {
  position: absolute; top: 32px; right: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(5,7,8,.82);
  backdrop-filter: blur(12px);
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.pillars { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { min-height: 270px; padding: 30px; background: rgba(255,255,255,.02); position: relative; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar-index { color: var(--muted); font: 700 12px ui-monospace, monospace; }
.pillar h3 { margin: 60px 0 12px; font-size: 30px; letter-spacing: -.04em; }
.pillar p { color: var(--muted); margin: 0; max-width: 28ch; }
.pillar-link { position: absolute; right: 24px; bottom: 22px; color: var(--cyan); font-size: 22px; transition: transform .2s ease; }
.pillar:hover .pillar-link { transform: translateX(5px); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.photo-strip { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 14px; }
.photo-card { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.photo-card img { width: 100%; height: 520px; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.photo-card:nth-child(2) img, .photo-card:nth-child(3) img { height: 520px; }
.photo-card:hover img { transform: scale(1.025); filter: saturate(1.08); }
.photo-label { position: absolute; left: 16px; bottom: 16px; padding: 7px 9px; border-radius: 9px; background: rgba(7,9,11,.78); border: 1px solid rgba(255,255,255,.1); font: 700 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .12em; }

.statement {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.statement p { margin: 0; font-size: clamp(28px,4vw,58px); line-height: 1.05; letter-spacing: -.045em; font-weight: 850; max-width: 1000px; }
.statement em { color: var(--orange); font-style: normal; }

.page-hero { padding: 84px 0 48px; }
.page-hero .lead { margin: 24px 0 0; }
.breadcrumb { margin-bottom: 18px; color: var(--muted); font: 700 11px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumb b { color: var(--cyan); }

.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: transparent; color: var(--muted); font: 700 11px ui-monospace, monospace; cursor: pointer; }
.filter-btn.active, .filter-btn:hover { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.gallery { columns: 3 300px; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); cursor: zoom-in; background: var(--surface); }
.gallery-item img { width: 100%; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.015); }
.gallery-item::after { content: "ÖFFNEN ↗"; position: absolute; right: 12px; bottom: 12px; padding: 6px 8px; border-radius: 8px; font: 800 9px ui-monospace, monospace; letter-spacing: .1em; background: rgba(7,9,11,.8); opacity: 0; transition: opacity .2s ease; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(0,0,0,.92); padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(94vw, 1500px); max-height: 88vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 120px #000; }
.lightbox-close { position: fixed; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(20,20,20,.7); color: white; cursor: pointer; font-size: 24px; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card { border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: var(--radius); padding: 28px; }
.card h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.03em; }
.card p { margin: 0; color: var(--muted); }
.card p a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(41,217,255,.45); text-underline-offset: 3px; }
.card p a:hover { color: var(--cyan); }
.card .icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 40px; color: var(--cyan); font-family: ui-monospace, monospace; font-weight: 900; }
.card.orange .icon { color: var(--orange); }

.terminal {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #050708;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.terminal-head { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 11px ui-monospace, monospace; }
.terminal-head i { width: 9px; height: 9px; border-radius: 50%; background: #30383e; }
.terminal-body { padding: 24px; font: 650 13px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #c7d1d6; }
.terminal-body .prompt { color: var(--cyan); }
.terminal-body .ok { color: var(--green); }
.terminal-body .warn { color: var(--orange); }

.stack-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.stack-cloud span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: #c6d0d5; background: rgba(255,255,255,.025); font: 700 11px ui-monospace, monospace; }

.process { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process article { background: var(--bg-2); padding: 28px; }
.process b { display: block; color: var(--cyan); font: 800 12px ui-monospace, monospace; margin-bottom: 38px; }
.process h3 { margin: 0 0 10px; font-size: 24px; }
.process p { margin: 0; color: var(--muted); }

.lab-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; }
.lab-map { min-height: 430px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, rgba(41,217,255,.06), transparent 45%), var(--surface); padding: 28px; position: relative; overflow: hidden; }
.lab-map::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 24px 24px; opacity:.3; }
.node { position: relative; z-index: 1; width: fit-content; padding: 12px 14px; border: 1px solid rgba(41,217,255,.3); border-radius: 12px; background: #0a0e11; font: 800 11px ui-monospace, monospace; }
.node + .node { margin-top: 42px; margin-left: 22%; }
.node:nth-of-type(3) { margin-left: 52%; border-color: rgba(255,138,43,.35); }
.node:nth-of-type(4) { margin-left: 12%; }
.lab-copy { display: grid; gap: 16px; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.contact-options { display: grid; gap: 14px; }
.contact-option { display: block; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); padding: 24px; transition: border-color .2s ease, transform .2s ease; }
.contact-option:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.contact-option small { color: var(--cyan); font: 800 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .12em; }
.contact-option h3 { margin: 14px 0 7px; font-size: 24px; }
.contact-option p { margin: 0; color: var(--muted); }
.form { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 800 11px ui-monospace, monospace; color: #bbc5ca; text-transform: uppercase; letter-spacing: .09em; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #080b0e; color: white; padding: 13px 14px; outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(41,217,255,.55); box-shadow: 0 0 0 3px rgba(41,217,255,.08); }
.form-note { color: var(--muted); font-size: 12px; margin-top: 12px; }
.form-result { display: none; margin-top: 14px; padding: 14px; border-radius: 12px; font-size: 13px; }
.form-result.show { display: block; }
.form-result.success { border: 1px solid rgba(101,230,168,.25); color: #bfead5; background: rgba(101,230,168,.06); }
.form-result.error { border: 1px solid rgba(255,138,43,.30); color: #ffd4b3; background: rgba(255,138,43,.07); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form button:disabled { opacity: .6; cursor: wait; }

.footer { padding: 32px 0 42px; border-top: 1px solid var(--line); margin-top: 90px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-left img { width: 34px; height: 34px; border-radius: 10px; }
.footer small { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: white; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid, .contact-layout, .lab-panel { grid-template-columns: 1fr; }
  .hero-collage { min-height: 560px; margin-top: 4px; }
  .pillars, .grid-3, .process { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-card:first-child { grid-column: 1 / -1; }
  .photo-card img, .photo-card:nth-child(2) img, .photo-card:nth-child(3) img { height: 460px; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 74px 0; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 14px; right: 14px; top: 68px; display: none; flex-direction: column; align-items: stretch; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #0b0f12; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px; }
  .nav a.active { box-shadow: inset 3px 0 0 var(--cyan); }
  .hero { padding-top: 42px; }
  .hero-copy { padding: 16px 0; }
  .hero-collage { min-height: 470px; }
  .hero-photo.one { inset: 0 16% 16% 0; }
  .hero-photo.two { width: 46%; height: 48%; }
  .section-head, .gallery-toolbar, .footer-grid { align-items: flex-start; flex-direction: column; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-card:first-child { grid-column: auto; }
  .photo-card img, .photo-card:nth-child(2) img, .photo-card:nth-child(3) img { height: 420px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Kennzahlen */
.kpi-section { padding-top: 34px; }
.kpi-heading { max-width: 760px; }
.kpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.kpi-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.035));
  overflow: hidden;
  position: relative;
}
.kpi-card::before { content:""; position:absolute; inset:0 auto 0 0; width:2px; background:var(--cyan); opacity:.8; }
.kpi-card:nth-child(2n)::before { background: var(--orange); }
.kpi-card strong { font-size: clamp(42px, 4vw, 68px); line-height: .9; letter-spacing: -.06em; margin-bottom: 18px; }
.kpi-card span { font-weight: 850; letter-spacing: -.02em; }
.kpi-card small { margin-top: 4px; color: var(--muted); font: 700 10px/1.3 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.mini-kpi-grid { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.mini-kpi { padding:22px 26px; background:rgba(255,255,255,.02); display:flex; align-items:baseline; gap:14px; }
.mini-kpi + .mini-kpi { border-left:1px solid var(--line); }
.mini-kpi strong { font-size:34px; letter-spacing:-.05em; color:var(--cyan); }
.mini-kpi:nth-child(2) strong { color:var(--orange); }
.mini-kpi span { color:#c5cfd4; font-weight:750; }
.cta-card { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cta-heading { font-size:clamp(30px,4vw,48px); }
.gallery-hint { font-size:12px; }
.legal-heading { margin:0 0 18px; font-size:30px; letter-spacing:-.035em; }
.notfound { min-height:70vh; display:grid; place-items:center; text-align:center; }
.notfound-logo { width:90px; margin:0 auto 26px; border-radius:22px; }
.notfound-lead { margin:24px auto; }

@media (max-width: 1100px) { .kpi-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width: 720px) {
  .kpi-grid { grid-template-columns:repeat(2,1fr); }
  .kpi-card { min-height:150px; }
  .mini-kpi-grid { grid-template-columns:1fr; }
  .mini-kpi + .mini-kpi { border-left:0; border-top:1px solid var(--line); }
}
@media (max-width: 430px) { .kpi-grid { grid-template-columns:1fr 1fr; gap:8px; } .kpi-card { padding:16px; } }
