/* =========================================================
   VEIGHTLESS 2026 — MASTER STYLE.CSS
   Neu konsolidiert
   ---------------------------------------------------------
   Ziele:
   - eine einzige saubere Master-Datei
   - keine Doppelungen
   - klare Trennung: Basis / Komponenten / Themes / Buttons
   - Service-Buttons einheitlich
   - Sarah hell-dunkel sauber steuerbar
   - vorbereitet für spätere Endzonen-Logik (body.vx-near-end)
   ========================================================= */


/* =========================================================
   0) FONTS
   ========================================================= */

@font-face {
  font-family: "SK Modernist";
  src: url("../../02_ASSETS/2.7_FONTS/sk-modernist-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   1) TOKENS
   ========================================================= */

:root{
  /* Typography */
  --font-main: "SK Modernist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  --lh-body: 1.62;
  --lh-head: 1.16;

  --ls-body: 0.01em;
  --ls-head: 0.035em;
  --ls-btn: 0.08em;

  --text-max: 88ch;
  --text-max-narrow: 82ch;

  /* VEIGHTLESS CI */
  --c-primary:   #57524B;
  --c-secondary: #8C8477;
  --c-tertiary:  #CBC1B5;
  --c-bg:        #FFFFFF;
  --c-accent:    #F1EEE3;

  --c-ext-01: #DAD8D3;
  --c-ext-02: #EAE6D7;
  --c-ext-03: #A8A095;
  --c-ext-04: #E7E7E2;
  --c-ext-05: #D0D0CE;

  /* Default theme tokens for light pages */
  --vx-bg: var(--c-bg);
  --vx-bg2: #F7F5F0;
  --vx-ink: rgba(87, 82, 75, 0.96);
  --vx-ink2: rgba(87, 82, 75, 0.82);
  --vx-ink3: rgba(87, 82, 75, 0.60);
  --vx-border: rgba(87, 82, 75, 0.12);
  --vx-border2: rgba(87, 82, 75, 0.22);

  /* Layout */
  --unit: 8px;
  --grid-max: 1240px;
  --grid-gutter: 24px;
  --grid-cols: 12;

  --pad-d: 96px;
  --pad-t: 64px;
  --pad-m: 40px;

  /* Radius */
  --r-none: 0px;
  --r-service: 999px;
  --r-card: 8px;
  --r-card-lg: 12px;
  --r-input: 10px;
  --r-img: 0px;
  --r-tech-sm: 6px;

  /* Heights */
  --h-btn: 48px;
  --h-btn-sm: 40px;
  --h-service: 48px;
  --h-input: 46px;

  /* Service / chapter buttons */
  --vx-btn-minw: 160px;
  --vx-btn-gap: 12px;
  --vx-service-bottom: 42px;
  --vx-service-edge: 20px;
  --vx-service-stack-gap: 12px;

  /* Light button style */
  --vx-btn-bg: rgba(255,255,255,0.86);
  --vx-btn-bg-hover: rgba(255,255,255,0.96);
  --vx-btn-bg-active: rgba(241,238,227,0.98);
  --vx-btn-ink: rgba(87,82,75,0.94);
  --vx-btn-border: rgba(87,82,75,0.14);
  --vx-btn-shadow: 0 10px 30px rgba(0,0,0,0.10);
  --vx-btn-shadow-hover: 0 14px 36px rgba(0,0,0,0.14);
  --vx-btn-shadow-active: 0 10px 28px rgba(0,0,0,0.12);

  /* Cards / panels */
  --panel-bg: color-mix(in srgb, var(--c-accent), #ffffff 18%);
  --panel-border: color-mix(in srgb, var(--c-tertiary), transparent 22%);
  --panel-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --panel-shadow-strong: 0 12px 32px rgba(0, 0, 0, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 260ms;
  --t-slow: 600ms;

  --hover-opacity: 0.88;
  --focus: 2px solid color-mix(in srgb, var(--c-primary), white 6%);

  /* Layering */
  --z-header: 40;
  --z-service: 70;
  --z-flow: 80;
  --z-modal: 90;
  --z-loader: 120;
}


/* =========================================================
   2) THEME VARIANTS
   ========================================================= */

body.vx-sarah{
  --vx-bg: rgb(28,26,24);
  --vx-bg2: rgb(21,21,20);
  --vx-ink: rgba(241,238,227,.95);
  --vx-ink2: rgba(241,238,227,.90);
  --vx-ink3: rgba(241,238,227,.75);
  --vx-border: rgba(203,193,181,.22);
  --vx-border2: rgba(203,193,181,.34);

  --vx-btn-bg: rgba(24,22,21,0.82);
  --vx-btn-bg-hover: rgba(31,29,28,0.92);
  --vx-btn-bg-active: rgba(42,39,37,0.96);
  --vx-btn-ink: rgba(241,238,227,0.94);
  --vx-btn-border: rgba(203,193,181,0.24);
  --vx-btn-shadow: 0 12px 34px rgba(0,0,0,0.34);
  --vx-btn-shadow-hover: 0 18px 40px rgba(0,0,0,0.42);
  --vx-btn-shadow-active: 0 12px 32px rgba(0,0,0,0.36);

  --panel-bg: linear-gradient(180deg, rgba(24,22,21,.96), rgba(19,18,17,.96));
  --panel-border: rgba(203,193,181,.18);
  --panel-shadow: 0 8px 20px rgba(0,0,0,.09);
  --panel-shadow-strong: 0 14px 40px rgba(0,0,0,.13);
}

body.vx-sarah-deep{
  --vx-bg: rgb(19,17,16);
  --vx-bg2: rgb(14,13,12);
  --vx-ink: rgba(241,238,227,.95);
  --vx-ink2: rgba(241,238,227,.90);
  --vx-ink3: rgba(241,238,227,.75);
  --vx-border: rgba(203,193,181,.22);
  --vx-border2: rgba(203,193,181,.34);

  --vx-btn-bg: rgba(18,17,16,0.88);
  --vx-btn-bg-hover: rgba(24,22,21,0.95);
  --vx-btn-bg-active: rgba(35,32,30,0.98);
  --vx-btn-ink: rgba(241,238,227,0.94);
  --vx-btn-border: rgba(203,193,181,0.24);
  --vx-btn-shadow: 0 14px 36px rgba(0,0,0,0.42);
  --vx-btn-shadow-hover: 0 20px 46px rgba(0,0,0,0.50);
  --vx-btn-shadow-active: 0 14px 34px rgba(0,0,0,0.44);

  --panel-bg: linear-gradient(180deg, rgba(19,17,16,.97), rgba(14,13,12,.98));
  --panel-border: rgba(203,193,181,.18);
  --panel-shadow: 0 8px 20px rgba(0,0,0,.09);
  --panel-shadow-strong: 0 14px 40px rgba(0,0,0,.13);
}


/* =========================================================
   3) RESET / BASE
   ========================================================= */

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

html{
  -webkit-text-size-adjust: 100%;
  text-rendering: geometricPrecision;
  scroll-behavior: smooth;
  background: var(--vx-bg);
}

body{
  margin: 0;
  font-family: var(--font-main);
  font-weight: var(--fw-400);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--vx-ink);
  background: var(--vx-bg);
}

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

img{
  border-radius: var(--r-img);
}

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

a:hover{
  opacity: 1;
}

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

button{
  color: inherit;
}

::selection{
  background: color-mix(in srgb, var(--c-tertiary), transparent 0%);
  color: var(--c-primary);
}

:focus-visible{
  outline: var(--focus);
  outline-offset: 3px;
}

[hidden]{
  display: none !important;
}


/* =========================================================
   4) TYPOGRAPHY
   ========================================================= */

h1, .h1{
  margin: 0 0 calc(var(--unit) * 3) 0;
  font-weight: 575;
  line-height: var(--lh-head);
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: clamp(32px, 4vw, 56px);
}

h2, .h2{
  margin: 0 0 calc(var(--unit) * 2) 0;
  font-weight: 550;
  line-height: var(--lh-head);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 40px);
}

h3, .h3{
  margin: 0 0 calc(var(--unit) * 2) 0;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: clamp(18px, 2vw, 24px);
}

p{
  margin: 0 0 calc(var(--unit) * 2) 0;
  max-width: var(--text-max);
}

.small{
  font-size: 14px;
}

.muted{
  color: var(--vx-ink3);
}

.uc{
  text-transform: uppercase;
  letter-spacing: var(--ls-btn);
}


/* =========================================================
   5) LAYOUT
   ========================================================= */

.container{
  width: min(100% - (var(--grid-gutter) * 2), var(--grid-max));
  margin-inline: auto;
}

.section{
  padding: var(--pad-d) 0;
}

.grid{
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), 1fr);
  gap: var(--grid-gutter);
}

