:root {
  --bg: #0f172a;
  --bg-muted: #0f172a0d;
  --panel: #111827;
  --card: #1f2937;
  --text: #e5e7eb;
  --text-dim: #cbd5e1;
  --accent: #3b82f6;
  --accent-2: #22d3ee;
  --border: #1f2937;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --radius-sm: 12px;
  --shell: min(1100px, 92vw);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: #0b1220;
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.page {
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.04), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.08), transparent 40%),
    #0b1220;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__logo {
  width: 180px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: #0f172a;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.brand__title {
  font-weight: 700;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 600;
}

.nav a {
  color: var(--text-dim);
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1220;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(34, 211, 238, 0.28);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.section {
  padding: 72px 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section__header {
  margin-bottom: 24px;
}

h1, h2, h3, h4 {
  margin: 8px 0 12px;
  color: #fff;
}

h1 { font-size: clamp(32px, 4vw, 42px); }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 20px; }

p {
  color: var(--text-dim);
  margin: 8px 0 14px;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}

.lede {
  font-size: 18px;
  color: #e2e8f0;
}

.hero {
  padding: 48px 0 32px;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: center;
}

.hero__copy h1 { margin-top: 6px; }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.pill-list li, .pill-list span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  color: #e2e8f0;
  font-weight: 600;
}

.hero__image-stack {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hero__image-stack img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card--map img,
.card__image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight {
  color: #e2e8f0;
  font-weight: 700;
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.list-plain li { margin-bottom: 8px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-rows: 160px 1fr;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card div {
  padding: 16px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.6);
}

.masonry {
  columns: 3 240px;
  column-gap: 12px;
}

.masonry figure {
  break-inside: avoid;
  margin: 0 0 12px;
}

.masonry img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0b1220;
  padding: 36px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
}

.footer__legal {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 14px;
}

.brand--small .brand__logo { width: 120px; height: 60px; }

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin-bottom: 8px; }
.link-list a { color: var(--text-dim); }
.link-list a:hover { color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.gallery-grid figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 10px 12px 12px;
  color: var(--text-dim);
  font-size: 14px;
}

.page-header {
  padding: 56px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(11, 18, 32, 0.9);
}

.breadcrumb {
  color: var(--text-dim);
  font-size: 14px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 6px;
  color: var(--text-dim);
}

.notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.24);
  color: #e0f2fe;
}

.impressum-logo {
  margin: 12px 0 20px;
}

.impressum-logo img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0f172a;
  padding: 8px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: min(1080px, 90vw);
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .site-header .shell { flex-wrap: wrap; }
  .nav { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .hero__image-stack { grid-template-columns: 1fr; }
  .service-card { grid-template-rows: 180px 1fr; }
}
