/* Generated from src/site.html by tools/build-pages.mjs. Do not edit here. */
/* Page names for the brand tokens in assets/tokens.css */
:root {
  --night: var(--ev-navy-950);
  --deep: var(--ev-navy-900);
  --raise: var(--ev-navy-800);
  --gold: var(--ev-gold-500);
  --gold-light: var(--ev-gold-400);
  --gold-deep: var(--ev-gold-600);
  --ivory: var(--ev-white);
  --cream: var(--ev-light-surface);
  --slate: var(--ev-navy-800);
  --mist: var(--ev-muted);
  --line: var(--ev-line);
  --line-soft: rgba(255, 255, 255, 0.08);
  --leaf: var(--ev-radius-panel);
  --leaf-mirror: var(--ev-radius-panel);
  --leaf-sm: var(--ev-radius-button);
  --max: var(--ev-content);
  --gutter: clamp(16px, 5vw, 64px);
  --nav-height: 72px;
  --ease: var(--ev-ease);
  /* premium motion (assets/effects.js, assets/halo.js): long, soft landing */
  --fx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* names used by the chat widget styles */
  --accent: var(--gold);
  --text: var(--ivory);
  --muted: var(--mist);
  --subtle: var(--ev-subtle);
  --surface: var(--deep);
  --radius: var(--ev-radius-button);
  --radius-sm: var(--ev-radius-sm);
  --panel: rgba(0, 0, 0, 0.86);
  --shadow: var(--ev-shadow);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(60rem 40rem at 82% -10%, rgba(201, 173, 132, 0.06), transparent 70%),
    radial-gradient(50rem 50rem at -10% 40%, transparent, transparent 70%),
    var(--night);
  color: var(--ivory);
  font-family: var(--ev-font-body);
  font-size: var(--ev-text);
  font-weight: 400;
  line-height: var(--ev-leading);
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
  hyphens: auto;
  margin: 0;
  font-family: var(--ev-font-display);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: var(--ev-h1);
  line-height: var(--ev-lh-h1);
  letter-spacing: var(--ev-ls-h1);
}

h2 {
  font-size: var(--ev-h2);
  line-height: var(--ev-lh-h2);
  letter-spacing: var(--ev-ls-h2);
}

h3 {
  font-size: var(--ev-h3);
  line-height: var(--ev-lh-h3);
  letter-spacing: var(--ev-ls-h3);
}

b,
strong {
  font-weight: 600;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  border-radius: var(--leaf-sm);
  background: var(--gold);
  color: var(--night);
  padding: 10px 16px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- flowing background veins ---------- */
.veins {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.veins svg {
  position: absolute;
  top: -5%;
  width: min(38vw, 520px);
  height: 110%;
  opacity: 0.55;
}

.veins__left {
  left: 0;
}

.veins__right {
  right: 0;
  transform: scaleX(-1);
}

.vein {
  fill: none;
  stroke: url(#veinGold);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 3.2s var(--ease) forwards;
}

.vein:nth-child(2) {
  animation-delay: 0.25s;
}

.vein:nth-child(3) {
  animation-delay: 0.5s;
}

.vein:nth-child(4) {
  animation-delay: 0.75s;
}

.vein--faint {
  stroke-width: 0.6;
  opacity: 0.6;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: transform 280ms var(--ease), background 280ms var(--ease);
}

/* The header stays put: logo and menu are always one tap away */
.site-header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.site-header.is-solid {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ---------- header: logo + menu button only ---------- */
.brand {
  min-height: 44px;
}

.brand__mark {
  width: auto;
  height: 34px;
}

.brand__wordmark {
  width: 148px;
  height: auto;
}

.logo-light {
  display: none;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="light"] .logo-light {
  display: block;
}

/* header: tools left, logo centred, menu right */
.nav {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
}

.brand--center {
  justify-self: center;
  gap: 12px;
}

.brand--center .brand__mark {
  height: 42px;
}

.brand--center .brand__wordmark {
  width: 190px;
}

.theme-switch,
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  border: 1px solid var(--ev-line-strong);
  border-radius: var(--ev-radius-pill);
  padding: 3px;
}

.theme-switch button,
.lang-switch button {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--ev-radius-pill);
  padding: 0 8px;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  font-family: var(--ev-font-body);
  font-size: var(--ev-small);
  font-weight: 600;
  letter-spacing: 0;
  transition: background var(--ev-fast) var(--ease), color var(--ev-fast) var(--ease);
}

.theme-switch button {
  padding: 0;
}

.theme-switch svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-switch button:hover,
.lang-switch button:hover {
  color: var(--ivory);
}

.theme-switch button[aria-pressed="true"],
.lang-switch button[aria-pressed="true"] {
  background: var(--ev-gradient-gold);
  color: var(--ev-ink);
}

.theme-switch button:focus-visible,
.lang-switch button:focus-visible,
.lang__globe:focus-visible,
.menu-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ev-focus);
}

.lang {
  position: relative;
}

.lang__globe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  min-width: 40px;
  justify-content: center;
  border: 1px solid var(--ev-line-strong);
  border-radius: var(--ev-radius-pill);
  padding: 0 10px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.lang__globe svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
}

.lang__globe[aria-expanded="true"] {
  border-color: var(--gold);
}

/* the code next to the globe only matters for automatically translated languages */
.lang__globe .lang__code {
  display: none;
  font-size: var(--ev-small);
  font-weight: 600;
}

.is-auto-lang .lang__globe .lang__code {
  display: inline;
}

.nav__tools .lang__panel {
  right: auto;
  left: 0;
  z-index: 90;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  height: 44px;
  border: 1px solid var(--ev-line-strong);
  border-radius: var(--ev-radius-pill);
  padding: 0 4px 0 16px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-family: var(--ev-font-body);
  font-size: var(--ev-small);
  font-weight: 600;
  transition: border-color var(--ev-fast) var(--ease);
}

.menu-toggle:hover {
  border-color: var(--gold);
}

.menu-toggle__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ev-gradient-gold);
}

.menu-toggle__icon i,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ev-ink);
  transition: transform 240ms var(--ease), opacity 200ms var(--ease);
}

.menu-toggle__icon::before {
  transform: translateY(-5px);
}

.menu-toggle__icon::after {
  transform: translateY(5px);
}

.menu-open .menu-toggle__icon i {
  opacity: 0;
}

.menu-open .menu-toggle__icon::before {
  transform: rotate(45deg);
}

.menu-open .menu-toggle__icon::after {
  transform: rotate(-45deg);
}

/* only the three lines, no "Menü" label */
.menu-toggle__label {
  display: none;
}

.menu-toggle {
  padding: 0 4px;
  border-color: transparent;
}

/* Nur DE, EN, TR: am Desktop reichen die drei Knöpfe, die Weltkugel gibt es nur noch auf kleinen Bildschirmen */
@media (min-width: 861px) {
  .nav__tools .lang {
    display: none;
  }
}

@media (max-width: 860px) {
  /* small screens: language list sits behind the globe; theme shows only the switch-to icon */
  .lang-switch {
    display: none;
  }

  .theme-switch {
    border: 1px solid var(--ev-line-strong);
    padding: 3px;
  }

  .theme-switch button[aria-pressed="true"] {
    display: none;
  }

  .brand--center .brand__mark {
    height: 32px;
  }

  .brand--center .brand__wordmark {
    width: 128px;
  }
}

@media (max-width: 400px) {
  .nav {
    gap: 6px;
  }

  .nav__tools {
    gap: 4px;
  }

  .brand--center {
    gap: 7px;
  }

  .brand--center .brand__mark {
    height: 26px;
  }

  .brand--center .brand__wordmark {
    width: 98px;
  }

  .lang__globe {
    padding: 0;
    width: 40px;
  }
}

@media (max-width: 360px) {
  .nav.shell {
    padding-inline: 12px;
  }

  .theme-switch {
    height: 36px;
    padding: 1px;
  }

  .lang__globe {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .brand--center .brand__mark {
    height: 24px;
  }

  .brand--center .brand__wordmark {
    width: 84px;
  }
}

[data-theme="light"] .theme-switch,
[data-theme="light"] .lang-switch,
[data-theme="light"] .lang__globe {
  border-color: rgba(0, 0, 0, 0.22);
}

/* ---------- menu panel ---------- */
body.menu-open {
  overflow: hidden;
}

.brand--full img {
  width: 180px;
  height: auto;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(9, 9, 9, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease), visibility 0s linear 260ms;
}

.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 75;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(430px, 100vw);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-inline-start: 1px solid var(--line);
  padding: 18px clamp(20px, 5vw, 36px) 32px;
  background:
    radial-gradient(30rem 22rem at 100% 0%, rgba(201, 173, 132, 0.072), transparent 70%),
    #000000;
  color: var(--ivory);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 260ms var(--ease), transform 320ms var(--ease), visibility 0s linear 320ms;
}

[dir="rtl"] .site-menu {
  inset: 0 auto 0 0;
  transform: translateX(-24px);
}

.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
  transition: opacity 260ms var(--ease);
}

.menu-open .site-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 260ms var(--ease), transform 320ms var(--ease);
}

.site-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.site-menu__title {
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.site-menu__close {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.site-menu__close::before,
.site-menu__close::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ivory);
  transform: rotate(45deg);
}

.site-menu__close::after {
  transform: rotate(-45deg);
}

.site-menu__close:hover {
  border-color: var(--gold);
}

.site-menu__list,
.site-menu__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__list > li {
  border-bottom: 1px solid var(--line-soft);
}

.site-menu .nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-block: 8px;
  color: var(--ivory);
  font-size: var(--ev-lead);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 200ms var(--ease);
}

.site-menu .nav__link:hover,
.site-menu .nav__link.is-active {
  color: var(--gold-light);
}

.site-menu__sub {
  display: grid;
  gap: 2px;
  padding: 0 0 12px;
}

.site-menu__sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--mist);
  font-size: var(--ev-ui);
  transition: color 200ms var(--ease);
}

.site-menu__sub a:hover {
  color: var(--ivory);
}

.site-menu__sub a span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--ev-line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 600;
}

.site-menu__cta {
  width: 100%;
}

.site-menu__settings {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.site-menu__label {
  color: var(--subtle);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.setting {
  display: grid;
  gap: 8px;
}

.setting__name {
  color: var(--mist);
  font-size: var(--ev-small);
}

.segmented {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px;
}

.segmented button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0 10px;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  font-size: var(--ev-small);
  font-weight: 500;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.segmented button[aria-pressed="true"] {
  background: rgba(201, 173, 132, 0.16);
  color: var(--gold-light);
}

.lang__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  font-size: var(--ev-small);
}

.lang__more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.lang__more:hover {
  color: var(--ivory);
}

.lang__code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 6px;
  font-size: var(--ev-small);
  font-weight: 600;
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--ev-control-height);
  border: 1px solid transparent;
  border-radius: var(--ev-radius-button);
  padding: 0 24px;
  cursor: pointer;
  font-family: var(--ev-font-body);
  font-size: var(--ev-ui);
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform var(--ev-base) var(--ease),
    box-shadow var(--ev-base) var(--ease),
    background var(--ev-base) var(--ease),
    border-color var(--ev-base) var(--ease),
    color var(--ev-base) var(--ease);
    line-height: var(--ev-lh-ui);
}

/* primary: warm gold, dark label */
/* flat gold: calm and readable (dark ink on gold stays above 8:1) */
/* primary action: light on graphite, dark on light surfaces (quiet, premium) */
.button--gold {
  background: #f2f1ee;
  color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.button--gold:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

/* secondary: transparent on navy, light label, thin border */
.button--line {
  border-color: var(--ev-line-strong);
  background: rgba(247, 249, 250, 0.02);
  color: var(--ivory);
}

.button--line:hover {
  border-color: var(--gold);
  background: var(--ev-gold-wash);
}

.button:focus-visible {
  outline: none;
  box-shadow: var(--ev-focus);
}

/* tertiary: text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--ev-target);
  color: var(--ivory);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ev-line-strong);
  text-underline-offset: 5px;
}

.link-arrow::after {
  content: "→";
  color: var(--gold);
  transition: transform var(--ev-fast) var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

/* ---------- sections ---------- */
main > section {
  scroll-margin-top: calc(var(--nav-height) + 8px);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.kicker::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: var(--ev-radius-card);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
}

.section-title {
  font-size: var(--ev-h2);
  font-weight: 600;
  letter-spacing: var(--ev-ls-h2);
}

h1.section-title {
  font-size: var(--ev-h1);
  line-height: var(--ev-lh-h1);
  letter-spacing: var(--ev-ls-h1);
}

.lead {
  max-width: 640px;
  color: var(--mist);
  font-size: var(--ev-lead);
  line-height: var(--ev-lh-lead);
}

/* ---------- business elevator: dark brand scope ---------- */
.scope-dark {
  position: relative;
  background-color: var(--night);
  color: var(--ivory);
}

:root[data-theme="light"] .scope-dark,
:root[data-theme="light"] .site-menu {
  --night: var(--ev-navy-950);
  --deep: var(--ev-navy-900);
  --raise: var(--ev-navy-800);
  --gold: var(--ev-gold-500);
  --gold-light: var(--ev-gold-400);
  --gold-deep: var(--ev-gold-600);
  --ivory: var(--ev-white);
  --mist: var(--ev-muted);
  --subtle: var(--ev-subtle);
  --line: var(--ev-line);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow: var(--ev-shadow);
  --panel: rgba(0, 0, 0, 0.86);
  color-scheme: dark;
}

:root[data-theme="light"] .scope-dark .button--line {
  border-color: var(--ev-line-strong);
}

.scope-dark :where(picture, figure) {
  margin: 0;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  min-height: min(100svh, 920px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  filter: grayscale(0.25) brightness(0.95) contrast(1.04) saturate(0.9);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.86) 34%, rgba(0, 0, 0, 0.35) 64%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 28%);
}

[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.86) 34%, rgba(0, 0, 0, 0.35) 64%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 28%);
}

/* doors slide open once on load; purely decorative, never covers text */
.hero__doors {
  position: absolute;
  inset: 0 0 0 52%;
  z-index: -1;
  display: flex;
  pointer-events: none;
}

.hero__doors span {
  flex: 1;
  background: linear-gradient(90deg, #0a0a0a, #1f1f1f 60%, #0a0a0a);
  box-shadow: inset -1px 0 0 rgba(217, 193, 156, 0.25);
  animation: door-left 1.6s var(--ease) 0.35s both;
}

.hero__doors span + span {
  box-shadow: inset 1px 0 0 rgba(217, 193, 156, 0.25);
  animation-name: door-right;
}

@keyframes door-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-101%);
    opacity: 0;
  }
}

@keyframes door-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(101%);
    opacity: 0;
  }
}

.hero__inner {
  width: min(100%, var(--max));
}

/* photos follow the graphite look: less blue, calmer */
.ascent__media img,
.topfloor__media img,
.contact__visual img {
  filter: grayscale(0.3) brightness(0.92) contrast(1.04);
}

/* ---------- home: three levels as simple cards ---------- */
/* animated dust vortex behind the section (assets/dust-vortex.js), full width, fading in and out */
.offer {
  position: relative;
  isolation: isolate;
}

.offer__vortex {
  position: absolute;
  top: -40px;
  height: 600px;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

/* mirrored, so the crest rises into the free space right of the heading */
.offer__vortex canvas {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
}

[data-theme="light"] .offer__vortex {
  display: none;
}

/* dark theme: the cards turn to tinted glass, so the dust stays visible behind them */
:root:not([data-theme="light"]) .offer .offer__card {
  background: linear-gradient(160deg, rgba(30, 30, 30, 0.62), rgba(10, 10, 10, 0.78));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* phones: the section is tall, so the vortex sits behind the heading and the first card */
@media (max-width: 760px) {
  .offer__vortex {
    top: -20px;
    height: 520px;
  }
}

.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}

.offer__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--leaf);
  padding: clamp(20px, 2vw, 24px);
  background: linear-gradient(160deg, var(--raise), var(--deep) 80%);
  transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}

.offer__card:hover {
  border-color: rgba(201, 173, 132, 0.5);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.7), 0 0 40px -14px rgba(201, 173, 132, 0.3);
}

.offer__level {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 600;
}

.offer__level .floor-icon {
  width: 30px;
  height: 30px;
}

.offer__card h3 {
  font-family: var(--ev-font-display);
  font-size: var(--ev-h3);
  font-weight: 600;
  line-height: var(--ev-lh-h3);
}

.offer__link {
  color: inherit;
  text-decoration: none;
}

.offer__link:hover {
  color: var(--gold);
}

.offer__text {
  color: var(--mist);
  font-size: var(--ev-ui);
}

/* like the reference: one strong button, one quiet underlined link, side by side */
.offer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 14px;
}

.offer__cta {
  min-height: 44px;
  padding: 0 16px;
  font-size: var(--ev-small);
}