.col-12{ grid-column: span 12; }
.col-8{ grid-column: span 8; }
.col-6{ grid-column: span 6; }
.col-4{ grid-column: span 4; }
.col-3{ grid-column: span 3; }

.max-text{
  max-width: var(--text-max);
}

.hidden{
  display: none !important;
}

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

.spacer-1{ height: calc(var(--unit) * 2); }
.spacer-2{ height: calc(var(--unit) * 4); }
.spacer-3{ height: calc(var(--unit) * 6); }


/* =========================================================
   6) SURFACES / DIVIDER / BUTTON BASE
   ========================================================= */

.divider{
  height: 1px;
  background: color-mix(in srgb, var(--vx-border2), transparent 15%);
  opacity: 0.85;
  margin: calc(var(--unit) * 4) 0;
}

.divider--text{
  width: 100%;
  max-width: var(--text-max);
  margin-left: 0;
  margin-right: auto;
}

.card,
.panel{
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--r-card);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.card{
  padding: calc(var(--unit) * 4);
}

.panel{
  padding: calc(var(--unit) * 4);
}

.btn{
  min-height: var(--h-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--unit) * 1.5);
  padding: 0 calc(var(--unit) * 3);
  border-radius: var(--r-service);
  border: 1px solid var(--vx-btn-border);
  background: var(--vx-btn-bg);
  color: var(--vx-btn-ink);
  font-weight: var(--fw-500);
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    opacity var(--t-fast) var(--ease);
  box-shadow: var(--vx-btn-shadow);
  user-select: none;
}

.btn:hover{
  background: var(--vx-btn-bg-hover);
  border-color: color-mix(in srgb, var(--vx-btn-border), white 12%);
  box-shadow: var(--vx-btn-shadow-hover);
  transform: translateY(-1px);
}

.btn:active{
  transform: translateY(0);
}

.btn-primary{
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.btn-primary:hover{
  background: color-mix(in srgb, var(--c-primary), black 6%);
  border-color: color-mix(in srgb, var(--c-primary), black 6%);
}

.btn-secondary{
  background: transparent;
  color: var(--vx-ink);
}

.btn-secondary:hover{
  background: color-mix(in srgb, var(--c-tertiary), transparent 74%);
}


/* =========================================================
   7) INPUTS
   ========================================================= */

.input,
select,
textarea{
  width: 100%;
  min-height: var(--h-input);
  border-radius: var(--r-input);
  border: 1px solid color-mix(in srgb, var(--vx-border2), transparent 0%);
  background: color-mix(in srgb, var(--vx-bg), white 65%);
  color: var(--vx-ink);
  padding: 0 calc(var(--unit) * 2);
  transition:
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}

textarea{
  min-height: 60px;
  max-height: 120px;
  padding: calc(var(--unit) * 1.75) calc(var(--unit) * 2);
  resize: vertical;
}

.input:focus,
select:focus,
textarea:focus{
  outline: none;
  border-color: color-mix(in srgb, var(--c-primary), var(--c-tertiary) 35%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-tertiary), transparent 70%);
}

