/* ============================================================
   Expats Georgia — design system
   Warm editorial palette: paper, ink, Saperavi wine, amber sun.
   ============================================================ */

:root {
  /* Dusk theme: warm near-black paper, cream ink, berry & amber accents. */
  --paper: #16110e;
  --paper-2: #1d1613;
  --card: #221a15;
  --ink: #f1e8d9;
  --ink-soft: #c9baa4;
  --ink-faint: #93856f;
  --wine: #cf5a72;
  --wine-deep: #4a1220;
  --wine-ink: #2c0a14;
  --amber: #d99a3d;
  --amber-text: #dfa452;
  --amber-soft: #e9c98f;
  --sage: #7d9c86;
  --line: rgba(241, 232, 217, 0.12);
  --line-strong: rgba(241, 232, 217, 0.26);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 40px -12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.6);

  --font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-geo: "Noto Sans Georgian", "Sylfaen", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Long compound words (esp. German) must never widen the mobile viewport */
h1, h2, h3, p, li, td, th { overflow-wrap: break-word; }

/* Grid/flex children default to min-width:auto and would widen the page around one long word */
.split > *, .contact-grid > *, .service-block > *, .process > *, .numbers-band > *, .pricing-grid > *, .cards-grid > *, .footer-grid > *, .stats > * { min-width: 0; }
:root[lang="de"] h1, :root[lang="de"] h2, :root[lang="de"] h3, :root[lang="de"] .lede, :root[lang="de"] .stat-label { hyphens: auto; }

a { color: inherit; }

::selection { background: var(--amber-soft); color: var(--wine-ink); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.container--narrow { width: min(860px, 100% - 3rem); margin-inline: auto; }

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.28rem; line-height: 1.3; }

.accent-i {
  font-style: italic;
  font-weight: 500;
  color: var(--wine);
}

.section--wine .accent-i, .on-dark .accent-i { color: var(--amber-soft); }

p { max-width: 68ch; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 1.1rem;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--amber);
}

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

.geo { font-family: var(--font-geo); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn--primary {
  background: var(--amber);
  color: #241203;
  box-shadow: 0 10px 30px -10px rgba(217, 154, 61, 0.55);
}

.btn--primary:hover {
  background: #e5ab52;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(217, 154, 61, 0.6);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--wine);
  color: var(--wine);
  transform: translateY(-2px);
}

.btn--amber {
  background: var(--amber);
  color: var(--wine-ink);
  box-shadow: 0 10px 26px -10px rgba(200, 134, 42, 0.6);
}

.btn--amber:hover {
  background: #d9973a;
  transform: translateY(-2px);
}

.btn--light {
  border-color: rgba(253, 246, 236, 0.4);
  color: #fdf6ec;
}

.btn--light:hover { border-color: #fdf6ec; transform: translateY(-2px); }

.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: gap 0.25s ease, border-color 0.25s ease;
}

.arrow-link:hover { gap: 0.8rem; border-color: var(--amber); }

.arrow-link svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(22, 17, 14, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgba(44, 24, 12, 0.25);
}

.nav {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-right: auto;
  white-space: nowrap;
}

.brand svg { width: 34px; height: 34px; flex: none; }

.brand small {
  display: block;
  font: 600 0.62rem/1 var(--font-body);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-top: 0.28rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--wine); }

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-switch a {
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch a:hover { color: var(--wine); }

.lang-switch a.active {
  background: var(--wine);
  color: var(--wine-ink);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  flex: none;
}

.lang-switch { flex: none; }

.burger span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 4rem) 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-watermark {
  position: absolute;
  z-index: -2;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-geo);
  font-weight: 700;
  font-size: clamp(6rem, 17vw, 15rem);
  letter-spacing: 0.02em;
  color: var(--amber);
  opacity: 0.05;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(16rem, 30vh, 22rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 1.6rem;
}

.hero-eyebrow .geo {
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  color: var(--wine);
}

.hero-eyebrow i { font-style: normal; color: var(--ink-faint); }

.hero h1 { max-width: 21ch; margin-inline: auto; }

.hero-sub {
  margin: 1.6rem auto 2.4rem;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero-scene {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: clamp(15rem, 32vh, 24rem);
  pointer-events: none;
}

.hero-scene svg { width: 100%; height: 100%; }

.sun {
  animation: sun-drift 9s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes sun-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

.hero-scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253, 246, 236, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.hero-scroll-hint::after {
  content: "";
  width: 1.5px;
  height: 30px;
  background: linear-gradient(rgba(253, 246, 236, 0.9), transparent);
  animation: hint-slide 1.8s ease-in-out infinite;
}

@keyframes hint-slide {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1) translateY(8px); opacity: 0; }
}

