/* Kontorhaus – Designsystem „Steep“ (Refero) mit Kontorhaus-Inhalten.
   Tokens aus DESIGN.md, Abstände und Radien nach steep.app gemessen. */

@font-face { font-family: "Kontor Serif"; src: url("../fonts/sourceserif4-latin.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Kontor Serif"; src: url("../fonts/sourceserif4-latin-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Kontor Sans"; src: url("../fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #17191c;
  --paper: #ffffff;
  --mist: #f2f2f3;
  --fog: #fafafb;
  --slate: #777b86;
  --ash: #979799;
  --smoke: #a3a6af;
  --peach: #fbe1d1;
  --sienna: #5d2a1a;
  --line: #ececec;
  --hair: rgba(0, 0, 0, .07);
  --sky: #d3e3fc;
  --sky-ink: #194168;
  --sage: #d8efdf;
  --sage-ink: #1f4720;
  --night: #121212;

  --serif: "Kontor Serif", "Source Serif 4", "Tiempos Headline", ui-serif, Georgia, serif;
  --sans: "Kontor Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 24px;
  --r-elev: 20px;
  --r-small: 16px;
  --r-img: 12px;
  --pill: 9999px;

  --shadow-float: 0 0 0 1px rgba(4, 23, 43, .05), 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --shadow-block: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .05);
  --shadow-modal: 0 0 0 1px rgba(0, 0, 0, .05), 0 8px 40px 0 rgba(0, 0, 0, .1);
  --shadow-pop: 0 0 0 1px rgba(0, 0, 0, .05), 0 4px 24px 0 rgba(0, 0, 0, .08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25);

  --ease-out: cubic-bezier(.25, .1, .25, 1);
  --gutter: 40px;
  --max: 1280px;
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.91' numOctaves='2' seed='10' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--peach); color: var(--sienna); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 767px) { :root { --gutter: 20px; } }

.noise { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: var(--noise); background-size: 180px 180px; mix-blend-mode: overlay; opacity: .14; }

/* ---------- Typografie ---------- */
.h-display, .h2, .h-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: inherit;
  text-wrap: balance;
}
.h-display em, .h2 em, .h-quote em { font-style: italic; }
.h2 { font-size: 40px; }
@media (min-width: 640px) { .h2 { font-size: 48px; } }
@media (min-width: 768px) { .h2 { font-size: 60px; } }
@media (min-width: 1280px) { .h2 { font-size: 64px; letter-spacing: -0.015em; } }
.h2--section { font-size: 48px; }
@media (min-width: 480px) { .h2--section { font-size: 60px; } }
@media (min-width: 1024px) { .h2--section { font-size: 64px; } }
.h-display { font-size: 90px; line-height: 1.1; letter-spacing: -0.025em; }
.h-quote { font-size: 36px; }
@media (min-width: 1024px) { .h-quote { font-size: 44px; letter-spacing: -0.015em; } }

.lead { max-width: 580px; font-size: 18px; color: rgba(23, 25, 28, .6); line-height: 1.4; margin: 0; }
@media (min-width: 768px) { .lead { font-size: 20px; } }
.dark .lead { color: rgba(255, 255, 255, .5); }

.reveal { display: flex; flex-direction: column; }
.reveal--center { align-items: center; text-align: center; }
.reveal .lead { margin-top: 12px; }
.reveal .reveal-cta { margin-top: 24px; }
[data-split] { visibility: hidden; }
.split-ready [data-split], .no-js [data-split] { visibility: visible; }

.eyebrow-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; margin-bottom: 16px; }
.eyebrow-link svg { width: 12px; height: 12px; opacity: .25; margin-top: 2px; transition: opacity .15s, transform .15s; }
.eyebrow-link:hover svg { opacity: .5; transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: var(--pill);
  font-size: 15px; font-weight: 450; white-space: nowrap; line-height: 1;
  transition: background-color .2s var(--ease-out), color .2s, border-color .2s, transform .2s var(--ease-out);
}
.btn--sm { height: 32px; padding: 0 14px; font-size: 14px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #2c2f34; }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--tertiary { color: var(--ink); padding-inline: 16px; }
.btn--tertiary:hover { background: rgba(0, 0, 0, .04); }
.btn--secondary { background: rgba(0, 0, 0, .05); color: var(--ink); }
.btn--secondary:hover { background: rgba(0, 0, 0, .08); }
.btn--reverse { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .06); }
.btn--reverse:hover { background: rgba(255, 255, 255, .14); }
.btn--white { background: #fff; color: var(--ink); }
.btn .arrow { position: relative; display: inline-flex; overflow: hidden; width: 14px; height: 14px; opacity: .5; }
.btn .arrow svg { width: 14px; height: 14px; }
.btn:hover .arrow svg, .banner:hover .arrow svg { animation: arrow-slide .5s ease-in-out; }
@keyframes arrow-slide { 0% { transform: translateX(0); } 50% { transform: translateX(100%); } 51% { transform: translateX(-100%); } 100% { transform: translateX(0); } }
.btn-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.text-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-size: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 64px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 450; white-space: nowrap; }
@media (max-width: 1279px) { .nav__links { gap: 22px; font-size: 14px; } .nav__links > a, .nav__drop > button { font-size: 14px; } }
.nav__links > a, .nav__drop > button { padding: 2px 0; transition: opacity .15s; }
.nav__links > a:hover, .nav__drop > button:hover { opacity: .6; }
.nav__links a[aria-current="page"] { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 4px; }
.nav__right .btn--tertiary { font-size: 15px; }
.nav__drop { position: relative; }
.nav__drop > button { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 450; }
.nav__drop > button svg { width: 12px; height: 12px; opacity: .4; transition: transform .2s; }
.nav__panel {
  position: absolute; top: calc(100% + 18px); left: -24px; min-width: 300px;
  background: #fff; border-radius: var(--r-small); box-shadow: var(--shadow-pop);
  padding: 8px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
}
.nav__panel::before { content: ""; position: absolute; inset: -20px 0 auto 0; height: 20px; }
.nav__drop:hover .nav__panel, .nav__drop:focus-within .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__drop:hover > button svg { transform: rotate(180deg); }
.nav__panel a { display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; transition: background .15s; }
.nav__panel a:hover { background: var(--fog); }
.nav__panel .ico { grid-row: span 2; width: 32px; height: 32px; border-radius: 8px; background: var(--mist); display: grid; place-items: center; }
.nav__panel .ico svg { width: 16px; height: 16px; }
.nav__panel b { font-weight: 480; font-size: 14px; }
.nav__panel span { font-size: 13px; color: var(--slate); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; }
.nav__burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease-out); }
.nav__burger i::before, .nav__burger i::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease-out); }
.nav__burger i::before { top: -6px; } .nav__burger i::after { top: 6px; }
.menu-open .nav__burger i { background: transparent; }
.menu-open .nav__burger i::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav__burger i::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 64px 0 0 0; z-index: 99; background: #fff;
  padding: 16px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 22px; font-family: var(--serif); border-bottom: 1px solid var(--line); }
