:root {
  --ink: #102235;
  --ink-soft: #32465a;
  --paper: #f4f1ea;
  --surface: #ffffff;
  --sand: #d6c5a3;
  --steel: #5b7186;
  --blue: #006b8f;
  --green: #1d6f59;
  --line: rgba(16, 34, 53, 0.16);
  --shadow: 0 24px 70px rgba(16, 34, 53, 0.18);
  --radius: 28px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Arial Narrow", "Aptos Narrow", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 107, 143, 0.12), transparent 34rem),
    linear-gradient(180deg, #f8f6f0 0%, #ede8dd 100%);
  font-size: 18px;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--content));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(16, 34, 53, 0.58);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  transition: background 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(16, 34, 53, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  letter-spacing: 0.11em;
}

.brand-logo {
  display: block;
  width: 86px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

.brand strong {
  display: block;
  color: inherit;
  font-family: "Niagara Engraved", "Miagara Engraved", "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.08em;
}

.legal-brand .brand-logo {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switch button.is-active {
  background: #fff;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("assets/hero-stehli.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 18, 30, 0.92), rgba(8, 18, 30, 0.42) 52%, rgba(8, 18, 30, 0.10)),
    linear-gradient(0deg, rgba(8, 18, 30, 0.88), transparent 58%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18vw;
  bottom: -18vw;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  border: 1px solid rgba(214, 197, 163, 0.28);
}

.hero-content {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 180px 0 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d9c795;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 870px;
  margin-bottom: 22px;
  font-size: clamp(3.7rem, 9vw, 7.8rem);
  line-height: 0.87;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 5.3vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 800;
}

.btn.primary {
  border-color: transparent;
  background: #fff;
  color: var(--ink);
}

.btn.secondary {
  color: #fff;
}

.section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 100px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.85fr);
  gap: 72px;
  align-items: start;
}

.intro-copy {
  padding-top: 12px;
  color: var(--ink-soft);
  font-size: 1.25rem;
}

.metrics {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.metrics article {
  min-height: 250px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.72);
}

.metrics span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--blue);
  font-weight: 800;
}

.metrics p,
.service-grid p,
.image-card p,
.feature-text p,
.contact p {
  color: var(--ink-soft);
}

.project-feature {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 54px;
  align-items: center;
}

.feature-card,
.image-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.feature-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 40px;
}

.section-heading.narrow {
  max-width: 760px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.image-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.image-card div {
  padding: 28px;
}

.services {
  padding-top: 70px;
}

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

.service-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.55fr);
  gap: 50px;
  align-items: center;
  padding-bottom: 80px;
}

.company-card,
.contact-form {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-card {
  display: grid;
  gap: 9px;
  margin-top: 26px;
  padding: 26px;
  background: var(--ink);
  color: #fff;
  font-style: normal;
}

.company-logo {
  width: min(100%, 260px);
  height: auto;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.84);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 34, 53, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form small {
  color: var(--ink-soft);
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-trap {
  position: absolute;
  left: -9999px;
}

.privacy-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 400;
  color: var(--ink-soft);
}

.privacy-check input {
  width: auto;
  margin-top: 5px;
}

.form-submit {
  width: fit-content;
  background: var(--ink);
  color: #fff;
}

.map-link {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(16, 34, 53, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0, 107, 143, 0.13), rgba(29, 111, 89, 0.10)),
    rgba(255, 255, 255, 0.62);
  color: var(--ink);
  text-decoration: none;
}

.map-link span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.map-link strong {
  color: var(--blue);
}

.site-footer {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  width: min(calc(100% - 36px), 720px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 26px;
  background: rgba(16, 34, 53, 0.94);
  color: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-link {
  align-self: center;
  color: #d8c693;
  font-weight: 800;
}

.cookie-secondary {
  min-height: 44px;
  background: transparent;
}

.cookie-primary {
  min-height: 44px;
}

.cookie-dialog {
  width: min(calc(100% - 36px), 680px);
  border: 0;
  border-radius: 28px;
  padding: 0;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.cookie-dialog::backdrop {
  background: rgba(7, 18, 30, 0.54);
  backdrop-filter: blur(5px);
}

.cookie-dialog form {
  padding: 34px;
}

.cookie-dialog h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.cookie-dialog-head,
.cookie-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 34, 53, 0.08);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
}

.cookie-options {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 34, 53, 0.04);
}

.cookie-options div {
  display: grid;
  gap: 5px;
}

.cookie-options span {
  color: var(--ink-soft);
}

.cookie-options.is-disabled {
  opacity: 0.72;
}

.cookie-status {
  white-space: nowrap;
  font-weight: 800;
}

.legal-updated {
  color: var(--ink-soft);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.contact-result .btn {
  margin-top: 18px;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(0, 107, 143, 0.14), transparent 30rem),
    linear-gradient(180deg, #f8f6f0 0%, #ede8dd 100%);
}

.legal-header {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.legal-brand {
  color: var(--ink);
}

.legal-shell {
  width: min(calc(100% - 40px), 920px);
  margin: 30px auto 90px;
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.legal-shell h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 5.4rem);
  color: var(--ink);
}

.legal-embed {
  margin-top: 34px;
}

.legal-placeholder {
  display: grid;
  gap: 8px;
  min-height: 260px;
  align-content: center;
  padding: 28px;
  border: 1px dashed rgba(16, 34, 53, 0.36);
  border-radius: 22px;
  background: rgba(16, 34, 53, 0.04);
  color: var(--ink-soft);
}

.legal-placeholder strong {
  color: var(--ink);
  font-size: 1.25rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    border-radius: 24px;
    flex-wrap: wrap;
  }

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

  .site-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav a {
    padding: 12px 14px;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero-content {
    padding-top: 150px;
  }

  .intro-grid,
  .project-feature,
  .contact {
    grid-template-columns: 1fr;
  }

  .metrics,
  .cards,
  .form-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .metrics article {
    min-height: unset;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .legal-shell {
    padding: 28px;
  }
}