.offer__more {
  color: var(--ivory, #f2f1ee);
  font-size: var(--ev-small);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: color 200ms var(--ease);
}

.offer__more:hover {
  color: var(--gold);
}

[data-theme="light"] .offer__more {
  color: #0a0a0a;
}

@media (max-width: 860px) {
  .offer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* sechs Leistungen: ab 760 px Kacheln (3 Spalten, Tablet 2), darunter eine gruppierte Liste wie in iOS.
   Die ganze Kachel bzw. Zeile ist der Link; Text ist immer sichtbar (keine Einblende-Animation). */
.offer__grid--sechs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .offer__grid--sechs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reveal-ready .offer__card--tile:not(.is-revealed),
.reveal-ready .offer__card--tile.is-revealed {
  opacity: 1;
  animation: none;
}

.offer__card--tile {
  padding: 0;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}

.offer__tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 14px 12px;
  height: 100%;
  padding: clamp(20px, 2vw, 24px);
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
  -webkit-tap-highlight-color: transparent;
}

.offer__icon {
  grid-column: 1 / -1;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--gold);
}

.offer__icon svg,
.offer__chevron {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer__icon svg {
  width: 22px;
  height: 22px;
}

.offer__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.offer__body .offer__text {
  display: block;
}

.offer__chevron {
  align-self: end;
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform 200ms var(--ease);
}

.offer__card--tile:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.offer__card--tile:hover .offer__chevron {
  transform: translateX(2px);
}

.offer__card--tile:active {
  transform: scale(0.98);
  transition-duration: 100ms;
}

.offer__tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 759px) {
  .offer__grid--sechs {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--leaf);
    background: linear-gradient(160deg, var(--raise), var(--deep) 80%);
    overflow: hidden;
  }

  .offer__card--tile,
  .offer__card--tile:hover,
  .offer__card--tile:active {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
  }

  .offer__card--tile .corners {
    display: none;
  }

  /* die Zeilen selbst sind durchsichtig, Glas und Rahmen trägt nur die Gruppe */
  :root .offer .offer__card.offer__card--tile {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  :root:not([data-theme="light"]) .offer .offer__grid--sechs {
    background: linear-gradient(160deg, rgba(30, 30, 30, 0.62), rgba(10, 10, 10, 0.78));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .offer__card--tile + .offer__card--tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 72px;
    right: 0;
    border-top: 1px solid var(--line);
  }

  .offer__tile {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    grid-template-rows: auto;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 0;
    transition: background-color 100ms var(--ease);
  }

  .offer__tile:active {
    background: rgba(201, 173, 132, 0.1);
  }

  .offer__icon {
    grid-column: auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .offer__icon svg {
    width: 20px;
    height: 20px;
  }

  .offer__body {
    gap: 3px;
  }

  .offer__card--tile h3 {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .offer__body .offer__text {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .offer__chevron {
    align-self: center;
    width: 16px;
    height: 16px;
    opacity: 0.7;
  }

  .offer__tile:focus-visible {
    outline-offset: -3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer__card--tile,
  .offer__card--tile:hover,
  .offer__card--tile:active,
  .offer__card--tile:hover .offer__chevron {
    transform: none;
    transition: none;
  }
}

.offer__after {
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: var(--muted, inherit);
  font-size: 0.95rem;
  text-align: center;
}

/* Branchen-Check: Branchen als Kacheln im ersten Schritt, danach ausgeblendet */
.ai-check__branchen[hidden] {
  display: none;
}

/* posts slider: the tiles line the inside of a drum, the one in the middle comes forward */
.tunnel {
  margin-top: clamp(40px, 6vw, 72px);
}

.tunnel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
}

.tunnel__kicker {
  font-family: var(--ev-font-display);
  font-size: var(--ev-h3);
  font-weight: 600;
  line-height: var(--ev-lh-h3);
}

.tunnel__stage {
  position: relative;
  left: 50%;
  width: 100vw;
  height: clamp(300px, 28vw, 400px);
  margin-top: 10px;
  overflow: hidden;
  transform: translateX(-50%);
  perspective: 700px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.tunnel__stage.is-dragging {
  cursor: grabbing;
}

.tunnel__ring {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
  pointer-events: none;
}

.tunnel__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--tile-w, 200px);
  height: var(--tile-h, 250px);
  margin: calc(var(--tile-h, 250px) / -2) 0 0 calc(var(--tile-w, 200px) / -2);
  backface-visibility: hidden;
  will-change: transform;
}

.tunnel__tile {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(242, 241, 238, 0.12);
  border-radius: 14px;
  background: var(--raise);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
  transition: border-color 260ms var(--ease), filter 260ms var(--ease);
  pointer-events: auto;
  -webkit-user-drag: none;
}

.tunnel__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.tunnel__item:not(.is-focus) .tunnel__tile {
  filter: brightness(0.62) saturate(0.85);
}

.tunnel__item.is-focus .tunnel__tile {
  border-color: var(--gold);
  box-shadow: 0 26px 60px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 173, 132, 0.4), 0 0 46px -10px rgba(201, 173, 132, 0.45);
}

.tunnel__tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.tunnel__foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.tunnel__now {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ivory, #f2f1ee);
  font-size: var(--ev-ui);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tunnel__now::after {
  content: " →";
  color: var(--gold);
}

.tunnel__now:hover {
  color: var(--gold);
}

.tunnel__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tunnel__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory, #f2f1ee);
  cursor: pointer;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}

.tunnel__arrow:hover,
.tunnel__arrow:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.tunnel__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tunnel__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tunnel__dots span {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(242, 241, 238, 0.28);
  transition: width 260ms var(--ease), background 260ms var(--ease);
}

.tunnel__dots span.is-on {
  width: 22px;
  background: var(--gold);
}

.tunnel__drag {
  justify-self: end;
  color: var(--mist);
  font-size: var(--ev-small);
}

[data-theme="light"] .tunnel__now,
[data-theme="light"] .tunnel__arrow {
  color: #0a0a0a;
}

[data-theme="light"] .tunnel__dots span {
  background: rgba(0, 0, 0, 0.22);
}

[data-theme="light"] .tunnel__dots span.is-on {
  background: #0a0a0a;
}

/* without the script (or before it runs) the posts are a plain row you can swipe */
.tunnel:not(.is-ready) .tunnel__stage {
  perspective: none;
  overflow-x: auto;
  cursor: auto;
}

.tunnel:not(.is-ready) .tunnel__ring {
  position: static;
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 0 20px;
}

.tunnel:not(.is-ready) .tunnel__item {
  position: static;
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 700px) {
  .tunnel__foot {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .tunnel__drag {
    display: none;
  }
}

/* trust line under the hero buttons */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
  font-size: var(--ev-small);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 5px 1px 5px 1px;
  background: var(--gold);
}

/* next steps on the contact page */
.contact-steps {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-inline-start: 20px;
  color: var(--mist);
}

.contact-steps li::marker {
  color: var(--gold);
  font-weight: 600;
}

/* pilot programme as one line under the final call to action */
.topfloor__pilot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 26px;
  color: var(--mist);
  font-size: var(--ev-ui);
}

.topfloor__pilot-badge {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 3px 12px;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.topfloor__pilot-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* splash on the first visit (assets/theme.js decides, assets/splash.js plays it).
   Black at once, so the page never flashes; if the script never comes, the black lifts by itself. */
html.has-splash::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #000;
  animation: splash-safety 400ms ease 6s forwards;
}

html[data-theme="light"].has-splash::after,
.splash.splash--light {
  background: #ffffff;
}

html.has-splash.splash-running::after {
  animation: none;
}

html.has-splash.splash-running body {
  overflow: hidden;
}

@keyframes splash-safety {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.splash.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.splash__text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 380ms ease;
}

.splash__logo {
  position: relative;
  width: min(150px, 34vw);
  opacity: 0;
  transform: scale(0.94);
  filter: blur(14px);
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}

.splash__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* a gold light runs across the logo once it is sharp */
.splash__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 200, 0.85) 50%, transparent 65%) no-repeat;
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-mask: url(/assets/elevayme-mark.svg) center / contain no-repeat;
  mask: url(/assets/elevayme-mark.svg) center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0;
}

.splash__logo.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.splash__logo.is-shine::after {
  opacity: 1;
  background-position: -30% 0;
  transition: background-position 1100ms ease, opacity 200ms ease;
}

/* the gold ring around the mark: draws once from the top, clockwise, beats twice, fades */
.splash__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(min(150px, 34vw) * 2);
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(255, 222, 168, 0.85)) drop-shadow(0 0 14px rgba(217, 193, 156, 0.45));
  transition: opacity 350ms ease;
}

.splash__ring svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.splash__ring circle {
  fill: none;
  stroke: url(#splashRingGold);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

.splash__ring.is-draw circle {
  opacity: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 800ms cubic-bezier(0.45, 0, 0.2, 1), opacity 120ms ease;
}

.splash__ring.is-beat {
  animation: splash-beat 800ms ease-in-out both;
}

.splash__ring.is-out {
  opacity: 0;
}

/* "bu-bumm": short glow, small pause, stronger glow */
@keyframes splash-beat {
  0%, 36%, 52%, 100% {
    scale: 1;
    filter: drop-shadow(0 0 3px rgba(255, 222, 168, 0.85)) drop-shadow(0 0 14px rgba(217, 193, 156, 0.45));
  }
  18% {
    scale: 1.02;
    filter: drop-shadow(0 0 5px rgba(255, 228, 180, 1)) drop-shadow(0 0 24px rgba(230, 200, 150, 0.7));
  }
  70% {
    scale: 1.04;
    filter: drop-shadow(0 0 7px rgba(255, 234, 192, 1)) drop-shadow(0 0 36px rgba(236, 204, 150, 0.9));
  }
}

.splash--light .splash__ring {
  filter: drop-shadow(0 0 2px rgba(201, 173, 132, 0.6)) drop-shadow(0 0 10px rgba(201, 173, 132, 0.25));
}

.splash--light .splash__ring circle {
  stroke: #b0936a;
}

.splash--light .splash__ring.is-beat {
  animation-name: splash-beat-light;
}

@keyframes splash-beat-light {
  0%, 36%, 52%, 100% {
    scale: 1;
    filter: drop-shadow(0 0 2px rgba(201, 173, 132, 0.6)) drop-shadow(0 0 10px rgba(201, 173, 132, 0.25));
  }
  18% {
    scale: 1.02;
    filter: drop-shadow(0 0 3px rgba(201, 173, 132, 0.8)) drop-shadow(0 0 16px rgba(201, 173, 132, 0.4));
  }
  70% {
    scale: 1.04;
    filter: drop-shadow(0 0 4px rgba(201, 173, 132, 0.95)) drop-shadow(0 0 22px rgba(201, 173, 132, 0.55));
  }
}

/* reduced motion: no drawing, no beat, the ring just appears briefly
   (theme.js already skips the whole splash in this case; this is the fallback) */
@media (prefers-reduced-motion: reduce) {
  .splash__ring circle {
    stroke-dashoffset: 0;
  }

  .splash__ring.is-draw circle {
    transition: opacity 300ms ease;
  }

  .splash__ring.is-beat {
    animation: none;
  }
}

.hero__text {
  max-width: 640px;
}

@media (min-width: 761px) {
  .hero__text h1 {
    width: max-content;
    max-width: min(calc(100vw - 48px), 12.5em);
  }
}

/* ---------- arrival: one orchestrated moment ----------
   A band of light rides up the lift (elevate), the headline rises line by line,
   then Elvi steps out and greets. Nothing blocks a click. */
.hero__media {
  overflow: hidden;
}

.hero__media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200%;
  background: linear-gradient(to top, transparent 45%, rgba(201, 173, 132, 0.1) 48.6%, rgba(242, 236, 226, 0.5) 49.85%, rgba(242, 236, 226, 0.5) 50.05%, rgba(201, 173, 132, 0.08) 51%, transparent 54%);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 62%, #000 82%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 62%, #000 82%, transparent 96%);
  opacity: 0;
  animation: lift-light 1700ms cubic-bezier(0.55, 0, 0.25, 1) 100ms both;
  pointer-events: none;
}

[dir="rtl"] .hero__media::after {
  -webkit-mask-image: linear-gradient(270deg, transparent 40%, #000 62%, #000 82%, transparent 96%);
  mask-image: linear-gradient(270deg, transparent 40%, #000 62%, #000 82%, transparent 96%);
}

@keyframes lift-light {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  15% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-50%);
  }
}

/* the mask for the line rise; the padding keeps umlauts and descenders (Ü, g) inside it */
.hero h1 .hero__line {
  display: block;
  overflow: hidden;
  padding-block: 0.14em 0.2em;
  margin-block: -0.14em -0.2em;
}

.hero h1 .hero__line > span {
  display: inline-block;
  animation: line-rise 1000ms cubic-bezier(0.2, 0.8, 0.2, 1) 300ms both;
}

.hero h1 .hero__line + .hero__line > span {
  animation-delay: 440ms;
}

/* Umbruch nur an Sinngrenzen: ein Abschnitt bricht nie in sich. Zeile 1 steht immer in zwei Zeilen
   („Digitale Präsenz,“ / „die überzeugt.“), Zeile 2 bricht nur zwischen ihren Abschnitten, wenn der Platz fehlt. */
.hero h1 .hero__chunk {
  white-space: nowrap;
}

.hero h1 .hero__chunk--zeile {
  display: block;
}

@keyframes line-rise {
  from {
    opacity: 0;
    transform: translateY(105%);
  }
}

.hero__signal {
  animation: rise-in 800ms var(--ease) 150ms both;
}

.hero__copy {
  animation: rise-in 800ms var(--ease) 700ms both;
  font-size: var(--ev-lead);
  line-height: var(--ev-lh-lead);
}

.hero__actions {
  animation: rise-in 800ms var(--ease) 820ms both;
}

.hero__trust {
  animation: rise-in 800ms var(--ease) 940ms both;
}

@media (max-width: 760px) {
  .hero__media::after {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media::after {
    display: none;
  }

  .hero h1 .hero__line > span,
  .hero__signal,
  .hero__copy,
  .hero__actions,
  .hero__trust {
    animation: none;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__signal {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: var(--ev-ui);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 17em;
  /* Zeilen sind in der Übersetzung festgelegt (hero__line), deshalb keine automatische Silbentrennung */
  hyphens: manual;
  text-wrap: wrap;
}

.hero h1 strong {
  color: var(--gold-light);
  font-weight: 600;
}

.hero__copy {
  max-width: 29em;
  margin-top: 26px;
  color: var(--mist);
  font-size: var(--ev-lead);
  line-height: var(--ev-lh-lead);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__floors {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 30px;
  color: var(--mist);
  font-size: var(--ev-ui);
  font-weight: 500;
  transition: color 200ms var(--ease);
}

.hero__floors:hover {
  color: var(--gold-light);
}

.hero__floors-dot {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--ev-line-strong);
  border-radius: 50%;
}

.hero__floors-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-2px) rotate(45deg);
}

/* ---------- ascent: process as an elevator ride ---------- */
.ascent {
  padding-block: clamp(72px, 9vw, 128px);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(44rem 30rem at 0% 100%, transparent, transparent 70%),
    var(--night);
  overflow: hidden;
}

.ascent__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.ascent__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--leaf);
  aspect-ratio: 580 / 752;
  background: var(--deep);
}

.ascent__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translateY(calc(var(--shift, 0) * -1px));
  will-change: transform;
}

.ascent__steps {
  position: relative;
  display: grid;
  gap: clamp(26px, 3.4vw, 40px);
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

/* rail: track + gold fill driven by --progress (0..1) */
.ascent__steps::before,
.ascent__steps::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  inset-inline-start: 25px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.ascent__steps::after {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  transform: scaleY(var(--progress, 1));
  transform-origin: top;
}

.ascent__step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
}

.ascent__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--ev-line-strong);
  border-radius: 50%;
  background: var(--night);
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 600;
  transition: box-shadow 400ms var(--ease), color 400ms var(--ease);
}

.ascent__step.is-reached .ascent__num {
  color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(201, 173, 132, 0.12), 0 0 20px rgba(201, 173, 132, 0.35);
}

.ascent__step h3 {
  margin-top: 8px;
  font-size: var(--ev-title);
  font-weight: 600;
  line-height: var(--ev-lh-title);
}

.ascent__lead {
  margin-top: 8px;
  color: var(--gold-light);
  font-weight: 500;
}

.ascent__step p:not(.ascent__lead) {
  margin-top: 6px;
  color: var(--mist);
}

/* ---------- top floor ---------- */
.topfloor {
  padding-block: clamp(72px, 9vw, 128px);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(46rem 32rem at 80% 30%, rgba(201, 173, 132, 0.072), transparent 70%),
    var(--night);
}

.topfloor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.topfloor__text .lead {
  margin-top: 18px;
}

