/* =========================================================
   CONMESO Franchise — shared design system
   Used by: index.html (hub), eu.html (conmeso.eu), global.html (conmeso.com)

   Fonts are self-hosted (fonts/*.ttf). No request leaves the visitor's
   browser for a third-party font CDN — deliberately, for GDPR compliance.
   ========================================================= */

/* ---------- 0. Self-hosted fonts ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-400.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-500.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-600.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Inter-700.ttf") format("truetype");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Jakarta-600.ttf") format("truetype");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Jakarta-700.ttf") format("truetype");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Jakarta-800.ttf") format("truetype");
}

/* ---------- 1. Tokens ---------- */
:root {
  --blue-950: #04253d;
  --blue-900: #06304f;
  --blue-800: #0a3f68;
  --blue-700: #0e5687;
  --blue-600: #1474ad;
  --blue-500: #1b8ac9;
  --blue-100: #e4f0f9;

  --orange-700: #c4650b;
  --orange-600: #e07a10;
  --orange-500: #f2901c;
  --orange-400: #ffab3d;
  --orange-100: #fdf0de;

  --ink: #0c1a24;
  --ink-soft: #33454f;
  --muted: #5d6f7b;
  --line: #e2e9f0;
  --paper: #ffffff;
  --soft: #f4f8fb;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(6, 48, 79, .06), 0 4px 14px rgba(6, 48, 79, .05);
  --shadow-md: 0 2px 6px rgba(6, 48, 79, .06), 0 16px 40px rgba(6, 48, 79, .09);
  --shadow-lg: 0 30px 80px rgba(4, 37, 61, .22);

  --header-h: 76px;
  --wrap: 1180px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-body);

  --grad-brand: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 45%, var(--orange-500) 100%);
  --grad-hero: radial-gradient(1100px 600px at 78% -8%, rgba(242, 144, 28, .38), transparent 62%),
               radial-gradient(900px 620px at 8% 108%, rgba(27, 138, 201, .40), transparent 60%),
               linear-gradient(155deg, var(--blue-950) 0%, var(--blue-800) 58%, var(--blue-700) 100%);
}

/* Theme override for the international (conmeso.com) edition */
body[data-theme="global"] {
  --grad-hero: radial-gradient(1200px 640px at 20% -10%, rgba(242, 144, 28, .40), transparent 60%),
               radial-gradient(1000px 640px at 92% 110%, rgba(27, 138, 201, .34), transparent 58%),
               linear-gradient(150deg, #1c1206 0%, #3a2408 34%, var(--blue-900) 100%);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0 0 .6em;
  font-weight: 800;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.4rem); letter-spacing: -.015em; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange-100); color: var(--blue-900); }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 4.5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange-500); border-radius: 2px; }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.03rem, 1.5vw, 1.19rem); color: var(--ink-soft); line-height: 1.62; }
.muted { color: var(--muted); }
.small { font-size: .87rem; line-height: 1.55; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: .97rem; letter-spacing: -.005em;
  cursor: pointer; text-align: center; line-height: 1.2;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .16s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: 0 8px 22px rgba(6, 48, 79, .16);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 14px 30px rgba(6, 48, 79, .22); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--orange-500); background-image: linear-gradient(120deg, var(--orange-500), var(--orange-400)); color: #26160a; box-shadow: 0 10px 26px rgba(224, 122, 16, .32); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(224, 122, 16, .4); }
.btn--ghost { background: transparent; color: var(--blue-800); border: 1.5px solid rgba(6, 48, 79, .22); box-shadow: none; }
.btn--ghost:hover { background: var(--blue-800); color: #fff; border-color: var(--blue-800); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); box-shadow: none; backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.btn--sm { padding: 11px 19px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }
.link-arrow { font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: 7px; }
.link-arrow::after { content: "\2192"; transition: transform .2s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(6, 48, 79, .06); }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-tag {
  font-size: .63rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); border-left: 1px solid var(--line); padding-left: 11px; line-height: 1.3;
}
.brand-tag b { display: block; color: var(--blue-800); font-size: .72rem; letter-spacing: .1em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 13px; border-radius: 999px; font-size: .92rem; font-weight: 600;
  color: var(--ink-soft); transition: background .18s ease, color .18s ease;
}
.nav a:hover { background: var(--blue-100); color: var(--blue-800); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--blue-900); border-radius: 2px; position: relative; transition: background .2s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: transform .22s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #fff; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 7vw, 92px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(34px, 5vw, 66px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--orange-400); }
.hero .lead { color: rgba(255, 255, 255, .84); max-width: 33em; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24);
  font-size: .79rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 24px; color: #fff;
}
.hero-badge b {
  background: var(--orange-500); color: #26160a; border-radius: 999px;
  padding: 3px 10px; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.hero-note { margin-top: 22px; font-size: .87rem; color: rgba(255, 255, 255, .62); display: flex; align-items: center; gap: 9px; }
.hero-note svg { width: 15px; height: 15px; opacity: .8; flex: none; }

/* hero stat strip */
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .16); border-radius: var(--radius); overflow: hidden; }
.hero-stats div { background: rgba(6, 48, 79, .42); padding: 20px 22px; }
.hero-stats dt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-stats dd { margin: 2px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .68); line-height: 1.4; }

