/* ══════════════════════════════════════════════════════════════
   Dinteco – styles
   Mobile-first. Tokens follow the Dinteco design system
   (navy + teal from the logo, Inter 300 as the signature weight).
   ══════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted, Google Fonts as fallback when the local file is blocked, e.g. file://) ── */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/Inter-300-latin.woff2") format("woff2"), url("https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/Inter-300-latin-ext.woff2") format("woff2"), url("https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-400-latin.woff2") format("woff2"), url("https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-400-latin-ext.woff2") format("woff2"), url("https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Inter-500-latin.woff2") format("woff2"), url("https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Inter-500-latin-ext.woff2") format("woff2"), url("https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/JetBrainsMono-400-latin.woff2") format("woff2"), url("https://fonts.gstatic.com/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/JetBrainsMono-500-latin.woff2") format("woff2"), url("https://fonts.gstatic.com/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --navy: #021f3b;
  --navy-800: #062f52;
  --navy-700: #0d3f68;
  --teal: #039ba9;
  --teal-deep: #037b86;
  --teal-press: #02606a;
  --teal-soft: #3bb8c3;
  --teal-bg: #d5f0f3;
  --teal-bg-hover: #b3e4e9;

  --ink: #0d253d;
  --ink-2: #273951;
  --ink-mute: #64748d;
  --on-dark-mute: #8fa6bd;

  --canvas: #ffffff;
  --canvas-soft: #f6f9fc;
  --lilac: #e7d4f5;
  --hairline: #e3e8ee;
  --hairline-input: #a8c3de;
  --hairline-dark: rgba(255, 255, 255, 0.12);

  --cream: #f5e9d4;
  --citron: #f4f96b;
  --lavender: #c9c6fb;
  --indigo: #533afd;
  --magenta: #f96bee;
  --ruby: #ea2261;

  --font-sans: "Inter", "SF Pro Display", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --elev-1: rgba(0, 55, 112, 0.08) 0 1px 3px;
  --elev-2: rgba(0, 55, 112, 0.08) 0 8px 24px, rgba(0, 55, 112, 0.04) 0 2px 6px;
  --elev-3: rgba(0, 55, 112, 0.10) 0 24px 60px, rgba(0, 55, 112, 0.05) 0 4px 12px;
  --focus-ring: 0 0 0 3px rgba(3, 155, 169, 0.28);

  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 320ms;

  --header-h: 60px;
  --section-y: clamp(4rem, 11vw, 8rem);
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --container: 72rem;
  --narrow: 44rem;
}

/* ── Language switching (CSS-driven) ─────────────────────────── */
html[lang="de"] [data-lang="en"],
html[lang="en"] [data-lang="de"] { display: none !important; }

/* ── Reset & base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-press); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
h1, h2, h3, p, ul, ol, blockquote, address, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal-bg-hover); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: var(--narrow); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: .75rem 1rem; background: var(--navy); color: #fff; border-radius: var(--radius-md);
  transition: top var(--dur-fast) var(--ease-standard);
}
.skip-link:focus { top: 1rem; }

/* ── Type scale ──────────────────────────────────────────────── */
.h2 {
  font-size: clamp(1.85rem, 5.2vw + .6rem, 2.9rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  max-width: 24ch;
}
.h2 > [data-lang], .statement-line > [data-lang] { display: block; }
.h3 { font-size: 1.125rem; font-weight: 400; line-height: 1.35; letter-spacing: -0.005em; }
.lead { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 36rem; text-wrap: pretty; }
.lead.on-dark { color: rgba(255, 255, 255, 0.76); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 6vw, 3.5rem); }
.section-head .h2 + .lead, .h2 + .lead { margin-top: 1.25rem; }

