/* ==========================================================================
   ARSEC Sicherheitsgruppe: site styles
   Plain CSS, no build step. Order: tokens, base, layout, type, buttons, header,
   hero, content blocks, forms, footer, cookie notice.
   ========================================================================== */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #11151a;
  --text: #262c33;
  --muted: #59636e;
  --line: #d8dde2;
  --soft: #eceff1;
  --panel: #f5f6f7;
  --paper: #ffffff;

  --steel: #161b21;
  --steel-2: #212830;
  --on-dark: #c5ccd3;

  --red: #c8161d;
  --red-dark: #a01016;
  --red-tint: #fbeceb;
  --ok: #1f8a4c;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  --header-h: 68px;
}

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

html {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  font-size: 1.0625rem;
}

main { flex: 1; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.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;
}
.hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 1000;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.wrap--narrow { max-width: 780px; }

.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(32px, 4vw, 48px); }
.section--alt { background: var(--panel); border-block: 1px solid var(--line); }
.section--dark { background: var(--steel); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .cols-2, .cols-3 { grid-template-columns: repeat(2, 1fr); } .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); } }

.stack > * + * { margin-top: var(--gap, 16px); }

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.25rem + 3.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.22; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { text-wrap: pretty; }

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--red);
  margin-bottom: 12px;
}
@media (max-width: 480px) { .eyebrow { font-size: 0.72rem; letter-spacing: 0.05em; } }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 46rem; }
.section--dark .lead, .section--dark p { color: var(--on-dark); }
.muted { color: var(--muted); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 46rem; }
.section-head h2 { margin-bottom: 12px; }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.tag--red { color: var(--red); }