/* hero card */
.hero-card {
  background: rgba(255, 255, 255, .98); border-radius: var(--radius-lg);
  padding: 28px 28px 24px; color: var(--ink); box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.16rem; margin-bottom: 4px; letter-spacing: -.02em; }
.hero-card > p { font-size: .87rem; color: var(--muted); margin-bottom: 18px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.mini-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; margin: 0; align-items: start; font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
.mini-list .num {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-800); font-size: .74rem; font-weight: 800; font-family: var(--font-display);
}
.mini-list b { display: block; color: var(--ink); font-size: .95rem; }
.hero-card .divider { height: 1px; background: var(--line); margin: 20px 0 16px; }
.hero-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-card .card-foot span { font-size: .8rem; color: var(--muted); }

/* ---------- 7. Cards / principles ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d7e3ee; }
.card h3 { margin-bottom: 9px; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  color: var(--orange-600); margin-bottom: 14px; display: block;
}
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-800); margin-bottom: 18px;
}
.card-icon svg { width: 23px; height: 23px; }
.card--accent { background: linear-gradient(160deg, var(--blue-900), var(--blue-700)); border-color: transparent; color: rgba(255, 255, 255, .8); }
.card--accent h3, .card--accent .card-num { color: #fff; }
.card--accent .card-icon { background: rgba(255, 255, 255, .14); color: var(--orange-400); }
.card--accent p { color: rgba(255, 255, 255, .78); }

/* ---------- 8. Split / feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split-media { order: 2; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin: 0; font-size: .97rem; color: var(--ink-soft); }
.checklist li::before {
  content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-100); color: var(--orange-700); font-size: .72rem; font-weight: 800; margin-top: 2px;
}
.checklist b { color: var(--ink); }
.panel {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.panel h3 { margin-bottom: 6px; }
.stat-row { display: grid; gap: 14px; margin-top: 18px; }
.stat-row > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px dashed #d5e1ec; }
.stat-row > div:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-row dt { font-size: .89rem; color: var(--muted); margin: 0; }
.stat-row dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; color: var(--blue-800); letter-spacing: -.01em; }

/* ---------- 9. Investment cards ---------- */
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.plan--featured { border-color: var(--orange-500); box-shadow: 0 18px 46px rgba(224, 122, 16, .16); }
.plan-flag {
  position: absolute; top: -12px; left: 26px; background: var(--orange-500); color: #26160a;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 12px;
}
.plan h3 { font-size: 1.1rem; margin-bottom: 6px; }
.plan .plan-kind { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.plan .plan-price { font-family: var(--font-display); font-size: 1.72rem; font-weight: 800; color: var(--blue-900); letter-spacing: -.025em; line-height: 1.15; margin: 6px 0 4px; }
.plan .plan-price small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; font-family: var(--font-body); }
.plan ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.plan ul li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .9rem; color: var(--ink-soft); margin: 0; }
.plan ul li::before { content: "\2022"; color: var(--orange-500); font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.plan .btn { margin-top: auto; }

/* ---------- 10. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 0 0 30px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  background: #fff; color: var(--blue-800); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: relative; z-index: 1;
}
.step::after { content: ""; position: absolute; left: 26px; top: 52px; bottom: 0; width: 1px; background: linear-gradient(#d9e5ef, transparent); }
.step:last-child::after { display: none; }
.step:last-child { padding-bottom: 0; }
.step h3 { font-size: 1.06rem; margin-bottom: 5px; }
.step p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
.step .tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-600); }

/* ---------- 11. Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #fff; }
.calc-inputs { padding: clamp(26px, 3.4vw, 40px); background: #fff; }
.calc-out { padding: clamp(26px, 3.4vw, 40px); background: linear-gradient(160deg, var(--blue-900), var(--blue-700)); color: #fff; display: flex; flex-direction: column; }
.calc-out h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.calc-out > p { font-size: .84rem; color: rgba(255, 255, 255, .62); margin-bottom: 20px; }
.field { margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .88rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.field output { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--blue-800); background: var(--blue-100); border-radius: 8px; padding: 2px 10px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500)); outline-offset: 6px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 3px solid var(--blue-700); box-shadow: 0 3px 10px rgba(6, 48, 79, .28); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-700);
  box-shadow: 0 3px 10px rgba(6, 48, 79, .28); cursor: grab;
}
.calc-figures { display: grid; gap: 16px; }
.calc-figures div { padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.calc-figures div:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-figures dt { font-size: .82rem; color: rgba(255, 255, 255, .66); margin: 0 0 3px; }
.calc-figures dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.72rem); letter-spacing: -.02em; color: #fff; }
.calc-figures dd.hl { color: var(--orange-400); }
.calc-figures dd small { font-family: var(--font-body); font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .55); letter-spacing: .02em; display: block; margin-top: 3px; }
.calc-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .76rem; line-height: 1.55; color: rgba(255, 255, 255, .55); }
.calc-note strong { color: rgba(255, 255, 255, .8); }

/* ---------- 12. Markets ---------- */
.markets { display: flex; flex-wrap: wrap; gap: 9px; }
.market {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .87rem; font-weight: 600; color: var(--ink-soft);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.market:hover { border-color: var(--orange-400); color: var(--blue-800); transform: translateY(-1px); }
.market--open { border-color: var(--orange-400); background: var(--orange-100); color: var(--blue-900); }
.market--taken { opacity: .5; }
.market .dot { width: 7px; height: 7px; border-radius: 50%; background: #cdd9e3; flex: none; }
.market--open .dot { background: var(--orange-500); }
.market--taken .dot { background: var(--muted); }
.market-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; font-size: .82rem; color: var(--muted); }
.market-legend span { display: inline-flex; align-items: center; gap: 8px; }
.market-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--orange-500); }
.market-legend i.grey { background: #cdd9e3; }
.market-legend i.dark { background: var(--muted); }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: #cfdfec; box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-800); font-size: 1.1rem; font-weight: 700; line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--orange-100); color: var(--orange-700); }
.faq-item .faq-body { padding: 0 22px 20px; font-size: .94rem; color: var(--ink-soft); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--grad-brand); color: #fff; padding: clamp(36px, 5vw, 62px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px; align-items: center;
  box-shadow: var(--shadow-md);
}
.cta-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%);
  top: -180px; right: -80px; pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .88); margin-bottom: 0; max-width: 34em; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.cta-band .cta-actions .btn--primary { color: #26160a; }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--blue-950); color: rgba(255, 255, 255, .68); padding: clamp(52px, 6vw, 78px) 0 30px; font-size: .89rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 38px; }
.footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; color: #fff; margin: 0 0 10px; }
.footer-wordmark span { color: var(--orange-500); }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .8rem; color: rgba(255, 255, 255, .45); }
.footer-domains { display: flex; gap: 8px; align-items: center; }
.footer-domains span { border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 4px 11px; font-size: .74rem; letter-spacing: .03em; }

