:root {
  --primary: #014199;
  --accent: #05A9F5;
  --dark: #0d1b2a;
  --gray: #5c6670;
  --light: #f5f8fb;
  --white: #ffffff;
  --border: #e3e9ef;
  --shadow: 0 18px 45px rgba(13, 27, 42, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5eaf0;
  padding: 10px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  max-height: 150px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

.logo-desktop img {
  display: block;
  width: auto;
  height: 300px;
}

.logo-mobile img {
  display: block;
  width: auto;
  height: 300px;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
}

nav a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 95px 8%;
  background:
    /* linear-gradient(135deg, rgba(248, 251, 255, 0.96), rgba(234, 243, 251, 0.92)), */
    url("background4.jpg");
  background-repeat: no-repeat;
  /* background-position: right center; */
  background-size: cover;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-size: 15px !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 14px !important;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--dark);
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 19px;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 680px;
}

.buttons,
.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(1, 65, 153, 0.20);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(227, 233, 239, 0.8);
}

.hero-card h2 {
  margin-bottom: 18px;
  color: var(--primary);
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 10px;
}

section {
  padding: 82px 8%;
  scroll-margin-top: 110px;
}

.trust-bar {
  padding: 22px 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.trust-bar div::before {
  content: "✓ ";
  color: #bdefff;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 38px;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--gray);
  font-size: 18px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card,
.why-item,
.package,
.process-grid div {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(13, 27, 42, 0.05);
}

.service-card {
  background: var(--light);
}

.service-card h3,
.why-item h3,
.process-grid h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p,
.why-item p,
.process-grid p {
  color: var(--gray);
  font-size: 15px;
}

.why {
  background: linear-gradient(135deg, #f8fbff 0%, #eef6fd 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about {
  background: var(--dark);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about h2 {
  margin-bottom: 16px;
  font-size: 36px;
}

.about p {
  color: #d7dee8;
  margin-bottom: 16px;
  font-size: 17px;
}

.about-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-box strong {
  color: var(--accent);
}

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.package h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.price {
  font-size: 30px;
  font-weight: 900;
  margin: 20px 0;
}

.package ul {
  margin-left: 20px;
  color: var(--gray);
}

.package-note {
  max-width: 850px;
  margin: 28px auto 0;
  color: var(--gray);
  text-align: center;
}

.process {
  background: var(--light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-grid span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 16px;
}

.contact {
  background: linear-gradient(135deg, #f8fbff 0%, #eaf3fb 100%);
  text-align: center;
}

.contact-box {
  background: var(--white);
  max-width: 780px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin-bottom: 16px;
  font-size: 36px;
}

.contact-box p {
  margin-bottom: 12px;
  font-size: 18px;
}

.contact-actions {
  justify-content: center;
  margin-top: 24px;
}

footer {
  background: var(--dark);
  color: #d7dee8;
  padding: 30px 8%;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: #d7dee8;
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

/* Legal pages: impressum.html / datenschutz.html */
.legal-page {
  background: linear-gradient(135deg, #f8fbff 0%, #eaf3fb 100%);
  min-height: 80vh;
  padding: 80px 20px;
}

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

.legal-container h1 {
  font-size: 42px;
  margin-bottom: 30px;
  color: var(--primary);
  text-align: center;
}

.legal-box {
  background: var(--white);
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.08);
}

.legal-box h2 {
  margin-top: 35px;
  margin-bottom: 12px;
  color: var(--primary);
}

.legal-box p {
  margin-bottom: 18px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.8;
}

.legal-box strong {
  color: var(--dark);
}

.legal-source {
  margin-top: 30px;
  font-size: 14px;
}

.legal-source a {
  color: var(--primary);
  text-decoration: none;
}

.legal-source a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  header {
    justify-content: center;
  }

  nav {
    display: none;
  }

  .hero,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 6%;
    background-size: cover;
  }

  section {
    padding: 70px 6%;
  }

  .trust-bar,
  .services,
  .why-grid,
  .packages,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    text-align: left;
  }

  .logo-link {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p,
  .contact-box p {
    font-size: 17px;
  }

  .hero-card,
  .contact-box,
  .legal-box {
    padding: 28px 22px;
  }

  .section-title h2,
  .about h2,
  .contact-box h2 {
    font-size: 30px;
  }

  .buttons,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    width: 100%;
  }
}
