@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

:root {
  --blue: #0083c3;
  --pink: #e74378;
  --rose: #fff1f5;
  --navy: #0f172a;
  --navy-dark: #101828;
  --text: #475569;
  --text-soft: #475467;
  --muted: #64748b;
  --muted-soft: #667085;
  --bg: #f8fafc;
  --bg-soft: #f4f8fc;
  --white: #ffffff;
  --green: #22c55e;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 14px 36px rgba(16, 24, 40, 0.08);
  --radius-lg: 38px;
  --radius-md: 28px;
  --radius-sm: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.92;
}

.container {
  width: min(100%, 1380px);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 36px);
  box-sizing: border-box;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  color: var(--navy);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn-primary {
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border: 1px solid #d1d5db;
}

.hero .btn-light,
.cta .btn-light {
  color: var(--navy);
  background: var(--white);
}

.btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

header.topbar .nav {
  flex-wrap: nowrap;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-main__link {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-main__link:hover {
  opacity: 1;
  color: var(--navy);
}

.nav-main__link.is-active {
  color: var(--pink);
}

.nav-main__cta {
  padding: 12px 20px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-actions .btn {
  padding: 12px 20px;
  font-size: 14px;
  white-space: nowrap;
}

.btn-nav {
  background: var(--white);
  color: var(--navy);
  border: 1px solid #e2e8f0;
}

.topbar .btn-primary {
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 131, 195, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  font-size: 18px;
  line-height: 1.1;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand__text {
  display: block;
  white-space: nowrap;
}

.brand__icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.mark {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  flex-shrink: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.links {
  display: flex;
  gap: 24px;
  font-weight: 700;
  color: var(--text);
}

.links a:hover {
  color: var(--navy);
}

section {
  padding: 72px 0;
}

.grid {
  display: grid;
  gap: 22px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 950;
  margin-bottom: 16px;
}

.footer {
  /* Legacy hook – styles in footer.css (.site-footer) */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-cta {
  display: none;
}

.mobile-cta-bar {
  display: none;
}

.mobile-cta.btn {
  box-sizing: border-box;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.25;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  text-align: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  border-radius: 999px;
}

body.theme-business .mobile-cta.btn {
  box-shadow: 0 16px 40px rgba(0, 131, 195, 0.35);
}

body.theme-privat .mobile-cta.btn {
  box-shadow: 0 16px 40px rgba(231, 67, 120, 0.35);
}

@media (max-width: 900px) {
  .links {
    display: none;
  }

  section {
    padding: 56px 0;
  }

  .topbar .nav {
    min-height: 64px;
    height: auto;
    padding: 10px 0;
    gap: 12px;
  }

  .brand {
    font-size: 15px;
    gap: 8px;
  }

  .nav-main {
    gap: 12px;
  }

  .nav-main__link {
    font-size: 14px;
  }

  .nav-main__cta {
    padding: 10px 14px;
    font-size: 12px;
  }

  .nav-actions .btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  html {
    overflow-x: clip;
  }

  .mobile-cta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    left: max(14px, env(safe-area-inset-left, 0px));
    right: max(14px, env(safe-area-inset-right, 0px));
    z-index: 90;
    pointer-events: none;
    box-sizing: border-box;
    width: auto;
    max-width: none;
  }

  .mobile-cta-bar .mobile-cta {
    display: flex;
    pointer-events: auto;
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.theme-business,
  body.theme-privat {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    overflow-x: clip;
  }
}

@media (max-width: 520px) {
  .brand__text {
    font-size: 13px;
  }

  .nav-main__cta {
    padding: 10px 12px;
    font-size: 11px;
  }

  .mobile-cta.btn {
    font-size: 14px;
    padding: 13px 16px;
  }
}

.reference-logo__link,
.logo__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.reference-logo__link:hover,
.logo__link:hover {
  opacity: 0.82;
}

.reference-logo__link:focus-visible,
.logo__link:focus-visible {
  outline: 2px solid var(--blue, #0083c3);
  outline-offset: 2px;
  border-radius: 12px;
}

.faq-item__question {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

.card__title,
.region-card__title,
.standort-group__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.standort-group__title {
  margin-bottom: 16px;
}

.benefit-card .card__title {
  font-size: 20px;
}
