/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #132d55;
  --navy-dark: #0d1f3c;
  --navy-light: #1e3f74;
  --white: #ffffff;
  --gray-light: #f8fafc;
  --gray: #64748b;
  --border: #e2e8f0;
  --text: #1e293b;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}

.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }

.nav-cta {
  background: white !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.nav-cta:hover { background: #f1f5f9 !important; }

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: white;
}

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  color: white;
  padding: 86px 24px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.hero-kicker {
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.hero h1 span { color: #93c5fd; }

.hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  font-family: inherit;
}

.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: #f1f5f9; transform: translateY(-1px); }

.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); }

.btn-full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-gray { background: var(--gray-light); }
.section-navy { background: var(--navy); color: white; }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 10px;
}

.section-navy .section-label { color: #93c5fd; }

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.section-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 680px;
  margin-bottom: 48px;
}

.section-navy .section-sub { color: rgba(255,255,255,0.7); }

/* ===== USP STREIFEN ===== */
.usp-bar {
  background: var(--navy-dark);
  color: white;
  padding: 20px 24px;
}

.usp-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.usp-item svg { color: #93c5fd; flex-shrink: 0; }

/* ===== LEISTUNGEN GRID ===== */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leistung-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.leistung-icon {
  width: 52px;
  height: 52px;
  background: #dbeafe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}

.leistung-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.leistung-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
}

/* ===== REFERENZEN ===== */
.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.referenz-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.referenz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.referenz-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

.referenz-body { padding: 20px; }

.referenz-tag {
  display: inline-block;
  background: #dbeafe;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.referenz-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.referenz-body p {
  font-size: 13px;
  color: var(--gray);
}

/* ===== WARUM WIR ===== */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.vorteil-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.vorteil-check {
  width: 28px;
  height: 28px;
  background: rgba(147,197,253,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.vorteil-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.vorteil-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ===== KONTAKT ===== */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.kontakt-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.kontakt-info p { color: var(--gray); margin-bottom: 28px; font-size: 16px; line-height: 1.7; }

.kontakt-details { display: flex; flex-direction: column; gap: 14px; }

.kontakt-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kontakt-detail-icon {
  width: 40px;
  height: 40px;
  background: #dbeafe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.kontakt-detail-text { font-size: 14px; }
.kontakt-detail-text strong { display: block; margin-bottom: 2px; color: var(--text); }
.kontakt-detail-text span { color: var(--gray); }

.kontakt-form {
  background: white;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.kontakt-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: var(--gray-light);
  outline: none;
  transition: border 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19,45,85,0.1);
  background: white;
}

.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}

.form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  margin-top: 14px;
}

/* ===== IMPRESSUM / DATENSCHUTZ ===== */
.legal-section { padding: 60px 24px 80px; }

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-content .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--navy);
}

.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--navy); text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo img { height: 36px; border-radius: 4px; }

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer-links a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-links a:hover { color: white; }

.footer-copy { font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .leistungen-grid { grid-template-columns: 1fr 1fr; }
  .referenzen-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 36px; }
  .vorteile-grid { grid-template-columns: 1fr; }
  .usp-inner { gap: 24px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 14px;
  }
  .nav-mobile-btn { display: block; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .referenzen-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 58px 20px 68px; }
  .hero p { font-size: 17px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .section { padding: 56px 20px; }
  .section-sub { margin-bottom: 34px; }
  .leistung-card { padding: 24px 22px; }
  .kontakt-form { padding: 24px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