body.vx-sarah .input,
body.vx-sarah select,
body.vx-sarah textarea,
body.vx-sarah-deep .input,
body.vx-sarah-deep select,
body.vx-sarah-deep textarea{
  background: rgba(255,255,255,0.03);
  color: var(--vx-ink);
  border-color: rgba(203,193,181,.20);
}

body.vx-sarah .input:focus,
body.vx-sarah select:focus,
body.vx-sarah textarea:focus,
body.vx-sarah-deep .input:focus,
body.vx-sarah-deep select:focus,
body.vx-sarah-deep textarea:focus{
  border-color: rgba(203,193,181,.40);
  box-shadow: 0 0 0 4px rgba(203,193,181,.10);
}


/* =========================================================
   8) HEADER
   ========================================================= */

.vx-header{
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding: 15px 0;
  background: color-mix(in srgb, var(--vx-bg), #ffffff 25%);
  backdrop-filter: blur(10px);
  transition:
    box-shadow var(--t-base) var(--ease),
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
  border-bottom: none;
  box-shadow: none;
}
.vx-hero-video{
  opacity:0;
  transition:opacity 1.4s ease;
}

.page-home.loaded .vx-hero-video{
  opacity:1;
}

.vx-header.is-scrolled{
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.page-home .vx-header{
  background: color-mix(in srgb, var(--vx-bg), #ffffff 18%);
}

body:not(.page-home) .vx-header{
  background: color-mix(in srgb, var(--vx-bg), #ffffff 30%);
}

body.vx-sarah .vx-header,
body.vx-sarah-deep .vx-header{
  background: color-mix(in srgb, var(--vx-bg), rgba(255,255,255,0.03) 18%);
}

.vx-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.vx-brand img{
  width: auto;
  height: auto;
}

.vx-brand__logo{
  height: 45px;
  width: auto;
  display: block;
  object-fit: contain;
}

.vx-brand__mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--c-primary);
}

.vx-brand__name{
  font-weight: var(--fw-500);
  font-size: 12px;
}

.vx-nav{
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: var(--fw-500);
  font-size: 14px;
}

.vx-nav__link{
  opacity: 0.96;
  transition: opacity var(--t-fast) var(--ease);
}

.vx-nav__link:hover{
  opacity: 1;
}

.vx-brand__fallback{
  display: none !important;
}


/* =========================================================
   9) HERO
   ========================================================= */

.hero{
  position: relative;
  overflow: clip;
  min-height: 100vh;
  padding: calc(var(--pad-d) * 0.8) 0;
}

@supports not (overflow: clip){
  .hero{
    overflow: visible;
  }
}

.hero-video,
.hero-media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video{
  object-fit: cover;
  z-index: 0;
  border-radius: 0;
}

.hero-media{
  z-index: -1;
  border-radius: 0;
}

.hero-media img,
.hero-media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(250,250,249,0.28) 0%,
    rgba(250,250,249,0.22) 50%,
    rgba(250,250,249,0.18) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero .container{
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: heroFadeIn 4s ease forwards;
  animation-delay: 2s;
  will-change: opacity;
}

.hero .max-text{
  max-width: 88ch;
}

.hero p{
  font-size: 18px;
  margin-top: 45px;
}

@keyframes heroFadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}


/* =========================================================
   10) STARTLOADER
   ========================================================= */

#vx-startloader{
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--vx-bg);
  transition: opacity 160ms ease, visibility 160ms ease;
}

#vx-startloader.vx-startloader--hide{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.vx-startloader__inner{
  display: grid;
  place-items: center;
  width: min(36vw, 320px);
  aspect-ratio: 1 / 1;
}

.vx-startloader__pic{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.vx-startloader__v{
  width: 100%;
  height: auto;
  border-radius: 0;
}


/* =========================================================
   11) HANNAH DOCK
   ========================================================= */

.hannah-dock{
  position: fixed;
  left: calc(var(--unit) * 3);
  bottom: calc(var(--unit) * 6);
  z-index: 50;
  display: grid;
  gap: calc(var(--unit) * 2);
}

.hannah-avatar{
  width: 128px;
  height: 128px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c-tertiary), transparent 10%);
  box-shadow: var(--panel-shadow);
  background: var(--c-accent);
}

.hannah-avatar img,
.hannah-avatar video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: inherit;
}

.hannah-panel{
  width: min(340px, calc(100vw - 48px));
  background: color-mix(in srgb, var(--c-accent), #ffffff 22%);
  border: 1px solid color-mix(in srgb, var(--c-tertiary), transparent 20%);
  border-radius: var(--r-card);
  box-shadow: var(--panel-shadow-strong);
  padding: calc(var(--unit) * 3);
}

.hannah-name{
  margin-bottom: calc(var(--unit) * 1.5);
  font-weight: var(--fw-500);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 12px;
}

.hannah-text{
  margin: 0 0 calc(var(--unit) * 2) 0;
  max-width: none;
}

.hannah-actions{
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--unit) * 1.5);
}


/* =========================================================
   12) MODAL / CLEAN EXIT
   ========================================================= */

.modal{
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  place-items: center;
  padding: calc(var(--unit) * 4);
  background: rgba(0,0,0,0.35);
}

