:root {
  --navy: #0b2a4a;
  --navy-2: #123b66;
  --blue: #31bce4;
  --blue-soft: #e8f8fc;
  --text: #102236;
  --muted: #5b6c7d;
  --white: #ffffff;
  --soft: #f5fafc;
  --line: #dce8ef;
  --shadow: 0 22px 60px rgba(11, 42, 74, 0.12);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--navy);
  color: white;
}

.skip-link:focus {
  left: 10px;
}

.topbar {
  background: var(--navy);
  color: #d9eef8;
  font-size: 0.92rem;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.topbar a {
  text-decoration: none;
}

.topbar a:hover {
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  width: 230px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  color: #29445f;
}

.main-nav a:hover {
  color: var(--navy);
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  border-radius: 99px;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 25%, rgba(49, 188, 228, 0.24), transparent 28%),
    linear-gradient(135deg, #fbfeff 0%, #eef8fc 55%, #e4f5fb 100%);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  min-height: 640px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding-block: 72px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--navy-2);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue);
}

.eyebrow--light {
  color: #8de1f3;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(3.1rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero__lead {
  max-width: 720px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero__visual {
  width: 100%;
}

.hero__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(11, 42, 74, 0.10);
  filter: drop-shadow(0 24px 35px rgba(11, 42, 74, 0.16));
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(11, 42, 74, 0.15);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #071f36;
}

.button--small {
  min-height: 42px;
  padding: 9px 16px;
  color: white !important;
}

.button--light {
  background: white;
  border-color: #cadde7;
  color: var(--navy);
  box-shadow: none;
}

.button--light:hover {
  background: white;
  border-color: #9bc7da;
}

.section {
  padding-block: 92px;
}

.section--soft {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-title {
  max-width: 830px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 750px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 42px rgba(11, 42, 74, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card > img {
  width: 100%;
  aspect-ratio: 1.73 / 1;
  object-fit: cover;
  background: #eaf8fc;
}

.service-card__body {
  padding: 28px;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.4rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #365168;
}

.service-card li + li {
  margin-top: 7px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-panel {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 100%, rgba(49, 188, 228, 0.22), transparent 32%),
    var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.about-panel p {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about-panel p + p {
  margin-top: 4px;
}

.about-panel small {
  margin-top: 28px;
  color: #bed9e7;
}

.benefit-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  align-items: start;
}

.benefit__check {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ddf5fb;
  color: #087c9f;
  font-weight: 900;
}

.benefit h3 {
  margin: 3px 0 5px;
  color: var(--navy);
  font-size: 1.08rem;
}

.benefit p {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  padding: 50px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 95% 10%, rgba(49, 188, 228, 0.18), transparent 32%),
    linear-gradient(135deg, var(--navy), #123f6b);
  color: white;
  box-shadow: var(--shadow);
}

.contact__intro h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact__intro > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 0 28px;
  color: #c7deea;
}

.button--white {
  background: white;
  color: var(--navy);
}

.button--white:hover {
  background: #eef9fc;
}

.button--outline-white {
  background: transparent;
  border-color: #719eb7;
  color: white;
  box-shadow: none;
}

.button--outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: white;
}

.contact-card {
  display: block;
  margin: 0;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.contact-card > div {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-card > div:last-child {
  border-bottom: 0;
}

.contact-card span {
  display: block;
  margin-bottom: 2px;
  color: #a8c9da;
  font-size: 0.85rem;
}

.contact-card a,
.contact-card strong {
  color: white;
  font-size: 1.03rem;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.footer {
  padding-block: 34px;
  background: #071b2e;
  color: #adc3cf;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 20px;
}

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

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .topbar {
    display: none;
  }

  .nav {
    min-height: 72px;
  }

  .brand {
    width: 195px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 18px 4%;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 35px rgba(11, 42, 74, 0.1);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 8px;
  }

  .main-nav .button {
    text-align: center;
  }

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

  .hero__grid {
    min-height: auto;
    padding-block: 58px;
  }

  .hero__visual {
    max-width: 680px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) 1.25fr;
  }

  .service-card > img {
    height: 100%;
  }

  .section {
    padding-block: 72px;
  }
}

@media (max-width: 650px) {
  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero__grid {
    gap: 36px;
    padding-block: 46px;
  }

  .service-card {
    display: block;
  }

  .service-card > img {
    height: auto;
  }

  .about-panel {
    min-height: 330px;
    padding: 30px 24px;
  }

  .contact {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Rechtliche Unterseiten */
.legal-hero {
  padding-block: 72px 56px;
  background:
    radial-gradient(circle at 88% 18%, rgba(49, 188, 228, 0.19), transparent 25%),
    linear-gradient(135deg, #fbfeff 0%, #eef8fc 58%, #e6f6fb 100%);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.legal-hero__lead {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-wrap {
  width: min(920px, 92%);
  margin-inline: auto;
}

.legal-note {
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid #b9dce9;
  border-left: 5px solid var(--blue);
  border-radius: 16px;
  background: #effaff;
  color: #294a60;
}

.legal-note strong {
  color: var(--navy);
}

.legal-card {
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 10px 34px rgba(11, 42, 74, 0.05);
}

.legal-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.2;
}

.legal-card h3 {
  margin: 22px 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.legal-card p {
  margin: 0 0 12px;
  color: #3d566d;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #3d566d;
}

.legal-card li + li {
  margin-top: 7px;
}

.legal-card address {
  margin: 0;
  font-style: normal;
  color: #3d566d;
}

.legal-card a {
  color: #0a7192;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-meta .legal-card {
  margin-bottom: 0;
}

.legal-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-actions .button--light {
  border-color: #b9d7e4;
}

@media (max-width: 720px) {
  .legal-hero {
    padding-block: 54px 42px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 24px 20px;
  }
}