.statement-line {
  font-size: clamp(1.55rem, 4.4vw + .5rem, 2.4rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
  max-width: 20ch;
}
.statement-line.small { font-size: clamp(1.25rem, 2.2vw + .6rem, 1.6rem); max-width: 28ch; line-height: 1.3; }
.statement-line.on-dark { color: #fff; }

/* ── Buttons & links ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.5rem;
  border: 0; border-radius: var(--radius-pill);
  font-size: 1rem; font-weight: 400; line-height: 1; letter-spacing: 0;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
  -webkit-user-select: none; user-select: none;
}
.btn:hover { text-decoration: none; }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.4); pointer-events: none; transform: scale(0); z-index: -1; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 18px rgba(3, 155, 169, 0.28); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px rgba(3, 155, 169, 0.32); }
.btn-primary:active { background: var(--teal-press); transform: translateY(1px); box-shadow: none; }
.btn-lg { min-height: 54px; padding: 0 1.75rem; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0 1.1rem; font-size: .9375rem; box-shadow: none; }
.btn-block { width: 100%; }
.link-quiet { color: rgba(255, 255, 255, 0.82); font-weight: 400; text-underline-offset: 5px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); }
.link-quiet:hover { color: #fff; text-decoration-color: #fff; }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color var(--dur-slow) var(--ease-standard), color var(--dur-slow) var(--ease-standard), box-shadow var(--dur-slow) var(--ease-standard), transform var(--dur-slow) var(--ease-standard);
  will-change: transform;
}
.site-header.is-dark { color: #fff; background: transparent; }
.site-header.is-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden.is-dark { transform: none; }
.header-inner {
  height: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: auto; height: 28px; }
.brand-name { font-size: 1.125rem; font-weight: 400; letter-spacing: -0.01em; }
.site-header.is-dark .brand-mark--dark { display: none; }
.site-header.is-light .brand-mark--light { display: none; }

.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-cta { display: none; }

.lang-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.28); }
.lang-indicator { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: var(--radius-pill); background: #fff; transition: background-color var(--dur-base) var(--ease-standard); }
.lang-btn {
  position: relative; z-index: 1;
  min-width: 40px; min-height: 30px; padding: 0 .5rem;
  border: 0; border-radius: var(--radius-pill); background: transparent;
  font-size: .8125rem; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, 0.7);
  transition: background-color var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.lang-btn[aria-pressed="true"] { color: var(--navy); }
.site-header.is-light .lang-switch { border-color: var(--hairline); }
.site-header.is-light .lang-btn { color: var(--ink-mute); }
.site-header.is-light .lang-indicator { background: var(--navy); }
.site-header.is-light .lang-btn[aria-pressed="true"] { color: #fff; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: 0 .25rem 0 .5rem; border: 0; background: transparent; color: inherit;
  font-size: .9375rem; font-weight: 400;
}
.menu-toggle-label--close, .menu-toggle[aria-expanded="true"] .menu-toggle-label--open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-label--close { display: inline; }
.menu-toggle-icon { position: relative; width: 22px; height: 16px; display: block; }
.menu-toggle-icon i {
  position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur-slow) var(--ease-out), top var(--dur-slow) var(--ease-out);
}
.menu-toggle-icon i:first-child { top: 2px; }
.menu-toggle-icon i:last-child { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { top: 7px; transform: rotate(-45deg); }
.site-header.menu-is-open { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.menu-is-open .brand-mark--dark { display: none; }
.site-header.menu-is-open .brand-mark--light { display: block; }
.site-header.menu-is-open .lang-switch { border-color: rgba(255, 255, 255, 0.28); }
.site-header.menu-is-open .lang-btn { color: rgba(255, 255, 255, 0.7); }
.site-header.menu-is-open .lang-indicator { background: #fff; }
.site-header.menu-is-open .lang-btn[aria-pressed="true"] { color: var(--navy); }

/* ── Mobile menu ─────────────────────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy); color: #fff;
  padding-top: var(--header-h);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.menu[hidden] { display: none; }
.menu-inner {
  min-height: calc(100% - var(--header-h));
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
}
.menu-nav { display: grid; }
.menu-nav a {
  display: block; padding: .85rem 0;
  font-size: clamp(1.6rem, 6.5vw, 2.1rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15;
  color: #fff; border-bottom: 1px solid var(--hairline-dark);
}
.menu-nav a:hover { text-decoration: none; color: var(--teal-soft); }
.menu-footer { display: grid; gap: 1.25rem; }
.menu-address { color: var(--on-dark-mute); font-size: .9375rem; line-height: 1.6; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: calc(var(--header-h) + clamp(2rem, 7vw, 4.5rem)) 0 clamp(2.5rem, 8vw, 5rem);
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 85% 70%, rgba(3, 155, 169, 0.32) 0%, rgba(3, 155, 169, 0) 70%),
    radial-gradient(45% 40% at 10% 10%, rgba(83, 58, 253, 0.22) 0%, rgba(83, 58, 253, 0) 70%),
    linear-gradient(180deg, #062f52 0%, var(--navy) 55%);
}
.hero-grid { display: grid; gap: clamp(2rem, 7vw, 3.5rem); align-items: center; }
.hero-title {
  font-size: clamp(2.3rem, 10vw, 4.4rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: pretty;
  color: #fff;
}
.hero-title > span { display: block; }
.hero-lead { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, 0.76); max-width: 34rem; text-wrap: pretty; }
.hero-actions { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
.hero-actions .btn { width: 100%; }
.hero-actions .link-quiet { align-self: center; padding: .25rem 0; }
.hero-address { margin-top: 1.75rem; font-size: .9375rem; color: var(--on-dark-mute); font-weight: 400; letter-spacing: .01em; }

.hero-scene { width: min(100%, 440px); margin-inline: auto; }
.scene { width: 100%; height: auto; overflow: visible; }
.scene-ring { fill: none; stroke: rgba(255, 255, 255, 0.26); stroke-width: 1.5; }
.scene-chair rect, .scene-chair path, .scene-lamp rect, .scene-lamp path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.scene-chair .seat { fill: rgba(59, 184, 195, 0.14); }
.scene-pivot { fill: #fff; }
.scene-light { opacity: 0; }
.node .halo { fill: var(--teal); opacity: .22; }
.node .dot { fill: var(--teal-soft); stroke: var(--navy); stroke-width: 3; }
.node text { fill: rgba(255, 255, 255, 0.88); font-family: var(--font-sans); font-size: 15px; font-weight: 400; letter-spacing: -0.005em; }

/* ── Sections ────────────────────────────────────────────────── */
.section { position: relative; padding: var(--section-y) 0; }
.section--soft { background: var(--canvas-soft); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .h2 { color: #fff; }
.section--dark .statement-line { color: #fff; margin-top: 2rem; }

/* Problem */
.burdens { margin-top: clamp(2rem, 6vw, 3rem); border-top: 1px solid var(--hairline); }
.burden {
  position: relative; padding: .95rem 0; border-bottom: 1px solid var(--hairline);
  font-size: clamp(1.1rem, 1.2vw + .85rem, 1.35rem); line-height: 1.35; letter-spacing: -0.01em;
  transition: color var(--dur-slow) var(--ease-standard);
}
.burden-text {
  display: inline; position: relative;
  background-image: linear-gradient(var(--teal), var(--teal));
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 56%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.burden.is-struck { color: var(--ink-mute); }
.quote { margin-top: clamp(2rem, 6vw, 3rem); padding-left: 1.25rem; border-left: 3px solid var(--teal); }
.quote p { font-size: clamp(1.2rem, 1.4vw + .9rem, 1.5rem); line-height: 1.4; color: var(--ink-2); letter-spacing: -0.012em; text-wrap: pretty; }

/* Services */
.services { border-top: 1px solid var(--hairline); }
.service {
  display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem .5rem; margin-inline: -.5rem; border-bottom: 1px solid var(--hairline); border-radius: var(--radius-md);
  transition: background-color var(--dur-base) var(--ease-standard);
}
@media (hover: hover) {
  .service:hover { background: rgba(3, 155, 169, 0.05); }
  .service:hover .service-icon { transform: translateY(-2px); color: var(--teal-deep); }
}
.service-icon { transition: transform var(--dur-slow) var(--ease-out), color var(--dur-base) var(--ease-standard); }
.service-icon { width: 30px; height: 30px; margin-top: .05rem; color: var(--teal); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service p { margin-top: .35rem; color: var(--ink-2); line-height: 1.55; max-width: 38rem; }
.section--soft .statement-line { margin-top: clamp(2.5rem, 7vw, 4rem); }

/* Steps */
.steps { position: relative; padding-left: 3.25rem; display: grid; gap: clamp(1.75rem, 5vw, 2.5rem); }
.steps-rail { position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--hairline); border-radius: 2px; }
.steps-rail-progress { position: absolute; inset: 0; background: var(--teal); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
.step { position: relative; }
.step-ping { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; pointer-events: none; }
.step-dot {
  position: absolute; left: -3.25rem; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--hairline-input); color: var(--ink-mute);
  font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-slow) var(--ease-standard), border-color var(--dur-slow) var(--ease-standard), color var(--dur-slow) var(--ease-standard), transform var(--dur-slow) var(--ease-out);
}
.step.is-done .step-dot { background: var(--teal); border-color: var(--teal); color: #fff; transform: scale(1.06); }
.step-body { padding-top: .35rem; }
.step-body p { margin-top: .35rem; color: var(--ink-2); line-height: 1.55; max-width: 34rem; }

/* Dinos */
.dinos-grid { display: grid; gap: clamp(2rem, 7vw, 4rem); align-items: center; }
.modules { margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.modules li { display: flex; align-items: center; gap: .6rem; font-size: .9375rem; font-weight: 400; color: var(--ink); }
.modules svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dinos-copy .statement-line { margin-top: 1.75rem; }

.mock {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--elev-3); overflow: hidden;
  width: min(100%, 440px); margin-inline: auto;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--hairline-dark); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-dot--r { background: var(--ruby); }
.mock-dot--y { background: var(--citron); }
.mock-dot--t { background: var(--teal); }
.mock-title { margin-left: 6px; font-size: .8125rem; color: var(--on-dark-mute); display: inline-flex; gap: .5rem; align-items: center; }
.mock-sep { width: 1px; height: 12px; background: var(--hairline-dark); display: inline-block; }
.mock-body { padding: 16px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mock-day { font-size: 1rem; font-weight: 400; }
.mock-chip { font-size: .6875rem; font-weight: 500; letter-spacing: .02em; padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(59, 184, 195, 0.18); color: var(--teal-soft); }
.mock-schedule { position: relative; display: grid; gap: 6px; }
.mock-row { display: grid; grid-template-columns: 52px 1fr; align-items: stretch; gap: 8px; min-height: 38px; }
.mock-time { font-family: var(--font-mono); font-size: .75rem; color: var(--on-dark-mute); padding-top: 10px; }
.mock-appt {
  display: flex; align-items: center; padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(59, 184, 195, 0.16); border-left: 3px solid var(--teal-soft);
  font-size: .875rem; font-weight: 400; color: #fff;
}
.mock-appt--long { min-height: 62px; }
.mock-appt--soft { background: rgba(201, 198, 251, 0.16); border-left-color: var(--lavender); }
.mock-free { display: flex; align-items: center; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px dashed rgba(255, 255, 255, 0.22); color: var(--on-dark-mute); font-size: .8125rem; }
.mock-now { position: absolute; left: 52px; right: 0; top: 118px; height: 1px; background: var(--ruby); pointer-events: none; }
.mock-now span { position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ruby); }
.mock-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline-dark); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .75rem; color: var(--on-dark-mute); }
.mock-foot-item::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-soft); margin-right: 6px; vertical-align: 1px; }

/* Economics */
.econ-grid { display: grid; gap: clamp(2rem, 7vw, 4rem); align-items: center; }
.plain-list { margin-top: 1.5rem; display: grid; gap: .75rem; max-width: 34rem; }
.plain-list li { position: relative; padding-left: 1.5rem; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--teal); border-radius: 2px; }
.econ-copy .statement-line { margin-top: 1.75rem; }

.ledger {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--elev-2); overflow: hidden;
  width: min(100%, 440px); margin-inline: auto;
}
.ledger-head { padding: 16px 20px; font-size: .9375rem; font-weight: 400; color: var(--ink-mute); border-bottom: 1px solid var(--hairline); }
.ledger-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 13px 20px; border-bottom: 1px solid var(--hairline); font-size: .9375rem; }
.ledger-num { font-family: var(--font-mono); font-size: .9375rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger-fee { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 16px 20px; background: var(--canvas-soft); font-weight: 400; }
.ledger-fee > span:first-child { white-space: nowrap; }
.ledger-fee-value { color: var(--teal-press); text-align: right; }

/* Tabs */
.tabs { margin-top: clamp(1.75rem, 5vw, 2.5rem); }
.tablist {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 4px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  box-shadow: var(--elev-1);
}
.tab-indicator {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3);
  background: var(--navy); border-radius: var(--radius-pill); pointer-events: none;
}
.tab {
  position: relative; z-index: 1; min-height: 44px; padding: 0 .4rem;
  border: 0; background: transparent; border-radius: var(--radius-pill);
  font-size: .875rem; font-weight: 400; color: var(--ink-2); line-height: 1.15;
  transition: color var(--dur-base) var(--ease-standard);
}
.tab[aria-selected="true"] { color: #fff; }
.tab:focus-visible { outline-offset: -3px; }
@media (max-width: 400px) { .tab { font-size: .8125rem; padding: 0 .25rem; } }
.panels { margin-top: 1.5rem; min-height: 7rem; }
.panel[hidden] { display: none; }
.panel p { margin-top: .5rem; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); max-width: 34rem; }
#fuer-wen .statement-line { margin-top: 2rem; }