/* ---------- Marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.marquee-track span::after { content: "✦"; font-style: normal; color: var(--amber); font-size: 0.8rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section--alt { background: var(--paper-2); }

.section--wine {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(217, 154, 61, 0.18), transparent 55%),
    linear-gradient(160deg, #571529, var(--wine-ink));
  color: #f6ecdd;
}

.section--wine .kicker { color: var(--amber-soft); }
.section--wine .kicker::before { background: var(--amber-soft); }
.section--wine .lede { color: rgba(246, 236, 221, 0.78); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

.section-head h2 { margin-bottom: 1rem; }

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  padding-left: 1.4rem;
  border-left: 2px solid var(--amber);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--wine);
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.stat-num small {
  font-family: var(--font-display);
  font-size: 0.5em;
  font-weight: 600;
  color: var(--amber-text);
}

.stat-label { margin-top: 0.55rem; font-size: 0.94rem; color: var(--ink-soft); max-width: 24ch; }

.stat { min-width: 0; }
.stat-label { overflow-wrap: anywhere; }

/* ---------- Cards ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(262px, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 134, 42, 0.5);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(207, 90, 114, 0.16), rgba(217, 154, 61, 0.18));
  color: var(--wine);
  margin-bottom: 0.3rem;
}

.card-icon svg { width: 26px; height: 26px; }

.card p { font-size: 0.96rem; color: var(--ink-soft); }

.card .arrow-link { margin-top: auto; font-size: 0.94rem; }

/* ---------- Split (why georgia) ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.split .section-head { margin-bottom: 1.6rem; }

.prose p + p { margin-top: 1.1rem; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); }

.facts-list { list-style: none; display: grid; gap: 0; }

.facts-list li {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.facts-list li:first-child { border-top: 1px solid var(--line); }

.facts-list b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wine);
  min-width: 4.6rem;
}

.facts-list span { color: var(--ink-soft); font-size: 0.97rem; }

.facts-list li > span { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Numbers band (taxes teaser) ---------- */

.numbers-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-block: 1rem 2.6rem;
}

.big-num {
  border: 1px solid rgba(246, 236, 221, 0.18);
  border-radius: var(--radius);
  background: rgba(246, 236, 221, 0.05);
  padding: 1.9rem 1.7rem 1.7rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.big-num:hover {
  background: rgba(246, 236, 221, 0.09);
  border-color: rgba(233, 201, 143, 0.5);
  transform: translateY(-4px);
}

.big-num .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--amber-soft);
}

.big-num .num small { font-size: 0.45em; font-weight: 600; }

.big-num h3 { margin-top: 0.7rem; color: #fdf6ec; font-size: 1.12rem; }

.big-num p { margin-top: 0.45rem; font-size: 0.93rem; color: rgba(246, 236, 221, 0.72); }

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step { position: relative; padding-top: 1.4rem; }

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -2rem;
  height: 1.5px;
  background: var(--line);
}

.step:last-child::before { right: 0; }

.step::after {
  content: "";
  position: absolute;
  top: -4.5px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(200, 134, 42, 0.18);
}

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--amber-text);
  letter-spacing: 0.08em;
}

.step h3 { margin: 0.4rem 0 0.55rem; font-size: 1.16rem; }

.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Manifesto / about ---------- */

.manifesto {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.45;
  max-width: 30ch;
}

.manifesto em { color: var(--wine); }

/* ---------- Accordion ---------- */

.accordion { border-top: 1px solid var(--line-strong); }

.acc-item { border-bottom: 1px solid var(--line-strong); }

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.2rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: 600 1.08rem/1.4 var(--font-body);
  color: var(--ink);
  transition: color 0.2s ease;
}

.acc-btn:hover { color: var(--wine); }

.acc-btn .acc-ico {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.acc-btn .acc-ico::before, .acc-btn .acc-ico::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s ease;
}

.acc-btn .acc-ico::before { width: 12px; height: 1.6px; }
.acc-btn .acc-ico::after { width: 1.6px; height: 12px; }

.acc-btn[aria-expanded="true"] .acc-ico {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--wine-ink);
  transform: rotate(45deg);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.acc-panel > div { overflow: hidden; }

.acc-item.open .acc-panel { grid-template-rows: 1fr; }

.acc-panel p, .acc-panel ul {
  padding: 0 3rem 1.4rem 0.2rem;
  color: var(--ink-soft);
  font-size: 0.99rem;
}

.acc-panel ul { padding-left: 1.4rem; }
.acc-panel li + li { margin-top: 0.35rem; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.messengers { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.8rem; }

.msg-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.msg-btn:hover { transform: translateY(-2px); border-color: var(--amber); box-shadow: var(--shadow-sm); }

.msg-btn svg { width: 22px; height: 22px; color: var(--wine); flex: none; }

.msg-btn small { display: block; font-weight: 400; color: var(--ink-faint); font-size: 0.8rem; }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.1rem;
}