.topfloor__text .section-title {
  margin-top: 16px;
}

.topfloor__visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--leaf-mirror);
  aspect-ratio: 784 / 752;
}

.topfloor__media img,
.contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- floor hints in services, use cases, contact ---------- */
.pillar__floor {
  grid-column: 1 / -1;
  display: inline-grid;
  place-items: center;
  justify-self: start;
  width: 48px;
  height: 48px;
  margin-bottom: -8px;
  border: 1.5px solid var(--ev-line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 600;
}

.pillar__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.pillar__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold);
  font-size: var(--ev-ui);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

.uc-card__floor {
  margin-top: -4px;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.contact__visual {
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--leaf-mirror);
  aspect-ratio: 650 / 520;
}

.contact__media img {
  object-position: 50% 40%;
}

.scroll-progress {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  pointer-events: none;
}

[dir="rtl"] .scroll-progress {
  transform-origin: right;
}

@media (max-width: 980px) {
  .floors__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .lift-panel {
    position: relative;
    top: 0;
    padding: 14px;
    border-radius: 22px;
  }

  .lift-panel__display {
    margin-bottom: 12px;
  }

  .lift-btn {
    min-height: 52px;
    gap: 12px;
    padding: 4px 8px;
  }

  .ascent__grid,
  .topfloor__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ascent__visual {
    aspect-ratio: 16 / 9;
  }

  .topfloor__visual {
    aspect-ratio: 16 / 10;
    order: -1;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    align-items: end;
    padding-top: calc(var(--nav-height) + 34vh);
  }

  .hero__media img {
    object-position: 50% 30%;
  }

  .hero::before,
  [dir="rtl"] .hero::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.92) 46%, rgba(0, 0, 0, 0.25) 78%, rgba(0, 0, 0, 0.15) 100%);
  }

  .hero__doors {
    inset: 0 0 45% 0;
  }

  .floor-panel__cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .floor-panel {
    border-radius: var(--ev-radius-card);
  }
}

@media (max-width: 620px) {
  .hero__signal {
    margin-bottom: 14px;
  }


  .hero__copy {
    margin-top: 18px;
  }

  .hero__actions {
    display: grid;
    width: 100%;
    margin-top: 26px;
  }

  .lift-btn__ring {
    width: 42px;
    height: 42px;
    font-size: var(--ev-small);
  }

  .floor-panel__actions .button,
  .pillar__actions .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__doors {
    display: none;
  }

  .hero__text,
  .floors.is-enhanced .floor-panel {
    animation: none;
  }

  .ascent__media img {
    height: 100%;
    transform: none;
  }

  .ascent__steps::after {
    transform: none;
  }
}

/* ---------- services ---------- */
.pillars {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.pillar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--leaf);
  padding: clamp(28px, 4.4vw, 60px);
  background:
    radial-gradient(40rem 22rem at 0% 0%, rgba(201, 173, 132, 0.054), transparent 70%),
    linear-gradient(160deg, var(--raise), var(--deep) 70%);
  overflow: hidden;
  isolation: isolate;
}

.pillar:nth-child(even) {
  border-radius: var(--leaf-mirror);
  background:
    radial-gradient(40rem 22rem at 100% 0%, rgba(201, 173, 132, 0.054), transparent 70%),
    linear-gradient(200deg, var(--raise), var(--deep) 70%);
}

.pillar__leaf {
  position: absolute;
  right: -60px;
  bottom: -70px;
  z-index: -1;
  width: 300px;
  opacity: 0.14;
}

.pillar:nth-child(even) .pillar__leaf {
  right: auto;
  left: -60px;
  transform: scaleX(-1);
}

.pillar__leaf path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
}

.pillar__name {
  color: var(--gold);
  font-size: var(--ev-ui);
  font-weight: 500;
}

.pillar h3, .pillar .pillar__h {
  margin-top: 14px;
  font-size: var(--ev-title);
  font-weight: 600;
  line-height: var(--ev-lh-title);
}

.pillar__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.pillar__photo--elvi {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 95%, rgba(201, 173, 132, 0.28), transparent 70%),
    linear-gradient(170deg, #1e1e1e, #000000 80%);
}

.pillar__photo--elvi img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 92%;
  width: auto;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

.pillar__copy {
  margin-top: 16px;
  color: var(--mist);
}

.pillar__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-self: center;
}

.pillar__list li {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line-soft);
  padding-block: 16px;
}

.pillar__list li:last-child {
  border-bottom: 0;
}

.pillar__list strong {
  font-size: var(--ev-text);
  font-weight: 500;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.pillar__list span {
  color: var(--mist);
  font-size: var(--ev-ui);
}

.tag {
  display: inline-block;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 1px 8px;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 400;
  vertical-align: 2px;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.panel-intro h3 {
  font-size: var(--ev-title);
  font-weight: 600;
  line-height: var(--ev-lh-title);
}

.panel-intro p {
  margin-top: 12px;
  color: var(--mist);
}

.note {
  margin-top: 16px;
  color: var(--subtle);
  font-size: var(--ev-small);
}

fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: var(--ev-ui);
  font-weight: 500;
}

.question + .question {
  margin-top: 26px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 0 16px;
  color: var(--mist);
  font-size: var(--ev-small);
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.chip:hover span {
  border-color: rgba(217, 193, 156, 0.4);
  color: var(--ivory);
}

.chip input:checked + span {
  border-color: var(--gold);
  background: rgba(201, 173, 132, 0.16);
  color: var(--ivory);
}

.check-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.check-hint {
  color: #ffb4ab;
  font-size: var(--ev-small);
}

.result {
  border: 1px solid var(--line);
  border-radius: var(--leaf-mirror);
  padding: clamp(22px, 3vw, 34px);
  background: rgba(0, 0, 0, 0.6);
  min-height: 100%;
}

.result__empty {
  display: grid;
  gap: 16px;
  place-items: center;
  min-height: 320px;
  color: var(--subtle);
  text-align: center;
}

.result__empty svg {
  width: 80px;
  opacity: 0.6;
}

.result__empty path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
}

.result h4 {
  margin: 0 0 18px;
  font-size: var(--ev-h3);
  font-weight: 600;
  line-height: var(--ev-lh-h3);
}

.recs {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rec {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 16px;
  animation: rise 420ms var(--ease) both;
}

.rec:nth-child(2) {
  animation-delay: 90ms;
}

.rec:nth-child(3) {
  animation-delay: 180ms;
}

.rec:nth-child(4) {
  animation-delay: 270ms;
}

.rec small {
  color: var(--gold);
  font-size: var(--ev-small);
}

.rec strong {
  display: block;
  margin-top: 2px;
  font-size: var(--ev-text);
  font-weight: 500;
}

.rec p {
  margin-top: 4px;
  color: var(--mist);
  font-size: var(--ev-ui);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.result .button {
  margin-top: 24px;
}

/* automation demo */

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 13px 16px;
  background: rgba(0, 0, 0, 0.7);
  font-size: var(--ev-ui);
  font-weight: 400;
  line-height: var(--ev-lh-input);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 173, 132, 0.16);
}

/* assistant tab */

/* ---------- process ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-wrap {
  position: relative;
  isolation: isolate;
}

.process__wave {
  position: absolute;
  top: 22px;
  right: 8%;
  left: 8%;
  z-index: -1;
  height: 60px;
}

.process__wave path {
  fill: none;
  stroke: url(#orbitGold);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
}

.step__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  border-radius: var(--ev-radius-card);
  background: var(--night);
  color: var(--gold);
  font-weight: 500;
}

.step h3 {
  margin-top: 24px;
  font-size: var(--ev-h3);
  font-weight: 600;
  line-height: var(--ev-lh-h3);
}

.step p {
  margin-top: 10px;
  color: var(--mist);
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 46rem);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.about__text p {
  margin-top: 22px;
  color: var(--mist);
  font-size: var(--ev-lead);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value {
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 26px;
  background: linear-gradient(160deg, rgba(30, 30, 30, 0.9), rgba(0, 0, 0, 0.6));
}

.value:nth-child(2),
.value:nth-child(3) {
  border-radius: var(--ev-radius-card);
}

.value strong {
  display: block;
  color: var(--gold-light);
  font-size: var(--ev-lead);
  font-weight: 600;
}

.value p {
  margin-top: 8px;
  color: var(--mist);
  font-size: var(--ev-ui);
}

/* ---------- contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 28px;
  border-bottom: 1px solid var(--ev-line-strong);
  color: var(--ivory);
  font-weight: 400;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--leaf);
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(160deg, var(--raise), var(--deep) 75%);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.form-row .field {
  margin-top: 0;
}

.field label {
  font-size: var(--ev-small);
  font-weight: 500;
}

/* contact preference: e-mail or phone; the phone field is emphasised when a call is wanted */
.reach {
  margin-top: 18px;
}

.field__tag {
  color: var(--subtle);
  font-weight: 400;
}

.field__hint {
  color: var(--subtle);
  font-size: var(--ev-small);
}

.field--phone.is-needed .field__tag {
  color: var(--gold);
}

.field--phone.is-needed input {
  border-color: rgba(217, 193, 156, 0.55);
}

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

.contact-points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
  font-size: var(--ev-ui);
}

.contact-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.contact-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  transform: translateY(1px);
  border-radius: 8px 2px 8px 2px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
}

.field [aria-invalid="true"] {
  border-color: rgba(255, 180, 171, 0.7);
}

.field__error {
  color: #ffb4ab;
  font-size: var(--ev-small);
}

.field__error:empty {
  display: none;
}

.form-message {
  margin-top: 10px;
  color: var(--gold);
  font-size: var(--ev-small);
}

.form-message.is-success,
.form-message.is-error {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--ev-radius-card);
  background: rgba(201, 173, 132, 0.08);
  padding: 12px 14px;
}

.form-message.is-error {
  border-color: rgba(255, 180, 171, 0.5);
  background: rgba(255, 180, 171, 0.08);
  color: #ffb4ab;
}

.contact-card .button {
  width: 100%;
  margin-top: 12px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mist);
  font-size: var(--ev-small);
}

.footer-links a:hover {
  color: var(--ivory);
}

.site-footer small {
  color: var(--subtle);
  font-size: var(--ev-small);
}

.loader-spiral-5x5 {
  display: grid;
  width: 28px;
  height: 28px;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  color: var(--accent);
}

.loader-spiral-5x5 .dot {
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 0 currentColor;
  opacity: 0.05;
  transform: scale(0.72);
  transform-origin: center;
  animation: spiral-5x5-chase 2.7s ease-in-out infinite;
  animation-delay: calc(var(--d) * 0.08s);
  will-change: opacity, transform, box-shadow;
}

@keyframes spiral-5x5-chase {
  0%,
  100% {
    opacity: 0.05;
    transform: scale(0.72);
    box-shadow: 0 0 0 currentColor;
  }

  12% {
    opacity: 0.62;
    transform: scale(0.95);
    box-shadow: 0 0 3px currentColor;
  }

  20%,
  30% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow:
      0 0 4px currentColor,
      0 0 10px currentColor;
  }

  50% {
    opacity: 0.05;
    transform: scale(0.72);
    box-shadow: 0 0 2px currentColor;
  }
}

/* ---------- views ---------- */
.view {
  min-height: 72svh;
  animation: view-in 380ms var(--ease) both;
}

/* The start page shows its hero photo at once: no fade, so it counts as loaded right away */
.view[data-view="start"] {
  animation: none;
}

.view:not([data-view="start"]) > .section:first-child {
  padding-top: calc(var(--nav-height) + clamp(40px, 6vw, 84px));
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.teaser {
  padding-top: 0;
}

.teaser .section-title {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.teaser__card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(160deg, var(--raise), var(--deep) 75%);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.teaser__card:hover {
  border-color: rgba(201, 173, 132, 0.5);
  transform: translateY(-4px);
}

.teaser__card strong {
  font-size: var(--ev-lead);
  font-weight: 600;
  line-height: 1.3;
}

.teaser__more {
  align-self: end;
  margin-top: auto;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 500;
}

.teaser__more::after {
  content: " →";
}

[dir="rtl"] .teaser__more::after {
  content: " ←";
}

/* ---------- language picker ---------- */
.lang {
  position: relative;
}

.lang__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 24px));
  max-height: min(560px, calc(100svh - 110px));
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 18px;
  background: #151515;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  overflow: auto;
}

.lang__panel[hidden] {
  display: none;
}

[dir="rtl"] .lang__panel {
  right: auto;
  left: 0;
}

.lang__panel.is-busy .lang__list,
.lang__panel.is-busy .lang__base {
  opacity: 0.45;
  pointer-events: none;
}

.lang__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang__close {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  background: transparent;
  cursor: pointer;
}

.lang__close::before,
.lang__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ivory);
  transform: translate(-50%, -50%) rotate(45deg);
}

.lang__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lang__label {
  margin-top: 4px;
  color: var(--subtle);
  font-size: var(--ev-small);
}

.lang__base {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lang__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 8px 12px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-size: var(--ev-small);
  text-align: start;
}

.lang__base .lang__option {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.lang__option small {
  color: var(--subtle);
  font-size: var(--ev-small);
}

.lang__option:hover {
  border-color: rgba(217, 193, 156, 0.45);
}

.lang__option[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(201, 173, 132, 0.16);
}

.lang__search {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.7);
  font-size: var(--ev-ui);
}

.lang__search:focus {
  border-color: var(--gold);
  outline: none;
}

.lang__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang__status {
  color: var(--gold);
  font-size: var(--ev-small);
}

.lang__status:empty {
  display: none;
}

.lang-toast {
  position: fixed;
  bottom: clamp(16px, 3vw, 28px);
  left: 50%;
  z-index: 75;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100vw - 24px));
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 18px;
  background: #151515;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
  animation: view-in 300ms var(--ease) both;
}

.lang-toast[hidden] {
  display: none;
}

.lang-toast div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lang-toast .button {
  min-height: 44px;
  padding: 0 18px;
}

/* ---------- free tools ---------- */
.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.tool-form .field {
  margin-top: 18px;
}

.tool-form .question {
  margin-top: 22px;
}

.tool-output {
  display: grid;
  gap: 16px;
  min-width: 0;
}

@media (max-width: 980px) {
  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .lang__panel,
  [dir="rtl"] .lang__panel {
    position: fixed;
    top: calc(var(--nav-height) + 6px);
    right: 12px;
    left: 12px;
    width: auto;
  }

  .lang__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .teaser__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .teaser__card {
    min-height: 0;
  }
}

/* ---------- digital check on the start page ---------- */
.check__box {
  border: 1px solid var(--line);
  border-radius: var(--leaf);
  background:
    radial-gradient(50rem 30rem at 50% -20%, rgba(201, 173, 132, 0.06), transparent 70%),
    var(--panel);
  padding: clamp(20px, 3.4vw, 40px);
}

.view h1[tabindex="-1"]:focus,
.view h2[tabindex="-1"]:focus {
  outline: none;
}

/* ---------- AI digital check ---------- */
.ai-check {
  display: grid;
  gap: 22px;
  max-width: 820px;
  margin-inline: auto;
}

.ai-check > *,
.ai-check__result > * {
  min-width: 0;
}

.ai-check .button {
  min-height: 50px;
  height: auto;
  padding-block: 12px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.ai-check__log {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-check__log:empty {
  display: none;
}

.ai-check__log li {
  display: grid;
  gap: 4px;
  border-left: 2px solid var(--line);
  padding: 2px 0 2px 16px;
}

[dir="rtl"] .ai-check__log li {
  border-right: 2px solid var(--line);
  border-left: 0;
  padding: 2px 16px 2px 0;
}

.ai-check__log span {
  color: var(--subtle);
  font-size: var(--ev-small);
}

.ai-check__log strong {
  color: var(--ivory);
  font-size: var(--ev-ui);
  font-weight: 400;
  white-space: pre-wrap;
}

.ai-check__form {
  display: grid;
  gap: 14px;
}

.ai-check__form[hidden],
.ai-check__result[hidden] {
  display: none;
}

.ai-check__head {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 500;
}

.ai-check__progress {
  position: relative;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--line-soft);
}

.ai-check__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transition: width 420ms var(--ease);
}

.ai-check__question {
  min-height: 1.3em;
  font-size: var(--ev-title);
  font-weight: 500;
  line-height: 1.3;
}

.ai-check__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-check__options:empty {
  display: none;
}

.ai-check__chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 0 18px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font: inherit;
  font-size: var(--ev-ui);
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.ai-check__chip:hover {
  border-color: var(--gold);
  background: rgba(201, 173, 132, 0.12);
}

.ai-check textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 14px 16px;
  background: var(--field, rgba(0, 0, 0, 0.7));
  color: var(--ivory);
  font: inherit;
  font-size: var(--ev-ui);
  line-height: 1.5;
  resize: vertical;
}

.ai-check textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 173, 132, 0.16);
}

