@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alice";
  src: url("../fonts/alice-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #04164d;
  --navy-deep: #020e33;
  --green: #56b70d;
  --green-hover: #4aa10b;
  --green-text: #3d8a08;
  --green-soft: #8fd14f;
  --muted: #4a5470;
  --muted-light: #c9d1e6;
  --line: rgba(4, 22, 77, 0.14);
  --ink: #243056;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: #0539f3; }

::selection { background: var(--green); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

#leistungen,
#aussen,
#partner,
#kontakt,
#top { scroll-margin-top: 132px; }

.sr-only,
.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 3px;
}
.skip:focus { top: 16px; }

.topbar {
  background: var(--navy);
  color: var(--muted-light);
  font-size: 13px;
}
.topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px clamp(18px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__links { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--green-soft); }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(4, 22, 77, 0.1);
}
.header__bar {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 124px;
  padding: 0 clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}
.logo {
  display: flex;
  align-items: center;
  color: var(--navy);
  flex: 0 0 auto;
}
.logo:hover { color: var(--navy); }
.logo img { height: 108px; width: auto; }
.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav a { white-space: nowrap; }
.nav a:hover { color: #0539f3; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(4, 22, 77, 0.2);
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}
.nav-check:focus-visible ~ .nav-toggle {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.cta-short { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn--green {
  background: var(--green);
  color: var(--navy);
  padding: 17px 26px;
}
.btn--green:hover { background: var(--green-hover); color: var(--navy); }
.btn--header { padding: 13px 22px; font-size: 15px; }
.btn--ghost {
  color: #fff;
  padding: 16px 24px;
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}
.btn--ghost:hover { color: #fff; border-color: #fff; }
.btn--line {
  align-self: flex-start;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}
.btn--line:hover { background: #f2f4f8; color: var(--navy); }
.btn--block { width: 100%; border: 0; font-weight: 700; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  background: var(--navy);
}
.hero__copy {
  color: #fff;
  padding: clamp(48px, 7vw, 104px) clamp(18px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  min-height: 620px;
}
.hero h1 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__copy > p {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted-light);
  max-width: 40ch;
  text-wrap: pretty;
}
.trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
  font-size: 14px;
  color: var(--muted-light);
}
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
}

.compare {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  background: #5e5b4b;
}
.compare__before,
.compare__after { position: absolute; inset: 0; }
.compare__after { width: 50%; overflow: hidden; }
.compare__after-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200%;
}
.compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  pointer-events: none;
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  box-shadow: 0 10px 30px rgba(4, 22, 77, 0.3);
  pointer-events: none;
}
.compare__handle span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 14px;
}
.compare__handle span:first-child { background: #fff; color: var(--navy); }
.compare__handle span:last-child { background: var(--green); color: var(--navy); }
.compare__hint {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 13px;
  color: var(--navy);
  background: #fff;
  padding: 8px 12px;
  pointer-events: none;
}
.photo { display: flex; align-items: flex-end; padding: 24px; }
.photo--end { justify-content: flex-end; }
.photo--hero-before {
  background-color: #5e5b4b;
  background-image: repeating-linear-gradient(135deg, #6e6a58 0 12px, #625f4e 12px 24px);
}
.photo--hero-after {
  background-color: #d3dbea;
  background-image: repeating-linear-gradient(135deg, #e1e7f2 0 12px, #d3dbea 12px 24px);
}
.photo__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  padding: 6px 10px;
}
.photo--hero-before .photo__label { color: #fff; background: rgba(0, 0, 0, 0.4); }
.photo--hero-after .photo__label {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.photo--hero-before.has-photo {
  background-size: 150% auto;
  background-position: 58% 78%;
}
.photo--hero-after.has-photo {
  background-size: 155% auto;
  background-position: 58% 48%;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 40px);
}
.section--stack { display: flex; flex-direction: column; gap: 56px; }
.band { background: #f2f4f8; }
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-text);
}
.eyebrow--light { color: var(--green-soft); }
.display {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display--xl {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.04;
}
.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section--stack .intro { margin-bottom: 0; }
.intro__title { display: flex; flex-direction: column; gap: 18px; }
.lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}
.lede--large { font-size: 18px; line-height: 1.65; max-width: 44ch; }
.lede--light { color: var(--muted-light); font-size: 18px; line-height: 1.6; max-width: 38ch; }

.services { border-top: 2px solid var(--navy); }
.service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding: 28px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  transition: background 0.2s, padding 0.2s;
}
.service:hover {
  background: #f2f4f8;
  padding-left: 24px;
  color: var(--navy);
}
.service__no {
  width: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-text);
}
.service__name {
  flex: 1 1 240px;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--navy);
}
.service__text {
  flex: 2 1 300px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}