/* Contact */
.section--contact { overflow: hidden; }
.contact-wash {
  position: absolute; inset: 0 0 auto 0; height: 60%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 55% at 5% 20%, rgba(245, 233, 212, 0.9) 0%, rgba(245, 233, 212, 0) 70%),
    radial-gradient(34% 50% at 45% 30%, rgba(201, 198, 251, 0.55) 0%, rgba(201, 198, 251, 0) 70%),
    radial-gradient(38% 55% at 92% 25%, rgba(3, 155, 169, 0.28) 0%, rgba(3, 155, 169, 0) 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%);
}
.contact-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 7vw, 4rem); }
.visit-steps { margin-top: 1.5rem; display: grid; gap: 1rem; counter-reset: visit; max-width: 34rem; }
.visit-steps li { position: relative; padding-left: 2.6rem; counter-increment: visit; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.visit-steps li::before {
  content: counter(visit); position: absolute; left: 0; top: .05rem;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-bg); color: var(--teal-press); font-size: .8125rem; font-weight: 500;
}

.doorplate-shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%); transform: translateX(-130%); }
.doorplate {
  position: relative; overflow: hidden; margin-top: 2.25rem;
  padding: 1.35rem 1.75rem;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #0d3f68 0%, #021f3b 55%, #083757 100%);
  box-shadow: var(--elev-2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  max-width: 26rem;
}
.doorplate-screw { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.15) 70%); }
.doorplate-screw--tl { top: 8px; left: 8px; }
.doorplate-screw--tr { top: 8px; right: 8px; }
.doorplate-screw--bl { bottom: 8px; left: 8px; }
.doorplate-screw--br { bottom: 8px; right: 8px; }
.doorplate-name { font-size: clamp(1.25rem, 5vw, 1.5rem); font-weight: 400; letter-spacing: .02em; line-height: 1.2; min-height: 1.2em; word-break: break-word; }
.doorplate-name.is-filled { color: #fff; }
.doorplate-name.is-empty { color: rgba(255, 255, 255, 0.55); }
.doorplate-sub { margin-top: .35rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-soft); font-weight: 500; }
.doorplate-caption { margin-top: .9rem; font-size: .9375rem; color: var(--ink-mute); max-width: 26rem; line-height: 1.5; }