.field { display: grid; gap: 0.4rem; }

.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }

.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200, 134, 42, 0.18);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-note { font-size: 0.82rem; color: var(--ink-faint); }

.form-status {
  display: none;
  border: 1px solid rgba(125, 156, 134, 0.5);
  background: rgba(125, 156, 134, 0.14);
  color: #b3d0bc;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
}

.form-status.show { display: block; }

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 640px; }

th, td { text-align: left; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }

thead th {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-text);
  background: rgba(217, 154, 61, 0.1);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover td { background: rgba(200, 134, 42, 0.05); }

td b, td strong { color: var(--wine); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.price-card--featured {
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(200, 134, 42, 0.2), transparent 55%),
    linear-gradient(160deg, var(--wine), var(--wine-ink));
  color: #f6ecdd;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.price-card--featured .price-list li { color: rgba(246, 236, 221, 0.85); }
.price-card--featured .price-list li::before { color: var(--amber-soft); }
.price-card--featured .price small { color: rgba(246, 236, 221, 0.6); }
.price-card--featured .price-tagline { color: rgba(246, 236, 221, 0.75); }

.price-badge {
  position: absolute;
  top: -13px;
  right: 1.6rem;
  background: var(--amber);
  color: var(--wine-ink);
  font: 700 0.72rem/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

.price-card h3 { font-size: 1.35rem; }

.price-tagline { font-size: 0.93rem; color: var(--ink-soft); min-height: 2.6em; }

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
}

.price small { display: block; font: 500 0.85rem/1.4 var(--font-body); color: var(--ink-faint); margin-top: 0.4rem; }

.price-list { list-style: none; display: grid; gap: 0.55rem; font-size: 0.95rem; }

.price-list li { padding-left: 1.5rem; position: relative; color: var(--ink-soft); }

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wine);
  font-weight: 700;
}

.price-card .btn { margin-top: auto; }

.price-label {
  font: 700 0.7rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-top: 0.3rem;
}

.price-card--featured .price-label { color: var(--amber-soft); }

.price-note { font-size: 0.93rem; color: var(--ink-soft); }

.price-card--featured .price-note { color: rgba(246, 236, 221, 0.85); }

.price-list--no li::before { content: "—"; color: var(--ink-faint); font-weight: 400; }

.price-card--featured .price-list--no li::before { color: rgba(246, 236, 221, 0.55); }

.compare-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 1.8rem auto 0;
  max-width: 62ch;
}

.compare-note strong { color: var(--ink); }

/* ---------- Service detail blocks ---------- */

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.service-block:first-of-type { border-top: 0; }

.service-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--card);
}

.badge--amber { border-color: rgba(217, 154, 61, 0.55); color: var(--amber-text); background: rgba(217, 154, 61, 0.14); }

.check-list { list-style: none; display: grid; gap: 0.7rem; }

.check-list li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); font-size: 0.99rem; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(200, 134, 42, 0.16);
  border: 1.5px solid var(--amber);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: calc(0.32em + 3.5px);
  width: 6px;
  height: 4px;
  border-left: 1.6px solid var(--amber-text);
  border-bottom: 1.6px solid var(--amber-text);
  transform: rotate(-45deg);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-hero .kicker { margin-bottom: 1.2rem; }

.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); max-width: 18ch; }

.page-hero .lede { margin-top: 1.4rem; }

.page-hero-orn {
  position: absolute;
  right: -6rem;
  top: 30%;
  font-family: var(--font-geo);
  font-weight: 700;
  font-size: clamp(8rem, 20vw, 16rem);
  color: var(--amber);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }

.cta-band h2 { max-width: 22ch; margin-inline: auto; }

.cta-band .lede { margin: 1.2rem auto 2.2rem; }

.cta-band .hero-cta { justify-content: center; }

/* ---------- Note / disclaimer ---------- */

