/* Inter */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Space Grotesk */
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v22-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v22-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v22-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v22-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:         hsl(220, 20%, 6%);
  --surface:    hsl(220, 18%, 8%);
  --card:       hsl(220, 18%, 10%);
  --secondary:  hsl(220, 15%, 14%);
  --border:     hsl(220, 15%, 18%);
  --divider:    hsl(220, 15%, 15%);
  --fg:         hsl(210, 20%, 92%);
  --muted:      hsl(215, 12%, 50%);
  --subtle:     hsl(215, 12%, 40%);
  --primary:    hsl(175, 40%, 50%);
  --primary-fg: hsl(220, 20%, 6%);
  --radius:     0.25rem;
  --pad:        96px;
}

::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { color: inherit; }

/* ── NAVIGATION ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: hsla(220, 20%, 6%, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px;
  color: var(--fg); text-decoration: none;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; color: var(--muted);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

.nav-cta {
  font-size: 14px; font-weight: 500;
  color: var(--primary-fg); background: var(--primary);
  border: none; border-radius: var(--radius);
  padding: 9px 20px; cursor: pointer;
  text-decoration: none; transition: opacity 0.15s;
  margin-left: 48px;
}
.nav-cta:hover { opacity: 0.88; }

/* ── BUTTONS ────────────────────────────────────────── */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 500;
  color: var(--primary-fg); background: var(--primary);
  border: none; border-radius: var(--radius);
  padding: 13px 24px; cursor: pointer; text-decoration: none;
  transition: opacity 0.15s;
}
.btn-p:hover { opacity: 0.88; }

.btn-s {
  display: inline-flex; align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 500;
  color: var(--fg); background: transparent;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 24px; cursor: pointer; text-decoration: none;
  transition: border-color 0.15s;
}
.btn-s:hover { border-color: var(--muted); }

/* ── SHARED LAYOUT ──────────────────────────────────── */
section { border-top: 1px solid var(--border); }

.inner {
  max-width: 1200px; margin: 0 auto;
  padding: var(--pad) 48px;
}

.dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0; display: inline-block;
}

.kicker,
.sec-k {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary);
  font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: var(--fg); margin-bottom: 16px;
}

.sec-intro {
  font-size: 16px; color: hsl(210, 15%, 75%);
  line-height: 1.75; max-width: 560px; font-weight: 300;
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  padding-top: 64px; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-left: 48px; padding-right: 48px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto;
  width: 100%; padding: 80px 0 0;
  position: relative;
}

.hero-inner > * { animation: fade-up 0.6s ease-out forwards; opacity: 0; }
.hero-inner .kicker    { animation-delay: 0.05s; }
.hero-inner h1         { animation-delay: 0.15s; }
.hero-inner .hero-body { animation-delay: 0.25s; }
.hero-inner .btn-row   { animation-delay: 0.35s; }
.hero-inner .hero-stats{ animation-delay: 0.45s; }

h1 {
  font-size: clamp(42px, 6vw, 80px); font-weight: 700;
  color: var(--fg); margin-bottom: 28px; max-width: 820px;
}

.hero-body {
  font-size: 17px; color: hsl(210, 15%, 75%);
  line-height: 1.75; max-width: 640px;
  margin-bottom: 44px; font-weight: 300;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.stat { padding: 32px 32px 32px 0; }
.stat:last-child { }

.stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 26px;
  color: var(--primary); margin-bottom: 6px; letter-spacing: -0.02em;
}
.stat-l { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ── HERO QUOTE ─────────────────────────────────────── */
.hero-quote {
  border-left: 2px solid var(--primary);
  padding: 20px 24px;
  margin-top: 0;
  margin-bottom: 80px;
  font-size: 15px;
  color: hsl(210, 15%, 75%);
  font-style: italic;
  line-height: 1.65;
  font-weight: 300;
  max-width: 480px;
}

/* ── BEDARF ─────────────────────────────────────────── */
.bedarf-list { list-style: none; }

.bedarf-item {
  display: flex; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--divider);
  align-items: flex-start;
}
.bedarf-item:last-child { border-bottom: none; }

.b-n {
  font-size: 12px; font-weight: 500; color: var(--primary);
  letter-spacing: 0.06em; flex-shrink: 0; margin-top: 2px;
  font-family: 'Space Grotesk', sans-serif;
}
.b-t { font-size: 15px; color: hsl(210, 15%, 75%); line-height: 1.65; }

/* ── LEISTUNGEN ─────────────────────────────────────── */
.cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-top: 40px;
}

.card { background: var(--card); padding: 40px 36px; transition: background 0.2s; }
.card:hover { background: var(--secondary); }

.card-icon {
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
}

.c-idx {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px; display: block;
}

h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px; font-weight: 600;
  color: var(--fg); margin-bottom: 14px; letter-spacing: -0.01em;
}

.c-desc {
  font-size: 14px; color: hsl(210, 15%, 75%); line-height: 1.7;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.c-list { list-style: none; }
.c-list li {
  font-size: 13px; color: hsl(210, 15%, 75%);
  padding: 5px 0 5px 16px; position: relative; line-height: 1.55;
}
.c-list li::before {
  content: '•'; position: absolute; left: 0; top: 5px;
  color: var(--primary); font-size: 13px; line-height: 1.55;
}

/* ── VORGEHEN ───────────────────────────────────────── */
.vorgehen-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-bottom: 52px; align-items: end;
}

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}