.ai-check__hint {
  color: var(--subtle);
  font-size: var(--ev-small);
}

.ai-check__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.ai-check__form.is-busy .ai-check__question,
.ai-check__form.is-busy .ai-check__options,
.ai-check__form.is-busy textarea,
.ai-check__form.is-busy .ai-check__hint {
  opacity: 0.35;
  pointer-events: none;
}

.ai-check__form.is-busy .check-hint {
  color: var(--gold);
}

.ai-check__form.is-busy .check-hint::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ai-check__result {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: clamp(20px, 3vw, 32px);
  background: var(--deep);
  animation: view-in 380ms var(--ease) both;
}

.ai-check__result h3 {
  font-size: var(--ev-title);
  font-weight: 600;
  line-height: var(--ev-lh-title);
}

.ai-check__result h4 {
  margin: 6px 0 0;
  color: var(--gold);
  font-size: var(--ev-ui);
  font-weight: 500;
}

.ai-check__summary {
  color: var(--mist);
  font-size: var(--ev-text);
}

.ai-check__result .recs {
  margin: 0;
}

.ai-check__agenda {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.3em;
  color: var(--ivory);
}

.ai-check__agenda li::marker {
  color: var(--gold);
}

.ai-check__result .note {
  margin: 0;
}

@media (max-width: 980px) {

  .ai-check__actions .button {
    width: 100%;
  }
}

/* microphone in the digital check: speak the answer instead of typing */
.ai-check__field {
  position: relative;
}

.ai-check__field:has(.ai-check__mic:not([hidden])) textarea {
  padding-inline-end: 64px;
}

.ai-check__mic {
  position: absolute;
  inset-inline-end: 10px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--raise);
  color: var(--gold);
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}

.ai-check__mic[hidden] {
  display: none;
}

.ai-check__mic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.ai-check__mic:hover,
.ai-check__mic:focus-visible {
  border-color: var(--gold);
}

.ai-check__mic.is-recording {
  border-color: transparent;
  background: var(--gold);
  color: var(--ev-ink);
  animation: mic-pulse 1.4s ease-in-out infinite;
}

.ai-check__mic:disabled {
  opacity: 0.6;
  cursor: wait;
}

@keyframes mic-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(201, 173, 132, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-check__mic.is-recording {
    animation: none;
  }
}

/* ---------- /hallo/: landing page for links shared in WhatsApp and social media ---------- */
.hallo {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  max-width: 640px;
  margin-inline: auto;
}

.hallo__card,
.hallo__path {
  border: 1px solid var(--line);
  border-radius: var(--leaf);
  padding: clamp(22px, 5vw, 40px);
  background: linear-gradient(160deg, var(--raise), var(--deep) 80%);
}

.hallo__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hallo__photo {
  width: 88px;
  height: 88px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  object-fit: cover;
}

.hallo__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hallo__langs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: var(--ev-small);
  cursor: pointer;
}

.hallo__langs button[aria-pressed="true"] {
  border-color: var(--ev-gold-500);
  background: var(--ev-gold-500);
  color: var(--ev-ink);
  font-weight: 600;
}

.hallo__more-langs {
  display: grid;
  place-items: center;
  width: 40px;
  padding: 0 !important;
}

.hallo__more-langs svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.hallo__ref {
  margin-top: 18px;
  color: var(--gold);
  font-weight: 600;
}

.hallo__title {
  margin-top: 22px;
  font-family: var(--ev-font-display);
  font-size: var(--ev-h2);
  font-weight: 600;
  line-height: var(--ev-lh-h2);
}

.hallo__lead {
  margin-top: 14px;
  color: var(--mist);
}

.hallo__question {
  margin-top: 24px;
  font-size: var(--ev-lead);
  font-weight: 600;
}

.hallo__choices {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.hallo__choice {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.hallo__choice strong {
  font-size: var(--ev-text);
}

.hallo__choice span {
  color: var(--mist);
  font-size: var(--ev-small);
}

.hallo__choice:hover,
.hallo__choice[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--ev-gold-wash);
}

.hallo.is-enhanced .hallo__path:not(.is-open) {
  display: none;
}

.hallo__path {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.hallo__path h2 {
  font-family: var(--ev-font-display);
  font-size: var(--ev-title);
  font-weight: 600;
  line-height: var(--ev-lh-title);
}

.hallo__offer {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.hallo__offer dt {
  font-weight: 600;
}

.hallo__offer dd {
  margin: 2px 0 0;
  color: var(--mist);
}

.hallo__pilot {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 24px;
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 16px;
}

.hallo__pilot p,
.hallo__text,
.hallo__rec p {
  color: var(--mist);
}

.hallo__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.hallo__actions .button {
  width: 100%;
  justify-content: center;
}

.hallo__actions [hidden] {
  display: none;
}

.hallo__wa {
  gap: 10px;
}

.hallo__wa svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.hallo__small {
  margin-top: 12px;
  color: var(--subtle);
  font-size: var(--ev-small);
}

.hallo__rec {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.hallo__rec h3 {
  margin-bottom: 8px;
  font-size: var(--ev-h3);
  font-weight: 600;
  line-height: var(--ev-lh-h3);
}

.hallo__name {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  font-size: var(--ev-small);
}

.hallo__name input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: var(--field, transparent);
  color: var(--ivory);
  font: inherit;
  font-size: var(--ev-ui);
}

.hallo__thanks {
  margin-top: 24px;
  font-family: var(--ev-font-body);
  font-size: var(--ev-lead);
  font-weight: 500;
}

.hallo__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.hallo__links a {
  color: var(--gold);
  font-weight: 600;
}

@media (min-width: 640px) {
  .hallo__choices {
    grid-template-columns: 1fr 1fr;
  }

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

  .hallo__actions > :only-child,
  .hallo__actions > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ---------- appointment request: day, time, summary ---------- */
.booking {
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}

.form-step-title {
  margin-top: 8px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  font-weight: 500;
}

.booking {
  display: grid;
  gap: 14px;
}

.booking__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 999px;
  background: rgba(201, 173, 132, 0.08);
}

.booking__step {
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 999px;
  color: var(--mist);
  transition: background 220ms var(--ease), color 220ms var(--ease);
}

.booking__step svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking__step.is-active,
.booking__step.is-done {
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: var(--ev-ink);
}

.booking__summary {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--gold);
  border-radius: 18px;
  padding: 12px 16px;
}

.booking__summary[hidden],
.booking__times[hidden],
.booking__calendar[hidden] {
  display: none;
}

.booking__summary span {
  display: block;
  color: var(--mist);
  font-size: var(--ev-small);
}

.booking__summary strong {
  color: var(--gold);
  font-size: var(--ev-text);
  font-weight: 600;
}

.booking__change {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: var(--ev-small);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking__month {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.booking__month p {
  font-size: var(--ev-text);
  font-weight: 600;
}

.booking__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.booking__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.booking__weekdays,
.booking__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}

.booking__weekdays {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
  color: var(--mist);
  font-size: var(--ev-small);
  font-weight: 600;
}

.booking__days button {
  aspect-ratio: 1;
  max-height: 48px;
  min-height: 40px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-size: var(--ev-ui);
}

.booking__days button:disabled {
  color: var(--subtle);
  opacity: 0.45;
  text-decoration: line-through;
  cursor: default;
}

.booking__days button:not(:disabled):hover {
  border-color: var(--line);
}

.booking__days button[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(201, 173, 132, 0.14);
  color: var(--gold);
  font-weight: 600;
}

.booking__label {
  margin-bottom: 8px;
  font-weight: 500;
}

.booking__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}

.booking__slots button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-size: var(--ev-ui);
  font-variant-numeric: tabular-nums;
}

.booking__slots button:hover {
  border-color: var(--gold);
}

.booking__slots button[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: var(--ev-ink);
  font-weight: 600;
}

.form-when .form-note {
  margin-top: 10px;
}

.field input[type="date"] {
  max-width: 240px;
}

.form-note {
  margin-top: 14px;
  color: var(--subtle);
  font-size: var(--ev-small);
  line-height: 1.6;
}

.form-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- glass booking card ---------- */
/* Frosted glass over soft light: the glow sits behind the card so the blur has something to show */
.contact {
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  grid-column: 2;
  grid-row: 1;
  inset: 4% -4% 8% 6%;
  z-index: 0;
  border-radius: 40%;
  background:
    radial-gradient(42% 38% at 78% 18%, rgba(201, 173, 132, 0.34), transparent 70%),
    radial-gradient(46% 40% at 18% 62%, rgba(150, 160, 172, 0.22), transparent 72%),
    radial-gradient(38% 34% at 70% 88%, rgba(201, 173, 132, 0.18), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025) 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 30px 80px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.contact-card .field input,
.contact-card .field select,
.contact-card .field textarea {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.45);
}

.contact-card .chip span {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.contact-card .chip input:checked + span {
  border-color: rgba(255, 255, 255, 0.9);
  background: #f2f1ee;
  color: #000000;
  font-weight: 500;
}

.contact-card .chip input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.booking__calendar,
.booking__times {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 12px 12px 14px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.booking__times {
  padding: 14px;
}

.booking__steps {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.booking__step.is-active,
.booking__step.is-done {
  background: #f2f1ee;
  color: #000000;
}

.booking__nav {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 22px;
}

.booking__nav:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.1);
}

.booking__weekdays {
  border-bottom: 0;
  padding-bottom: 2px;
}

.booking__days {
  gap: 6px;
}

.booking__days button {
  justify-self: center;
  width: 100%;
  max-width: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background 180ms var(--ease), transform 180ms var(--ease), border-color 180ms var(--ease);
}

.booking__days button:disabled {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  opacity: 0.35;
}

.booking__days button:not(:disabled):hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
}

.booking__days button[aria-pressed="true"] {
  border-color: #ffffff;
  background: #f2f1ee;
  color: #000000;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transform: scale(1.06);
}

.booking__days button:focus-visible,
.booking__slots button:focus-visible,
.booking__nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.booking__slots button {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.booking__slots button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.booking__slots button[aria-pressed="true"] {
  border-color: #ffffff;
  background: #f2f1ee;
  color: #000000;
}

.booking__summary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.booking__summary strong {
  color: var(--ivory);
}

/* Light theme: frosted white glass on a pale surface */
[data-theme="light"] .contact::before {
  background:
    radial-gradient(42% 38% at 78% 18%, rgba(201, 173, 132, 0.4), transparent 70%),
    radial-gradient(46% 40% at 18% 62%, rgba(140, 150, 162, 0.25), transparent 72%),
    radial-gradient(38% 34% at 70% 88%, rgba(201, 173, 132, 0.24), transparent 70%);
}

[data-theme="light"] .contact-card {
  border-color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  box-shadow: inset 0 1px 0 #ffffff, 0 30px 70px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .contact-card .field input,
[data-theme="light"] .contact-card .field select,
[data-theme="light"] .contact-card .field textarea {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .contact-card .chip span,
[data-theme="light"] .booking__calendar,
[data-theme="light"] .booking__times,
[data-theme="light"] .booking__steps,
[data-theme="light"] .booking__nav,
[data-theme="light"] .booking__summary,
[data-theme="light"] .booking__slots button,
[data-theme="light"] .booking__days button:not(:disabled) {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 #ffffff;
}

[data-theme="light"] .booking__days button:not(:disabled):hover,
[data-theme="light"] .booking__slots button:hover {
  border-color: rgba(0, 0, 0, 0.3);
  background: #ffffff;
}

[data-theme="light"] .contact-card .chip input:checked + span,
[data-theme="light"] .booking__step.is-active,
[data-theme="light"] .booking__step.is-done,
[data-theme="light"] .booking__days button[aria-pressed="true"],
[data-theme="light"] .booking__slots button[aria-pressed="true"] {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: #ffffff;
}

@media (max-width: 980px) {
  .contact::before {
    grid-column: 1;
    grid-row: 2;
    inset: 2% 0 4% 0;
  }
}

@media (max-width: 420px) {
  .booking__calendar {
    padding: 10px 6px 12px;
  }

  .booking__days {
    gap: 4px;
  }
}

/* ---------- light theme ---------- */
/* Light design (opt-in via the menu): dark ink on light surfaces, gold only as graphic accent */
:root[data-theme="light"] {
  --night: #ffffff;
  --deep: #f5f5f5;
  --raise: #f5f5f5;
  --panel: rgba(255, 255, 255, 0.9);
  --gold: var(--ev-bronze);
  --gold-light: var(--ev-bronze);
  --gold-deep: #5e4517;
  --ivory: var(--ev-ink);
  --mist: var(--ev-ink-muted);
  --subtle: #5c5c5c;
  --line: rgba(0, 0, 0, 0.14);
  --line-soft: rgba(0, 0, 0, 0.08);
  --shadow: rgba(0, 0, 0, 0.12);
  --field: #ffffff;
  --header: rgba(255, 255, 255, 0.92);
  --menu: #ffffff;
  color-scheme: light;
}

[data-theme="light"] body {
  background:
    radial-gradient(60rem 40rem at 82% -10%, rgba(201, 173, 132, 0.132), transparent 70%),
              var(--night);
}

[data-theme="light"] .button--gold {
  background: #0a0a0a;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .button--gold:hover {
  background: #000000;
}

[data-theme="light"] .scope-dark .button--gold {
  background: #f2f1ee;
  color: #000000;
}

[data-theme="light"] .button--line {
  border-color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .site-header.is-solid,
[data-theme="light"] .site-header {
  background: var(--header);
}

[data-theme="light"] .site-header:not(.is-solid) {
  background: var(--header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="light"] .lang__panel,
[data-theme="light"] .lang-toast {
  background: var(--menu);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .result,
[data-theme="light"] .lang__search,
[data-theme="light"] .field input,
[data-theme="light"] .field select,
[data-theme="light"] .field textarea {
  background: var(--field);
}

[data-theme="light"] .value {
  background: linear-gradient(160deg, var(--raise), var(--deep));
}

[data-theme="light"] .check-hint,
[data-theme="light"] .field__error,
[data-theme="light"] .form-message.is-error {
  color: #b3261e;
}

[data-theme="light"] .vein {
  opacity: 0.55;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .site-header {
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .pillar,
  .panel-grid,
  .about,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .process {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .process__wave {
    display: none;
  }

  .step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 18px;
  }

  .step h3 {
    margin-top: 10px;
  }

  .step p {
    grid-column: 2;
  }

  .veins svg {
    width: 60vw;
    opacity: 0.35;
  }
}

@media (max-width: 620px) {

  .hero__signal {
    margin-bottom: 14px;
  }


  .hero__actions {
    display: grid;
    width: 100%;
    margin-top: 26px;
  }

  .values,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .result__empty {
    min-height: 180px;
  }

  .pillar,
  .pillar:nth-child(even),
  .contact-card {
    border-radius: var(--ev-radius-card);
  }

}

/* ---------- service pages ---------- */
.svc-hero {
  padding-top: calc(var(--nav-height) + clamp(36px, 6vw, 80px));
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(50rem 32rem at 90% 10%, rgba(201, 173, 132, 0.072), transparent 70%),
    radial-gradient(40rem 30rem at 0% 100%, transparent, transparent 70%),
    var(--night);
}

.svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--mist);
  font-size: var(--ev-small);
}

.breadcrumb a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color 200ms var(--ease);
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb [aria-current] {
  color: var(--ivory);
}

.svc-hero__floor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 600;
}

.svc-hero h1 {
  max-width: 18em;
  overflow-wrap: normal;
}

.svc-hero__problem {
  margin-top: 24px;
  color: var(--gold-light);
  font-size: var(--ev-lead);
  font-weight: 500;
  line-height: var(--ev-lh-lead);
}

.svc-hero .lead {
  margin-top: 14px;
}

.svc-hero__region {
  margin-top: 22px;
  color: var(--mist);
  font-size: var(--ev-small);
}

.svc-hero__visual {
  display: grid;
  place-items: center;
}

.svc-why {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.svc-why .section-head {
  margin-bottom: 0;
}

.svc-items {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-item {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 20px 22px;
  background: linear-gradient(160deg, var(--raise), var(--deep) 80%);
}

.svc-item strong {
  font-size: var(--ev-text);
  font-weight: 500;
}

.svc-item span {
  color: var(--mist);
}

.svc-section + .svc-section {
  padding-top: 0;
}

.svc-cta {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 760px;
}

/* contact block at the end of each service page: what happens after a request, at a glance */
.svc-cta__facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ivory);
}

.svc-cta__facts li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

.svc-cta__facts li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 2px;
  width: 16px;
  height: 9px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg) scale(0.85);
}

.svc-cta__mail {
  margin: 0;
  color: var(--mist);
  font-size: var(--ev-ui);
}

.svc-cta__mail a {
  color: var(--gold);
  text-underline-offset: 3px;
}

/* phones: the contact button stays within reach while reading (left of Elvi, see assets/app.js) */
.svc-sticky {
  display: none;
}

@media (max-width: 760px) {
  .svc-sticky:not([hidden]) {
    position: fixed;
    left: max(16px, env(safe-area-inset-left));
    right: calc(max(16px, env(safe-area-inset-right)) + 72px);
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 4px);
    z-index: 65;
    display: block;
  }

  .svc-sticky .button {
    width: 100%;
    min-height: 52px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  }

  .elvi-open .svc-sticky,
  .menu-open .svc-sticky,
  .is-typing .svc-sticky {
    display: none !important;
  }
}

/* floor icons */
.floor-icon {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floor-panel__eyebrow .floor-icon {
  width: 22px;
  height: 22px;
}

.pillar__floor .floor-icon {
  width: 20px;
  height: 20px;
}

.pillar__floor {
  width: auto !important;
  min-width: 48px;
  gap: 6px;
  border-radius: 999px !important;
  padding: 0 14px;
  grid-auto-flow: column;
}

/* mockup: website on a phone with the chat assistant */
.mock-phone {
  width: min(290px, 80vw);
  aspect-ratio: 9 / 18.5;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #2a2a2a, #0d0d0d);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), inset 0 0 0 4px rgba(255, 255, 255, 0.04);
  transform: rotate(-3deg);
}

.mock-phone__screen {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  padding: 16px 14px;
  background: #fafafa;
  color: var(--ev-ink);
}

.mock-site__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-site__logo {
  width: 64px;
  height: 10px;
  border-radius: 6px;
  background: #000000;
}

.mock-site__menu {
  width: 18px;
  height: 10px;
  border-block: 2px solid #000000;
}

.mock-site__hero {
  display: grid;
  gap: 7px;
  border-radius: 18px;
  padding: 16px 14px;
  background: linear-gradient(150deg, #1f1f1f, #000000);
}

.mock-site__hero span {
  height: 9px;
  border-radius: 5px;
  background: rgba(247, 248, 250, 0.85);
}

.mock-site__hero span:nth-child(2) {
  width: 70%;
  background: rgba(247, 248, 250, 0.5);
}

.mock-site__hero .mock-site__btn {
  width: 52%;
  height: 18px;
  margin-top: 6px;
  border-radius: 9px;
  background: linear-gradient(120deg, #d9c19c, #c9ad84);
}

.mock-site__stars {
  color: #b0936a;
  font-size: 14px;
  letter-spacing: 3px;
}

.mock-site__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-site__cards span {
  height: 54px;
  border-radius: 14px;
  background: #ebebeb;
}

.mock-chat {
  position: absolute;
  right: 10px;
  bottom: 14px;
  left: 22px;
  display: grid;
  gap: 6px;
  font-size: var(--ev-small);
  line-height: 1.35;
}

.mock-chat p {
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.mock-chat__in {
  justify-self: end;
  max-width: 80%;
  background: #000000;
  color: #fafafa;
  border-bottom-right-radius: 4px;
}

.mock-chat__out {
  max-width: 90%;
  background: #f5f5f5;
  border-bottom-left-radius: 4px;
}

/* mockup: an automated flow */
.mock-flow {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(380px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-flow::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
}

.mock-flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 18px 6px 6px;
  background: rgba(0, 0, 0, 0.85);
  font-size: var(--ev-ui);
}

.mock-flow__dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: var(--ev-ink);
  font-size: var(--ev-small);
  font-weight: 600;
}

/* mockup: checklist */
.mock-check {
  display: grid;
  gap: 12px;
  width: min(380px, 100%);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 26px 24px;
  background: rgba(0, 0, 0, 0.85);
  list-style: none;
}

.mock-check li {
  position: relative;
  padding-inline-start: 34px;
}

.mock-check li::before {
  content: "✓";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: var(--ev-ink);
  font-size: var(--ev-small);
  font-weight: 600;
}

/* use cases: before and after side by side */
.uc-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 10px 0;
}

.uc-compare p {
  margin: 0 !important;
  border-radius: var(--ev-radius-card);
  padding: 12px 14px;
  font-size: var(--ev-small);
}

.uc-compare__before {
  border: 1px dashed var(--line);
  color: var(--mist);
}

.uc-compare__after {
  border: 1px solid var(--ev-line-strong);
  background: rgba(201, 173, 132, 0.08);
}

@media (max-width: 980px) {
  .svc-hero__grid,
  .svc-why {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-hero__visual {
    order: 2;
  }
}

@media (max-width: 620px) {
  .uc-compare {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-phone {
    width: min(240px, 70vw);
  }
}

/* ---------- elevayme 2.0: content blocks ---------- */
.statement__sub {
  max-width: 34em !important;
  margin-top: 22px !important;
  color: var(--mist);
  font-size: var(--ev-lead) !important;
  font-weight: 400 !important;
  line-height: var(--ev-lh-lead) !important;
  letter-spacing: 0 !important;
}

.floor-panel h3 {
  max-width: 22em;
  font-size: var(--ev-title);
  line-height: var(--ev-lh-title);
  font-weight: 600;
}

.first-talk {
  margin-top: 24px;
  border-inline-start: 2px solid var(--gold);
  padding: 4px 0 4px 16px;
}

.first-talk__title {
  margin-bottom: 4px;
  font-weight: 600;
}

.first-talk p:not(.first-talk__title) {
  color: var(--mist);
}

.uc-note {
  max-width: 640px;
  margin-top: 4px;
  color: var(--subtle);
  font-size: var(--ev-small);
}

.founder {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 88px);
  border: 1px solid var(--line);
  border-radius: var(--leaf);
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(160deg, var(--raise), var(--deep) 75%);
}

.founder__photo {
  display: grid;
  place-items: center;
  width: min(100%, 240px);
  aspect-ratio: 1;
  justify-self: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(201, 173, 132, 0.108), transparent 65%),
    #000000;
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder__monogram {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1.5px solid var(--ev-line-strong);
  border-radius: 50%;
  color: #c9ad84;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.founder__name {
  margin-top: 14px;
  font-size: var(--ev-title);
  font-weight: 600;
  line-height: var(--ev-lh-title);
}

.founder__role {
  margin: 6px 0 16px;
  color: var(--gold);
  font-size: var(--ev-ui);
  font-weight: 500;
}

.founder__text > p:not(.kicker):not(.founder__role) {
  color: var(--mist);
}

.founder__facts {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--ev-ui);
}

.founder__facts li {
  position: relative;
  padding-inline-start: 22px;
}

.founder__facts li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 7px 2px 7px 2px;
  background: var(--gold);
}

.founder__steps {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-inline-start: 20px;
  color: var(--mist);
  font-size: var(--ev-ui);
}

.founder__steps li::marker {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- about me: photo + hello, then short blocks in one reading column ---------- */
.about2__intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 920px;
}

.about2__photo {
  width: 220px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--deep);
}

.about2__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about2__hello {
  font-family: var(--ev-font-display);
}

.about2__lead {
  max-width: 36em;
  margin-top: 18px;
  color: var(--mist);
  font-size: var(--ev-lead);
}

.about2__body {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  max-width: 720px;
  margin-top: clamp(56px, 8vw, 96px);
  margin-inline-start: calc(220px + clamp(24px, 4vw, 56px));
}

.about2__block h2 {
  margin-bottom: 14px;
  font-family: var(--ev-font-display);
  font-size: var(--ev-title);
  font-weight: 600;
  line-height: var(--ev-lh-title);
}

.about2__block p {
  color: var(--mist);
}

.about2__block p + p {
  margin-top: 12px;
}

.about2__facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about2__facts li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.about2__note {
  margin-top: 16px;
  font-style: italic;
}

.about2__how {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  margin: 0;
}

.about2__how dt {
  font-weight: 600;
}

.about2__how dd {
  margin: 4px 0 0;
  color: var(--mist);
}

.about2__steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-inline-start: 22px;
  color: var(--mist);
}

.about2__steps li::marker {
  color: var(--gold);
  font-weight: 600;
}

.about2__cta {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: 720px;
  margin-top: clamp(56px, 8vw, 88px);
  margin-inline-start: calc(220px + clamp(24px, 4vw, 56px));
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 5vw, 48px);
}