/* ---------- 16. Contact modal (native <dialog>) ---------- */
dialog.contact-dialog {
  border: 0; padding: 0; border-radius: var(--radius-lg); max-width: 620px; width: calc(100% - 32px);
  max-height: calc(100vh - 40px); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
  overflow: hidden; margin: auto;
}
dialog.contact-dialog::backdrop { background: rgba(4, 20, 33, .62); backdrop-filter: blur(4px); }
dialog.contact-dialog[open] { animation: dlg-in .26s cubic-bezier(.22, .9, .3, 1) both; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.dlg-scroll { max-height: calc(100vh - 40px); overflow-y: auto; }
.dlg-head {
  position: relative; padding: 26px 64px 22px 28px;
  background: linear-gradient(140deg, var(--blue-900), var(--blue-700)); color: #fff;
}
.dlg-head .dlg-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--orange-400); margin-bottom: 8px; }
.dlg-head h2 { color: #fff; font-size: 1.42rem; margin: 0 0 6px; }
.dlg-head p { margin: 0; font-size: .87rem; color: rgba(255, 255, 255, .74); line-height: 1.5; }
.dlg-close {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .1); color: #fff;
  cursor: pointer; font-size: 1.1rem; line-height: 1; display: grid; place-items: center; padding: 0;
  transition: background .18s ease;
}
.dlg-close:hover { background: rgba(255, 255, 255, .24); }
.dlg-body { padding: 26px 28px 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; letter-spacing: .01em; }
.form-field label .req { color: var(--orange-600); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; font-size: .93rem; color: var(--ink);
  padding: 11px 13px; border-radius: 11px; border: 1px solid #d7e2ec; background: #fbfdff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(27, 138, 201, .14);
}
.form-field input:user-invalid, .form-field textarea:user-invalid { border-color: #d64545; }
.form-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: .79rem; color: var(--muted); line-height: 1.5; margin: 18px 0 0; }
.form-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue-700); }
.form-foot { margin-top: 20px; display: grid; gap: 12px; }
.form-status { font-size: .85rem; min-height: 1.2em; margin: 0; }
.form-status[data-state="error"] { color: #b3341f; }
.form-status[data-state="ok"] { color: #157347; }
/* honeypot: invisible to people, tempting to bots */
.hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .78rem; color: var(--muted); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-meta a { color: var(--blue-700); font-weight: 600; }
.dlg-success { display: none; padding: 40px 30px 44px; text-align: center; }
.dlg-success.is-visible { display: block; }
.dlg-success .ok-mark {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-700); font-size: 1.7rem;
}
.dlg-success h2 { font-size: 1.35rem; margin-bottom: 10px; }
.dlg-success p { color: var(--ink-soft); font-size: .93rem; max-width: 34em; margin-inline: auto; }

/* floating contact pill */
.contact-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px;
  background: var(--orange-500); color: #26160a; font-weight: 800; font-size: .88rem; border: 0;
  cursor: pointer; box-shadow: 0 12px 30px rgba(224, 122, 16, .38);
  transition: transform .18s ease, box-shadow .18s ease, opacity .2s ease;
}
.contact-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(224, 122, 16, .46); }
.contact-fab svg { width: 17px; height: 17px; }

