:root {
  --navy-900: #0E2C5C;
  --navy-800: #122F66;
  --navy-700: #173E80;
  --white: #FFFFFF;
  --off-white: #F6F8FB;
  --accent: #F39028;
  --accent-dark: #D87913;
  --text-900: #14213D;
  --text-600: #4A5568;
  --text-400: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(14,44,92,.05);
  --shadow-md: 0 4px 12px rgba(14,44,92,.08);
  --shadow-lg: 0 12px 32px rgba(14,44,92,.12);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--text-900); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin-bottom: .5em; display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
  text-decoration: none;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); transform: translateY(-1px); }

/* Header */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 96px; }
.brand-text { font-weight: 800; font-size: 1rem; color: var(--white); line-height: 1.15; }
.brand-text small { display: block; font-weight: 500; font-size: .75rem; color: rgba(255,255,255,.75); letter-spacing: .05em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255,255,255,.9); font-weight: 600; font-size: .95rem; position: relative; }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a.active::after {
  content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: var(--accent);
}
.nav-cta { background: var(--accent); color: var(--white) !important; padding: 10px 18px; border-radius: var(--radius); }
.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px; height: 60px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0,30 C240,60 480,0 720,30 C960,60 1200,0 1440,30 L1440,60 L0,60 Z' fill='%23F39028'/></svg>") center/cover no-repeat;
  opacity: .9;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.88); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a3a78 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'><rect fill='%23F6F8FB' width='400' height='300'/><g fill='%230E2C5C' opacity='.18'><circle cx='110' cy='130' r='34'/><rect x='180' y='90' width='160' height='100' rx='10'/><path d='M70 220 L330 220 L330 250 L70 250 Z'/></g></svg>") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}

/* Trust strip */
.trust-strip {
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
  padding: 28px 0;
}
.trust-strip strong { color: var(--accent); font-size: 1.15rem; letter-spacing: .04em; }
.trust-strip p { margin: 4px 0 0; color: rgba(255,255,255,.85); font-size: 1rem; }

/* Services Grid (Karten wie Poster) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-700);
}
.service-card .icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: grid; place-items: center;
}
.service-card .icon svg { width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 1.8; }
.service-card h3 { margin: 0; font-size: 1.05rem; }

/* USP */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.usp {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
}
.usp .num { color: var(--accent); font-weight: 800; font-size: 2rem; display: block; margin-bottom: 8px; }
.usp h3 { font-size: 1.1rem; margin-bottom: 8px; }
.usp p { color: var(--text-600); margin: 0; font-size: .95rem; }

/* About teaser */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--navy-900) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'><rect fill='%230E2C5C' width='400' height='300'/><g fill='%23F39028' opacity='.5'><circle cx='200' cy='130' r='50'/></g><g fill='%23ffffff' opacity='.7'><rect x='130' y='190' width='140' height='80' rx='8'/></g></svg>") center/cover;
  box-shadow: var(--shadow-lg);
}

/* Final CTA */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 24px; }

/* Page hero (kleinerer Banner für Unterseiten) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0; }

/* Services detail page */
.service-section h2 { display: flex; align-items: center; gap: 14px; }
.service-section h2 .badge {
  background: var(--accent); color: var(--white);
  font-size: .75rem; padding: 4px 10px; border-radius: 999px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}
.service-list li {
  padding: 12px 16px 12px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  font-weight: 500;
}
.service-list li::before {
  content: "";
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}

/* Über uns */
.bio { max-width: 800px; margin: 0 auto; }
.bio .strengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding: 0; list-style: none; margin-top: 16px; }
.bio .strengths li {
  background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 16px; font-weight: 600; text-align: center;
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}
.contact-info { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: 40px; }
.contact-info h2 { color: var(--white); }
.contact-info p, .contact-info a { color: rgba(255,255,255,.9); }
.contact-info a:hover { color: var(--accent); }
.contact-info .row,
.contact-info .contact-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info .row .icon,
.contact-info .contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
}
.contact-info .row .icon svg,
.contact-info .contact-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 2;
}
.contact-info .label,
.contact-info .contact-label {
  display: block;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.65); margin-bottom: 2px;
}
.contact-info .contact-block { margin-top: 24px; }
.contact-info .contact-block h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-info .contact-block p { margin: 0; }

.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; color: var(--text-900); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-900);
  background: var(--white);
  transition: border-color .12s, box-shadow .12s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(23,62,128,.15);
}
.field--checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text-600); }
.field--checkbox input { width: auto; margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; display: none; }
.form-status.success { display: block; background: #e7f7ed; color: #1d6f3d; border: 1px solid #b6e2c5; }
.form-status.error { display: block; background: #fdecea; color: #a02622; border: 1px solid #f5b8b3; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.85); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid a { color: rgba(255,255,255,.8); display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand img { height: 120px; margin-bottom: 12px; filter: brightness(1.05); }
.footer-brand p { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.6); }

/* Privacy hint banner */
.privacy-hint {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .92rem;
  z-index: 200;
}
.privacy-hint a { color: var(--accent); font-weight: 600; }
.privacy-hint button {
  margin-left: auto;
  background: var(--accent);
  color: var(--white);
  border: 0;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.privacy-hint[hidden] { display: none; }

/* Legal pages typography */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { margin-top: 32px; font-size: 1.35rem; }
.legal h3 { margin-top: 24px; font-size: 1.1rem; }
.legal p, .legal li { color: var(--text-600); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy-900); padding: 12px 24px 20px; gap: 4px; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-info, .form { padding: 24px; }
  .cta-band { padding: 40px 24px; }
}
