:root {
  --color-ink: #23313b;
  --color-muted: #5c6d78;
  --color-brand: #023b6c;
  --color-brand-soft: #0194cf;
  --color-accent: #2f8f7b;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f7f9;
  --color-line: #d9e4eb;
  --shadow-soft: 0 20px 60px rgba(2, 59, 108, 0.12);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(1, 148, 207, 0.08), transparent 34%),
    linear-gradient(245deg, rgba(47, 143, 123, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #eef5f8 100%);
}

a {
  color: var(--color-brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--color-brand-soft);
}

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

:focus-visible {
  outline: 3px solid rgba(1, 148, 207, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.65rem 1rem;
  background: var(--color-brand);
  color: #fff;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 228, 235, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.site-nav,
.footer-inner,
.section__inner,
.hero,
.contact-band,
.page-hero {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

.site-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  flex: 0 0 auto;
  width: min(238px, 54vw);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-brand);
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--color-surface-alt);
  color: var(--color-brand);
}

.hero {
  min-height: calc(96svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-brand-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: var(--color-ink);
  overflow-wrap: normal;
  hyphens: manual;
}

h1 {
  max-width: 17ch;
  font-size: clamp(2.8rem, 7.2vw, 5.45rem);
  font-weight: 800;
}

p {
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.14rem;
}

.hero__lead {
  max-width: 620px;
  margin: 1.5rem 0 0;
  color: var(--color-muted);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.hero__quote {
  max-width: 560px;
  margin: 1.4rem 0 0;
  padding-left: 1rem;
  border-left: 4px solid var(--color-brand-soft);
  color: var(--color-brand);
  font-size: 1.05rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  background: var(--color-brand);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.button--primary:hover {
  color: #fff;
  background: #03518f;
}

.button--secondary {
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--color-brand);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(340px, 76vw);
}

.hero__visual img {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.hero__caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(280px, 88%);
  transform: translate(-50%, 28%);
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 45px rgba(35, 49, 59, 0.12);
  text-align: center;
}

.hero__caption span,
.hero__caption small {
  display: block;
}

.hero__caption span {
  font-weight: 800;
}

.hero__caption small {
  color: var(--color-muted);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--color-surface);
}

.section--quiet {
  background: var(--color-surface-alt);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.copy-stack {
  color: var(--color-muted);
  font-size: 1.1rem;
}

.copy-stack h2 {
  margin-bottom: 1rem;
  color: var(--color-ink);
}

.copy-stack p {
  margin: 0;
}

.copy-stack p + p {
  margin-top: 1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(35, 49, 59, 0.07);
}

.service-card h3 {
  color: var(--color-brand);
}

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

.card-index {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f4f8;
  color: var(--color-brand);
  font-size: 0.86rem;
  font-weight: 800;
}

.insight-band {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #23313b;
  color: #fff;
}

.insight-band h2 {
  color: #fff;
}

.insight-band .eyebrow {
  color: #83d3ef;
}

.insight-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 0.85rem;
}

.benefit-list div {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.benefit-list strong,
.benefit-list span {
  display: block;
}

.benefit-list strong {
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 1.1rem;
}

.benefit-list span {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  min-height: 230px;
  padding: 1.25rem;
  border-top: 4px solid var(--color-brand-soft);
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.process-list span {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 0.7rem;
  color: var(--color-brand);
}

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

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.contact-band__text {
  max-width: 560px;
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 1.1rem;
}

address {
  margin: 0;
  font-style: normal;
}

.contact-band address,
.imprint address {
  display: grid;
  gap: 0.2rem;
}

.contact-band address {
  padding: 1.3rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(35, 49, 59, 0.07);
}

.contact-band a,
.footer-links a {
  font-weight: 700;
}

.page-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-hero--compact h1 {
  max-width: none;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.imprint {
  max-width: 900px;
}

.imprint__block {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}

.imprint__block h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.imprint__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
}

.imprint__grid div {
  min-height: 116px;
  padding: 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
}

.imprint__grid h3 {
  margin-bottom: 0.5rem;
  color: var(--color-brand);
}

.imprint__grid p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  background: #23313b;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner span {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: #fff;
}

@media (max-width: 800px) {
  .site-nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    inset: 68px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid var(--color-line);
    background: #fff;
  }

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

  .nav-links a {
    width: 100%;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .hero__visual {
    margin-bottom: 2rem;
  }

  h1 {
    max-width: 17ch;
  }

  .two-column,
  .insight-band__inner,
  .contact-band,
  .imprint__grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 480px) {
  .site-nav,
  .footer-inner,
  .section__inner,
  .hero,
  .contact-band,
  .page-hero {
    width: min(var(--max-width), calc(100% - 1.25rem));
  }

  h1 {
    font-size: 2.25rem;
  }

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

  .button {
    width: 100%;
  }

  .hero__caption {
    position: static;
    width: 100%;
    margin-top: 1rem;
    transform: none;
  }
}