.modal[aria-hidden="false"]{
  display: grid;
}

.modal-dialog{
  width: min(860px, 100%);
  max-height: min(82vh, 900px);
  overflow: auto;
  background: var(--vx-bg);
  border: 1px solid color-mix(in srgb, var(--vx-border2), transparent 10%);
  border-radius: calc(var(--r-card) + 4px);
  box-shadow: var(--panel-shadow-strong);
  padding: calc(var(--unit) * 5);
}

.modal-header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(var(--unit) * 2);
  margin-bottom: calc(var(--unit) * 3);
}

.modal-close{
  min-width: 40px;
  height: 40px;
  padding: 0 calc(var(--unit) * 2);
  border-radius: var(--r-service);
  border: 1px solid var(--vx-btn-border);
  background: transparent;
  cursor: pointer;
}

.clean-exit{
  padding: calc(var(--unit) * 6) 0;
  border-top: 1px solid color-mix(in srgb, var(--vx-border2), transparent 18%);
  background: color-mix(in srgb, var(--vx-bg), #ffffff 10%);
}

.clean-exit-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--unit) * 2);
}

.legal-links{
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--unit) * 2);
  font-size: 14px;
}

.legal-links a{
  opacity: 0.92;
  border-bottom: 1px solid transparent;
  transition:
    opacity var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.legal-links a:hover{
  opacity: 1;
  border-bottom-color: color-mix(in srgb, var(--vx-ink), transparent 25%);
}


/* =========================================================
   13) FLOW ENGINE
   ========================================================= */

.vx-flow{
  position: fixed;
  left: 18px;
  bottom: 64px;
  z-index: var(--z-flow);
  width: min(420px, calc(100vw - 36px));
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  font-family: var(--font-main);
}

.vx-flow__toggle{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--h-service);
  padding: 10px 16px;
  border-radius: var(--r-service);
  border: 1px solid var(--vx-btn-border);
  background: var(--vx-btn-bg);
  color: var(--vx-btn-ink);
  box-shadow: var(--vx-btn-shadow);
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.vx-flow__toggle:hover{
  background: var(--vx-btn-bg-hover);
  box-shadow: var(--vx-btn-shadow-hover);
  transform: translateY(-1px);
}

.vx-flow__toggleMark{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-primary);
  flex: 0 0 auto;
}

body.vx-sarah .vx-flow__toggleMark,
body.vx-sarah-deep .vx-flow__toggleMark{
  background: rgba(241,238,227,.92);
}

.vx-flow__toggleText{
  font-size: 12px;
  font-weight: var(--fw-500);
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
}

.vx-flow__panel{
  margin-bottom: 10px;
  border-radius: var(--r-card);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow-strong);
  overflow: hidden;
}

.vx-flow__head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--vx-border2), transparent 30%);
}

.vx-flow__avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--vx-border2), transparent 20%);
  background: color-mix(in srgb, var(--vx-bg), #ffffff 55%);
  flex: 0 0 auto;
}

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

.vx-flow__meta{
  min-width: 0;
  flex: 1 1 auto;
}

.vx-flow__name{
  font-weight: var(--fw-600);
  letter-spacing: 0.03em;
}

.vx-flow__role{
  margin-top: 2px;
}

.vx-flow__min{
  width: 32px;
  height: 32px;
  border-radius: var(--r-service);
  border: 1px solid var(--vx-btn-border);
  background: transparent;
  color: var(--vx-btn-ink);
  cursor: pointer;
}

.vx-flow__body{
  padding: 14px;
}

.vx-flow__text{
  margin: 0;
  line-height: 1.55;
  font-size: 14px;
}

.vx-flow__hint{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--vx-border2), transparent 35%);
}

.vx-flow__form{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.vx-flow__form input,
.vx-flow__form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: var(--r-input);
  border: 1px solid color-mix(in srgb, var(--vx-border2), transparent 15%);
  background: color-mix(in srgb, var(--vx-bg), #fff 45%);
  color: var(--vx-ink);
  font-size: 14px;
}

.vx-flow__form textarea{
  min-height: 120px;
  resize: vertical;
}

.vx-flow__actions{
  margin-top: 14px;
}


/* =========================================================
   14) STAFF GRID / STAFF CARDS
   ========================================================= */

#vx-staff{
  position: relative;
}

.vx-staff{
  padding: 0;
}

.vx-staff__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.vx-staff__card{
  height: 100%;
  overflow: visible;
}

.vx-staff__tap{
  height: 100%;
  display: grid;
  grid-template-columns: 112px 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "avatar meta"
    "one one"
    "cta cta";
  column-gap: calc(var(--unit) * 2.5);
  row-gap: calc(var(--unit) * 2);
  padding: 28px;
  border-radius: var(--r-card-lg);
  border: 1px solid var(--panel-border);
  background: color-mix(in srgb, #ffffff, var(--c-accent) 3%);
  box-shadow: var(--panel-shadow);
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}

.vx-staff__tap:hover{
  transform: translateY(-2px);
  box-shadow: var(--panel-shadow-strong);
  border-color: color-mix(in srgb, var(--vx-border2), white 8%);
}

.vx-staff__avatar{
  grid-area: avatar;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--vx-border2), transparent 10%);
  background: color-mix(in srgb, var(--vx-bg), #fff 28%);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

.vx-staff__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}

.vx-staff__meta{
  grid-area: meta;
  align-self: center;
  margin-top: 0;
  min-width: 0;
}

.vx-staff__name{
  font-size: 18px;
  font-weight: var(--fw-500);
  letter-spacing: 0.02em;
}

.vx-staff__role{
  margin-top: 4px;
  font-size: 14px;
}