.about2__cta h2 {
  font-family: var(--ev-font-display);
  font-size: var(--ev-title);
  font-weight: 600;
  line-height: var(--ev-lh-title);
}

.about2__cta p {
  color: var(--subtle);
  font-size: var(--ev-ui);
}

@media (max-width: 860px) {
  .about2__intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .about2__photo {
    width: 140px;
  }

  .about2__body,
  .about2__cta {
    margin-inline-start: 0;
  }

  .about2__how {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- effects (assets/effects.js); all off with reduced motion ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* intro: the mark rises, the curtain lifts; gone after about a second */
.intro {
  display: none;
}

/* Erster Besuch: Man steht in einer Fahrstuhlkabine (reines CSS, keine Bilder).
   Die Anzeige zählt hoch, oben öffnet sich die Tür, dann geht man durch die Tür auf die Seite. */
.has-intro .intro {
  --bx: 21%; /* wie weit die Rückwand von links/rechts eingerückt ist */
  --bt: 13%; /* Deckenhöhe */
  --bb: 13%; /* Bodenhöhe */
  position: fixed;
  inset: 0;
  z-index: 200;
  display: block;
  overflow: hidden;
  pointer-events: auto;
  /* Sicherheitsnetz: falls das Skript nicht läuft, verschwindet die Kabine von selbst */
  animation: intro-out 400ms var(--ease) 4.5s forwards;
}

.cab {
  position: absolute;
  inset: 0;
  transform-origin: 50% 56%;
  transition: transform 900ms cubic-bezier(0.55, 0, 0.3, 1), opacity 700ms ease 200ms;
}

.cab__wall,
.cab__ceiling,
.cab__floor {
  position: absolute;
  inset: 0;
}

/* gebürsteter Stahl in Navy, Paneelfugen, oben heller durch das Deckenlicht */
.cab__wall {
  background:
    linear-gradient(180deg, rgba(255, 244, 222, 0.1), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(0, 0, 0, 0.35) calc(25% - 1px) 25%),
    linear-gradient(90deg, #141414, #252525 60%, #1c1c1c);
}

.cab__wall--left {
  clip-path: polygon(0 0, var(--bx) var(--bt), var(--bx) calc(100% - var(--bb)), 0 100%);
}

.cab__wall--right {
  clip-path: polygon(100% 0, calc(100% - var(--bx)) var(--bt), calc(100% - var(--bx)) calc(100% - var(--bb)), 100% 100%);
  background:
    linear-gradient(180deg, rgba(255, 244, 222, 0.1), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(0, 0, 0, 0.35) calc(25% - 1px) 25%),
    linear-gradient(270deg, #141414, #252525 60%, #1c1c1c);
}

/* goldener Handlauf an beiden Seitenwänden */
.cab__rail {
  position: absolute;
  inset: 0;
}

.cab__wall--left .cab__rail {
  clip-path: polygon(0 60%, var(--bx) 57.6%, var(--bx) 58.2%, 0 61.3%);
  background: linear-gradient(180deg, #d9c19c, #b8894a);
}

.cab__wall--right .cab__rail {
  clip-path: polygon(100% 60%, calc(100% - var(--bx)) 57.6%, calc(100% - var(--bx)) 58.2%, 100% 61.3%);
  background: linear-gradient(180deg, #d9c19c, #b8894a);
}

.cab__ceiling {
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--bx)) var(--bt), var(--bx) var(--bt));
  background: linear-gradient(180deg, #101010, #1d1d1d);
}

/* Lichtband an der Decke */
.cab__light {
  position: absolute;
  top: calc(var(--bt) * 0.35);
  left: 50%;
  width: 46%;
  height: calc(var(--bt) * 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff6e6, #f4dcb0);
  box-shadow: 0 0 40px 12px rgba(255, 236, 200, 0.35), 0 0 120px 30px rgba(255, 236, 200, 0.12);
  transform: translateX(-50%);
}

.cab__floor {
  clip-path: polygon(var(--bx) calc(100% - var(--bb)), calc(100% - var(--bx)) calc(100% - var(--bb)), 100% 100%, 0 100%);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 173, 132, 0.072), transparent 60%),
    linear-gradient(180deg, #131313, #090909);
}

/* Rückwand mit Tür: oben die Anzeige, rechts das Bedienfeld, in der Mitte die Türflügel */
.cab__back {
  position: absolute;
  top: var(--bt);
  bottom: var(--bb);
  left: var(--bx);
  right: var(--bx);
  display: grid;
  grid-template-columns: 1fr 58% 1fr;
  grid-template-rows: 16% 1fr;
}

.cab__back-top,
.cab__back-side {
  background:
    linear-gradient(180deg, rgba(255, 244, 222, 0.08), transparent 60%),
    linear-gradient(90deg, #1f1f1f, #282828 50%, #1f1f1f);
}

.cab__back-top {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  border-bottom: 3px solid #111111;
}

.cab__back-side {
  display: grid;
  place-items: center;
}

/* Bedienfeld mit Knöpfen */
.cab__panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  width: min(58%, 54px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 9px 8px;
  background: linear-gradient(180deg, #161616, #101010);
}

.cab__panel i {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #313131, #141414);
}

.cab__panel i:last-child {
  background: radial-gradient(circle, #d9c19c, #c99a55);
  box-shadow: 0 0 10px rgba(201, 173, 132, 0.6);
}

.cab__doorway {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 4px #111111, 0 0 0 2px rgba(201, 173, 132, 0.35);
}

.intro__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.4%;
  background:
    linear-gradient(180deg, rgba(255, 244, 222, 0.12), transparent 40%, rgba(0, 0, 0, 0.18)),
    linear-gradient(90deg, #222222, #2f2f2f 45%, #242424);
  transition: transform 760ms cubic-bezier(0.65, 0, 0.35, 1);
}

.intro__door--left {
  left: 0;
  box-shadow: inset -1px 0 0 rgba(217, 193, 156, 0.6);
}

.intro__door--right {
  right: 0;
  box-shadow: inset 1px 0 0 rgba(217, 193, 156, 0.6);
}

/* Stockwerksanzeige über der Tür */
.intro__display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 96px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 6px 14px;
  background: #0b0b0b;
  color: var(--gold);
  font-family: var(--ev-font-display);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: box-shadow 300ms ease;
}

.intro__arrow {
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-bottom: 9px solid currentColor;
  border-left: 6px solid transparent;
  animation: intro-arrow 0.7s ease-in-out infinite alternate;
}

.intro__floor {
  display: inline-block;
  min-width: 2.2em;
  text-align: center;
}

.intro__floor.is-ticking {
  animation: intro-tick 300ms var(--ease);
}

/* "Ding": angekommen, die Anzeige leuchtet kurz auf */
.intro.is-arrived .intro__arrow {
  display: none;
}

.intro.is-arrived .intro__display {
  box-shadow: 0 0 0 4px rgba(201, 173, 132, 0.18), 0 0 30px rgba(201, 173, 132, 0.55);
}

.intro.is-open .intro__door--left {
  transform: translateX(-101%);
}

.intro.is-open .intro__door--right {
  transform: translateX(101%);
}

/* Hinausgehen: die Kabine zieht an einem vorbei, die Seite kommt entgegen */
.intro.is-exiting .cab {
  opacity: 0;
  transform: scale(2.8);
}

.has-intro #main {
  transform: scale(0.94);
  transform-origin: 50% 40vh;
}

.intro-stepping-out #main {
  transform: none;
  transition: transform 950ms cubic-bezier(0.55, 0, 0.3, 1);
}

@media (max-width: 760px) {
  .has-intro .intro {
    --bx: 11%;
    --bt: 10%;
    --bb: 10%;
  }

  .cab__back {
    grid-template-columns: 1fr 66% 1fr;
    grid-template-rows: 11% 1fr;
  }

  .cab__light {
    width: 60%;
  }
}

@keyframes intro-arrow {
  to {
    opacity: 0.35;
    transform: translateY(-2px);
  }
}

@keyframes intro-tick {
  from {
    opacity: 0;
    transform: translateY(45%);
  }
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Größere Tippflächen (mind. 44 px) für kleine Links und Aufklapper */
.uc-stat a,
.uc-card__details > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
}

/* doors close and open when switching pages */
.view-doors {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  pointer-events: none;
  visibility: hidden;
}

.view-doors span {
  flex: 1;
  background: linear-gradient(90deg, #161616, #1f1f1f 55%, #0a0a0a);
}

.view-doors span:first-child {
  box-shadow: inset -1px 0 0 rgba(217, 193, 156, 0.45);
  transform: translateX(-101%);
}

.view-doors span:last-child {
  box-shadow: inset 1px 0 0 rgba(217, 193, 156, 0.45);
  transform: translateX(101%);
}

.view-doors.is-closing,
.doors-arrive .view-doors {
  visibility: visible;
}

.view-doors.is-closing span {
  animation: doors-shut 300ms var(--ease) forwards;
}

.doors-arrive .view-doors span {
  transform: translateX(0);
  animation: doors-open 560ms var(--ease) 80ms forwards;
}

@keyframes doors-shut {
  to {
    transform: translateX(0);
  }
}

@keyframes doors-open {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--door-out));
  }
}

.view-doors span:first-child {
  --door-out: -101%;
}

.view-doors span:last-child {
  --door-out: 101%;
}

/* floor meter: rides up while scrolling */
.floor-meter {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 40;
  transform: translateY(-50%);
  pointer-events: none;
}

.floor-meter ol {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.floor-meter ol::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: 16px;
  width: 1px;
  background: rgba(217, 193, 156, 0.2);
}

.floor-meter li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--subtle);
  font-size: var(--ev-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 300ms var(--ease);
}

.floor-meter li::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-inline-end: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  transition: background 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

[data-theme="light"] .floor-meter li::after {
  border-color: rgba(0, 0, 0, 0.25);
}

.floor-meter li.is-passed::after {
  border-color: var(--gold);
}

.floor-meter li.is-active {
  color: var(--gold);
}

.floor-meter li.is-active::after {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 173, 132, 0.18);
}