.service:hover .service__text { color: var(--muted); }
.service:hover .service__no { color: var(--green-text); }
.service__action {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid var(--navy);
  border-radius: 3px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 24px;
}
.card { background: #fff; display: flex; flex-direction: column; }
.card__body {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.card h3 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.01em;
}
.card__note { font-size: 14px; color: var(--muted); }
.frame {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
  background-color: #d8dfec;
  background-image: repeating-linear-gradient(135deg, #e3e8f2 0 12px, #d8dfec 12px 24px);
}
.frame--3-2 { aspect-ratio: 3 / 2; }
.frame.has-photo { padding: 0; background-image: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.ticks { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.ticks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  background: var(--green);
}

.about {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px 80px;
}
.about__copy { display: flex; flex-direction: column; gap: 24px; }
.about__copy .frame { margin-top: 12px; }
.points {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  border-top: 2px solid var(--navy);
}
.points article {
  padding: 32px 24px 32px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.points__no { font-size: 14px; font-weight: 600; color: var(--green-text); }
.points h3 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.points p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

.contact { background: var(--navy); color: #fff; }
.contact__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px 80px;
}
.contact__copy { display: flex; flex-direction: column; gap: 24px; }
.contact__list { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact__list a,
.contact__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.contact__list a:hover { color: var(--green-soft); }
.contact__list a span:first-child,
.contact__row span:first-child { font-size: 14px; color: var(--muted-light); }
.contact__value {
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  text-align: right;
  overflow-wrap: anywhere;
}
.contact__card {
  background: #fff;
  color: var(--navy);
  padding: clamp(24px, 3.5vw, 48px);
  border-top: 4px solid var(--green);
}
.form { display: flex; flex-direction: column; gap: 20px; position: relative; }
.form.is-locked {
  opacity: 0.4;
  filter: grayscale(1);
  user-select: none;
}
.form-lock {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.form-lock[hidden] { display: none; }
.form-lock button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #0539f3;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.form-lock button:hover { color: var(--navy); }
.form__title { font-weight: 700; font-stretch: 112%; font-size: 24px; }
.form__sub { font-size: 15px; color: var(--muted); }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(4, 22, 77, 0.25);
  border-radius: 3px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 400;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(86, 183, 13, 0.35);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #9f1239; }
.field__error { color: #9f1239; font-size: 13px; }
.req { color: var(--green-text); }
.form-error {
  margin: 0;
  background: #fdecec;
  color: #7f1d1d;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}
.form__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}
.form__note a { color: #0539f3; text-decoration: underline; text-underline-offset: 2px; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.success {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.success__mark {
  width: 48px;
  height: 48px;
  background: var(--green);
  display: grid;
  place-items: center;
}
.success h3 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 32px;
}
.success p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }

.footer {
  background: var(--navy-deep);
  color: var(--muted-light);
  font-size: 14px;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px clamp(18px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  background: #f6f6f6;
  border-radius: 12px;
  padding: 6px 10px;
  line-height: 0;
}
.footer a.footer__brand,
.footer a.footer__brand:hover { color: inherit; }
.footer__brand img { height: 72px; width: auto; }
.footer__links { display: flex; gap: 24px; }
.footer a { color: var(--muted-light); }
.footer a:hover { color: #fff; }

.cookie {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  width: min(440px, calc(100vw - 40px));
  max-height: min(520px, calc(100vh - 160px));
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  border-radius: 3px;
  border-top: 3px solid var(--green);
  box-shadow: 0 10px 28px rgba(4, 22, 77, 0.3);
}
.cookie[hidden] { display: none; }
.cookie__panel {
  overflow: auto;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie__panel[hidden] { display: none; }
.cookie h2 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cookie h2:focus { outline: none; }
.cookie p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted-light);
}
.cookie a,
.cookie__textbtn {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie a:hover,
.cookie__textbtn:hover { color: var(--green-soft); }
.cookie__textbtn {
  align-self: center;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.cookie__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cookie .btn {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
}
.cookie .btn--reject {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.cookie .btn--reject:hover { background: var(--muted-light); color: var(--navy); }
.cookie__cats { display: flex; flex-direction: column; gap: 12px; }
.cookie__cat {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.cookie__cat input {
  position: absolute;
  width: 44px;
  height: 26px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cookie__cat input:disabled { cursor: default; }
.cookie__switch {
  width: 44px;
  height: 26px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  position: relative;
}
.cookie__switch::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 4px;
  left: 4px;
}
.cookie__cat input:checked + .cookie__switch { background: var(--green); }
.cookie__cat input:checked + .cookie__switch::after { left: 22px; }
.cookie__cat input:disabled + .cookie__switch { opacity: 0.9; }
.cookie__cat input:focus-visible + .cookie__switch {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.cookie__cat-copy { display: flex; flex-direction: column; gap: 4px; }
.cookie__cat-copy strong { font-size: 15px; font-weight: 700; }
.cookie__cat-copy span { font-size: 13px; line-height: 1.45; color: var(--muted-light); }
body.has-cookie .float-wa { bottom: calc(var(--cookie-h, 0px) + 32px); }
body.has-cookie .compare__handle { top: calc(50% - var(--cookie-h, 0px)); }

.cookie-list { display: flex; flex-direction: column; gap: 14px; }
.cookie-list article {
  border: 1px solid var(--line);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-list h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.cookie-list dl {
  margin: 0;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 6px 16px;
}
.cookie-list dt { color: var(--muted); font-size: 14px; }
.cookie-list dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }

.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  background: var(--green);
  color: var(--navy);
  padding: 14px 18px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 28px rgba(4, 22, 77, 0.3);
}
.float-wa:hover { background: var(--green-hover); color: var(--navy); }
.float-wa[hidden] { display: none; }

.legal__hint {
  margin: -28px 0 40px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.legal__rows { border-top: 2px solid var(--navy); }
.legal__rows > section {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 12px 48px;
  align-items: start;
  padding: 28px 12px;
  border-bottom: 1px solid var(--line);
}
.legal__rows h2 {
  margin: 0;
  min-width: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.legal__rows p,
.legal__rows address { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink); }
.legal__rows address { font-style: normal; }
.legal__rows > section > div { display: flex; flex-direction: column; gap: 12px; }
.legal__rows a { color: #0539f3; text-decoration: underline; text-underline-offset: 3px; }

.error {
  background: var(--navy);
  color: #fff;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
}
.error__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 140px) clamp(18px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.error__code {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--green);
}
.error h1 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.error p { margin: 0; color: var(--muted-light); font-size: 18px; line-height: 1.6; max-width: 42ch; }
.error__detail {
  font-size: 14px;
  font-family: ui-monospace, monospace;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .nav { gap: 20px; }
}

@media (max-width: 960px) {
  .header__bar { min-height: 0; justify-content: flex-start; flex-wrap: wrap; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
  .logo { margin-right: auto; }
  .logo img { height: 80px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    order: 4;
    flex: 1 0 100%;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 12px;
  }
  .nav-check:checked ~ .nav { display: flex; }
  .nav a { padding: 14px 0; border-top: 1px solid rgba(4, 22, 77, 0.1); }
  .btn--header { padding: 12px 14px; }
  .footer { padding-bottom: 72px; }
}

@media (min-width: 720px) {
  .points { grid-template-columns: 1fr 1fr; }
  .points article:nth-child(even) { padding-left: 28px; }
}

@media (max-width: 700px) {
  .cookie__actions { grid-template-columns: 1fr; }
  .cookie-list dl { grid-template-columns: 1fr; gap: 2px 0; }
  .cookie-list dt:not(:first-of-type) { margin-top: 8px; }
  .legal__rows > section { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .hero__copy { min-height: 0; }
  .compare { min-height: 420px; }
  .compare .photo__label { display: none; }
  .contact__list a,
  .contact__row { flex-direction: column; align-items: flex-start; }
  .contact__value { text-align: left; }
}

@media (max-width: 520px) {
  .header__bar { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .logo img { height: 72px; }
  .btn--header { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .service { transition: none; }
}

@media print {
  .topbar,
  .header,
  .cookie,
  .float-wa,
  .nav-toggle,
  .compare__hint { display: none !important; }
  .hero,
  .contact,
  .footer,
  .error { background: #fff !important; color: #000 !important; }
  .hero__copy,
  .lede--light,
  .contact__list a,
  .contact__row { color: #000 !important; }
}