.vx-staff__one{
  grid-area: one;
  margin-top: 0;
  color: var(--vx-ink2);
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.6em * 3);
}

.vx-staff__cta{
  grid-area: cta;
  margin-top: 0;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--h-btn-sm);
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--vx-btn-border);
  background: transparent;
  color: var(--vx-btn-ink);
  font-size: 14px;
  letter-spacing: 0.03em;
  transition:
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease);
}

.vx-staff__tap:hover .vx-staff__cta{
  background: var(--vx-btn-bg-hover);
  box-shadow: var(--vx-btn-shadow);
  transform: translateY(-1px);
}

.vx-staff__hint{
  max-width: none;
  margin-bottom: 100px;
}

.vx-staff__intro{
  margin-top: 60px;
  margin-bottom: 42px;
}

.vx-staff__intro .vx-title{
  margin-bottom: 30px;
}

.vx-staff__intro .vx-lead{
  margin-bottom: 0;
}

/* =========================================================
   15) SERVICE BUTTON SYSTEM
   ---------------------------------------------------------
   Mitarbeiter + Fragen
   Eine einzige zentrale Logik
   ========================================================= */

/* Home: keine Floating-Service-UI */
body.page-home .vx-ask,
body.page-home .vx-staff-btn,
body.page-home #vxFlow{
  display: none !important;
}

/* ASK Slot hat die Positionierungshoheit */
#vx-ask-slot{
  position: fixed;
  right: var(--vx-service-edge);
  bottom: var(--vx-service-bottom);
  z-index: var(--z-service);
  width: auto;
  pointer-events: none;
}

/* Ask.css neutralisieren: Root selbst nicht mehr fixed */
#vx-ask-slot .vx-ask{
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  pointer-events: auto;
}

#vx-ask-slot .vx-ask,
.vx-staff-btn{
  font-family: inherit;
}

/* Service Toggle Basis */
.vx-service-btn,
.vx-staff-btn,
#vx-ask-slot .vx-ask__toggle{
  min-width: var(--vx-btn-minw);
  min-height: var(--h-service);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--vx-btn-gap);
  padding: 0 18px;
  border-radius: var(--r-service);
  border: 1px solid var(--vx-btn-border);
  background: var(--vx-btn-bg);
  color: var(--vx-btn-ink);
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: var(--fw-500);
  box-shadow: var(--vx-btn-shadow);
  backdrop-filter: blur(10px);
  cursor: pointer;
  user-select: none;
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    opacity var(--t-fast) var(--ease);
}

.vx-service-btn:hover,
.vx-staff-btn:hover,
#vx-ask-slot .vx-ask__toggle:hover{
  background: var(--vx-btn-bg-hover);
  border-color: color-mix(in srgb, var(--vx-btn-border), white 8%);
  box-shadow: var(--vx-btn-shadow-hover);
  transform: translateY(-1px);
}

.vx-service-btn:active,
.vx-staff-btn:active,
#vx-ask-slot .vx-ask__toggle:active{
  transform: translateY(0);
}

.vx-service-btn.is-active,
.vx-staff-btn.is-active,
#vx-ask-slot .vx-ask__toggle[aria-expanded="true"]{
  background: var(--vx-btn-bg-active);
  border-color: color-mix(in srgb, var(--vx-btn-border), white 12%);
  box-shadow: var(--vx-btn-shadow-active);
}

/* Mitarbeiter-Button */
.vx-staff-btn{
  position: fixed;
  left: var(--vx-service-edge);
  bottom: var(--vx-service-bottom);
  z-index: var(--z-service);
  text-decoration: none;
}

/* Optionale Icon-Helfer */
.vx-service-btn__icon,
.vx-staff-btn__icon,
#vx-ask-slot .vx-ask__toggle .vx-icon{
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* Near-end Hook für spätere JS-Logik
   Wenn body.vx-near-end gesetzt wird, rutschen Service-Buttons
   optisch an die Kapitelbutton-Höhe. */
body.vx-near-end .vx-staff-btn{
  bottom: 24px;
}

body.vx-near-end #vx-ask-slot{
  bottom: 24px;
}

/* =========================================================
   16) ASK PANEL
   ---------------------------------------------------------
   Ask.css liefert nur Grundstruktur.
   Hier sitzt das finale Erscheinungsbild.
   ========================================================= */

#vx-ask-slot .vx-ask__panel{
  margin-top: 10px;
  width: min(600px, calc(100vw - 40px));
  border: 1px solid var(--panel-border);
  border-radius: var(--r-card-lg);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow-strong);
  overflow: hidden;
}

#vx-ask-slot .vx-ask__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--vx-border2), transparent 24%);
}

#vx-ask-slot .vx-ask__status{
  font-size: 12px;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  color: var(--vx-ink3);
  opacity: 1;
}

#vx-ask-slot .vx-ask__close{
  width: 34px;
  height: 34px;
  border: 1px solid var(--vx-btn-border);
  background: transparent;
  color: var(--vx-btn-ink);
  border-radius: var(--r-service);
  cursor: pointer;
  transition:
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease);
}

#vx-ask-slot .vx-ask__close:hover{
  background: var(--vx-btn-bg-hover);
  transform: translateY(-1px);
}

#vx-ask-slot .vx-ask__messages{
  border: 1px solid color-mix(in srgb, var(--vx-border2), transparent 18%);
  border-radius: var(--r-card);
  padding: 10px;
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 10px;
  background: color-mix(in srgb, var(--vx-bg), #ffffff 50%);
  color: var(--vx-ink);
}

body.vx-sarah #vx-ask-slot .vx-ask__messages,
body.vx-sarah-deep #vx-ask-slot .vx-ask__messages{
  background: rgba(255,255,255,0.03);
}