/* ---------- 17. Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .9, .3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 18. Hub page (index.html) ---------- */
.hub { min-height: 100vh; display: flex; flex-direction: column; background: var(--blue-950); color: #fff; }
.hub-head { padding: 30px 0 10px; text-align: center; }
.hub-head img { height: 52px; width: auto; margin: 0 auto 14px; background: #fff; padding: 8px 14px; border-radius: 12px; }
.hub-head p { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: 0; }
.hub-main { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: center; padding: 40px 0 60px; }
.hub-card {
  position: relative; overflow: hidden; display: block; padding: 34px 32px 32px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.hub-card:hover { text-decoration: none; transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }
.hub-card .hub-domain { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--orange-400); letter-spacing: -.02em; margin-bottom: 8px; }
.hub-card h2 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.hub-card p { color: rgba(255, 255, 255, .72); font-size: .93rem; margin-bottom: 18px; }
.hub-card .hub-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.hub-card .hub-tags span { font-size: .74rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 4px 10px; color: rgba(255, 255, 255, .7); }
.hub-card .hub-go { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.hub-foot { padding: 20px 0 34px; text-align: center; font-size: .76rem; color: rgba(255, 255, 255, .38); }

/* ---------- 20. Legal pages (Impressum / Datenschutz) ---------- */
.legal { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.legal-head { max-width: 780px; margin-bottom: 34px; }
.legal-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 12px; }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: clamp(1.1rem, 1.9vw, 1.32rem); margin: 2.1em 0 .55em; padding-top: .3em; }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; }
.legal-body h3 { font-size: .98rem; margin: 1.5em 0 .4em; }
.legal-body p, .legal-body li { font-size: .93rem; color: var(--ink-soft); line-height: 1.62; }
.legal-body ul { padding-left: 1.15em; }
.legal-body li { margin-bottom: .35em; }
.legal-body a { overflow-wrap: break-word; }
.legal-card {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin: 0 0 26px;
}
.legal-card p { margin: 0; }
.legal-card p + p { margin-top: .5em; }
.legal-note {
  border-left: 3px solid var(--orange-500); background: var(--orange-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 13px 18px; margin: 24px 0; font-size: .86rem; line-height: 1.55; color: #5c3200;
}
.legal-note strong { display: block; margin-bottom: 3px; color: #4a2700; }
.fill { background: #fff3cd; border-bottom: 1px dashed var(--orange-600); padding: 0 3px; font-weight: 600; color: #7a4b00; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .87rem; margin: 12px 0 24px; }
.legal-table caption { text-align: left; font-size: .8rem; color: var(--muted); padding-bottom: 8px; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th {
  font-family: var(--font-body); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.legal-nav {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); max-width: 780px;
}
.legal-nav a {
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
}
.legal-nav a:hover { border-color: var(--blue-500); color: var(--blue-800); text-decoration: none; }
.legal-nav a[aria-current="page"] { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .site-header.nav-open .nav {
    display: grid; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 20px; gap: 2px;
    box-shadow: 0 18px 40px rgba(6, 48, 79, .12); margin: 0;
  }
  .site-header.nav-open .nav a { padding: 12px 14px; border-radius: 10px; font-size: .98rem; }
  .site-header.nav-open .nav a:hover { background: var(--soft); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .cta-band .cta-actions .btn { flex: 1 1 auto; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { padding: 16px 20px; }
  .hub-main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .header-actions .btn--sm { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .plan { padding: 26px 22px; }
  .card { padding: 24px 22px; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step::before { width: 42px; height: 42px; border-radius: 12px; font-size: .9rem; }
  .step::after { left: 21px; top: 42px; }
  .contact-fab { right: 14px; bottom: 14px; padding: 12px 17px; font-size: .84rem; }
  .dlg-head, .dlg-body { padding-left: 20px; padding-right: 20px; }
  .dlg-head { padding-right: 58px; }
}
