/* SatShop Dachau — modern tech aesthetic, blue + light grey */
:root {
  --blue-900: #001a3a;
  --blue-800: #003a78;
  --blue-700: #0050b3;
  --blue-600: #0066d4;
  --blue-500: #1a7ee8;
  --blue-400: #4d9bf0;
  --blue-300: #8fc1f7;
  --blue-200: #cfe2fa;
  --blue-100: #ecf3fc;
  --blue-50:  #f5f9ff;

  --grey-950: #0a0e14;
  --grey-900: #11161f;
  --grey-800: #1b2230;
  --grey-700: #2c3440;
  --grey-500: #6b7384;
  --grey-400: #9aa1ad;
  --grey-300: #c7ccd4;
  --grey-200: #e3e7ed;
  --grey-100: #eff2f6;
  --grey-50:  #f6f8fa;

  --bg: #ffffff;
  --bg-soft: var(--grey-50);
  --bg-muted: var(--grey-100);
  --surface: #ffffff;
  --border: var(--grey-200);
  --border-strong: var(--grey-300);
  --text: #0e1421;
  --text-muted: #4a5060;
  --text-dim: #6b7384;
  --accent: var(--blue-600);
  --accent-hover: var(--blue-700);
  --accent-soft: var(--blue-100);
  --hero-grid: rgba(11, 27, 61, 0.06);
  --hero-fiber: var(--blue-600);
  --hero-fiber-dim: rgba(0, 102, 212, 0.18);

  --font-sans: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(14, 20, 33, 0.04), 0 1px 3px rgba(14, 20, 33, 0.06);
  --shadow: 0 2px 4px rgba(14, 20, 33, 0.04), 0 8px 24px rgba(14, 20, 33, 0.06);
  --shadow-lg: 0 8px 24px rgba(14, 20, 33, 0.08), 0 24px 60px rgba(14, 20, 33, 0.10);

  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 144px);
}

[data-theme="dark"] {
  --bg: #07090e;
  --bg-soft: #0c1018;
  --bg-muted: #11161f;
  --surface: #11161f;
  --border: #1c2230;
  --border-strong: #2a3142;
  --text: #f1f4f9;
  --text-muted: #aab2c0;
  --text-dim: #8089a0;
  --accent: #4d9bf0;
  --accent-hover: #8fc1f7;
  --accent-soft: rgba(77, 155, 240, 0.14);
  --hero-grid: rgba(255, 255, 255, 0.05);
  --hero-fiber: #4d9bf0;
  --hero-fiber-dim: rgba(77, 155, 240, 0.18);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 2px 4px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.5);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ─── Typography ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
  display: inline-block;
}
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
p  { margin: 0; color: var(--text-muted); text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-muted); max-width: 60ch; }

/* ─── Layout ─────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.grid { display: grid; gap: 24px; }

/* ─── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; font-size: 15px;
}
.logo-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.logo-mark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.4), transparent 60%);
}
.logo-mark span { position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.logo-text small { font-size: 10px; font-family: var(--font-mono); color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; font-size: 14px; color: var(--text-muted);
  border-radius: var(--radius-sm); transition: all 160ms ease;
  position: relative;
}
.nav-link:hover { color: var(--text); background: var(--bg-muted); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1.5px; background: var(--accent); border-radius: 1px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: var(--text); color: var(--bg);
  border-radius: 999px; font-size: 13.5px; font-weight: 500;
  transition: transform 200ms ease, background 200ms ease;
}
.nav-cta:hover { background: var(--accent); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--text); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px var(--pad-x); gap: 4px;
  }
  .nav-links.open .nav-link { padding: 12px 14px; font-size: 15px; }
  .nav-links.open .nav-link.active::after { display: none; }
  .nav-links.open .nav-link.active { background: var(--bg-muted); }
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px; border: 0;
  font-size: 14.5px; font-weight: 500;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--text); background: var(--bg-muted); }
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(56px, 6vw, 96px);
  padding-bottom: clamp(56px, 6vw, 96px);
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 90%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px; color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-tag-pill {
  background: var(--accent-soft); color: var(--accent);
  padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent, .page-hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.hero h1 .strike {
  position: relative; white-space: nowrap;
}

.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero-meta {
  display: flex; gap: 32px; margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-meta div .label { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-meta div .value { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-top: 4px; }

/* hero canvas */
.hero-viz {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-viz canvas { width: 100%; height: 100%; display: block; }
.hero-viz-corner {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-dim);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.hero-viz-corner .dot { width: 6px; height: 6px; background: #2bbf6e; border-radius: 50%; box-shadow: 0 0 0 4px rgba(43,191,110,.18); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(43,191,110,.18); }
  50% { box-shadow: 0 0 0 8px rgba(43,191,110,0); }
}
.hero-viz-stats {
  position: absolute; bottom: 14px; right: 14px;
  display: flex; gap: 12px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-mono); font-size: 11px;
}
.hero-viz-stats span { color: var(--text-dim); }
.hero-viz-stats b { color: var(--text); font-weight: 500; }