#vx-ask-slot .vx-ask__inputrow{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

#vx-ask-slot .vx-ask__input{
  width: 100%;
  resize: vertical;
  min-height: 70px;
  max-height: 180px;
  padding: 12px 14px;
  border-radius: var(--r-input);
  border: 1px solid color-mix(in srgb, var(--vx-border2), transparent 10%);
  background: color-mix(in srgb, var(--vx-bg), white 65%);
  color: var(--vx-ink);
}

body.vx-sarah #vx-ask-slot .vx-ask__input,
body.vx-sarah-deep #vx-ask-slot .vx-ask__input{
  background: rgba(255,255,255,0.03);
}

#vx-ask-slot .vx-ask__send{
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--r-service);
  border: 1px solid var(--vx-btn-border);
  background: var(--vx-btn-bg);
  color: var(--vx-btn-ink);
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--vx-btn-shadow);
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

#vx-ask-slot .vx-ask__send:hover{
  background: var(--vx-btn-bg-hover);
  box-shadow: var(--vx-btn-shadow-hover);
  transform: translateY(-1px);
}

#vx-ask-slot .vx-ask__suggest{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#vx-ask-slot .vx-ask__suggest button{
  border: 1px solid var(--vx-btn-border);
  background: transparent;
  color: var(--vx-btn-ink);
  border-radius: var(--r-service);
  padding: 10px 12px;
  cursor: pointer;
  transition:
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease);
}

#vx-ask-slot .vx-ask__suggest button:hover{
  background: var(--vx-btn-bg-hover);
  transform: translateY(-1px);
}

.vx-sr{
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   18) SUBPAGE HELPERS
   ========================================================= */

.vx-subpage{
  padding-top: calc(var(--pad-d) * 0.65);
  padding-bottom: 10px;
}

.vx-subpage .vx-kicker{
  margin-bottom: 18px !important;
}

.vx-subpage h1{
  margin-top: 12px !important;
  margin-bottom: 36px !important;
  line-height: 1.25 !important;
}

.vx-subpage .vx-lead{
  margin-bottom: 42px !important;
  line-height: 1.6 !important;
  max-width: var(--text-max-narrow);
}

.vx-subpage .divider{
  margin-bottom: 40px;
}

.vx-subpage .vx-background-intro{
  margin-bottom: 28px;
}

.vx-article{
  max-width: var(--text-max-narrow);
}

.vx-content{
  color: var(--vx-ink);
}

.vx-wrap{
  width: min(var(--grid-max), calc(100% - 44px));
  margin: 0 auto;
}

.vx-wrap--narrow{
  width: min(var(--text-max-narrow), calc(100% - 44px));
  margin: 0 auto;
}

.vx-section{
  padding: 74px 0;
}

.vx-section--tight{
  padding: 44px 0;
}

.vx-kicker{
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--vx-ink3);
  margin: 0 0 14px;
}

.vx-h2{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 18px;
  margin: 0 0 18px;
  color: var(--vx-ink);
}

.vx-p{
  margin: 0 0 16px;
  color: var(--vx-ink2);
  line-height: 1.75;
  font-size: 15px;
}

.vx-p:last-child{
  margin-bottom: 0;
}


/* =========================================================
   19) SARAH TECH SURFACES
   ========================================================= */

.vx-white{
  background: var(--c-accent);
  color: var(--c-primary);
  border-top: 1px solid rgba(87,82,75,.12);
  border-bottom: 1px solid rgba(87,82,75,.12);
}

.vx-white .vx-kicker{
  color: rgba(87,82,75,.72);
}

.vx-white .vx-h2{
  color: var(--c-primary);
}

.vx-white .vx-p{
  color: rgba(87,82,75,.88);
}

.vx-white .vx-card,
.vx-white .vx-details{
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(87,82,75,.14);
  box-shadow: none;
}

.vx-grid3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vx-card{
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
  border-radius: 26px;
  border: 1px solid var(--vx-border);
  background: linear-gradient(180deg, rgba(21,21,20,.92), rgba(15,15,16,.92));
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.vx-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(420px 220px at 20% 10%, rgba(203,193,181,.14), transparent 60%);
  pointer-events: none;
}

.vx-card__head{
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.vx-card__title{
  margin: 0;
  font-size: 18px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.vx-card__tag{
  margin: 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vx-ink3);
  white-space: nowrap;
}

.card.vx-card-white{
  background: #ffffff;
  border: 1px solid var(--panel-border);
  border-radius: var(--r-card);
  box-shadow: var(--panel-shadow);
}

.vx-card__img{
  width: 100%;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(203,193,181,.18);
  margin: 10px 0 14px;
  filter: saturate(.92) contrast(1.03);
}

.vx-metrics{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 12px;
  margin-top: 14px;
  position: relative;
}

.vx-metric{
  border: 1px solid rgba(203,193,181,.14);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(0,0,0,.18);
}

.vx-metric__k{
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vx-ink3);
}

.vx-metric__v{
  margin: 0;
  color: var(--vx-ink2);
  font-size: 13px;
  line-height: 1.35;
}

.vx-details{
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(203,193,181,.16);
  background: rgba(0,0,0,.12);
}

