*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07070C;
  --bg2: #0C0C14;
  --bg3: #121220;
  --bg4: #181826;
  --border: #222235;
  --border2: #303044;
  --gold: #C49A3C;
  --gold-hover: #D4AE54;
  --signal: #74C7B8;
  --white: #F2F1EC;
  --text: #CCCAC4;
  --muted: #8A8998;
  --subtle: #5D5C6B;
  --ff-heading: 'Space Grotesk', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --max: 1180px;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,7,12,.88);
  backdrop-filter: blur(18px);
}
.nav-logo {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: .9rem;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  color: var(--bg) !important;
  background: var(--gold);
  padding: 10px 18px;
  font-weight: 700;
}

.page-hero {
  min-height: 78svh;
  padding: 160px 32px 86px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,12,.94) 0%, rgba(7,7,12,.78) 45%, rgba(7,7,12,.34) 100%),
    linear-gradient(180deg, rgba(7,7,12,.3), rgba(7,7,12,.92));
}
.hero-aho { background-image: url("service-projektsteuerung.jpg"); }
.hero-bahn { background-image: url("hero-zug.jpg"); }
.hero-hoai { background-image: url("service-projektleitung.jpg"); }
.hero-nachtrag { background-image: url("blog-risikomanagement.jpg"); }
.hero-hannover { background-image: url("projekt-bahnhof.jpg"); }
.hero-check { background-image: url("service-projektsteuerung.jpg"); }
.hero-reference { background-image: url("projekt-bahnhof.jpg"); }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.eyebrow {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  max-width: 850px;
  font-family: var(--ff-heading);
  color: var(--white);
  font-size: clamp(2.5rem, 5.8vw, 5.6rem);
  line-height: 1.02;
  font-weight: 800;
  margin-bottom: 24px;
}
.lead {
  max-width: 690px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: rgba(242,241,236,.84);
  margin-bottom: 34px;
}
.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-secondary { border: 1px solid var(--border2); color: var(--white); background: rgba(7,7,12,.36); }
.btn-secondary:hover { border-color: rgba(255,255,255,.32); }

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 22px 32px;
}
.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .88rem;
}
.trust-inner strong { color: var(--white); }

main { background: var(--bg); }
section { padding: 92px 32px; }
.container { max-width: var(--max); margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}
h2 {
  font-family: var(--ff-heading);
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.12;
}
.section-copy { color: var(--muted); max-width: 660px; }

.grid-3,
.grid-2 {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--bg3);
  min-height: 240px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card:hover { background: var(--bg4); }
.card-kicker {
  color: var(--gold);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--ff-heading);
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.32;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: .93rem; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 34px;
}
.panel h3 {
  font-family: var(--ff-heading);
  color: var(--white);
  margin-bottom: 12px;
}
.check-list { display: grid; gap: 14px; margin-top: 24px; }
.check-list li {
  border-bottom: 1px solid var(--border);
  padding: 0 0 14px 26px;
  position: relative;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 11px;
  height: 2px;
  background: var(--signal);
}

.faq {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.faq-item {
  background: var(--bg3);
  padding: 28px 30px;
}
.faq-item h3 {
  color: var(--white);
  font-family: var(--ff-heading);
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.faq-item p { color: var(--muted); }

.final-cta {
  background: #050509;
  border-top: 1px solid var(--border);
}
.final-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
  border-left: 2px solid var(--gold);
  padding-left: 30px;
}
.final-inner p { max-width: 660px; color: var(--muted); margin-top: 12px; }

footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 44px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--subtle);
  font-size: .86rem;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .page-hero { min-height: 0; padding-top: 132px; }
  .section-head,
  .split,
  .final-inner { grid-template-columns: 1fr; }
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
  .final-inner { align-items: start; }
}

@media (max-width: 520px) {
  .nav { padding: 0 20px; }
  .page-hero,
  section,
  .trust-strip,
  footer { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .hero-actions,
  .cta-actions { width: 100%; }
  .btn-primary,
  .btn-secondary { width: 100%; }
  .card { min-height: 210px; padding: 26px; }
}