/* hero variant: photo */
.hero-photo {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,102,212,0.85), rgba(0,26,58,0.95)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 8px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* hero variant: typo (full width) */
.hero.variant-typo .hero-inner { grid-template-columns: 1fr; text-align: left; }
.hero.variant-typo .hero-viz, .hero.variant-typo .hero-photo { display: none; }
.hero.variant-typo h1 { font-size: clamp(56px, 9vw, 140px); }

/* hero variant: bento */
.hero.variant-bento .hero-inner { grid-template-columns: 1fr; }
.hero.variant-bento .hero-viz, .hero.variant-bento .hero-photo { display: none; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 16px;
  margin-top: 48px;
}
.bento-cell {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.bento-cell.lg { grid-column: span 2; grid-row: span 2; }
.bento-cell.md { grid-column: span 2; }
.bento-cell .b-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; }
.bento-cell .b-value { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.bento-cell.viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bento-cell.viz .b-label, .bento-cell.viz .b-value { position: relative; z-index: 1; }
@media (max-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento-cell.lg { grid-row: span 2; } }

/* ─── Section header ─────────────────────────────────── */
.sec-head {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  margin-bottom: 56px;
}
.sec-head .eyebrow { margin-bottom: 16px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ─── Leistungen (services) ──────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 920px) { .services { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: background 240ms ease;
  text-decoration: none; color: inherit;
  min-height: 420px;
}
.service-card:hover { background: var(--bg-soft); }
.service-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  letter-spacing: 0.08em;
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 8px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { letter-spacing: -0.025em; }
.service-card p { font-size: 14.5px; }
.service-card .features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13.5px; color: var(--text-muted);
}
.service-card .features li {
  display: flex; align-items: center; gap: 10px;
  padding-left: 0;
}
.service-card .features li::before {
  content: ""; width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 1px;
  display: inline-block;
}
.service-card .more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--accent);
  padding-top: 16px; border-top: 1px solid var(--border);
}
.service-card .more .arrow { transition: transform 200ms ease; }
.service-card:hover .more .arrow { transform: translateX(4px); }

/* ─── About ──────────────────────────────────────────── */
.about { background: var(--bg-soft); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .about-inner { grid-template-columns: 1fr; } }
.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.about-stat { background: var(--surface); padding: 24px; }
.about-stat .num {
  font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -0.03em;
  color: var(--accent); line-height: 1;
}
.about-stat .lab { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.about-text p { margin-bottom: 18px; font-size: 16px; }

.about-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(0,102,212,0.7), rgba(0,26,58,0.95)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 10px);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.about-image .badge {
  position: absolute; top: 20px; left: 20px;
  padding: 6px 12px; background: rgba(255,255,255,0.94); color: var(--text);
  border-radius: 999px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.about-image .placeholder-tag {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.7);
  display: flex; justify-content: space-between; gap: 12px;
}

/* ─── Referenzen / Projects ──────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.project {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 300ms ease;
}
.project:hover { transform: translateY(-2px); }
.project-image {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--blue-100), var(--blue-200));
}
.project-image::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(0,102,212,0.08) 0 1px, transparent 1px 14px);
}
.project-image::after {
  content: attr(data-tag);
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10.5px;
  background: rgba(255,255,255,0.92); color: var(--text);
  padding: 5px 9px; border-radius: 4px;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.project-body { padding: 18px; }
.project-cat { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.project-title { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; margin-top: 6px; }
.project-meta { font-size: 13px; color: var(--text-dim); margin-top: 10px; display: flex; gap: 12px; }
.project-meta span { display: flex; align-items: center; gap: 4px; }

.project.span-7 { grid-column: span 7; }
.project.span-5 { grid-column: span 5; }
.project.span-4 { grid-column: span 4; }
.project.span-6 { grid-column: span 6; }
@media (max-width: 880px) { .project { grid-column: span 12 !important; } }

/* ─── CTA ────────────────────────────────────────────── */
.cta-band {
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end;
  margin-bottom: var(--section-y);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 100% at 100% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 100% 50%, black, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 16px; }
.cta-band .btn-primary { background: var(--bg); color: var(--text); }
.cta-band .btn-primary:hover { background: var(--accent); color: white; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--bg-soft);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-col h5 { font-size: 12px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; font-family: var(--font-mono); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 160ms ease; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { font-size: 13.5px; max-width: 30ch; margin-top: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-dim); flex-wrap: wrap; gap: 12px;
}
.footer-bottom .links { display: flex; gap: 18px; }
.footer-bottom .links a:hover { color: var(--text); }