.vx-details summary{
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  user-select: none;
  color: var(--vx-ink2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vx-details summary::-webkit-details-marker{
  display: none;
}

.vx-details summary .vx-sum__k{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vx-ink2);
}

.vx-details summary .vx-sum__i{
  font-size: 12px;
  color: var(--vx-ink3);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vx-details__body{
  padding: 0 14px 14px;
  color: var(--vx-ink2);
  font-size: 14px;
  line-height: 1.7;
}

.vx-details__body ul{
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}

.vx-details__body li{
  margin: 6px 0;
}

.vx-white .vx-details summary,
.vx-white .vx-details summary .vx-sum__k,
.vx-white .vx-details summary .vx-sum__i,
.vx-white .vx-details__body{
  color: rgba(87,82,75,.86);
}

.vx-band{
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(203,193,181,.18);
  background: linear-gradient(180deg, rgba(21,21,20,.92), rgba(15,15,16,.92));
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.vx-band::before{
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(560px 260px at 85% 25%, rgba(140,132,119,.22), transparent 60%);
  pointer-events: none;
}

.vx-band__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: center;
}

.vx-band__img{
  width: 100%;
  height: 320px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(203,193,181,.18);
  filter: saturate(.92) contrast(1.03);
}

.vx-band .vx-p:last-of-type{
  margin-bottom: 10px;
}

.vx-white .vx-band .vx-h2,
.vx-white .vx-band .vx-p{
  color: rgba(241,238,227,.86);
}

.vx-note{
  margin-top: 18px;
  color: var(--vx-ink3);
  font-size: 12px;
  line-height: 1.6;
}


/* =========================================================
   20) DIVIDER / BUSY / OKTAEDER
   ========================================================= */

.vx-divider{
  display: grid;
  place-items: center;
  margin: 56px 0;
}

.vx-divider__icon{
  width: 34px;
  height: auto;
  opacity: 0.65;
  transform: translateZ(0);
  display: block;
}

.vx-busyImg{
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
}

.vx-busyImg img{
  width: 100%;
  height: 100%;
  display: block;
  animation: vxSpin 1.15s linear infinite;
  opacity: 0.82;
  transform-origin: 50% 50%;
}

.vx-busyImg::after{
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 45%,
    color-mix(in srgb, #fff 70%, transparent) 50%,
    transparent 55%
  );
  transform: translateX(-70%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: vxSweep 1.10s ease-in-out infinite;
  pointer-events: none;
}

.vx-oktaeder-stage{
  width: min(800px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: visible;
  animation: vxSpin 20s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}

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

@keyframes vxSweep{
  0%   { transform: translateX(-70%); opacity: 0; }
  25%  { opacity: 0.40; }
  55%  { opacity: 0.28; }
  100% { transform: translateX(70%); opacity: 0; }
}


/* =========================================================
   21) CTA PULSE / A11Y / REDUCED MOTION
   ========================================================= */

.btn-attention{
  animation: vxPulseStable 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes vxPulseStable{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.02); }
}

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

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

  .vx-busyImg img,
  .vx-busyImg::after,
  .vx-oktaeder-stage,
  .btn-attention{
    animation: none !important;
  }
}


/* =========================================================
   22) RESPONSIVE
   ========================================================= */

@media (max-width: 1200px){
  .vx-staff__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px){
  .section{
    padding: var(--pad-t) 0;
  }

  .col-8,
  .col-6,
  .col-4,
  .col-3{
    grid-column: span 12;
  }

  .vx-grid3{
    grid-template-columns: 1fr;
  }

  .vx-band__grid{
    grid-template-columns: 1fr;
  }

  .vx-nav{
    gap: 12px;
  }

  .vx-nav__link{
    display: none;
  }
}

@media (max-width: 700px){
  #vx-ask-slot .vx-ask__panel{
    width: min(100vw - 24px, 100vw - 24px);
  }

  .vx-chapters{
    flex-direction: column;
    align-items: stretch;
  }

  .vx-chapter-btn,
  .vx-chapter-btn--next{
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px){
  .section{
    padding: var(--pad-m) 0;
  }

  .hero p{
    font-size: 16px;
  }

  .vx-flow{
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .vx-staff__grid{
    grid-template-columns: 1fr;
  }

  .vx-staff__tap{
    grid-template-columns: 96px 1fr;
    padding: 22px;
  }

  .vx-staff__avatar{
    width: 96px;
    height: 96px;
  }

  .vx-staff__one{
    -webkit-line-clamp: 4;
    min-height: calc(1.6em * 4);
  }

  .vx-divider{
    margin: 44px 0;
  }

  .vx-divider__icon{
    width: 30px;
  }

  .vx-staff-btn{
    left: 12px;
    bottom: 12px;
    min-width: 0;
    padding-inline: 16px;
  }

  #vx-ask-slot{
    right: 12px;
    bottom: 12px;
  }

  #vx-ask-slot .vx-ask__toggle{
    min-width: 0;
    padding-inline: 16px;
  }

  #vx-ask-slot .vx-ask__inputrow{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px){
  .vx-brand__logo{
    height: 38px;
  }

  .clean-exit-row{
    align-items: flex-start;
  }
}
/* =========================================================
   END NAV + CHAPTER BUTTONS
   Eine einzige finale Version für helle und dunkle Seiten---ALT
   ========================================================= */

/* =========================================================
   END NAV + CHAPTER BUTTONS
   feste Position um die Mitte
   ========================================================= */

.vx-endnav{
  position: relative;
  width: 100%;
  margin-top: 100px;
  padding-bottom: 32px;
}

.vx-endnav__inner{
  width: min(var(--grid-max), calc(100% - 44px));
  margin: 0 auto;
}

.vx-endnav .vx-chapters{
  position: relative;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding-bottom: 0;
}

.vx-chapter-btn{
  min-width: 170px;
  min-height: var(--h-service);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: var(--r-service);
  border: 1px solid var(--vx-btn-border);
  background: var(--vx-btn-bg);
  color: var(--vx-btn-ink);
  box-shadow: var(--vx-btn-shadow);
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: var(--fw-500);
  text-decoration: none;
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}

/* linker NAV */
.vx-endnav .vx-chapter-btn{
  position: absolute;
  top: 0;
  right: calc(50% + 24px);
  width: fit-content;
  max-width: 260px;
  white-space: nowrap;
}

/* rechter NAV */
.vx-endnav .vx-chapter-btn--next{
  position: absolute;
  top: 0;
  left: calc(50% + 24px);
  right: auto;
  margin-left: 0;
  width: fit-content;
  max-width: 260px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.vx-chapter-btn:hover{
  background: var(--vx-btn-bg-hover);
  border-color: color-mix(in srgb, var(--vx-btn-border), white 8%);
  box-shadow: var(--vx-btn-shadow-hover);
  transform: translateY(-1px);
}

.vx-chapter-btn:active{
  transform: translateY(0);
}

.vx-chapter-btn__k{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: var(--fw-500);
}

.vx-arrow{
  line-height: 1;
  font-size: 12px;
}
@media (max-width: 900px){
  .vx-endnav .vx-chapter-btn,
  .vx-endnav .vx-chapter-btn--next{
    width: 64px;
    min-width: 64px;
    max-width: 64px;
    padding: 0;
    overflow: hidden;
  }

  .vx-endnav .vx-chapter-btn__k{
    font-size: 0;
    gap: 0;
  }

  .vx-endnav .vx-chapter-btn__k .vx-arrow{
    font-size: 16px;
  }
}

@media (max-width: 700px){
  .vx-endnav{
    margin-top: 80px;
    padding-bottom: 20px;
  }

  .vx-endnav .vx-chapters{
    position: static;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .vx-endnav .vx-chapter-btn,
  .vx-endnav .vx-chapter-btn--next{
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 64px;
    min-width: 64px;
    max-width: 64px;
    margin: 0;
  }
}

.vx-chapter-wide{
  width: 100%;
  margin-top: 28px;
}

.vx-chapter-btn--wide{
  width: 100%;
  justify-content: center;
}


/* ---------------------------------------------------------
   QUOTE / GEDANKENFELD
--------------------------------------------------------- */

.vx-quote{
  background: rgba(241,238,227,0.55);
  border-left: 3px solid rgba(140,132,119,0.35);
  padding: 20px 24px;
  margin: 36px 0;
  border-radius: 8px;
  line-height: 1.7;
}

.vx-quote p{
  margin: 0 0 10px 0;
  font-style: normal;
}

.vx-quote .muted{
  display: block;
  font-size: 0.9em;
  color: #8C8477;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------
   RESEARCH FULL WIDTH BLOCK
--------------------------------------------------------- */

.vx-research-full{
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);

  background: linear-gradient(
  to bottom,
  rgba(140,132,119,0.14),
  rgba(140,132,119,0.20)
);

  padding: 10px 0 60px 0;
  margin: 60px 0;
}
box-shadow: inset 0 1px rgba(255,255,255,0.25),
            inset 0 -1px rgba(0,0,0,0.06);

.vx-research-full .section{
  padding: 0 !important;
}

/* ---------------------------------------------------------
   HOME START FADE
--------------------------------------------------------- */

body.page-home{
  background:#ffffff;
}

body.page-home::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9999;
  background:#ffffff;
  opacity:1;
  pointer-events:none;
  transition:opacity 1.8s ease;
}

body.page-home.loaded::before{
  opacity:0;
}

body.page-home #vx-hero-slot{
  opacity:0;
  transition:opacity 2.4s ease;
}

body.page-home.loaded #vx-hero-slot{
  opacity:1;
}