.link { color: var(--red); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: #9aa3ac; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--panel); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ==========================================================================
   Top bar, header, navigation
   ========================================================================== */

.topbar { background: var(--steel); color: var(--on-dark); font-size: 0.8125rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__hotline { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; white-space: nowrap; }
.topbar__hotline:hover { color: #ffb4b7; }
.topbar__hotline svg { width: 13px; height: 13px; }
.topbar__right { display: flex; align-items: center; gap: 20px; flex: none; }
.topbar__link { color: var(--on-dark); }
.topbar__link:hover { color: #fff; }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ecf7d; flex: none; }

.lang-dropdown { position: relative; }
.lang-dropdown summary {
  display: flex; align-items: center; gap: 6px;
  list-style: none; cursor: pointer; color: #fff; font-weight: 600; padding: 4px 0;
}
.lang-dropdown summary::-webkit-details-marker { display: none; }
.lang-dropdown ul {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 120;
  min-width: 180px; max-height: 70vh; overflow-y: auto; padding: 6px 0;
  background: var(--steel-2); border: 1px solid #36404a; border-radius: var(--radius);
}
.lang-dropdown li a { display: flex; justify-content: space-between; gap: 16px; padding: 8px 14px; color: #e4e8ec; font-size: 0.9375rem; }
.lang-dropdown li a:hover, .lang-dropdown li a[aria-current="true"] { background: var(--red); color: #fff; }
.lang-dropdown li a small { opacity: 0.7; }

.header { position: sticky; top: 0; z-index: 90; background: var(--paper); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.header__brand { flex: none; display: flex; align-items: center; }
.header__logo { height: 38px; width: auto; max-width: 170px; object-fit: contain; }
.header__nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 12px; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; font-size: 1rem; font-weight: 600; color: var(--ink);
  border-bottom: 2px solid transparent; transition: color 0.15s;
}
.nav-link svg { width: 11px; height: 11px; }
.nav-link:hover { color: var(--red); }
.nav-link.is-active, .nav-link[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }

.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 100; min-width: 280px; padding: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(17, 21, 26, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nav-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown__menu a { display: block; padding: 9px 12px; border-radius: var(--radius); }
.nav-dropdown__menu a strong { display: block; font-size: 0.97rem; font-weight: 600; color: var(--ink); }
.nav-dropdown__menu a span { display: block; font-size: 0.84rem; color: var(--muted); }
.nav-dropdown__menu a:hover { background: var(--panel); }
.nav-dropdown__menu a:hover strong { color: var(--red); }
.nav-dropdown__menu .is-sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }

.burger-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: var(--radius);
}
.burger-btn span { display: block; width: 100%; height: 2px; background: var(--ink); }

@media (min-width: 1024px) {
  .header__nav { display: flex; align-items: center; gap: 2px; }
  .burger-btn { display: none; }
}
@media (max-width: 1023px) { .topbar__right .topbar__link { display: none; } }
@media (max-width: 639px) {
  .topbar__label { display: none; }
  .header__actions .btn { display: none; }
}

.mobile-nav { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(17, 21, 26, 0.55); }
.mobile-nav.is-open { display: block; }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88%, 380px);
  display: flex; flex-direction: column; padding: 16px 24px 24px;
  background: var(--paper); overflow-y: auto;
}
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mobile-nav__head img { height: 32px; width: auto; }
.mobile-nav__close { width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; color: var(--ink); }
.mobile-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.mobile-nav__list a:hover { color: var(--red); }
.mobile-nav__foot { margin-top: auto; padding-top: 24px; }

/* ==========================================================================
   Hero (home) and page heads
   ========================================================================== */

.hero { padding-top: clamp(20px, 3vw, 40px); }
.hero__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; }
.hero__text h1 { margin-bottom: 20px; max-width: 19ch; font-size: clamp(2rem, 1.1rem + 3vw, 3.25rem); }
.hero__text .lead { margin-bottom: 28px; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .hero__media { aspect-ratio: 5 / 4; order: 2; }
  .hero__text { order: 1; padding-block: 24px; }
}

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.fact { padding: 20px 16px 20px 0; }
.fact + .fact { padding-left: 16px; border-left: 1px solid var(--line); }
.fact:nth-child(3) { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact b { display: block; margin-top: 8px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.fact span { display: block; font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 800px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact:nth-child(3) { border-left: 1px solid var(--line); padding-left: 16px; }
}
@media (max-width: 799px) {
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.page-head { background: var(--panel); border-bottom: 1px solid var(--line); padding-block: clamp(24px, 3.5vw, 40px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3rem); margin-bottom: 14px; max-width: 22ch; }
.page-head--wide h1 { max-width: 28ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 0.875rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Content blocks
   ========================================================================== */

/* Numbered rows (services) */
.rows { counter-reset: row; display: grid; gap: 0 clamp(24px, 4vw, 56px); }
@media (min-width: 860px) { .rows { grid-template-columns: repeat(2, 1fr); } }
.row-link {
  counter-increment: row;
  display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 4px 12px; align-items: start;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.row-link::before { content: counter(row, decimal-leading-zero); font-size: 0.9rem; font-weight: 600; color: var(--red); padding-top: 4px; font-variant-numeric: tabular-nums; }
.row-link h3 { grid-column: 2; }
.row-link p { grid-column: 2; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.row-link svg { grid-column: 3; grid-row: 1; width: 20px; height: 20px; margin-top: 4px; color: var(--muted); transition: transform 0.15s, color 0.15s; }
.row-link:hover h3 { color: var(--red); }
.row-link:hover svg { color: var(--red); transform: translateX(4px); }

/* Photo panels (rent / buy) */
.panel { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.panel__media { position: relative; background: var(--panel); border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; overflow: hidden; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.panel__media--photo img { object-fit: cover; padding: 0; }
.panel__body { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: clamp(20px, 3vw, 28px); }
.panel__body .btn { margin-top: auto; }
.panel h3 { font-size: 1.5rem; }

.list-check { display: grid; gap: 10px; }
.list-check li { position: relative; padding-left: 28px; font-size: 1rem; line-height: 1.45; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 16px; height: 16px;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.list-check strong { color: var(--ink); font-weight: 600; }

/* Split: text next to media */
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, 1fr); } .split--flip > :first-child { order: 2; } }
.media { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 9; }

/* Cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: clamp(20px, 3vw, 28px); }
.card--panel { background: var(--panel); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 1rem; }
.card .tag { margin-bottom: 10px; }
a.card:hover, .card.hover-border:hover { border-color: var(--ink); }
.hover-border:hover { border-color: var(--ink) !important; }

/* Contact details */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item svg { width: 24px; height: 24px; color: var(--red); margin-top: 3px; }
.contact-item .tag { display: block; margin-bottom: 4px; }
.contact-item a.big { display: block; font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.contact-item a.big:hover { color: var(--red); }

/* Fact table (company data) */
.data { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.data div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.data dt { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.data dd { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
@media (min-width: 720px) { .data { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }

/* Callout box */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); background: var(--panel); padding: clamp(20px, 3vw, 28px); margin-block: 28px; }
.callout h3 { margin: 0 0 12px; }
.callout p { margin-bottom: 12px; }
.callout .big { font-size: 1.25rem; font-weight: 700; color: var(--red); margin: 14px 0 0; }
.rates { display: grid; gap: 10px; margin-bottom: 14px; }
.rates li { display: flex; align-items: baseline; gap: 14px; }
.rates b { min-width: 3.5rem; font-size: 1.5rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Client logos */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(28px, 5vw, 56px); }
.logos li { display: grid; place-items: center; height: 56px; }
.logos img { max-height: 52px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.2s, opacity 0.2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--panel); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Call to action band */
.band { background: var(--steel); color: var(--on-dark); }
.band__grid { display: grid; gap: 24px; align-items: center; padding-block: clamp(36px, 5vw, 56px); }
.band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); margin-bottom: 10px; }
.band p { color: var(--on-dark); max-width: 40rem; }
.band .btn-row { align-items: stretch; }
@media (min-width: 860px) { .band__grid { grid-template-columns: 1fr auto; gap: 56px; } }

/* Legal and long text */
.prose { max-width: 46rem; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: 0.5em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: clamp(20px, 4vw, 36px); }
.form-box h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.form-input, .form-select, .form-textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--paper); border: 1px solid #aab2ba; border-radius: var(--radius);
  font-size: 1rem; color: var(--ink);
}
.form-textarea { min-height: 132px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form-input::placeholder, .form-textarea::placeholder { color: #7b858f; }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-error { margin-top: 6px; font-size: 0.9rem; font-weight: 600; color: var(--red); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; color: var(--muted); cursor: pointer; }
.form-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
.form-consent a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.form-alert { border: 1px solid var(--red); background: var(--red-tint); color: var(--red-dark); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; }

.choices { display: grid; gap: 12px; margin-bottom: 20px; }
@media (min-width: 560px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice { display: block; position: relative; padding: 14px 16px 14px 44px; border: 1px solid #aab2ba; border-radius: var(--radius); cursor: pointer; }
.choice input { position: absolute; left: 14px; top: 17px; width: 20px; height: 20px; accent-color: var(--red); }
.choice strong { display: block; font-weight: 600; color: var(--ink); }
.choice small { display: block; color: var(--muted); font-size: 0.875rem; line-height: 1.35; }
.choice:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.wizard fieldset { border: 0; }
.wizard legend { margin-bottom: 14px; }
.wizard__step h2 { font-size: 1.5rem; margin-bottom: 16px; }
.wizard__progress { display: flex; gap: 8px clamp(10px, 3vw, 20px); flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.wizard__progress li { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.95rem; color: var(--muted); white-space: nowrap; }
.wizard__progress li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); font-size: 0.875rem; color: var(--ink); }
.wizard__progress li.is-current { color: var(--ink); }
.wizard__progress li.is-current > span { background: var(--red); color: #fff; }
.wizard__progress li.is-done > span { background: var(--ink); color: #fff; }
.wizard__step .btn-row { margin-top: 24px; }

.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--panel); }
.aside-box--dark { background: var(--steel); border-color: var(--steel); color: var(--on-dark); }
.aside-box--dark h3 { color: #fff; }
.aside-box .phone { display: block; margin-top: 12px; font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.aside-box--dark .phone { color: #fff; }
.layout-aside { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) {
  .layout-aside { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .layout-aside > aside, .layout-aside > .stack:last-child { position: sticky; top: calc(var(--header-h) + 24px); }
}

.notice { max-width: 40rem; margin-inline: auto; text-align: center; }
.notice .mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #e3f4ea; color: var(--ok); }
.notice .mark svg { width: 30px; height: 30px; }
.notice h1 { margin-bottom: 16px; }
.notice .btn-row { justify-content: center; margin-top: 28px; }
.notice-wrap { display: grid; align-items: center; min-height: 56vh; padding-block: clamp(48px, 8vw, 96px); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--steel); color: var(--on-dark); font-size: 0.9375rem; padding: clamp(44px, 6vw, 72px) 0 24px; }
.footer__grid { display: grid; gap: 36px; margin-bottom: 40px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: #fff; }
.footer__logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer li strong { color: #fff; }
.footer address strong { color: #fff; }
.footer__small { margin-top: 20px; padding-top: 16px; border-top: 1px solid #2c343d; font-size: 0.85rem; line-height: 1.6; }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid #2c343d; font-size: 0.85rem; }
@media (min-width: 760px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ==========================================================================
   Cookie notice
   ========================================================================== */

.cookie {
  position: fixed; z-index: 998; left: 0; right: 0; bottom: 0;
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17, 21, 26, 0.1);
  padding: 16px clamp(16px, 4vw, 32px);
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.05rem; margin-bottom: 4px; }
.cookie p { font-size: 0.9375rem; color: var(--muted); margin-bottom: 12px; }
.cookie p a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 900px) {
  .cookie { left: 24px; right: auto; bottom: 24px; max-width: 440px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgba(17, 21, 26, 0.16); padding: 20px; }
}