.floor-meter__now {
  display: none;
}

@media (max-width: 1240px) {
  .floor-meter ol {
    display: none;
  }

  .floor-meter {
    top: auto;
    right: auto;
    bottom: 18px;
    left: 14px;
    transform: none;
  }

  .floor-meter__now {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 52px;
    height: 30px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    padding: 0 10px;
    /* solid, no backdrop blur: the small pill passes over text while scrolling */
    background: rgba(0, 0, 0, 0.9);
    color: #d9c19c;
    font-size: var(--ev-small);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
  }

  .floor-meter__arrow {
    width: 0;
    height: 0;
    border-inline: 4px solid transparent;
    border-bottom: 6px solid #c9ad84;
  }

  .menu-open .floor-meter,
  .is-typing .floor-meter,
  .contact-in-view .floor-meter {
    display: none;
  }

  .floor-meter {
    transition: opacity 220ms var(--ease);
  }

  .elvi-yield .floor-meter {
    opacity: 0;
  }
}

/* sections glide in */
.reveal-ready :is(.section-head, .floor-panels, .lift-panel, .pillar, .uc-card, .uc-stat, .ascent__step, .topfloor__text, .founder, .pilot__card, .value, .faq details, .contact-card, .check__box, .pain, .industry-card, .offer__card, .fit-item, .hurdle, .faq-list details):not(.is-revealed) {
  opacity: 0;
}

/* blocks rise 40px out of a slight blur (0.8 s, cards 1.2 s); siblings that come in together are
   staggered by 0.1 s (assets/effects.js sets --reveal-delay) */
.reveal-ready .is-revealed {
  animation: reveal-in 800ms var(--fx-ease) var(--reveal-delay, 0ms) backwards;
}

.reveal-ready :is(.pain, .industry-card, .offer__card, .fit-item, .hurdle, .uc-card, .pillar, .pilot__card, .value).is-revealed {
  animation-duration: 1200ms;
}

/* a section head: label and lead rise, the title builds itself word by word (.fx-words) */
.reveal-ready :is(.section-head, .topfloor__text).is-revealed {
  animation: none;
}

.reveal-ready :is(.section-head, .topfloor__text).is-revealed > :not(.section-title),
.reveal-ready :is(.section-head, .topfloor__text).is-revealed > .section-title:not(.fx-words) {
  animation: reveal-in 800ms var(--fx-ease) backwards;
}

.reveal-ready :is(.section-head, .topfloor__text).is-revealed > .section-title ~ * {
  animation-delay: 250ms;
}

/* after the entrance (assets/effects.js): no animation, filter or transform left on the element */
.reveal-ready .fx-settled,
.fx-settled {
  animation: none !important;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
  }
}

/* cards tilt slightly towards the pointer */
.uc-card.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0)) translateY(-4px);
  transition: transform 120ms linear, border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.pillar.is-tilting,
.founder.is-tilting,
.pilot__card.is-tilting {
  transform: perspective(1400px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
  transition: transform 160ms linear;
}

/* soft gold light follows the pointer in dark sections */
.scope-dark.has-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(201, 173, 132, 0.042), transparent 70%);
  pointer-events: none;
}

.scope-dark > * {
  position: relative;
  z-index: 1;
}

.hero.scope-dark > .hero__media,
.hero.scope-dark > .hero__doors {
  position: absolute;
}

.hero.scope-dark > .hero__media {
  z-index: -2;
}

.hero.scope-dark > .hero__doors {
  z-index: -1;
}

/* brushed metal on the lift panel */
.lift-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px), linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.05) 50%, transparent 65%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .has-intro .intro,
  .view-doors,
  .sky {
    display: none;
  }

  .reveal-ready :is(.section-head, .floor-panels, .lift-panel, .pillar, .uc-card, .uc-stat, .ascent__step, .topfloor__text, .founder, .pilot__card, .value, .faq details, .contact-card, .check__box, .pain, .industry-card, .offer__card, .fit-item, .hurdle, .faq-list details),
  .reveal-ready :is(.section-head, .topfloor__text) > * {
    opacity: 1;
    animation: none;
  }

  .button--gold::after {
    display: none;
  }
}

/* ---------- Elvi, the AI assistant ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.elvi-face {
  position: relative;
  display: grid;
  flex: none;
  place-items: end center;
  overflow: hidden;
  border: 2px solid var(--ev-gold-500);
  border-radius: 50%;
  padding: 0;
  background: radial-gradient(circle at 50% 30%, #313131, var(--ev-navy-900));
}

.elvi-face__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--ev-base) var(--ease);
}

/* launcher: round face plus a short line, bottom right */
.elvi-launcher {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ev-line-strong);
  border-radius: var(--ev-radius-pill);
  padding: 5px 18px 5px 5px;
  background: rgba(0, 0, 0, 0.94);
  color: var(--ev-white);
  cursor: pointer;
  font-family: var(--ev-font-body);
  font-size: var(--ev-small);
  font-weight: 600;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  transition: transform var(--ev-base) var(--ease), opacity var(--ev-base) var(--ease), box-shadow var(--ev-base) var(--ease);
}

.elvi-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.elvi-launcher:focus-visible {
  outline: none;
  box-shadow: var(--ev-focus);
}

.elvi-face--launcher {
  width: 52px;
  height: 52px;
}

.elvi-open .elvi-launcher,
.menu-open .elvi-launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

@media (prefers-reduced-motion: reduce) {
  .elvi-launcher {
    transition: none;
  }
}

/* The launcher stays on screen while scrolling (it no longer steps aside). Instead the page keeps
   room for it: at the end of the page the footer ends above it, and anything scrolled to or
   focused with the keyboard stops above it (scroll-padding). On service pages the sticky contact
   button sits left of it. */
html {
  scroll-padding-bottom: calc(max(16px, env(safe-area-inset-bottom)) + 76px);
}

.site-footer {
  padding-bottom: calc(max(16px, env(safe-area-inset-bottom)) + 84px);
}

/* chat window */
.elvi-panel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 72;
  display: flex;
  flex-direction: column;
  width: min(400px, calc(100vw - 32px));
  height: min(640px, calc(100dvh - 32px));
  overflow: hidden;
  border: 1px solid var(--ev-line-strong);
  border-radius: var(--ev-radius-panel);
  background: var(--ev-navy-900);
  color: var(--ev-white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  font-family: var(--ev-font-body);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom right;
  visibility: hidden;
  transition: opacity var(--ev-base) var(--ease), transform var(--ev-base) var(--ease), visibility 0s linear var(--ev-base);
}

.elvi-panel[hidden] {
  display: none;
}

.elvi-open .elvi-panel {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity var(--ev-base) var(--ease), transform var(--ev-base) var(--ease);
}

.elvi-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ev-line);
  padding: 14px 14px 14px 16px;
  background: radial-gradient(18rem 8rem at 0% 0%, rgba(201, 173, 132, 0.084), transparent 70%), var(--ev-navy-800);
}

.elvi-face--head {
  width: 56px;
  height: 56px;
  cursor: pointer;
}

.elvi-face--head:focus-visible {
  outline: none;
  box-shadow: var(--ev-focus);
}

.elvi-panel__title {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.elvi-panel__title strong {
  font-family: var(--ev-font-display);
  font-size: var(--ev-lead);
  font-weight: 600;
}

.elvi-panel__title span {
  color: var(--ev-muted);
  font-size: var(--ev-small);
}

.elvi-panel__close,
.elvi-voice__close {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--ev-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.elvi-panel__close::before,
.elvi-panel__close::after,
.elvi-voice__close::before,
.elvi-voice__close::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ev-white);
  transform: rotate(45deg);
}

.elvi-panel__close::after,
.elvi-voice__close::after {
  transform: rotate(-45deg);
}

.elvi-panel__close:focus-visible,
.elvi-voice__close:focus-visible {
  outline: none;
  box-shadow: var(--ev-focus);
}

.elvi-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
}

.elvi-msg {
  max-width: 86%;
  border-radius: 18px;
  padding: 10px 14px;
  font-size: var(--ev-ui);
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.elvi-msg--bot {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: var(--ev-navy-800);
}

.elvi-msg--user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: rgba(201, 173, 132, 0.16);
}

.elvi-msg--voice::before {
  content: "🎙 ";
}

.elvi-msg--typing {
  display: inline-flex;
  gap: 5px;
}

.elvi-msg--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ev-gold-400);
  animation: elvi-dot 1s ease-in-out infinite;
}

.elvi-msg--typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.elvi-msg--typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes elvi-dot {
  50% {
    opacity: 0.3;
    transform: translateY(-3px);
  }
}

.elvi-contact {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-radius: var(--ev-radius-button);
  padding: 0 16px;
  background: var(--ev-gradient-gold);
  color: var(--ev-ink);
  font-size: var(--ev-small);
  font-weight: 600;
}

.elvi-contact--voice {
  align-self: center;
  margin-top: 4px;
}

.elvi-contact:focus-visible {
  outline: none;
  box-shadow: var(--ev-focus);
}

.elvi-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 10px;
}

.elvi-suggestions[hidden] {
  display: none;
}

.elvi-suggestions button {
  min-height: 40px;
  border: 1px solid var(--ev-line-strong);
  border-radius: var(--ev-radius-pill);
  padding: 0 14px;
  background: transparent;
  color: var(--ev-white);
  cursor: pointer;
  font: inherit;
  font-size: var(--ev-small);
}

.elvi-suggestions__label {
  flex-basis: 100%;
  margin: 0;
  color: var(--ev-gold-500);
  font-size: var(--ev-small);
  font-weight: 600;
}

[data-theme="light"] .elvi-suggestions__label {
  color: var(--ev-bronze);
}

.elvi-suggestions button:hover {
  border-color: var(--ev-gold-500);
  background: var(--ev-gold-wash);
}

/* scripted guide in the chat (assets/elvi.js): answer choices and links to existing pages */
.elvi-choices,
.elvi-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: stretch;
}

.elvi-choices button,
.elvi-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--ev-line-strong);
  border-radius: var(--ev-radius-pill);
  padding: 0 14px;
  background: transparent;
  color: var(--ev-white);
  cursor: pointer;
  font: inherit;
  font-size: var(--ev-small);
  text-decoration: none;
}

.elvi-links a {
  border-color: var(--ev-gold-500);
  color: var(--ev-gold-400);
}

.elvi-links a::after {
  content: "→";
  margin-left: 6px;
}

.elvi-choices button:hover,
.elvi-links a:hover {
  border-color: var(--ev-gold-500);
  background: var(--ev-gold-wash);
}

.elvi-choices button:focus-visible,
.elvi-links a:focus-visible,
.elvi-suggestions button:focus-visible,
.elvi-human a:focus-visible {
  outline: none;
  box-shadow: var(--ev-focus);
}

[data-theme="light"] .elvi-links a {
  border-color: var(--ev-bronze);
  color: var(--ev-bronze);
}

.elvi-human {
  margin-top: 4px;
  color: var(--ev-muted);
  font-size: var(--ev-small);
  text-align: center;
}

.elvi-human a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.elvi-form {
  border-top: 1px solid var(--ev-line);
  padding: 12px 12px max(10px, env(safe-area-inset-bottom));
}

.elvi-input-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  border: 1px solid var(--ev-line-strong);
  border-radius: 24px;
  padding: 6px 6px 6px 14px;
  background: var(--ev-navy-950);
}

.elvi-input-row:focus-within {
  border-color: var(--ev-gold-500);
}

.elvi-input {
  flex: 1;
  min-height: 36px;
  max-height: 120px;
  resize: none;
  border: 0;
  padding: 7px 0;
  background: transparent;
  color: var(--ev-white);
  font: inherit;
  font-size: var(--ev-ui); /* 16px keeps iOS from zooming in */
  line-height: 1.4;
  outline: none;
}

.elvi-dictate {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ev-white);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.elvi-dictate svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.elvi-dictate:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* like WhatsApp: the microphone while the field is empty, the send arrow once there is text */
.elvi-form:not(.has-text) .elvi-send,
.elvi-form.has-text .elvi-dictate {
  display: none;
}

.elvi-form.is-recording .elvi-dictate {
  transform: scale(1.25);
  background: #c0392b;
  color: #fff;
  transition: transform 160ms ease;
}

.elvi-form {
  position: relative;
}

/* the recording bar floats above the input, so nothing moves under the finger */
.elvi-rec {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  border: 1px solid rgba(231, 76, 60, 0.35);
  border-radius: 16px;
  padding: 10px 14px;
  background: #1c1c1c;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: var(--ev-white);
  font-size: var(--ev-small);
}

.elvi-rec[hidden] {
  display: none;
}

.elvi-rec__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e74c3c;
  animation: elvi-rec-blink 1s ease-in-out infinite;
}

.elvi-rec__time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.elvi-rec__hint {
  flex: 1 1 160px;
  color: var(--ev-muted);
}

.elvi-rec__cancel,
.elvi-rec__send {
  min-height: 34px;
  border: 1px solid var(--ev-line-strong);
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: var(--ev-small);
}

.elvi-rec__send {
  border-color: transparent;
  background: var(--ev-white);
  color: var(--ev-ink);
  font-weight: 600;
}

@keyframes elvi-rec-blink {
  50% {
    opacity: 0.3;
  }
}

[data-theme="light"] .elvi-dictate {
  color: var(--ev-ink);
}

/* light design: Elvi the other way round, white panel and black type; gold stays gold */
[data-theme="light"] .elvi-panel,
[data-theme="light"] .elvi-launcher,
[data-theme="light"] .elvi-voice {
  --ev-navy-950: #ffffff;
  --ev-navy-900: #ffffff;
  --ev-navy-800: #f3f3f3;
  --ev-white: #0a0a0a;
  --ev-muted: #4d4d4d;
  --ev-line: rgba(0, 0, 0, 0.1);
  --ev-line-strong: rgba(0, 0, 0, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .elvi-launcher {
  background: rgba(255, 255, 255, 0.96);
}

/* Elvi is a white robot: in the light design a warm, light circle with a soft inner shade keeps him visible */
[data-theme="light"] .elvi-face {
  background: radial-gradient(circle at 50% 32%, #ffffff, #efe5d4 62%, #dccbae);
}

[data-theme="light"] .elvi-voice__figure {
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.16));
}

[data-theme="light"] .elvi-voice {
  background: #ffffff;
}

[data-theme="light"] .elvi-rec {
  background: #ffffff;
  color: var(--ev-ink);
}

.elvi-send,
.elvi-voice-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.elvi-send {
  background: var(--ev-gradient-gold);
  color: var(--ev-ink);
}

.elvi-send:disabled {
  opacity: 0.45;
  cursor: default;
}

.elvi-voice-btn {
  background: var(--ev-white);
  color: var(--ev-ink);
}

.elvi-send svg,
.elvi-voice-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.elvi-send:focus-visible,
.elvi-voice-btn:focus-visible {
  outline: none;
  box-shadow: var(--ev-focus);
}

.elvi-status {
  min-height: 0;
  margin-top: 6px;
  color: var(--ev-gold-400);
  font-size: var(--ev-small);
}

.elvi-status:empty {
  display: none;
}

.elvi-note {
  margin-top: 8px;
  color: var(--ev-muted);
  font-size: var(--ev-small);
  text-align: center;
}

/* voice mode: full screen, only Elvi */
.elvi-voice {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #121212;
  color: var(--ev-white);
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  font-family: var(--ev-font-body);
}

.elvi-voice[hidden] {
  display: none;
}

.elvi-voice__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 2;
  width: 48px;
  height: 48px;
  border-color: rgba(201, 164, 106, 0.4);
}