.mobile-menu .btn-row { margin-top: 24px; }
.mobile-menu .btn { font-family: var(--sans); font-size: 15px; border-bottom: 0; padding: 0 20px; display: inline-flex; }
@media (max-width: 1023px) {
  .nav__links, .nav__right .hide-m { display: none; }
  .nav__burger { display: grid; }
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.logo svg { width: 22px; height: 22px; flex: none; }

/* ---------- Banner-Pille ---------- */
.banner {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: var(--pill); border: 1px solid rgba(0, 0, 0, .04); background: rgba(0, 0, 0, .04);
  padding: 9px 16px; font-size: 15px; line-height: 21px; white-space: nowrap;
  transition: background-color .2s;
}
.banner:hover { background: rgba(0, 0, 0, .07); }
.banner > svg { width: 18px; height: 18px; flex: none; }
.banner .arrow { display: inline-flex; overflow: hidden; opacity: .5; }
.banner .arrow svg { width: 16px; height: 16px; }

/* ---------- Hero (Desktop, gepinnt) ---------- */
.hero { position: relative; background: linear-gradient(to bottom, #f7f7f8, #fff); }
.hero__bg { position: absolute; inset: 0; max-height: 1440px; overflow: hidden; will-change: transform; }
.hero__bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero__bg .blob--a { width: 900px; height: 760px; left: 50%; top: 120px; transform: translateX(-20%); background: radial-gradient(closest-side, rgba(247, 196, 168, .85), rgba(251, 225, 209, .55) 55%, rgba(251, 225, 209, 0)); }
.hero__bg .blob--b { width: 760px; height: 640px; left: 50%; top: 40px; transform: translateX(-85%); background: radial-gradient(closest-side, rgba(214, 208, 238, .8), rgba(232, 229, 245, .45) 60%, rgba(232, 229, 245, 0)); }
.hero__bg .blob--c { width: 520px; height: 420px; left: 50%; top: 520px; transform: translateX(-10%); background: radial-gradient(closest-side, rgba(250, 210, 186, .7), rgba(250, 210, 186, 0)); }
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 420px; background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0)); }
.hero__banner { position: absolute; top: 103px; inset-inline: 0; z-index: 20; display: flex; justify-content: center; }
.hero__stage { position: absolute; left: 50%; top: 0; width: 1200px; visibility: hidden; }
.hero.is-ready .hero__stage { visibility: visible; }
.hero__copy { position: absolute; top: 35%; left: 0; width: 1200px; z-index: 10; display: flex; align-items: center; justify-content: center; }
.hero__copy .h-display { text-align: center; }
.hero__copy .lead { text-align: center; color: var(--ink); line-height: 1.5; max-width: 630px; font-size: 20px; }
.hero__copy .reveal-cta { margin-top: 24px; }
.float { position: absolute; top: 880px; left: 0; }
.float--shadow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-block); opacity: var(--shadow-opacity, 1); }
.hero__logos { position: absolute; top: 880px; left: -5%; width: 110%; z-index: 40; }
.hero-mobile { display: none; }
@media (max-width: 1023px) {
  .hero { display: none; }
  .hero-mobile { display: block; }
}

