@import url("fonts.css");

:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --border: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --header-h: 72px;
  --focus: 3px solid #0ea5e9;
  --danger: #b45309;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    var(--focus);
}

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

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: "Outfit", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.25rem;
  border-radius: 6px;
}

.nav-desktop a[aria-current="page"] {
  color: var(--accent);
}

.nav-desktop a:hover {
  color: var(--text);
}

.nav-desktop a:focus-visible,
.logo:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

@media (max-width: 1136px) {
  .header-cta {
    display: none !important;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.lang-switch__sep {
  color: var(--border);
  font-weight: 600;
  user-select: none;
}

.lang-switch__opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.25rem 0.45rem;
  border-radius: 8px;
  border: 1px solid transparent;
  line-height: 1.2;
}

.lang-switch__opt--active {
  border-color: var(--border);
  background: #fff;
  color: var(--accent);
}

.lang-switch a.lang-switch__opt {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}

.lang-switch a.lang-switch__opt:hover {
  color: var(--accent);
  border-color: rgba(15, 118, 110, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  color: #fff;
}

a.btn--primary,
a.btn--primary:visited {
  color: #fff;
}

a.btn--primary:hover,
a.btn--primary:focus-visible {
  background: var(--accent-hover);
  color: #fff;
}

.btn--secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

a.btn--secondary:hover,
a.btn--secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

a.btn--ghost:hover,
a.btn--ghost:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.menu-toggle__bar::before {
  top: -6px;
}

.menu-toggle__bar::after {
  top: 6px;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 1100;
}

.mobile-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1200;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__title {
  margin: 0;
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
}

.mobile-drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-drawer__close:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-radius: 8px;
}

.mobile-nav a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.mobile-drawer__cta {
  padding: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

main {
  padding-top: var(--header-h);
}

.hero {
  padding: 2.75rem 0 3.25rem;
}

.hero__grid {
  display: grid;
  gap: 2rem;
}

.hero__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #e8f0ff;
  min-height: 220px;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.85rem, 6vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 3rem 0;
}

.section--alt {
  background: #eef2ff;
}

.section__head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section__title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section__intro {
  margin: 0;
  color: var(--text-muted);
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 118, 110, 0.28);
  }
}

.card__media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  background: #f1f5f9;
  aspect-ratio: 16 / 9;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__title {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.card__text {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}

.step__num {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--accent);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.step__title {
  margin: 0;
  font-size: 1rem;
}

.step__text {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-list li {
  padding: 0.4rem 0.75rem;
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: #fff;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  gap: 2rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  font-weight: 600;
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
}

.form input,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}

.form input:focus-visible,
.form textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus);
}

.form .checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
}

.form .checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.contact-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
}

.contact-box h3 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #0f172a;
  color: #e2e8f0;
  padding: 2.5rem 0 6.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #7dd3fc;
}

.site-footer a:hover {
  color: #bae6fd;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-col h2 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: #fff;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.35rem;
}

.footer-col a {
  text-decoration: none;
}

.footer-meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-b2b {
  margin-top: 0.75rem;
  color: #fbbf24;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1400;
  background: #0b1220;
  color: #e2e8f0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem 0 1.25rem;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-banner .btn--primary {
  background: #22d3ee;
  color: #0f172a;
}

.cookie-banner .btn--primary:hover {
  background: #67e8f9;
}

.cookie-banner .btn--secondary {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.55);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(480px, 100%);
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.modal p {
  color: var(--text-muted);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.cta-inline {
  margin-top: 1rem;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-family: "Outfit", sans-serif;
  margin-top: 2rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ol {
  padding-left: 1.25rem;
}

.article-long {
  font-size: 0.98rem;
}

.article-long p {
  margin-bottom: 1rem;
}

.legal-list {
  counter-reset: legal;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-list > li {
  counter-increment: legal;
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 1rem;
}

.legal-list > li::before {
  content: counter(legal) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent);
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

@media (min-width: 960px) {
  .nav-desktop {
    display: block;
  }

  .lang-switch {
    display: inline-flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.menu-open {
  overflow: hidden;
}

/* legacy / typo classes kept for backwards compat (@tom 2026-05-30 hotfix) */
.hero-baner {
  /* intentional alias */
}

.section-dark__title,
.secton-dark__title {
  font-size: 1rem;
}

.card-fix-2026 {
  outline: none;
}

.mw-brandLink:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