/* ─── Reveal animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─── Subpage hero ────────────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: clamp(64px, 7vw, 120px);
  padding-bottom: clamp(48px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero .hero-grid { mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black 30%, transparent 90%); }
.page-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
@media (max-width: 880px) { .page-hero-inner { grid-template-columns: 1fr; } }
.crumbs { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--text-dim); transition: color 160ms; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--border-strong); }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 24px; }
.page-hero .lead { max-width: 50ch; }
.page-hero-side {
  display: flex; flex-direction: column; gap: 12px;
  border-left: 1px solid var(--border);
  padding-left: 32px;
}
.page-hero-side .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.page-hero-side .row:last-child { border-bottom: 0; }
.page-hero-side .row span:first-child { color: var(--text-dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.page-hero-side .row span:last-child { color: var(--text); font-weight: 500; text-align: right; }
@media (max-width: 880px) { .page-hero-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; } }

/* ─── Detail content blocks ───────────────────────────── */
.detail-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-grid h2 { font-size: clamp(28px, 3vw, 40px); }
.detail-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 720px) { .detail-list { grid-template-columns: 1fr; } }
.detail-list li {
  background: var(--surface);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.detail-list .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.detail-list h4 { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; margin: 0; }
.detail-list p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ─── Image gallery ───────────────────────────────────── */
.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
}
.gallery .ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, var(--blue-100), var(--blue-200));
}
[data-theme="dark"] .gallery .ph { background: linear-gradient(135deg, #0f1929, #1a2740); }
.gallery .ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(0,102,212,0.10) 0 1px, transparent 1px 14px);
}
.gallery .ph::after {
  content: attr(data-tag);
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10.5px;
  background: rgba(255,255,255,0.92); color: #0e1421;
  padding: 5px 9px; border-radius: 4px;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.gallery .ph .cap {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
}
.gallery .ph.span-8 { grid-column: span 8; }
.gallery .ph.span-4 { grid-column: span 4; }
.gallery .ph.span-6 { grid-column: span 6; }
.gallery .ph.span-12 { grid-column: span 12; }
@media (max-width: 760px) { .gallery .ph { grid-column: span 12 !important; } }

/* ─── FAQ ─────────────────────────────────────────────── */
.faq {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -0.015em;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico {
  width: 28px; height: 28px; border: 1px solid var(--border-strong);
  border-radius: 999px; display: grid; place-items: center;
  flex-shrink: 0; transition: all 200ms ease; color: var(--text-muted);
}
.faq-item[open] summary .ico { background: var(--text); color: var(--bg); border-color: var(--text); transform: rotate(45deg); }
.faq-item .ans {
  padding: 0 0 28px;
  color: var(--text-muted);
  max-width: 70ch;
  font-size: 15px;
}

/* ─── Process steps ───────────────────────────────────── */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 880px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }
.process-step {
  background: var(--surface);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
  position: relative;
}
.process-step .step-n {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.08em;
}
.process-step h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; margin: 0; }
.process-step p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ─── Contact form (kontakt page later) ───────────────── */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  border-radius: var(--radius-sm); font: inherit; font-size: 14.5px; transition: border-color 160ms;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { min-height: 140px; resize: vertical; }

/* selection */
::selection { background: var(--accent); color: white; }

/* ─── Contact page ────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 16px;
}
.contact-card h3 {
  font-size: 13px; font-family: var(--font-mono); font-weight: 500;
  color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 4px;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.contact-list li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.contact-list .lbl {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-dim);
  letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 2px;
}
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--accent); }

.hours { display: grid; gap: 8px; font-size: 14px; }
.hours .row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.hours .row:last-child { border-bottom: 0; }
.hours .day { color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.hours .time { color: var(--text); font-weight: 500; }
.hours .closed { color: var(--text-dim); font-style: italic; }

/* Map */
.map-wrap {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: var(--map-filter, none); }
[data-theme="dark"] .map-wrap { --map-filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95); }
.map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  background: var(--accent); color: white;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,102,212,0.35);
  display: flex; align-items: center; gap: 6px;
  pointer-events: none;
}

/* Form submit feedback */
.form .submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form .form-note { font-size: 12.5px; color: var(--text-dim); max-width: 50ch; }
.form-success {
  border: 1px solid var(--accent); background: var(--blue-100);
  color: var(--text); padding: 14px 18px; border-radius: var(--radius);
  font-size: 14px; display: flex; gap: 10px; align-items: center;
}
[data-theme="dark"] .form-success { background: rgba(0,102,212,0.15); }
.form-success svg { color: var(--accent); flex-shrink: 0; }

/* Field two-state validation hint */
.field .err { color: #d23a3a; font-size: 12px; font-family: var(--font-mono); display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #d23a3a; }

/* Impressum sections */
.legal { max-width: 720px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 30px); margin-top: 48px; margin-bottom: 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal address { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; font-style: normal; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal .kv { display: grid; grid-template-columns: 200px 1fr; gap: 12px 24px; padding: 14px 0; border-top: 1px solid var(--border); }
.legal .kv:last-of-type { border-bottom: 1px solid var(--border); }
.legal .kv dt { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.legal .kv dd { margin: 0; font-size: 15px; color: var(--text); }
@media (max-width: 600px) { .legal .kv { grid-template-columns: 1fr; gap: 4px; } }