.elvi-voice__stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.elvi-voice__glow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(90vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 106, 0.42), rgba(201, 164, 106, 0.08) 55%, transparent 70%);
  transform: translateX(-50%);
  transition: transform 400ms var(--ease), opacity 400ms var(--ease);
}

.elvi-voice__figure {
  position: relative;
  width: auto;
  height: 100%;
  max-height: 72vh;
  max-width: 92vw;
  object-fit: contain;
  object-position: bottom;
  transform-origin: 50% 100%;
}

/* Elvi steht still. Nur der Gesichtsausdruck wechselt: die neue Pose wird
   als zweite Ebene direkt darüber eingeblendet, ohne Lücke und ohne Bewegung. */
.elvi-voice__figure--next {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.elvi-voice__figure--next.is-visible {
  opacity: 1;
}

/* Stumm geschaltet: durchgestrichenes Mikrofon, gedämpfte Farbe (wie in Teams) */
.elvi-mic-off,
.elvi-voice[data-muted="true"] .elvi-mic-on {
  display: none;
}

.elvi-voice[data-muted="true"] .elvi-mic-off {
  display: block;
}

.elvi-voice[data-muted="true"] .elvi-voice__mic {
  background: #2b2b2b;
  color: #f2d9a6;
  box-shadow: inset 0 0 0 2px rgba(201, 164, 106, 0.55);
}

.elvi-voice[data-state="listening"] .elvi-voice__glow {
  animation: elvi-pulse 1.4s ease-in-out infinite;
}

.elvi-voice[data-state="thinking"] .elvi-voice__glow {
  opacity: 0.6;
}

@keyframes elvi-pulse {
  50% {
    transform: translateX(-50%) scale(1.08);
  }
}

.elvi-voice__controls {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-top: 16px;
}

.elvi-voice__mic {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, #e7c992, #c9a46a);
  color: #121212;
  cursor: pointer;
  box-shadow: 0 16px 50px rgba(201, 164, 106, 0.35);
}

.elvi-voice__mic svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.elvi-voice__mic::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(201, 164, 106, 0.6);
  border-radius: 50%;
  opacity: 0;
}

.elvi-voice[data-state="listening"] .elvi-voice__mic::after {
  animation: elvi-ring 1.2s ease-out infinite;
}

@keyframes elvi-ring {
  from {
    opacity: 1;
    transform: scale(0.9);
  }
  to {
    opacity: 0;
    transform: scale(1.35);
  }
}

.elvi-voice__mic:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #121212, 0 0 0 6px #e7c992;
}

.elvi-voice__status {
  max-width: 640px;
  min-height: 1.5em;
  color: #e7d3ad;
  font-size: var(--ev-ui);
  text-align: center;
}

body.elvi-voice-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .elvi-launcher {
    padding: 4px;
  }

  .elvi-launcher__copy {
    display: none;
  }

  .elvi-face--launcher {
    width: 50px;
    height: 50px;
  }

  .is-typing .elvi-launcher,
  .contact-in-view .elvi-launcher {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.9);
  }

  .elvi-panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    padding-top: env(safe-area-inset-top);
  }
}

@media (prefers-reduced-motion: reduce) {
  .elvi-voice__glow,
  .elvi-voice__mic::after,
  .elvi-msg--typing i {
    animation: none !important;
  }
}

/* ---------- Branchen: ein Raster für Startseite (#branchen) und Übersicht /branchen/ ----------
   Vorbild: gleich große, ruhige Karten mit Linien-Icon links und Name (wie sap.com/industries),
   im Elevayme-Design: schwarze Flächen, Haarlinien, Champagner nur für Icon, Hover und die Handlungs-Karte.
   11 Branchen + "Nicht dabei?" (eine Zelle wie die anderen) = 12 Zellen ohne Lücke:
   3 Spalten am Desktop (4 Reihen), 2 am Tablet (6 Reihen), 1 am Handy. */
.industries {
  scroll-margin-top: calc(var(--nav-height) + 8px);
}

.industries--home {
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px);
}

.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1000px) {
  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.industry-card {
  display: flex;
}

.industry-card__link {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  background: var(--raise);
  box-shadow: 0 1px 2px var(--ev-shadow);
  color: var(--ivory);
  transition: border-color var(--ev-fast) var(--ease), background-color var(--ev-fast) var(--ease);
}

@media (min-width: 600px) {
  .industry-card__link {
    min-height: 96px;
    padding: 20px 24px;
  }
}

.industry-card__link:hover {
  border-color: var(--gold);
  background: var(--ev-gold-wash);
}

.industry-card__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.industry-card__icon,
.industry-card__arrow,
.lp-icon,
.lp-kicker__icon,
.links__icon {
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-card__icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.4;
}

.industry-card__name {
  font-family: var(--ev-font-display);
  font-size: var(--ev-text);
  font-weight: 600;
  line-height: 1.3;
}

/* Handlungs-Karte: gleiche Größe, aber Champagner-Rahmen und Pfeil im gefüllten Kreis */
.industry-card--other .industry-card__link {
  border-color: var(--gold);
  background: var(--ev-gold-wash);
  box-shadow: none;
}

.industry-card--other .industry-card__link:hover {
  background: rgba(201, 173, 132, 0.18);
}

.industry-card--other .industry-card__name {
  display: grid;
  gap: 2px;
  flex: 1;
}

.industry-card__cta {
  color: var(--gold-light);
  font-family: var(--ev-font-body);
  font-size: var(--ev-ui);
  font-weight: 500;
}

.industry-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 10px;
  background: var(--gold);
  stroke: var(--ev-ink);
  stroke-width: 2;
  transition: transform var(--ev-fast) var(--ease);
}

.industry-card--other .industry-card__link:hover .industry-card__arrow {
  transform: translateX(3px);
}

[data-theme="light"] .industry-card__link {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .industry-card__link:hover {
  background: #fbf8f3;
}

[data-theme="light"] .industry-card--other .industry-card__link {
  background: #f7f1e7;
}

[data-theme="light"] .industry-card__cta {
  color: var(--gold-deep);
}

[data-theme="light"] .industry-card__arrow {
  stroke: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .industry-card__arrow {
    transition: none;
  }
}

/* ---------- start page v2 ---------- */
/* Section label above a section title: one class for every start page section */
.eyebrow {
  margin: 0 0 -6px;
  color: var(--gold);
  font-family: var(--ev-font-body);
  font-size: var(--ev-small);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Kennst du das? four everyday problems */
.pains {
  padding-block: clamp(56px, 7vw, 96px) clamp(24px, 3vw, 40px);
}

.pains .section-head,
.fit .section-head,
.hurdles .section-head {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 20px 22px 22px;
  background: linear-gradient(160deg, var(--raise), var(--deep) 80%);
}

.pain__num {
  color: var(--gold);
  font-family: var(--ev-font-display);
  font-size: var(--ev-small);
  font-weight: 600;
  letter-spacing: 0;
}

.pain__icon,
.fit-item__icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain__title {
  grid-column: 1 / -1;
  font-size: var(--ev-h3);
  font-weight: 600;
  line-height: var(--ev-lh-h3);
}

.pain__text {
  grid-column: 1 / -1;
  color: var(--mist);
  font-size: var(--ev-ui);
  line-height: 1.55;
}

@media (min-width: 600px) {
  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1100px) {
  .pain-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .pain {
    padding: 24px 24px 28px;
  }

  .pain__title {
    margin-top: 18px;
  }
}

/* Branchen: each card opens its panel below the row (grid-auto-flow dense keeps the row filled) */
.industry-grid--accordion {
  grid-auto-flow: row dense;
}

.industry-panel {
  grid-column: 1 / -1;
}

.industry-panel[hidden] {
  display: none;
}

button.industry-card__link {
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.industry-card__chevron {
  display: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin-inline-start: auto;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--ev-base) var(--ease);
}

.industry-grid--accordion.is-ready .industry-card__chevron {
  display: block;
}

.industry-card__link[aria-expanded="true"] {
  border-color: var(--gold);
  background: var(--ev-gold-wash);
}

.industry-card__link[aria-expanded="true"] .industry-card__chevron {
  transform: rotate(180deg);
}

[data-theme="light"] .industry-card__link[aria-expanded="true"] {
  background: #fbf8f3;
}

.industry-panel__inner {
  display: grid;
  gap: 24px;
  border: 1px solid rgba(201, 173, 132, 0.4);
  border-radius: var(--ev-radius-card);
  padding: var(--ev-card-padding);
  background: linear-gradient(160deg, var(--raise), var(--deep) 85%);
  animation: panel-in var(--ev-slow) var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (min-width: 760px) {
  .industry-panel__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
  }
}

.industry-panel__title {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--ev-font-body);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.industry-panel__list,
.industry-panel__setup {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-panel__list li {
  position: relative;
  padding-inline-start: 22px;
  font-size: var(--ev-ui);
  line-height: 1.55;
}

.industry-panel__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  inset-inline-start: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.industry-panel__setup li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--ev-ui);
}

.industry-panel__setup .lp-icon {
  width: 22px;
  height: 22px;
}

.industry-panel__more {
  display: inline-block;
  margin-top: 10px;
  padding-block: 11px;
  color: var(--ivory);
  font-size: var(--ev-ui);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.industry-panel__more:hover {
  color: var(--gold);
}

/* Leistungen: gold icon circle on top of each card */
.icon-circle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--ev-gold-500);
}

.icon-circle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ev-ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer__actions .offer__more,
.offer__example {
  display: inline-flex;
  align-items: center;
  min-height: var(--ev-target);
}

.offer__example {
  color: var(--mist);
  font-size: var(--ev-small);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}

.offer__example:hover {
  color: var(--ivory);
}

/* Passt zu dir, wenn: one quiet panel, three columns on wide screens */
.fit {
  padding-block: clamp(48px, 6vw, 88px) clamp(24px, 3vw, 40px);
}

.fit-list {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  list-style: none;
  background: var(--deep);
}

.fit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
}

.fit-item + .fit-item {
  border-top: 1px solid var(--line);
}

.fit-item__icon {
  flex: none;
  margin-top: 1px;
}

.fit-item p {
  font-family: var(--ev-font-body);
  font-size: var(--ev-text);
  line-height: var(--ev-lh-text);
  font-weight: 400;
}

/* Founders: one quiet note under the list, same panel style */
.fit-founder {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: 20px 22px;
  background: var(--deep);
}

.fit-founder__title {
  font-family: var(--ev-font-display);
  font-size: var(--ev-h3);
  font-weight: 600;
  line-height: var(--ev-lh-h3);
}

.fit-founder__text {
  margin-top: 6px;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.55;
}

.fit-founder .button {
  justify-self: start;
}

@media (min-width: 860px) {
  .fit-founder {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: 24px 28px;
  }
}

@media (min-width: 860px) {
  .fit-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fit-item {
    flex-direction: column;
    gap: 18px;
    padding: 28px;
  }

  .fit-item + .fit-item {
    border-top: 0;
    border-inline-start: 1px solid var(--line);
  }
}

/* Typische Hürden: the owner's words as a quote, our answer below */
.hurdle-grid {
  display: grid;
  gap: 28px 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .hurdle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hurdle {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.hurdle__quote {
  font-size: var(--ev-h3);
  font-weight: 600;
  line-height: var(--ev-lh-h3);
  quotes: "\201C" "\201D";
}

:root:lang(de) .hurdle__quote {
  quotes: "\201E" "\201C";
}

.hurdle__quote::before {
  content: open-quote;
  color: var(--gold);
}

.hurdle__quote::after {
  content: close-quote;
  color: var(--gold);
}

.hurdle__answer {
  margin-top: 10px;
  max-width: 52ch;
  color: var(--mist);
}

/* Ablauf: four steps with a gold meta line */
.ascent__steps {
  gap: clamp(22px, 2.6vw, 30px);
}

.ascent__meta {
  margin-top: 2px;
  color: var(--gold-light);
  font-size: var(--ev-small);
  font-weight: 600;
}

.ascent__step .ascent__meta + h3 {
  margin-top: 4px;
}

.ascent__text {
  margin-top: 6px;
  color: var(--mist);
}

/* FAQ: native details, heading beside the list on wide screens */
@media (min-width: 1000px) {
  .faq-home {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
  }

  .faq-home .section-head {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    margin-bottom: 0;
  }
}

.faq-list summary {
  font-family: var(--ev-font-display);
  font-weight: 600;
  font-size: var(--ev-text);
}

.faq-list details[open] {
  border-color: rgba(201, 173, 132, 0.45);
}

/* Closing: Elvi instead of a photo */
.topfloor__elvi {
  position: relative;
  justify-self: center;
  width: min(100%, 320px);
  margin: 0;
}

.topfloor__elvi::before {
  content: "";
  position: absolute;
  inset: 12% -10% 0;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 173, 132, 0.2), transparent);
}

.topfloor__elvi img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  mask-image: linear-gradient(180deg, #000 78%, transparent);
}

@media (max-width: 860px) {
  .topfloor--elvi .topfloor__elvi {
    order: 1;
    width: 132px;
    justify-self: start;
    margin-top: -8px;
  }
}

/* Phones: the start page stays compact */
@media (max-width: 599px) {
  .pains,
  .fit,
  .hurdles,
  .faq-home {
    padding-block: 48px 16px;
  }

  .faq-home {
    padding-bottom: 56px;
  }

  .pain {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 16px 18px 18px;
  }

  .pain__num {
    grid-column: 1;
    grid-row: 1;
    line-height: 1.6;
  }

  .pain__icon {
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 24px;
    height: 24px;
    margin-top: 2px;
  }

  .pain__title {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .pain__text {
    grid-column: 2;
    grid-row: 3;
    font-size: var(--ev-ui);
  }

  .offer__card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 14px;
  }

  .offer__card .icon-circle {
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .offer__card .icon-circle svg {
    width: 22px;
    height: 22px;
  }

  .offer__card .offer__text,
  .offer__card .offer__actions {
    grid-column: 1 / -1;
  }

  .offer__card .offer__actions {
    padding-top: 0;
  }

  .ascent__visual {
    display: none;
  }

  .fit-item {
    padding: 16px 18px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .industry-panel__inner {
    animation: none;
  }

  .industry-card__chevron {
    transition: none;
  }
}

.field[hidden] {
  display: none;
}

.lp-cross a {
  color: var(--ivory);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.industries__note {
  margin: 32px 0 0;
  max-width: 62ch;
  color: var(--mist);
}

.industries__note a {
  color: var(--ivory);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links--industries {
  flex-basis: 100%;
  order: 3;
}

.site-footer small {
  order: 4;
}

.about2__photo--mark,
.hallo__photo--mark {
  display: grid;
  place-items: center;
  background: #000000;
}

.about2__photo--mark img,
.hallo__photo--mark img {
  width: 38%;
  height: auto;
  object-fit: contain;
}

.hallo__photo--mark {
  overflow: hidden;
}

[data-theme="light"] .about2__photo--mark,
[data-theme="light"] .hallo__photo--mark {
  border-color: rgba(0, 0, 0, 0.12);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  min-height: var(--ev-control-height);
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  color: var(--ivory);
  cursor: pointer;
}

.field select option {
  background: var(--deep);
  color: var(--ivory);
}

.field--industry {
  margin-top: 18px;
}


/* Menü: "Leistungen" klappt auf */
.menu-group summary {
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.menu-group summary::-webkit-details-marker {
  display: none;
}

.menu-group summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--ev-fast) var(--ease);
}

.menu-group[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.menu-group summary:focus-visible,
.site-menu__sub .menu-group__all:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.site-menu__sub .menu-plain {
  color: var(--ivory);
  font-size: var(--ev-ui);
}

.site-menu__sub .menu-group__all {
  color: var(--gold-light);
  font-weight: 600;
}

.footer-links__title {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 8px 0 0;
  color: var(--ivory);
  font-size: var(--ev-small);
  font-weight: 600;
}

/* ---------- Branchen-Landingpages /branchen/<slug>/ ---------- */
.lp-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

[data-theme="light"] .lp-head {
  background: rgba(255, 255, 255, 0.92);
}

.lp-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-height);
}

.lp-head .lp-head__cta {
  min-height: 44px;
  padding: 0 18px;
}

@media (max-width: 420px) {
  .lp-brand .brand__wordmark {
    display: none;
  }
}

.lp-hero {
  display: grid;
  justify-items: start;
  gap: 22px;
  padding-block: clamp(48px, 9vw, 120px) clamp(48px, 7vw, 88px);
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.lp-kicker__icon {
  width: 22px;
  height: 22px;
}

.lp-hero__title {
  max-width: 19em;
}

.lp-hero__title span {
  display: block;
}

.lp-hero__accent {
  color: var(--gold-light);
}

.lp-hero__lead {
  margin: 0;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 6px;
}

.lp-note {
  margin: 0;
  color: var(--subtle);
  font-size: var(--ev-small);
}

.lp-about {
  max-width: 640px;
  margin: 0;
  color: var(--subtle);
  font-size: var(--ev-ui);
  line-height: 1.6;
}

.lp-about a {
  color: var(--ivory);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.lp-sec {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(56px, 8vw, 104px);
}

.lp-sec__head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-card {
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  padding: var(--ev-card-padding);
  background: linear-gradient(160deg, var(--raise), var(--deep) 80%);
}

.lp-card p {
  margin: 0;
  color: var(--mist);
}

.lp-pain p {
  color: var(--ivory);
  font-size: var(--ev-lead);
  line-height: var(--ev-lh-lead);
}

.lp-pain {
  border-left: 2px solid var(--gold);
}

.lp-questions {
  margin-top: clamp(32px, 5vw, 56px);
}

.lp-questions__title {
  margin: 0 0 14px;
  color: var(--mist);
}

.lp-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-bubble {
  border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--ev-ui);
}

[data-theme="light"] .lp-bubble {
  background: #f5f5f5;
}

.lp-solutions {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.lp-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
}

.lp-solution h3 {
  margin-bottom: 10px;
  font-size: var(--ev-h3);
}

.lp-aside {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--mist);
}

.lp-result {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.lp-result__text {
  display: grid;
  gap: 18px;
}

.lp-result__text .lead {
  margin: 0;
}

.lp-checks {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.lp-checks li {
  position: relative;
  padding-left: 32px;
}

.lp-checks li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 18px;
  height: 10px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg) scale(0.8);
}

.lp-example {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-panel);
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(160deg, var(--raise), var(--deep) 80%);
  box-shadow: 0 30px 70px var(--shadow);
}

.lp-example__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lp-tag {
  border: 1px solid currentColor;
  border-radius: var(--ev-radius-pill);
  padding: 2px 10px;
  color: var(--gold);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.lp-example dl {
  display: grid;
  margin: 0;
}

.lp-example dl div {
  display: grid;
  grid-template-columns: minmax(96px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-block: 11px;
}

.lp-example dt {
  color: var(--subtle);
  font-size: var(--ev-small);
}

.lp-example dd {
  margin: 0;
  font-size: var(--ev-ui);
}

.lp-example figcaption {
  margin-top: 14px;
  color: var(--subtle);
  font-size: var(--ev-small);
}

@media (max-width: 860px) {
  .lp-result {
    grid-template-columns: 1fr;
  }
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-steps li {
  border-top: 1px solid var(--gold);
  padding-top: 20px;
}

.lp-steps__num {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--ev-font-display);
  font-size: var(--ev-ui);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lp-steps h3 {
  margin-bottom: 8px;
  font-size: var(--ev-h3);
}

.lp-steps p {
  margin: 0;
  color: var(--mist);
}

.lp-faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.lp-faq details {
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-card);
  background: var(--deep);
}

.lp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: "+";
  flex: none;
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  transition: transform var(--ev-fast) var(--ease);
}

.lp-faq details[open] summary::after {
  transform: rotate(45deg);
}

.lp-faq summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--ev-radius-card);
}