.note {
  border-left: 3px solid var(--amber);
  background: rgba(217, 154, 61, 0.12);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.note b { color: var(--ink); }

.disclaimer { font-size: 0.82rem; color: var(--ink-faint); max-width: 72ch; }

/* ---------- Footer ---------- */

.site-footer {
  background: #0f0b09;
  color: #b9ad9c;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.2rem;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(246, 236, 221, 0.12);
}

.site-footer .brand { color: #f6ecdd; }

.footer-tagline { margin-top: 1rem; max-width: 30ch; font-size: 0.92rem; }

.footer-col h4 {
  font: 700 0.78rem/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 1.1rem;
}

.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }

.footer-col a { color: #b9ad9c; text-decoration: none; transition: color 0.2s ease; }

.footer-col a:hover { color: #f6ecdd; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 1.8rem;
  font-size: 0.8rem;
  color: #877c6b;
}

.footer-bottom .disclaimer { color: #877c6b; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .nav-links { gap: 1.1rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 2rem; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 2rem; }
  .step::before { right: 0; }
  .numbers-band { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* The RU and DE menu labels are long, so the burger kicks in early
   enough that nav items never wrap to two lines. */
@media (max-width: 1240px) {
  .burger { display: flex; }

  .nav { gap: 1rem; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.5rem 1.2rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a { padding: 0.85rem 0.2rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .split, .contact-grid, .service-block { grid-template-columns: 1fr; }

  .hero-inner { padding-bottom: clamp(13rem, 26vh, 17rem); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .nav { gap: 0.4rem; }

  .brand { font-size: 1.02rem; gap: 0.5rem; }
  .brand svg { width: 26px; height: 26px; }
  .brand small { font-size: 0.5rem; letter-spacing: 0.14em; margin-top: 0.2rem; }

  .stats { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.4rem; }

  .stat { padding-left: 1rem; }

  .process { grid-template-columns: 1fr; }

  .field-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-cta .btn { width: 100%; }

  .lang-switch a { padding: 0.3rem 0.4rem; font-size: 0.72rem; letter-spacing: 0.02em; }
}

/* ---------- Dark-theme overrides for inline SVG marks ---------- */

:root:not([data-theme="light"]) .brand svg > circle:first-of-type, :root:not([data-theme="light"]) .gate-mark > circle:first-of-type { stroke: var(--amber-soft); }
:root:not([data-theme="light"]) .brand svg > circle:nth-of-type(2), :root:not([data-theme="light"]) .gate-mark > circle:nth-of-type(2) { fill: var(--amber-soft); }
:root:not([data-theme="light"]) .brand svg path:last-of-type, :root:not([data-theme="light"]) .gate-mark path:last-of-type { fill: #9a6516; }
:root:not([data-theme="light"]) .brand svg path:first-of-type, :root:not([data-theme="light"]) .gate-mark path:first-of-type { fill: var(--amber); }

input::placeholder, textarea::placeholder { color: var(--ink-faint); opacity: 0.8; }


/* ---------- Light theme (toggle) ---------- */

:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f7f2e8;
  --paper-2: #efe7d6;
  --card: #fdfaf3;
  --ink: #221d18;
  --ink-soft: #5f564b;
  --ink-faint: #8a8072;
  --wine: #6f1d2f;
  --wine-deep: #4a1220;
  --wine-ink: #2c0a14;
  --amber: #c8862a;
  --amber-text: #96631a;
  --amber-soft: #e9c98f;
  --sage: #5c7563;
  --line: rgba(43, 33, 24, 0.14);
  --line-strong: rgba(43, 33, 24, 0.28);
  --shadow-sm: 0 2px 10px rgba(44, 24, 12, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(44, 24, 12, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(44, 24, 12, 0.28);
}

:root[data-theme="light"] .site-header { background: rgba(247, 242, 232, 0.82); }
:root[data-theme="light"] .btn--primary { background: var(--wine); color: #fdf6ec; box-shadow: 0 10px 26px -10px rgba(111, 29, 47, 0.55); }
:root[data-theme="light"] .btn--primary:hover { background: var(--wine-deep); box-shadow: 0 16px 32px -12px rgba(111, 29, 47, 0.6); }
:root[data-theme="light"] .lang-switch a.active { color: #fdf6ec; }
:root[data-theme="light"] .hero-watermark { color: var(--wine); }
:root[data-theme="light"] .card-icon { background: linear-gradient(140deg, rgba(111, 29, 47, 0.09), rgba(200, 134, 42, 0.13)); }
:root[data-theme="light"] .section--wine {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(200, 134, 42, 0.16), transparent 55%),
    linear-gradient(160deg, var(--wine-deep), var(--wine-ink));
}
:root[data-theme="light"] .acc-btn[aria-expanded="true"] .acc-ico { color: #fdf6ec; }
:root[data-theme="light"] .form-status { border-color: rgba(92, 117, 99, 0.5); background: rgba(92, 117, 99, 0.1); color: #3d5244; }
:root[data-theme="light"] .site-footer { background: #1d1813; }
:root[data-theme="light"] thead th { background: rgba(200, 134, 42, 0.07); }
:root[data-theme="light"] .note { background: rgba(200, 134, 42, 0.07); }

/* ---------- Theme toggle button ---------- */

.theme-toggle {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}

.theme-toggle:hover { color: var(--amber); border-color: var(--amber); transform: rotate(15deg); }

.theme-toggle svg { width: 18px; height: 18px; }

.theme-toggle .ico-moon { display: none; }

:root[data-theme="light"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }

.gate .theme-toggle { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2; }

@media (max-width: 560px) {
  .brand small { display: none; }
  .theme-toggle { width: 30px; height: 30px; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}