.address { margin-top: 2.25rem; font-style: normal; font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }
.address a { color: var(--teal-press); }

.form {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--elev-2);
  display: grid; gap: 1rem;
}
.form-title { margin-bottom: .25rem; font-size: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 400; color: var(--ink-2); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem .95rem;
  border: 1px solid var(--hairline-input); border-radius: var(--radius-md); background: #fff;
  font-size: 1rem; font-weight: 400; color: var(--ink);
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: var(--focus-ring); }
.field input:user-invalid { border-color: var(--ruby); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.6px solid var(--ink-mute); border-bottom: 1.6px solid var(--ink-mute); transform: rotate(45deg); pointer-events: none;
}
.field select { padding-right: 2.5rem; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--teal); }
.field--check label { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.form-error { font-size: .875rem; color: var(--ruby); }
.form-error[hidden] { display: none; }
.form .btn { margin-top: .25rem; }
.form-note { font-size: .8125rem; color: var(--ink-mute); text-align: center; line-height: 1.5; }
.form { position: relative; }
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.form-error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form:not(.is-sending) .btn-sending { display: none; }
.form.is-sending .btn-label { display: none; }
.form .btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.form.is-sent > *:not(.form-success) { display: none; }
.form-success { display: grid; gap: .5rem; padding: .75rem 0; outline: none; }
.form-success[hidden] { display: none; }
.form-success-icon { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--teal-bg); color: var(--teal-press); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .5rem; }
.form-success p { color: var(--ink-2); line-height: 1.55; max-width: 30rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 3rem 0 calc(2rem + env(safe-area-inset-bottom)); font-size: .9375rem; line-height: 1.6; }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand { display: flex; gap: .9rem; align-items: flex-start; }
.footer-brand strong { color: #fff; font-weight: 400; }
.footer-mark { width: auto; height: 36px; flex: 0 0 auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-nav a { color: #fff; font-weight: 400; }
.footer-legal { font-size: .8125rem; color: rgba(255, 255, 255, 0.55); max-width: 44rem; }
.footer-copy { font-size: .8125rem; color: rgba(255, 255, 255, 0.45); }

/* Mobile CTA bar */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 -1px 0 var(--hairline);
  transform: translateY(110%);
}
body.has-cta-bar { padding-bottom: 0; }

/* ── Tablet ≥ 700px ──────────────────────────────────────────── */
@media (min-width: 700px) {
  :root { --header-h: 68px; }
  .brand-mark { height: 32px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 1.5rem; }
  .hero-actions .btn { width: auto; }
  .hero-actions .link-quiet { align-self: auto; }
  .modules { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: start; gap: .75rem 2.5rem; }
  .form { grid-template-columns: 1fr 1fr; }
  .form > * { grid-column: 1 / -1; }
  .form .field:nth-of-type(1), .form .field:nth-of-type(2), .form .field:nth-of-type(3), .form .field:nth-of-type(4) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer-legal { grid-column: 1 / -1; }
}

/* ── Desktop ≥ 1000px ────────────────────────────────────────── */
@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .hero { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 5rem; min-height: 100svh; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
  .hero-scene { width: 100%; max-width: 520px; margin-inline: auto 0; }
  .nav-desktop { display: flex; gap: 1.6rem; }
  .nav-desktop a { position: relative; color: inherit; font-size: .9375rem; font-weight: 400; opacity: .82; padding: .25rem 0; transition: opacity var(--dur-fast) var(--ease-standard); }
  .nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }
  .nav-desktop a:hover { opacity: 1; text-decoration: none; }
  .nav-desktop a:hover::after { transform: scaleX(1); }
  .hero-cue { display: block; }
  .hero-torch { display: block; }
  .hero-scene { perspective: 1100px; }
  .scene { transform-style: preserve-3d; }
  .header-cta { display: inline-flex; }
  .site-header.is-light .header-cta { color: #fff; }
  .menu-toggle { display: none; }
  .cta-bar { display: none; }
  .dinos-grid { grid-template-columns: 1.05fr 1fr; }
  .mock { margin-inline: auto 0; }
  .econ-grid { grid-template-columns: 1.05fr 1fr; }
  .ledger { margin-inline: auto 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .steps { padding-left: 4rem; }
  .step-dot { left: -4rem; }
  .steps-rail { left: 17px; }
  .service { grid-template-columns: 48px 1fr 1.6fr; gap: 1.5rem; align-items: baseline; padding: 1.5rem 0; }
  .service > div { display: contents; }
  .service p { margin-top: 0; }
  .tabs { max-width: 40rem; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .steps-rail-progress { transform: none; }
  .scene-light { opacity: 1; }
}


/* ══════════════════════════════════════════════════════════════
   Enhancements: opener, ambient motion, decorative marks
   ══════════════════════════════════════════════════════════════ */

/* Opener */
.opener { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
html.opener-skip .opener, html.no-js .opener { display: none; }
body.opener-active { overflow: hidden; }
.opener-panel { position: absolute; inset: -2px 0 0 0; }
.opener-panel--teal { background: var(--teal); }
.opener-panel--white { background: #fff; overflow: hidden; }
.opener-wash {
  position: absolute; inset: 0 0 35% 0; pointer-events: none;
  background:
    radial-gradient(40% 55% at 6% 22%, rgba(245, 233, 212, 0.95) 0%, rgba(245, 233, 212, 0) 70%),
    radial-gradient(32% 50% at 30% 10%, rgba(244, 249, 107, 0.28) 0%, rgba(244, 249, 107, 0) 68%),
    radial-gradient(36% 55% at 55% 35%, rgba(201, 198, 251, 0.6) 0%, rgba(201, 198, 251, 0) 70%),
    radial-gradient(30% 50% at 78% 12%, rgba(83, 58, 253, 0.2) 0%, rgba(83, 58, 253, 0) 68%),
    radial-gradient(40% 60% at 94% 40%, rgba(3, 155, 169, 0.3) 0%, rgba(3, 155, 169, 0) 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .7) 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .7) 50%, transparent 100%);
}
.opener-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding: 2rem; color: var(--ink); }
.opener-mark { height: clamp(96px, 22vw, 150px); width: auto; opacity: 0; will-change: transform, filter; }
.opener-word { display: block; font-size: clamp(2.4rem, 8vw, 4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--navy); }
.opener-line { width: clamp(120px, 24vw, 180px); height: 2px; background: var(--hairline); border-radius: 2px; overflow: hidden; }
.opener-line span { display: block; width: 100%; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left center; }
.opener-sub { font-size: .8125rem; letter-spacing: .04em; color: var(--ink-mute); font-weight: 400; opacity: 0; }

/* Scroll progress */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left center; }
.site-header.is-dark .scroll-progress { opacity: 0; }

/* Hero ambient */
.hero-blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; will-change: transform; }
.hero-blob--a { width: 70vmax; height: 70vmax; left: -25vmax; top: -30vmax; background: radial-gradient(circle, rgba(83, 58, 253, 0.28) 0%, rgba(83, 58, 253, 0) 62%); }
.hero-blob--b { width: 80vmax; height: 80vmax; right: -30vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(3, 155, 169, 0.34) 0%, rgba(3, 155, 169, 0) 60%); }
.hero-torch { display: none; position: absolute; z-index: -1; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(59, 184, 195, 0.22) 0%, rgba(59, 184, 195, 0) 60%); will-change: transform; }
.hero-cue { display: none; position: absolute; left: 50%; bottom: 26px; width: 1px; height: 52px; margin-left: -0.5px; overflow: hidden; background: rgba(255, 255, 255, 0.14); }
.hero-cue span { display: block; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent, #fff); }

/* Section wash (brand gradient) */
.has-wash { overflow: hidden; }
.has-wash::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; z-index: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(38% 55% at 4% 18%, rgba(245, 233, 212, 0.8) 0%, rgba(245, 233, 212, 0) 70%),
    radial-gradient(34% 50% at 50% 12%, rgba(201, 198, 251, 0.45) 0%, rgba(201, 198, 251, 0) 70%),
    radial-gradient(36% 55% at 95% 30%, rgba(3, 155, 169, 0.22) 0%, rgba(3, 155, 169, 0) 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 50%, transparent 100%);
}
.has-wash > .container { position: relative; z-index: 1; }

/* Decorative logo marks */
.section--dark, .site-footer { position: relative; overflow: hidden; }
.deco-mark { position: absolute; right: -6%; top: 50%; height: 150%; width: auto; transform: translateY(-50%); opacity: .055; pointer-events: none; user-select: none; }
.deco-mark--footer { height: 200%; top: 30%; right: -12%; }
.section--dark > .container, .site-footer > .container { position: relative; z-index: 1; }

/* Split helpers */
.rl { will-change: transform; }

/* ScrollSmoother wrapper (only active on desktop pointer devices; harmless otherwise) */
#smooth-wrapper, #smooth-content { min-height: 100%; }