.step { background: var(--card); padding: 36px 28px; position: relative; transition: background 0.2s; }
.step:hover { background: var(--secondary); }
.step::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.step:hover::after { transform: scaleX(1); }

.s-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 36px;
  color: hsl(220,15%,20%); line-height: 1; margin-bottom: 14px;
}
.s-label { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--fg); line-height: 1.35; }
.s-sub   { font-size: 12px; color: var(--subtle); margin-top: 5px; font-family: 'Inter', sans-serif; }

/* ── ÜBER UNS ───────────────────────────────────────── */
.ueber-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.ueber-text p {
  font-size: 15px; color: hsl(210, 15%, 75%);
  line-height: 1.8; margin-bottom: 18px; font-weight: 300;
}
.ueber-text p:last-of-type { margin-bottom: 0; }

.hl {
  border-left: 2px solid var(--primary);
  padding: 20px 24px; background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0; margin-top: 28px;
}
.hl p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--fg) !important;
  line-height: 1.45; margin: 0 !important;
}

.u-note { margin-top: 18px; font-size: 13px; color: var(--subtle); font-style: italic; }

.meta {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.m-row {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 12px; padding: 15px 22px;
  border-bottom: 1px solid var(--divider); align-items: start;
}
.m-row:last-child { border-bottom: none; }
.m-key { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); padding-top: 1px; }
.m-val { font-size: 14px; color: hsl(210,20%,78%); line-height: 1.5; }

/* ── BRANCHEN ───────────────────────────────────────── */
.br-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.br-item {
  padding: 24px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 500;
  color: hsl(210, 15%, 75%);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.br-item:hover { color: var(--fg); }

/* ── KONTAKT ────────────────────────────────────────── */
.k-body { font-size: 16px; color: hsl(210, 15%, 75%); line-height: 1.75; margin-top: 20px; font-weight: 300; max-width: 560px; }

.k-icon-list {
  list-style: none;
  margin-top: 36px; margin-bottom: 36px;
  display: flex; flex-direction: column; gap: 16px;
}

.k-icon-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: hsl(210, 15%, 75%);
}

.k-icon-list li svg { color: var(--primary); flex-shrink: 0; }

.k-action { }
.k-disc { margin-top: 14px; font-size: 13px; color: var(--subtle); line-height: 1.65; }

/* Email obfuscation – assembled by CSS, never readable as plain text in HTML */
.obf-email::before {
  content: attr(data-u) "\0040" attr(data-d);
  color: hsl(210, 15%, 75%);
  font-size: 15px;
}

/* ── STATIC PAGE (Impressum / Datenschutz) ──────────── */
.page-wrap {
  padding-top: 64px;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
  padding-bottom: var(--pad);
}

.page-header {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

.page-header .sec-k { margin-bottom: 16px; }

.page-header h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 0;
}

.prose h2 {
  font-size: 22px; font-weight: 600;
  color: var(--fg); margin-top: 48px; margin-bottom: 14px;
}

.prose h3 {
  font-size: 16px; font-weight: 600;
  color: var(--fg); margin-top: 28px; margin-bottom: 10px;
}

.prose p {
  font-size: 15px; color: var(--muted);
  line-height: 1.8; margin-bottom: 16px; font-weight: 300;
}

.prose p:last-child { margin-bottom: 0; }

.prose a { color: var(--primary); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

.prose ul { list-style: none; margin-bottom: 16px; }
.prose ul li {
  font-size: 15px; color: var(--muted);
  padding: 5px 0 5px 16px; position: relative; line-height: 1.7;
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 6px; height: 1px; background: var(--primary);
}

/* ── 404 ────────────────────────────────────────────── */
.not-found {
  min-height: 100vh; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px;
  padding-top: 64px;
}

.not-found-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(80px, 15vw, 160px);
  color: hsl(220,15%,18%); line-height: 1;
  margin-bottom: 24px; letter-spacing: -0.04em;
}

.not-found h2 { font-size: 28px; margin-bottom: 16px; }

.not-found p { font-size: 16px; color: var(--muted); margin-bottom: 36px; }

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
}

.f-logo { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); }
.f-links { display: flex; gap: 24px; }
.f-links a { font-size: 12px; color: var(--subtle); text-decoration: none; transition: color 0.15s; }
.f-links a:hover { color: var(--muted); }
.f-copy { font-size: 12px; color: var(--subtle); }

/* ── ANIMATIONS ─────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad: 72px; }
  nav, footer { padding-left: 32px; padding-right: 32px; }
  .inner { padding-left: 32px; padding-right: 32px; }
  .hero  { padding-left: 32px; padding-right: 32px; }
  .page-wrap { padding-left: 32px; padding-right: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .ueber-layout, .vorgehen-top { grid-template-columns: 1fr; gap: 40px; }
  .cards, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --pad: 56px; }
  nav, footer { padding-left: 20px; padding-right: 20px; }
  .inner { padding-left: 20px; padding-right: 20px; }
  .hero  { padding-left: 20px; padding-right: 20px; }
  .page-wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .br-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 14px; text-align: center; }
  .f-links { justify-content: center; }
}