/* ---------- Dashboard (App-Fenster) ---------- */
.dash { position: relative; width: 1200px; height: 880px; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, .05); font-size: 13px; color: var(--ink); }
.dash__side { position: absolute; inset: 0 auto 0 0; width: 230px; background: var(--fog); border-right: 1px solid #efeff1; padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.dash__lights { display: flex; gap: 6px; padding: 2px 4px 18px; }
.dash__lights i { width: 10px; height: 10px; border-radius: 50%; background: #e3e3e6; }
.dash__ws { display: flex; align-items: center; gap: 8px; padding: 4px 6px 14px; font-weight: 500; }
.dash__ws .ws-logo { width: 22px; height: 22px; border-radius: 6px; background: #3b2a20; color: #f6e2cf; display: grid; place-items: center; font-size: 11px; font-weight: 600; font-family: var(--serif); }
.dash__ws .chev { margin-left: auto; opacity: .4; width: 12px; height: 12px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; color: #45484e; }
.side-item svg { width: 15px; height: 15px; opacity: .7; flex: none; }
.side-item.is-active { background: #ececee; color: var(--ink); font-weight: 480; }
.side-item .badge { margin-left: auto; font-size: 11px; background: var(--ink); color: #fff; border-radius: 99px; padding: 1px 6px; }
.side-label { font-size: 11px; color: var(--ash); padding: 16px 8px 4px; }
.side-dot { width: 15px; height: 15px; border-radius: 4px; flex: none; }
.dash__berater { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.dash__berater img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.dash__berater small { display: block; color: var(--slate); font-size: 11px; }
.dash__berater b { font-weight: 480; font-size: 12px; }
.dash__berater .online { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #3fb27f; box-shadow: 0 0 0 3px rgba(63,178,127,.18); }
.dash__top { position: absolute; left: 230px; right: 0; top: 0; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid #f1f1f3; }
.dash__top .crumb { display: flex; align-items: center; gap: 10px; font-weight: 480; }
.dash__top .crumb span { opacity: .4; }
.dash__top .tools { display: flex; gap: 14px; align-items: center; color: var(--slate); }
.dash__top .tools svg { width: 15px; height: 15px; }
.dash__start { position: absolute; top: 88px; left: 248px; width: 906px; height: 790px; }
.dash__hello { font-family: var(--serif); font-size: 26px; letter-spacing: -0.01em; margin: 6px 0 0; }
.dash__recent { position: absolute; left: 622px; top: 52px; width: 284px; }
.dash__recent h5 { margin: 0 0 8px; font-size: 12px; font-weight: 480; color: var(--ink); }
.dash__recent li { display: flex; gap: 8px; align-items: center; padding: 4px 0; color: #45484e; font-size: 12px; }
.dash__recent ul { list-style: none; margin: 0; padding: 0; }
.dash__recent svg { width: 13px; height: 13px; opacity: .5; flex: none; }
.dcard { position: absolute; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #eeeef0; padding: 16px 18px; }
.dcard h6 { margin: 0; font-size: 13px; font-weight: 480; }
.dcard .big { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin-top: 18px; }
.dcard .delta { font-size: 11px; color: var(--slate); margin-top: 2px; }
.dcard .delta b { color: #2d8a5b; font-weight: 500; }
.dash__answer { position: absolute; left: 300px; top: 28px; width: 800px; opacity: 0; }
.dock { visibility: hidden; }

/* Hero-Bausteine (schwebend) */
.blk { border-radius: 12px; position: relative; overflow: hidden; }
.blk--blue { width: 600px; height: 235px; background: #fff; display: grid; grid-template-columns: 1fr 260px; box-shadow: 0 0 0 1px #eceef3; }
.blk--blue .l { padding: 16px 18px; background: #eef4fd; }
.blk--blue .r { padding: 16px 18px; border-left: 1px solid #e4ebf6; background: #f6f9fe; }
.blk h6 { margin: 0; font-size: 13px; font-weight: 500; color: #1e3d66; }
.blk--blue .num { display: flex; justify-content: space-between; align-items: baseline; }
.blk--blue .num b { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: #1e3d66; }
.blk--blue .num small { display: block; text-align: right; font-size: 10.5px; color: #5b7396; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 118px; margin-top: 14px; padding-bottom: 16px; position: relative; }
.bars i { flex: 1; background: #3a66a8; border-radius: 3px 3px 0 0; transform-origin: bottom; }
.bars i.dim { background: #a7bfe2; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; border-top: 1px solid #c9d7ec; }
.bars .x { position: absolute; bottom: -2px; font-size: 9.5px; color: #7a8fae; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 11.5px; }
.tbl td { padding: 5.5px 0; border-bottom: 1px solid #e1e8f4; color: #4c6588; }
.tbl td:last-child { text-align: right; color: #1e3d66; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border: 0; }
.blk--peach { width: 294px; height: 235px; background: #fdf0e7; box-shadow: 0 0 0 1px #f5e2d5; padding: 16px 18px; color: var(--sienna); }
.blk--peach h6 { color: var(--sienna); }
.blk--peach .ring { position: absolute; right: -36px; top: 46px; width: 150px; height: 150px; }
.blk--peach .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.blk--peach .ring b small { display: block; font-size: 10px; font-weight: 400; opacity: .7; text-align: center; margin-top: -6px; }
.blk--peach .ring b span { display: block; text-align: center; }
.blk--peach .foot { position: absolute; left: 18px; bottom: 18px; }
.blk--peach .foot b { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.blk--peach .foot small { display: block; font-size: 11px; opacity: .8; }
.blk--gray { width: 294px; height: 200px; background: #fff; box-shadow: 0 0 0 1px #eceef0; padding: 16px 18px; }
.blk--gray h6 { color: var(--ink); }
.blk--gray .foot { position: absolute; left: 18px; bottom: 16px; }
.blk--gray .foot b { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; display: block; }
.blk--gray .foot small { font-size: 10.5px; color: var(--slate); display: block; max-width: 108px; line-height: 1.3; }
.blk--gray svg.line { position: absolute; right: 14px; top: 34px; width: 150px; height: 150px; overflow: visible; }
.composer { width: 100%; height: 100px; background: #fff; border-radius: 20px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 12px 12px 20px; overflow: hidden; }
.composer__text { position: relative; font-size: 15px; line-height: 1.5; }
.composer__ph { color: var(--smoke); }
.composer__typed { position: absolute; left: 0; top: 0; white-space: nowrap; overflow: hidden; width: 0; color: var(--ink); }
.composer__icons { display: flex; justify-content: space-between; align-items: center; }
.composer__icons .l { display: flex; gap: 8px; color: var(--ink); }
.composer__icons .l svg { width: 15px; height: 15px; }
.send { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.send svg { width: 14px; height: 14px; }
.cursor-tag { display: flex; align-items: flex-start; pointer-events: none; }
.cursor-tag .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 500; border: 1.5px solid currentColor; }
.cursor-tag svg { width: 18px; height: 18px; margin: -4px 0 0 -4px; }
.cursor-tag--green { color: #2f5b3a; }
.cursor-tag--green .av { background: #dff0e3; }
.cursor-tag--blue { color: #26466f; }
.cursor-tag--blue .av { background: #dde9fb; }

/* Antwort-Ansicht im Dashboard */
.ans-q { position: absolute; right: 120px; top: 60px; }
.ans-meta { font-size: 12px; color: var(--slate); display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.ans-chart { border-radius: 12px; box-shadow: 0 0 0 1px #eeeef0; padding: 16px 18px 10px; }
.ans-chart header { display: flex; justify-content: space-between; align-items: start; }
.ans-chart header small { color: var(--slate); font-size: 11px; display: block; margin-top: 2px; }
.ans-chart .legend { display: flex; gap: 14px; font-size: 11px; color: var(--slate); margin-top: 10px; }
.ans-chart .legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.ans h4 { font-size: 15px; font-weight: 500; margin: 22px 0 6px; }
.ans p { margin: 0; color: #3c3f45; font-size: 13px; line-height: 1.55; }
.ans ul { margin: 6px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.ans li { font-size: 13px; line-height: 1.5; color: #3c3f45; }
.ans li b { font-weight: 500; color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 6px; background: #eef4fd; color: #2f5590; font-size: 12px; }
.chip--peach { background: #fdf0e7; color: var(--sienna); }

/* ---------- Logo-Laufband ---------- */
.logos { padding: 40px 0 24px; text-align: center; }
.logos__label { font-size: 13px; color: var(--ink); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: carousel-scroll 50s linear infinite; }
.marquee__list { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes carousel-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.clogo { height: 34px; width: auto; color: #1d1f22; opacity: .9; flex: none; }

/* ---------- Mobile Hero ---------- */
.hero-mobile { position: relative; padding-top: 128px; background: #fff; overflow: hidden; overflow: clip; }   /* clip statt hidden: schneidet ab, ohne position:sticky im Inneren zu blockieren */
.hero-mobile .hero__bg { height: 70%; }
.hero-mobile .reveal { position: relative; z-index: 2; padding-inline: var(--gutter); }
.hero-mobile .h-display { font-size: clamp(42px, 9.5vw, 70px); }
.hero-mobile .lead { color: var(--ink); font-size: 17px; }
.hero-mobile .banner { position: relative; z-index: 2; margin: 0 auto 32px; display: flex; width: max-content; max-width: calc(100% - 40px); font-size: 14px; }
.hero-mobile__shot { position: relative; z-index: 1; margin: 48px auto 0; width: calc(100% - 2 * var(--gutter)); aspect-ratio: 1200 / 880; }
.hero-mobile__scale { transform-origin: top left; }

/* ---------- Sektionen ---------- */
.section { position: relative; }
.pad-y { padding-block: 80px; }
@media (min-width: 768px) { .pad-y { padding-block: 120px; } }

/* Intro-Karten (3 Karten, Hover vergrößert) */
.intro { padding-top: 64px; padding-bottom: 80px; }
@media (min-width: 1024px) { .intro { padding-top: 0; margin-top: -110px; position: relative; z-index: 2; } }
.cards3 { display: flex; gap: 24px; margin-top: 96px; transition: transform .3s ease-out; }
.cards3.shift-r { transform: translateX(3%); }
.cards3.shift-l { transform: translateX(-3%); }
.icard { flex: 1; container-type: inline-size; }
.icard__in { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; transform: scale(.9); transform-origin: bottom; transition: transform .3s ease-out, background-color .5s ease-out, color .5s ease-out; background: #f7f7f8; color: #4c4c4c; }
.icard.is-active .icard__in { transform: scale(1.1); }
.icard.nudge-r .icard__in { transform: scale(.9) translateX(2%); }
.icard.nudge-l .icard__in { transform: scale(.9) translateX(-2%); }
.icard.push-r .icard__in { transform: scale(.9) translateX(6%); }
.icard.push-l .icard__in { transform: scale(.9) translateX(-6%); }
.icard.is-active.peach .icard__in { background: var(--peach); color: var(--sienna); }
.icard.is-active.sky .icard__in { background: var(--sky); color: var(--sky-ink); }
.icard.is-active.sage .icard__in { background: var(--sage); color: var(--sage-ink); }
.icard__body { position: absolute; inset: 0; padding: 32px; display: flex; flex-direction: column; }
.icard__title { font-size: 26px; letter-spacing: -0.015rem; font-weight: 450; line-height: 1.18; width: 66%; }
.icard__ill { position: absolute; left: 0; right: 0; top: 35%; display: flex; justify-content: center; transition: top .5s ease-out; }
.icard.is-active .icard__ill { top: 24%; }
.icard__ill svg { width: 56%; height: auto; overflow: visible; }
.icard__desc { margin-top: auto; font-size: 14px; line-height: 1.3; opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out .1s, transform .5s ease-out .1s; }
.icard.is-active .icard__desc { opacity: 1; transform: none; }
@container (max-width: 300px) { .icard__body { padding: 22px; } .icard__title { font-size: 21px; } .icard__desc { font-size: 12px; } }
@media (max-width: 767px) {
  .cards3 { overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px var(--gutter) 24px; margin: 24px calc(var(--gutter) * -1) 0; gap: 12px; transform: none !important; scrollbar-width: none; }
  .cards3::-webkit-scrollbar { display: none; }
  .icard { flex: 0 0 86%; scroll-snap-align: center; }
  .icard__in, .icard.is-active .icard__in, .icard[class*="nudge"] .icard__in, .icard[class*="push"] .icard__in { transform: none; }
  .icard__desc { opacity: 1; transform: none; }
}

/* Produkt-Sektion mit Autoplay-Tabs */
.product { background: var(--fog); overflow: hidden; padding: 48px 0; }
@media (min-width: 768px) { .product { padding: 80px 0 128px; } }
.glow { position: absolute; pointer-events: none; z-index: 0; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); }
.product .glow { height: 95%; left: 63%; top: 61%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(221, 236, 204, .9), rgba(246, 225, 205, .7) 45%, rgba(250, 250, 251, 0) 75%); }
.product .container { position: relative; z-index: 1; }
.tabs-row { display: flex; gap: 0; margin-top: 16px; }
.vtabs { flex: none; width: 282px; margin-right: 40px; display: flex; flex-direction: column; justify-content: center; }
.vtab { position: relative; text-align: left; padding: 20px 0; opacity: .6; transition: opacity .2s; width: 100%; }
.vtab:hover, .vtab.is-active { opacity: 1; }
.vtab p { margin: 0; font-size: 14px; padding-bottom: 2px; }
.vtab .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.vtab.is-active .more { grid-template-rows: 1fr; }
.vtab .more > div { overflow: hidden; }
.vtab .more span { display: block; font-size: 16px; line-height: 1.375; padding-top: 4px; opacity: 0; transition: opacity .35s var(--ease-out) .1s; }
.vtab.is-active .more span { opacity: .5; }
.vtab .track { position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(0, 0, 0, .1); }
.vtab .fill { display: block; height: 2px; width: 0; border-radius: 99px; background: var(--ink); transform: translateY(-.5px); }
.dark .vtab .track { background: rgba(255, 255, 255, .1); }
.dark .vtab .fill { background: #fff; }
.dark .vtab { color: #fff; }
@keyframes progressFill { from { width: 0; } to { width: 100%; } }
.appwin { flex: 1; min-width: 0; aspect-ratio: 20 / 13; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, .05); position: relative; container-type: inline-size; }
.htabs { display: none; }
@media (max-width: 1279px) {
  .tabs-row { flex-direction: column; }
  .vtabs { display: none; }
  .htabs { display: block; position: relative; margin: 24px 0 8px; }
  .htabs__row { display: flex; overflow-x: auto; scrollbar-width: none; gap: 20px; }
  .htabs__row::-webkit-scrollbar { display: none; }
  .htabs button { padding: 18px 0; font-size: 14px; color: rgba(23, 25, 28, .5); white-space: nowrap; transition: color .2s; position: relative; }
  .htabs button.is-active { color: var(--ink); }
  .htabs button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(23, 25, 28, .5); }
  .htabs::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(0, 0, 0, .1); }
  .dark .htabs button { color: rgba(255, 255, 255, .6); }
  .dark .htabs button.is-active { color: #fff; }
  .dark .htabs button.is-active::after { background: #fff; }
  .dark .htabs::after { background: rgba(255, 255, 255, .1); }
  .htabs__desc { max-width: 32rem; font-size: 14px; margin: 16px 0 24px; opacity: .9; animation: fade-in-y .5s ease-out forwards; }
}
@keyframes fade-in-y { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* App-Szenen (stop-motion Produktdemos) */
.scene { position: absolute; inset: 0; display: none; font-size: 1.15cqw; color: var(--ink); background: #fff; }
.scene.is-on { display: block; }
.sc-side { position: absolute; inset: 0 auto 0 0; width: 18%; background: var(--fog); border-right: 1px solid #efeff1; padding: 1.4cqw 1cqw; }
.sc-side .side-item { padding: .5cqw .7cqw; gap: .8cqw; font-size: 1.05cqw; border-radius: .7cqw; }
.sc-side .side-item svg { width: 1.2cqw; height: 1.2cqw; }
.sc-side .dash__lights { padding: 0 .3cqw 1.4cqw; gap: .5cqw; }
.sc-side .dash__lights i { width: .8cqw; height: .8cqw; }
.sc-side .dash__ws { font-size: 1.05cqw; gap: .7cqw; padding: 0 .4cqw 1.2cqw; }
.sc-side .dash__ws .ws-logo { width: 1.8cqw; height: 1.8cqw; font-size: .9cqw; border-radius: .5cqw; }
.sc-main { position: absolute; left: 18%; right: 0; top: 0; bottom: 0; padding: 2.4cqw 3cqw; }
.sc-top { display: flex; justify-content: space-between; align-items: center; font-size: 1.1cqw; font-weight: 480; margin-bottom: 2.2cqw; }
.sc-top small { color: var(--slate); font-weight: 400; }
.sc-h { font-family: var(--serif); font-size: 2.4cqw; letter-spacing: -0.01em; margin: 0 0 1.6cqw; font-weight: 400; }
.sc-card { border-radius: 1cqw; box-shadow: 0 0 0 1px #ececef; padding: 1.4cqw 1.6cqw; background: #fff; }
.sc-card h6 { margin: 0; font-size: 1.1cqw; font-weight: 480; }
.sc-muted { color: var(--slate); }
.sc-grid { display: grid; gap: 1.2cqw; }
.sc-big { font-size: 2.3cqw; font-weight: 500; letter-spacing: -0.02em; margin-top: 1cqw; }
.sc-pill { display: inline-flex; align-items: center; gap: .5cqw; border-radius: 99px; padding: .45cqw 1.1cqw; font-size: 1cqw; background: var(--mist); }
.sc-pill--ink { background: var(--ink); color: #fff; }
.sc-pill--ok { background: #e3f3e8; color: #24603b; }
.sc-row { display: flex; align-items: center; justify-content: space-between; padding: .9cqw 0; border-bottom: 1px solid #f0f0f2; font-size: 1.05cqw; }
.sc-row:last-child { border-bottom: 0; }
.sc-field { display: grid; grid-template-columns: 9cqw 1fr; align-items: center; padding: .8cqw 0; border-bottom: 1px solid #f0f0f2; font-size: 1.05cqw; }
.sc-field span { color: var(--slate); }
.sc-field b { font-weight: 480; min-height: 1.3em; }
.sc-cursor { position: absolute; width: 1.9cqw; height: 1.9cqw; z-index: 20; pointer-events: none; left: 60%; top: 70%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.sc-receipt { width: 15cqw; background: #fff; border-radius: .4cqw; box-shadow: 0 1cqw 2.5cqw rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.05); padding: 1.4cqw 1.2cqw; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85cqw; color: #333; position: relative; overflow: hidden; }
.sc-receipt hr { border: 0; border-top: 1px dashed #ccc; margin: .7cqw 0; }
.sc-receipt .scan { position: absolute; left: 0; right: 0; height: 18%; background: linear-gradient(to bottom, rgba(251, 225, 209, 0), rgba(247, 180, 140, .55), rgba(251, 225, 209, 0)); top: -20%; }
.sc-bubble { max-width: 70%; padding: 1cqw 1.3cqw; border-radius: 1.2cqw; font-size: 1.1cqw; line-height: 1.45; }
.sc-bubble--me { background: var(--mist); margin-left: auto; border-bottom-right-radius: .3cqw; }
.sc-bubble--them { background: #fff; box-shadow: 0 0 0 1px #ececef; border-bottom-left-radius: .3cqw; }
.sc-typing { display: inline-flex; gap: .35cqw; padding: 1.1cqw 1.3cqw; border-radius: 1.2cqw; box-shadow: 0 0 0 1px #ececef; }
.sc-typing i { width: .55cqw; height: .55cqw; border-radius: 50%; background: var(--smoke); animation: typing 1s infinite ease-in-out; }
.sc-typing i:nth-child(2) { animation-delay: .15s; } .sc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.35cqw); opacity: 1; } }
.sc-toast { position: absolute; right: 2cqw; bottom: 2cqw; display: flex; align-items: center; gap: .8cqw; background: var(--ink); color: #fff; padding: 1cqw 1.4cqw; border-radius: 1cqw; font-size: 1.05cqw; box-shadow: var(--shadow-modal); opacity: 0; }
.sc-input { display: flex; align-items: center; justify-content: space-between; border-radius: 1.2cqw; box-shadow: 0 0 0 1px #e6e6e9; padding: 1.2cqw 1.2cqw 1.2cqw 1.6cqw; font-size: 1.15cqw; }
.sc-input .send { width: 2.6cqw; height: 2.6cqw; }
.sc-input .send svg { width: 1.1cqw; height: 1.1cqw; }

/* Kundengeschichte */
.story { background: var(--sky); }
.story__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 160px; }
.story__left { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-top: 32px; padding-right: 80px; }
.story__quote { min-height: 240px; transition: opacity .3s; }
.story__quote.is-swapping { opacity: 0; }
.story__quote .lead { font-size: 18px; color: rgba(23, 25, 28, .6); }
.story__btns { display: flex; gap: 8px; margin-top: 16px; }
.story__btns .btn--primary { mix-blend-mode: multiply; }
.story__brands { position: relative; display: flex; border-top: 1px solid rgba(25, 65, 104, .12); padding-top: 16px; margin-top: 64px; }
.story__bar { position: absolute; top: 0; height: 2px; background: #000; transform: translateY(-1px); transition: left .3s ease-out; }
.story__brands button { flex: 1; display: flex; align-items: center; justify-content: center; opacity: .4; transition: opacity .2s; padding: 8px 0; }
.story__brands button:hover, .story__brands button.is-active { opacity: 1; }
.story__brands svg { height: 26px; width: auto; color: #10243b; }
.story__img { position: relative; width: 45%; max-width: 480px; aspect-ratio: 1; border-radius: 24px; overflow: hidden; mix-blend-mode: multiply; flex: none; align-self: center; }
.story__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; filter: grayscale(1) contrast(1.05); }
.story__mlogo { display: none; }
@media (max-width: 1023px) { .story__in { padding-block: 96px; } .story__left { padding-right: 40px; } }
@media (max-width: 767px) {
  .story__in { flex-direction: column-reverse; padding-block: 64px; }
  .story__left { padding: 0; }
  .story__img { width: 100%; max-width: none; }
  .story__brands { display: none; }
  .story__quote { min-height: 0; }
  .story__mlogo { display: block; height: 22px; width: auto; color: #10243b; margin-bottom: 12px; }
  .story__mdots { display: flex; gap: 8px; margin-top: 24px; }
}
.story__mdots { display: none; }
.story__mdots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(16, 36, 59, .25); }
.story__mdots button.is-active { background: #10243b; }

/* Dunkle Kanzlei-Sektion */
.dark { color: #fff; }
.kanzlei { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0) 10%, rgba(255,255,255,.1) 100%), var(--night); padding: 64px 0; }
@media (min-width: 768px) { .kanzlei { padding: 120px 0 160px; } }
.kanzlei .noise { background-size: 80px 80px; opacity: .12; }
.kanzlei .container { position: relative; z-index: 1; }
.kanzlei .h2 { color: rgba(255, 255, 255, .8); }
.kanzlei .eyebrow-link svg { opacity: .4; }
.kpanel-wrap { flex: 1; min-width: 0; position: relative; aspect-ratio: 960 / 640; border-radius: 24px; overflow: hidden; }
.kpanel { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; container-type: inline-size; font-size: 1.3cqw; }
.features4 { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; }
.features4 > div { padding: 0 32px 0 24px; border-left: 1px solid rgba(255, 255, 255, .08); }
.features4 > div:first-child { border-left: 0; padding-left: 0; }
.features4 .ic { height: 36px; display: flex; gap: 8px; align-items: center; margin-bottom: 28px; }
.features4 .ic svg { width: 28px; height: 28px; }
.features4 b { display: block; font-weight: 480; font-size: 15px; margin-bottom: 2px; }
.features4 p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .6); line-height: 1.4; }
.light .features4 > div { border-color: var(--line); }
.light .features4 p { color: var(--slate); }
@media (max-width: 1023px) { .features4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .features4 > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .features4 { grid-template-columns: 1fr; } .features4 > div { border-left: 0; padding: 0; } }

/* KI-Sektion */
.ai { background: var(--mist); overflow: hidden; }
.ai .glow { width: 1400px; left: 50%; top: 240px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(229, 218, 245, .95), rgba(251, 225, 209, .75) 45%, rgba(242, 242, 243, 0) 72%); }
.ai .container { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 128px; }
.ai__stage { position: relative; max-width: 1360px; margin: 0 auto; padding: 0 80px 64px; }
.ai__shot { position: relative; z-index: 0; max-width: 788px; margin: 0 auto; border-radius: 24px; background: #fff; box-shadow: var(--shadow-2xl); overflow: hidden; container-type: inline-size; aspect-ratio: 788 / 760; }
.qbub { position: absolute; z-index: 10; pointer-events: none; }
.qbub__who { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.qbub__who img, .qbub__who .av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.qbub__who b { font-weight: 500; }
.qbub__who span { color: var(--ash); }
.qbub__q { background: #fff; border-radius: 16px; padding: 12px 16px; font-size: 14px; line-height: 1.4; box-shadow: var(--shadow-modal); }
.feat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat3__img { aspect-ratio: 4 / 3; border-radius: 24px; background: #fff; overflow: hidden; position: relative; margin-bottom: 24px; box-shadow: 0 0 0 1px rgba(0,0,0,.04); container-type: inline-size; }
.feat3 b { display: block; font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.feat3 p { margin: 0; font-size: 14px; color: rgba(23, 25, 28, .6); line-height: 1.4; }
@media (max-width: 1023px) { .ai__stage { padding: 0 0 48px; } .qbub { display: none; } }
@media (max-width: 767px) { .feat3 { grid-template-columns: 1fr; gap: 40px; } .ai .container { padding-top: 64px; padding-bottom: 64px; } }

/* Abschluss / Get started */
.start { padding: 128px 0 160px; }
.start__in { display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; gap: 64px; }
.start__copy { display: flex; flex-direction: column; align-items: flex-start; }
.start__copy .lead { max-width: 480px; font-size: 18px; color: var(--slate); }
.start__copy .btn-row { margin-top: 24px; gap: 16px; }
@media (max-width: 1023px) {
  .start { padding: 48px 0 128px; }
  .start__in { flex-direction: column; gap: 8px; }
  .start__copy { align-items: center; text-align: center; }
  .start__copy .reveal { align-items: center; }
}

/* Tür-Animation (Ersatz für door.mp4) */
.door { width: 360px; height: 310px; position: relative; flex: none; perspective: 900px; transform: scaleX(-1); }
.door__floor { position: absolute; left: 6%; right: 6%; bottom: 8%; height: 34%; background: radial-gradient(closest-side, rgba(23,25,28,.10), rgba(23,25,28,0)); transform: rotateX(70deg); }
.door__light { position: absolute; left: 30%; bottom: 10%; width: 64%; height: 30%; background: linear-gradient(100deg, rgba(251, 214, 186, .95), rgba(251, 225, 209, 0) 70%); clip-path: polygon(0 0, 46% 0, 100% 100%, 0 100%); transform-origin: left bottom; opacity: 0; filter: blur(2px); }
.door__frame { position: absolute; left: 50%; bottom: 16%; width: 132px; height: 216px; transform: translateX(-50%); border: 10px solid #fff; border-bottom: 0; border-radius: 66px 66px 0 0; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 18px 30px -12px rgba(0,0,0,.18), inset 0 0 0 1px rgba(0,0,0,.05); background: linear-gradient(180deg, #fbe1d1, #f6c9ac); transform-style: preserve-3d; }
.door__glow { position: absolute; inset: 0; border-radius: 56px 56px 0 0; background: radial-gradient(120% 80% at 50% 100%, #fff4ea, rgba(255,244,234,0) 70%); }
.door__leaf { position: absolute; inset: 0; border-radius: 56px 56px 0 0; background: linear-gradient(90deg, #fafafb, #fff 40%, #f1f1f3); transform-origin: left center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.door__leaf::before, .door__leaf::after { content: ""; position: absolute; left: 16%; right: 16%; border: 1px solid rgba(0,0,0,.08); border-radius: 40px 40px 4px 4px; }
.door__leaf::before { top: 12%; height: 38%; }
.door__leaf::after { top: 58%; height: 30%; border-radius: 4px; }
.door__knob { position: absolute; right: 12%; top: 54%; width: 9px; height: 9px; border-radius: 50%; background: #d8d8dc; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.door__step { position: absolute; left: 50%; bottom: calc(16% - 10px); width: 168px; height: 10px; transform: translateX(-50%); background: #fff; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 6px 10px -4px rgba(0,0,0,.15); }
.door__sign { position: absolute; left: 50%; bottom: calc(16% + 222px); transform: translateX(-50%) scaleX(-1); font-family: var(--serif); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8a8d95; white-space: nowrap; }
@media (max-width: 639px) { .door { transform: scaleX(-1) scale(.7); margin: -40px 0; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer h4 { margin: 0 0 16px; font-size: 14px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer li a { color: var(--slate); transition: color .15s; }
.footer li a:hover { color: var(--ink); }
.footer__mark svg { width: 26px; height: 26px; }
.footer__bottom { display: grid; grid-template-columns: 1fr repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--slate); font-size: 13px; }
.footer__social { display: flex; gap: 14px; }
.footer__social svg { width: 16px; height: 16px; color: var(--ink); opacity: .7; }
.footer__note { color: var(--ash); font-size: 12px; margin-top: 24px; line-height: 1.5; }
.footer__note a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__mark { grid-column: 1 / -1; }
  .footer__bottom { grid-template-columns: 1fr 1fr; }
}

/* ---------- Unterseiten-Bausteine ---------- */
.page-hero { position: relative; padding: 168px 0 80px; overflow: hidden; background: linear-gradient(to bottom, #f7f7f8, #fff); }
.page-hero .hero__bg { max-height: 900px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .h-display { font-size: clamp(48px, 7vw, 90px); }
.page-hero .lead { color: rgba(23, 25, 28, .7); }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 1023px) { .split2 { grid-template-columns: 1fr; gap: 40px; } }
.card-mist { background: var(--mist); border-radius: var(--r-card); padding: 32px 28px; }
.card-peach { background: var(--peach); color: var(--sienna); border-radius: var(--r-card); padding: 40px; }
.tag { font-size: 14px; color: var(--ash); }
.photo { border-radius: var(--r-card); overflow: hidden; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.fade-up { opacity: 0; transform: translateY(40px); }
.no-js .fade-up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}
@media (min-width: 1280px) { .htabs__desc { display: none !important; } }

/* Hero am Handy mit Animation (assets/js/components.js, heroMobileInit). Größe und Scroll-Strecke stehen
   schon beim ersten Zeichnen fest – vorher setzte das Skript sie nachträglich, und die Seite sprang (CLS 0,99). */
/* Das Fenster hält per position:sticky (vom Browser verwaltet – springt am iPhone nicht, wenn die
   Adressleiste ein- und ausfährt). Die Scroll-Strecke ist der Innenabstand der Spur darunter. */
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .hero-mobile__track::after { content: ""; display: block; height: 160svh; }   /* echter Platz: sticky klebt nur im Inhaltsbereich, nicht im Innenabstand */
  html:not(.no-js) .hero-mobile__shot { position: sticky; top: calc(50svh - (100vw - 2 * var(--gutter)) * .3667); }
}
.hero-mobile__scale { position: absolute; left: 0; top: 0; }   /* aus dem Fluss: Höhe kommt allein aus aspect-ratio (scale() ändert das Layout nicht) */
[data-m-dock] { position: absolute; z-index: 3; }
[data-m-dock] > * { will-change: transform, opacity; }
