/* EU-UA site styles. Plain CSS, no build step. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/local/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/local/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/local/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/local/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/local/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/local/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/local/newsreader-latin-600-normal.woff2") format("woff2"); }
/* Cyrillic: Newsreader has no Cyrillic glyphs, so Ukrainian headings use Literata under the same family name. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/local/literata-cyrillic-500-normal.woff2") format("woff2"); size-adjust: 90%; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/local/inter-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/local/inter-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/local/inter-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/local/inter-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --tint: #F2F1EC;
  --ink: #14213D;
  --ink-deep: #0F1930;
  --text: #2A3550;
  --muted: #5B6475;
  --line: #E2E0D8;
  --line-strong: #CBD2E0;
  --accent: #1F4FD1;
  --accent-hover: #1941AE;
  --accent-soft: #E8EEFF;
  --gold: #E3B341;
  --gold-soft: #FFF4D6;
  --gold-ink: #7A5A08;
  --ok: #166534;
  --ok-soft: #ECFDF3;
  --err: #9A3412;
  --err-soft: #FFF4ED;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 14px 36px -16px rgba(20, 33, 61, .22);
  --section: clamp(56px, 7vw, 96px);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid rgba(31, 79, 209, .45); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--ink); margin: 0; }

h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.375rem, 1.55rem + 3.4vw, 4.125rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

address { font-style: normal; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); font-size: .9375rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 10px;
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold-soft); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--accent); }
.link-arrow::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .15s ease; }
.link-arrow:hover::after, a:hover > .link-arrow::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.375rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; }
.site-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  position: relative; display: inline-block; padding: 6px 0; white-space: nowrap;
  color: var(--muted); font-size: .9375rem; font-weight: 500; text-decoration: none;
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list a[aria-current="page"] { color: var(--ink); }
.site-nav__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); border-radius: 2px;
}
.site-nav__end { display: flex; align-items: center; gap: 16px; }
.site-nav__end .btn { white-space: nowrap; }

.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.lang a { padding: 6px 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-decoration: none; }
.lang a + a { border-left: 1px solid var(--line-strong); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang a:hover:not([aria-current="true"]) { color: var(--ink); background: var(--surface); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: 600 .9375rem var(--font-sans); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Breadcrumbs */
.crumbs { margin: calc(-1 * clamp(16px, 3vw, 40px)) 0 clamp(24px, 3vw, 40px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px);
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(31, 79, 209, .07), transparent 70%),
    radial-gradient(700px 360px at 100% 60%, rgba(227, 179, 65, .10), transparent 70%);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 19ch; font-size: clamp(2.375rem, 1.45rem + 2.9vw, 3.75rem); }
.hero .lead { margin-top: 24px; }
.hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; font-size: .9375rem; color: var(--muted); }
.hero__note a { font-weight: 600; text-decoration: none; }
.hero__sep { width: 1px; height: 16px; background: var(--line-strong); }
.tick {
  width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23166534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.bridge {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow);
}
.bridge__ends { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 12px; }
.bridge__end { display: grid; justify-items: center; text-align: center; gap: 2px; }
.bridge__code {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 8px;
  background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; font-size: .9375rem; letter-spacing: .04em;
}
.bridge__code--de { background: var(--accent-soft); color: var(--accent); }
.bridge__country { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); line-height: 1.2; }
.bridge__role { font-size: .8125rem; color: var(--muted); }
.bridge__arc { width: 100%; height: 56px; align-self: start; margin-top: 2px; overflow: visible; }
.bridge__arc path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.bridge__arc circle { fill: var(--gold); }

.bridge__steps { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.bridge__steps li { position: relative; padding-left: 34px; font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.bridge__steps li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface);
}
.bridge__steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 9px; top: calc(50% + 12px); height: 14px; width: 2px; background: var(--line);
}
.bridge__steps li.is-done { color: var(--ink); }
.bridge__steps li.is-done::before {
  border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.bridge__steps li.is-active { color: var(--ink); font-weight: 600; }
.bridge__steps li.is-active::before { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

.bridge__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.bridge__chips span { padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: .8125rem; font-weight: 500; color: var(--text); }

/* Page head */
.page-head {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 72px);
  background: radial-gradient(800px 300px at 90% 0%, rgba(31, 79, 209, .06), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { max-width: 22ch; font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem); }
.page-head .lead { margin-top: 20px; }
.page-head--compact h1 { max-width: none; }

/* Sections */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--form { padding-top: clamp(40px, 5vw, 64px); }
.section--legal { padding-top: clamp(40px, 5vw, 64px); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.section__link { margin-top: 40px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split h2 + p, .split h2 + .lead { margin-top: 16px; }
.split > div > h2:not(:first-child) { margin-top: 40px; }
.split > div > .eyebrow + h2 { margin-top: 0; }
.split > .checklist, .split > .link-list { margin: 0; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  color: var(--text); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--text); }
.card__icon { width: 44px; height: 44px; margin-bottom: 8px; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); }
.card__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent); }
.card__more::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .15s ease; }
a.card:hover .card__more::after { transform: translateX(3px); }

/* Steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps__item { counter-increment: step; position: relative; padding-top: 60px; }
.steps__item::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--accent); color: var(--accent);
  font: 500 1.125rem/1 var(--font-serif);
}
.steps__item:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 54px; right: -12px; height: 1.5px; background: var(--line-strong);
}
.steps__item h3 { margin-bottom: 8px; }
.steps__item p { font-size: .9375rem; color: var(--muted); }

/* Checklists */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .05em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231F4FD1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checklist--plain li::before { width: 8px; height: 8px; left: 8px; top: .62em; background: var(--gold); }
.checklist--no li::before {
  background: #EEEDE8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%235B6475' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.split .checklist--no { margin-top: 20px; }

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

/* Features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.features--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding-top: 22px; border-top: 2px solid var(--ink); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .9875rem; }

/* Duo */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo__item {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.5vw, 40px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.duo__item .eyebrow { margin-bottom: 0; }
.duo__item p:not(.eyebrow) { color: var(--muted); }
.duo__item .link-arrow { margin-top: auto; }
.duo__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='%2314213D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 52px 24px 0; color: var(--muted); }

/* CTA */
.cta { background: var(--ink); color: #D5DBE8; padding: clamp(56px, 7vw, 88px) 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; max-width: 56ch; }

/* Forms */
.contact { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__aside { position: sticky; top: 100px; padding: 28px; background: var(--tint); border-radius: var(--radius-lg); }
.contact__aside h2 { font-size: 1.25rem; margin-bottom: 10px; }
.contact__aside h2:not(:first-child) { margin-top: 28px; }
.contact__aside p { font-size: .9875rem; }
.contact__aside .muted { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.mini-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: .9375rem; color: var(--text); }

.form { padding: clamp(24px, 3.5vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(20, 33, 61, .04); }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.field { display: grid; gap: 8px; }
.form > .field { margin-top: 20px; }
.field label { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.req { color: var(--err); font-weight: 600; }
.opt { margin-left: 6px; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 1rem/1.5 var(--font-sans);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #8A93A5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 79, 209, .14); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 4px rgba(154, 52, 18, .1); }

.form__choices { border: 0; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form__choices legend { padding: 0; margin-bottom: 12px; font-weight: 600; color: var(--ink); font-size: .9375rem; }
.choice {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-size: .9375rem; line-height: 1.35;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: var(--ink); }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: .9375rem; color: var(--text); cursor: pointer; }
.consent input { accent-color: var(--accent); width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; }
.consent[data-invalid="true"] span { color: var(--err); }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__hint { margin: 0; font-size: .875rem; color: var(--muted); }
.form__status { margin: 20px 0 0; font-size: .9875rem; }
.form__status:empty { display: none; }
.form__status[data-state] { padding: 14px 16px; border-radius: 10px; }
.form__status[data-state="success"] { background: var(--ok-soft); color: var(--ok); }
.form__status[data-state="error"] { background: var(--err-soft); color: var(--err); }

/* Legal */
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal address { color: var(--text); }

/* Footer */
.site-footer { background: var(--ink-deep); color: #B9C2D6; padding: clamp(56px, 7vw, 80px) 0 32px; font-size: .9375rem; }
.site-footer a { color: #E4E8F1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.site-footer__brand p:not(.site-footer__name) { max-width: 34ch; }
.site-footer__col h2 { font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8C97B0; margin-bottom: 16px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }
.site-footer__base p { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps__item:nth-child(3)::after { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The full German menu needs about 1180 px; below that it collapses into the toggle. */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-header__inner { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-block: 12px; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 20px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); color: var(--ink); }
  .site-nav__list a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; }
  .site-nav__end { justify-content: space-between; padding-top: 18px; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero__visual { max-width: 520px; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .features--three { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__aside { position: static; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps__item { padding: 0 0 28px 62px; min-height: 42px; }
  .steps__item:last-child { padding-bottom: 0; }
  .steps__item::after, .steps__item:nth-child(3)::after { display: block; }
  .steps__item:not(:last-child)::after { top: 48px; bottom: 6px; left: 20px; right: auto; width: 1.5px; height: auto; }
  .steps__item h3 { padding-top: 8px; }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .form__grid, .form__choices { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .actions .btn { width: 100%; }
  .faq__answer { padding-right: 0; }
}

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

@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none; }
  body { background: #fff; }
}
