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

:root {
  --navy:   #0d2b55;
  --gold:   #c9a84c;
  --light:  #f5f7fa;
  --text:   #2d3748;
  --muted:  #718096;
  --white:  #ffffff;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(13,43,85,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}
.logo span { color: var(--gold); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

nav ul a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: color .2s;
}
nav ul a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: #b8942e; color: var(--white) !important; }

/* ── HERO ── */
#hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 55%, #1a4a8a 100%);
  padding: 6rem 6vw;
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(201,168,76,.08);
  pointer-events: none;
}

.hero-content { max-width: 640px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.45);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

#hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
#hero h1 span { color: var(--gold); }

#hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2.2rem;
  max-width: 520px;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #b8942e; transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.35);
  transition: border-color .2s, transform .15s;
}
.btn-secondary:hover { border-color: var(--white); transform: translateY(-2px); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 2rem 3.5rem;
  border-right: 1px solid #e2e8f0;
}
.stat:last-child { border-right: none; }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}
.stat-label {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* ── SECTION SHARED ── */
section { padding: 6rem 6vw; }

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ── LEISTUNGEN ── */
#leistungen { background: var(--light); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(13,43,85,.14); }

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(13,43,85,.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}

.card p { color: var(--muted); font-size: .95rem; }

/* ── ÜBER UNS ── */
#ueber {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--navy), #1a4a8a);
  border-radius: var(--radius);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
  font-size: .9rem;
  letter-spacing: .05em;
}

.about-text .values { list-style: none; margin-top: 1.5rem; }
.about-text .values li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: .95rem;
}
.about-text .values li:last-child { border-bottom: none; }
.check { color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }

/* ── TEAM ── */
#team { background: var(--light); text-align: center; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #1a4a8a);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
}

.team-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.team-card .role { font-size: .85rem; color: var(--gold); font-weight: 600; margin: .25rem 0 .6rem; }
.team-card p { font-size: .88rem; color: var(--muted); }

/* ── REFERENZEN ── */
#referenzen { text-align: center; }

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.logo-pill {
  background: var(--light);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: .6rem 1.8rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--muted);
}

/* ── TESTIMONIALS ── */
#testimonials { background: var(--navy); }
#testimonials h2 { color: var(--white); }
#testimonials .section-tag { color: var(--gold); }
#testimonials .section-intro { color: rgba(255,255,255,.65); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial p {
  color: rgba(255,255,255,.82);
  font-style: italic;
  font-size: .97rem;
  margin-bottom: 1.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.t-name { font-weight: 700; color: var(--white); font-size: .9rem; }
.t-role { font-size: .8rem; color: rgba(255,255,255,.5); }

.stars { color: var(--gold); font-size: .85rem; margin-bottom: 1rem; }

/* ── KONTAKT ── */
#kontakt { background: var(--light); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.kontakt-info { padding-top: .5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-label { font-size: .8rem; color: var(--muted); margin-bottom: .15rem; }
.contact-value { font-size: .97rem; font-weight: 600; color: var(--navy); }
.contact-value a { color: var(--navy); text-decoration: none; }
.contact-value a:hover { color: var(--gold); }

form { display: flex; flex-direction: column; gap: 1rem; }

form label { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .25rem; display: block; }

form input,
form textarea,
form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #cbd5e0;
  border-radius: var(--radius);
  font-size: .97rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  font-family: inherit;
}
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--navy);
}
form textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

form button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: .9rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
form button:hover { background: #0a2044; transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: #07192f;
  color: rgba(255,255,255,.55);
  padding: 3rem 6vw 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo { font-size: 1.2rem; margin-bottom: .8rem; display: block; }
.footer-brand p { font-size: .88rem; max-width: 280px; }

footer h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: .04em;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: .5rem; }
footer ul a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .88rem; transition: color .2s; }
footer ul a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge { animation: heroFadeUp .7s cubic-bezier(.22,1,.36,1) both; animation-delay: .1s; }
#hero h1    { animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) both; animation-delay: .28s; }
#hero p     { animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) both; animation-delay: .44s; }
.btn-group  { animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) both; animation-delay: .6s; }

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up[data-delay="1"] { transition-delay: .08s; }
.fade-up[data-delay="2"] { transition-delay: .18s; }
.fade-up[data-delay="3"] { transition-delay: .28s; }
.fade-up[data-delay="4"] { transition-delay: .38s; }
.fade-up[data-delay="5"] { transition-delay: .46s; }

nav { transition: box-shadow .35s; }
nav.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.4); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  #ueber, .kontakt-grid, .footer-top {
    grid-template-columns: 1fr;
  }
  .about-image { height: 260px; }
  nav ul { display: none; }
  .stat { padding: 1.5rem 2rem; }
  .form-row { grid-template-columns: 1fr; }
}
