:root {
  --blue-dark: #0b3d68;
  --blue: #0f5ba0;
  --blue-light: #eaf1f7;
  --grey-bg: #f4f5f6;
  --text: #1c2b36;
  --text-light: #5a6b76;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Top accent bar */
.topbar {
  height: 10px;
  background: var(--blue-dark);
}

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  color: var(--white);
  background: var(--blue-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 61, 104, 0.35), rgba(11, 61, 104, 0.55));
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 56px 32px 64px;
}

.logo {
  width: 150px;
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 700;
}

.hero-rule {
  width: 64px;
  height: 4px;
  background: var(--white);
  margin: 22px 0 16px;
}

.hero-tagline {
  letter-spacing: 0.08em;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Leistungen */
.leistungen {
  background: var(--grey-bg);
  padding: 56px 32px;
  text-align: center;
}

.leistungen h2 {
  font-size: 26px;
  color: var(--blue-dark);
  margin: 0 0 8px;
}

.leistungen .underline {
  width: 56px;
  height: 3px;
  background: var(--blue);
  margin: 0 auto 40px;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}

.leistung-item svg {
  width: 46px;
  height: 46px;
  stroke: var(--blue-dark);
  margin-bottom: 14px;
}

.leistung-item span {
  display: block;
  font-weight: 600;
  font-size: 15px;
}

/* CTA bar */
.cta {
  position: relative;
  background: var(--blue-dark);
  color: var(--white);
  padding: 40px 32px;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 0;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue-dark) 0%, rgba(11, 61, 104, 0.75) 60%, rgba(11, 61, 104, 0.55) 100%);
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

.cta-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-item svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  stroke: var(--white);
}

.cta-item .label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 2px;
}

.cta-item .value {
  font-size: 22px;
  font-weight: 700;
}

.cta-item a {
  text-decoration: none;
}

.divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* Kontaktblock */
.kontakt {
  background: var(--white);
  padding: 44px 32px;
  border-bottom: 1px solid #e5e8ea;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

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

.kontakt-item svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.kontakt-item h3 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin: 0 0 6px;
}

.kontakt-item p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

/* Footer */
footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 32px 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
}

footer h2 {
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

footer p {
  margin: 0 0 12px;
}

footer a {
  color: var(--white);
  text-decoration: underline;
}

footer ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}

/* Rechtstext-Seiten (Impressum / Datenschutz) */
.legal-page {
  padding: 56px 32px 64px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  color: var(--blue-dark);
  font-size: 28px;
  margin-bottom: 8px;
}

.legal-page h2 {
  color: var(--blue-dark);
  font-size: 18px;
  margin-top: 32px;
}

.legal-page p, .legal-page li {
  color: var(--text);
  font-size: 15px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 40px 20px 48px;
  }
  .cta-grid {
    flex-direction: column;
    gap: 20px;
  }
  .divider {
    display: none;
  }
}