.lp-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--mist);
}

.lp-final {
  padding-block: clamp(24px, 4vw, 48px) clamp(64px, 9vw, 120px);
}

.lp-final__card {
  display: grid;
  justify-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--ev-radius-panel);
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201, 173, 132, 0.12), transparent 70%),
    linear-gradient(160deg, var(--raise), var(--deep) 80%);
  text-align: center;
}

.lp-final__card h2 {
  max-width: 18em;
  font-size: var(--ev-title);
  line-height: var(--ev-lh-title);
}

.lp-final__card p {
  max-width: 34em;
  margin: 0;
  color: var(--mist);
}

.lp-final__facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ivory);
  text-align: left;
}

.lp-final__facts li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

.lp-final__facts li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 2px;
  width: 16px;
  height: 9px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg) scale(0.85);
}

.lp-final__card .lp-final__mail {
  font-size: var(--ev-ui);
}

.lp-final__mail a {
  color: var(--gold);
  text-underline-offset: 3px;
}

.lp-final__card .lp-note {
  color: var(--subtle);
}

@media (max-width: 560px) {
  .lp-final__card .button,
  .lp-actions .button {
    width: 100%;
  }

  .lp-actions .lp-note {
    width: 100%;
    text-align: center;
  }
}

/* ---------- /links/ (Instagram-Bio) ---------- */
.links {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(100% - 32px, 460px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 48px 32px;
  align-content: center;
  text-align: center;
}

.links__logo img {
  width: 150px;
  height: auto;
}

.links__text {
  margin: 0;
  color: var(--mist);
}

.links__list,
.links__more {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links__more {
  margin-top: 8px;
}

.links__btn {
  width: 100%;
  justify-content: flex-start;
  gap: 14px;
}

.links__more .links__btn {
  justify-content: center;
}

.links__icon {
  width: 22px;
  height: 22px;
}

.links__legal {
  margin: 12px 0 0;
  color: var(--subtle);
  font-size: var(--ev-small);
}

.links__legal a {
  display: inline-block;
  padding: 10px 4px;
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* ================= premium motion (start page) =================
   Particle halo in the hero (assets/halo.js), intro sphere (assets/splash.js), words that come into focus,
   hover parallax with a gold chip, a gold cursor ring, the industry band and gold corner brackets
   (assets/effects.js). Everything is decoration: without JavaScript, WebGL or with reduced motion the page
   reads and works the same, the hero then shows the gold glow and the mark. */

/* ---------- hero: black, a gold glow, the mark in the dark middle of the halo ---------- */
.hero::before,
[dir="rtl"] .hero::before {
  /* scrim: keeps the text readable over the particles (AA), leaves the halo open */
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 36%, rgba(0, 0, 0, 0.18) 56%, transparent 66%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 22%);
}

[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 36%, rgba(0, 0, 0, 0.18) 56%, transparent 66%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 22%);
}

.hero__halo {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero__halo canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero__halo.is-live canvas {
  opacity: 1;
}

/* the orbit: where the ring sits (assets/halo.js reads this box), with the static glow and the mark.
   Wide screens: right of the text, partly beyond the edge. Below 1100 px: above the text. */
.hero__orbit {
  --orbit: min(92vw, 46vh, 460px);
  position: absolute;
  top: calc(var(--nav-height) - 4px);
  left: 50%;
  display: grid;
  width: var(--orbit);
  aspect-ratio: 1;
  place-items: center;
  translate: -50% 0;
  background: radial-gradient(60% 50% at 50% 22%, rgba(201, 173, 132, 0.16), rgba(176, 147, 106, 0.05) 40%, transparent 70%);
  scale: var(--halo-zoom, 1);
}

.hero__mark {
  width: calc(var(--orbit) * 0.12);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(201, 173, 132, 0.32));
  animation: rise-in 1200ms var(--fx-ease) 200ms both;
}

html.splash-running .hero__mark {
  animation-play-state: paused;
}

@media (max-width: 1099px) {
  .hero {
    min-height: auto;
    align-items: end;
    padding-top: calc(var(--nav-height) + min(40vh, 88vw, 420px));
  }

  .hero::before,
  [dir="rtl"] .hero::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.82) 48%, rgba(0, 0, 0, 0.2) 66%, transparent 78%);
  }
}

@media (min-width: 1100px) {
  .hero__orbit {
    --orbit: min(84vh, 50vw, 760px);
    top: 50%;
    left: auto;
    right: calc(var(--orbit) * -0.14);
    translate: 0 -50%;
  }

  [dir="rtl"] .hero__orbit {
    right: auto;
    left: calc(var(--orbit) * -0.14);
  }

  /* three short lines, so the headline ends before the halo */
  .hero__text h1 {
    max-width: 10.5em;
  }
}

/* Phones: the main button has to be on the first screen (360x640 up to 414x896, DE/EN/TR).
   A smaller orbit keeps the mark in the room above the text, the gaps in the text are tighter. */
@media (max-width: 620px) {
  .hero {
    padding-top: calc(var(--nav-height) + min(19vh, 50vw, 220px));
  }

  .hero__orbit {
    --orbit: min(92vw, 30vh, 300px);
  }

  .hero__signal {
    margin-bottom: 10px;
  }

  .hero__copy {
    margin-top: 14px;
  }

  .hero__actions {
    margin-top: 20px;
  }
}

/* Short phones (up to 700px high): no room for the mark above the text, the glow stays.
   The copy uses the body size instead of the lead size, the headline is 2px smaller and the gaps
   are tighter, so the main button ends above Elvi's launcher in the corner (360x640, 375x667). */
@media (max-width: 620px) and (max-height: 700px) {
  .hero {
    padding-top: calc(var(--nav-height) + 8px);
  }

  .hero__mark {
    display: none;
  }

  .hero__signal {
    line-height: 1.35;
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .hero__copy {
    margin-top: 10px;
    font-size: var(--ev-text);
    line-height: 1.45;
  }

  .hero__actions {
    margin-top: 14px;
  }
}

/* ---------- words come into focus (hero h1, section titles) ---------- */
/* The padding makes the word box as tall as its glyphs (Ü above, g below), so the blur during the
   animation never cuts them off; the negative margin keeps the line spacing unchanged. */
.fx-words .fx-word {
  display: inline-block;
  padding-block: 0.14em 0.2em;
  margin-block: -0.14em -0.2em;
}

.hero h1.fx-words .hero__line {
  overflow: visible;
}

.hero h1.fx-words .hero__line > span {
  animation: none;
}

.hero .fx-words .fx-word,
.is-revealed .fx-words .fx-word {
  /* backwards, not both: after the animation no filter stays on the words (Safari kept a filter layer
     per word, cut off descenders and repainted it while scrolling); effects.js then sets .fx-static */
  animation: word-in 1100ms var(--fx-ease) calc(var(--fx-start, 0ms) + var(--i, 0) * 50ms) backwards;
}

.hero .fx-words {
  --fx-start: 250ms;
}

html.splash-running .hero .fx-word,
html.splash-running .hero__signal,
html.splash-running .hero__copy,
html.splash-running .hero__actions {
  animation-play-state: paused;
}

.fx-words.fx-static .fx-word,
.is-revealed .fx-words.fx-static .fx-word {
  animation: none;
}

@keyframes word-in {
  from {
    opacity: 0;
    filter: blur(12px);
    text-shadow: 0 0 18px rgba(201, 173, 132, 0.35);
  }
  to {
    opacity: 1;
    filter: blur(0);
    text-shadow: none;
  }
}

/* ---------- diamond star: a small gold accent before the hero line ---------- */
.diamond-star {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-inline-end: 0.6em;
  vertical-align: -0.06em;
  fill: var(--gold);
  animation: star-turn 3s linear infinite;
}

@keyframes star-turn {
  to {
    transform: rotateY(360deg);
  }
}

/* ---------- gold corner brackets (primary hero button, service cards) ---------- */
.has-corners {
  position: relative;
}

.corners {
  position: absolute;
  inset: -7px;
  pointer-events: none;
}

.offer__card .corners {
  inset: 12px;
}

.corners::before,
.corners::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 0 solid var(--gold);
  transition: transform 400ms var(--fx-ease), opacity 400ms var(--fx-ease);
}

.corners::before {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
  transform-origin: 0 0;
}

.corners::after {
  right: 0;
  bottom: 0;
  border-right-width: 2px;
  border-bottom-width: 2px;
  transform-origin: 100% 100%;
}

.offer__card .corners::before,
.offer__card .corners::after {
  opacity: 0.55;
}

.has-corners:hover .corners::before,
.has-corners:hover .corners::after,
.has-corners:focus-within .corners::before,
.has-corners:focus-within .corners::after,
a.has-corners:focus-visible .corners::before,
a.has-corners:focus-visible .corners::after {
  opacity: 1;
  transform: scale(1.1);
}

/* ---------- the industries as a slow band ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(14px, 2vw, 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__rail {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

[dir="rtl"] .marquee__rail {
  animation-name: marquee-rtl;
}

.marquee:hover .marquee__rail,
.marquee:focus-within .marquee__rail {
  animation-play-state: paused;
}

.marquee__track {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marquee__track li {
  display: flex;
  align-items: center;
}

/* a small gold diamond between the names */
.marquee__track li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--gold-deep);
  opacity: 0.7;
  transform: rotate(45deg);
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 clamp(18px, 2.4vw, 34px);
  color: var(--mist);
  font-family: var(--ev-font-display);
  font-size: var(--ev-h3);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 300ms var(--fx-ease);
}

.marquee__item:hover,
.marquee__item:focus-visible {
  color: var(--gold);
}

.marquee__item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
  border-radius: 8px;
}

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

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

/* ---------- hover parallax and the gold chip that follows the pointer ---------- */
.offer__card .icon-circle,
.industry-card__icon {
  transition: transform 600ms var(--fx-ease);
}

.is-parallax .icon-circle,
.is-parallax .industry-card__icon {
  transform: translate(var(--par-x, 0px), var(--par-y, 0px));
  transition-duration: 250ms;
}

.fx-chip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9989;
  padding: 7px 14px;
  border-radius: var(--ev-radius-pill);
  background: var(--ev-gold-500);
  color: var(--ev-ink);
  font-family: var(--ev-font-body);
  font-size: var(--ev-small);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  scale: 0;
  opacity: 0;
  transform-origin: 0 0;
  transition: scale 350ms var(--fx-ease), opacity 200ms ease;
  will-change: transform;
}

.fx-chip.is-on {
  scale: 1;
  opacity: 1;
}

/* ---------- cursor: a gold ring and a small dot; the system cursor stays ---------- */
.fx-cursor,
.fx-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9990;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms ease;
  will-change: transform;
}

.fx-cursor {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
}

.fx-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 173, 132, 0.45);
  border-radius: 50%;
  transition: scale 350ms var(--fx-ease), border-color 350ms ease, background-color 350ms ease;
}

.fx-cursor.is-hover::before {
  scale: 1.6; /* 40 px -> 64 px */
  border-color: rgba(201, 173, 132, 0.6);
  background: rgba(201, 173, 132, 0.06);
}

.fx-cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--ev-gold-500);
}

.fx-cursor.is-on,
.fx-cursor-dot.is-on {
  opacity: 1;
}

/* ---------- intro (5 s): pixel lettering, gold mark, particle sphere, ring with heartbeat, counter and words ---------- */
html.has-splash::after {
  animation-delay: 6s;
}

.splash {
  transition: opacity 600ms ease, transform 600ms var(--fx-ease), filter 600ms ease;
}

.splash.is-leaving {
  transform: scale(1.05);
  filter: blur(8px);
}

.splash__sphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 1400ms ease;
}

.splash__text {
  transition: opacity 500ms ease;
}

.splash__logo {
  transition: opacity 900ms ease, transform 1100ms var(--fx-ease), filter 900ms ease;
}

.splash__ring.is-draw circle {
  transition: stroke-dashoffset 850ms cubic-bezier(0.45, 0, 0.2, 1), opacity 120ms ease;
}

/* three heartbeats, each "bu-bumm" with its pause */
.splash__ring.is-beat {
  animation-duration: 600ms;
  animation-iteration-count: 3;
}

/* skip, top right: quiet, but always there and reachable with the keyboard */
.splash__skip {
  position: absolute;
  top: max(var(--ev-space-4), env(safe-area-inset-top));
  right: max(var(--ev-space-4), env(safe-area-inset-right));
  min-height: var(--ev-target);
  padding: 0 var(--ev-space-3);
  border: 0;
  border-radius: var(--ev-radius-pill);
  background: transparent;
  color: var(--ev-muted);
  font-family: var(--ev-font-body);
  font-size: var(--ev-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  transition: color var(--ev-fast) ease, background-color var(--ev-fast) ease;
}

.splash__skip:hover {
  color: var(--ev-gold-500);
  background: var(--ev-gold-wash);
}

.splash__skip:focus-visible {
  outline: none;
  color: var(--ev-gold-500);
  box-shadow: var(--ev-focus);
}

.splash--light .splash__skip {
  color: var(--ev-ink-muted);
}

.splash--light .splash__skip:hover,
.splash--light .splash__skip:focus-visible {
  color: var(--ev-bronze);
}

.splash--light .splash__skip:focus-visible {
  box-shadow: 0 0 0 3px var(--ev-light-surface), 0 0 0 5px var(--ev-bronze);
}

/* ---------- reduced motion: none of the above moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__halo canvas,
  .fx-chip,
  .fx-cursor,
  .fx-cursor-dot {
    display: none;
  }

  .hero__mark,
  .diamond-star,
  .fx-words .fx-word {
    animation: none;
  }

  .hero__orbit {
    scale: 1;
  }

  .is-parallax .icon-circle,
  .is-parallax .industry-card__icon {
    transform: none;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__rail {
    width: auto;
    animation: none;
  }

  .marquee__track {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: var(--gutter);
  }

  .marquee__track--copy {
    display: none;
  }
}