/* ---------------------------------------------------------
   STARTSEITE INFO BLOCK
--------------------------------------------------------- */

#vx-info{
  padding-top: 140px;
  padding-bottom: 160px;
  min-height: 48vh;
}

#vx-info .container{
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 30px;
}

/* ---------------------------------------------------------
   STARTSEITE HANDWERK BLOCK
--------------------------------------------------------- */

#vx-handwerk{
  padding-top: 140px;
  padding-bottom: 160px;
  min-height: 48vh;
}

#vx-handwerk .container{
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 30px;
}

/* ---------------------------------------------------------
   STARTSEITE ENTLASTUNG BLOCK
--------------------------------------------------------- */

#vx-entlastung{
  padding-top: 140px;
  padding-bottom: 160px;
  min-height: 48vh;
}

#vx-entlastung .container{
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 30px;
}

/* ---------------------------------------------------------
   STARTSEITE FULL WIDTH BILDER
--------------------------------------------------------- */

#vx-img-naehmaschine,
#vx-img-cad{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}

#vx-img-naehmaschine img,
#vx-img-cad img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
/* ---------------------------------------------------------
   STARTSEITE – NÄHMASCHINENBILD MIT WEICHEM DUNKLEN VERLAUF
--------------------------------------------------------- */

#vx-img-naehmaschine{
  position: relative;
}

#vx-img-naehmaschine::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,0.22)
  );
}
/* ---------------------------------------------------------
   STARTSEITE – CAD BILD MIT WEICHEM AUSLAUF
--------------------------------------------------------- */

#vx-img-cad{
  position: relative;
}

#vx-img-cad::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
}

.vx-choice-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--vx-btn-border);
  background: var(--vx-btn-bg);
  color: var(--vx-btn-ink);
  font-size: 12px;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--t-fast),
    background var(--t-base),
    box-shadow var(--t-base);
  box-shadow: var(--vx-btn-shadow);
}

.vx-choice-btn:hover{
  background: var(--vx-btn-bg-hover);
  transform: translateY(-1px);
  box-shadow: var(--vx-btn-shadow-hover);
}
.vx-choice{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vx-backlink{
  margin-top: 60px;
}