/* BergVoll Robotics: site styles */
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #E7E5DF; --bg-deep: #DBD7CA; --paper: #F6F4F0; --white: #FFFFFF;
  --ink: #061A1E; --ink-soft: #2E4246; --muted: #4F5F62;
  --teal: #299093; --teal-ui: #1E7477; --teal-glow: #5FD4D6;
  --coral: #EF6156; --yellow: #FFBD00;
  --line: rgba(6, 26, 30, .16);
  --r: 28px; --r-sm: 18px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(16px, 1.05vw + 10px, 19px); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.025em; line-height: 1.02; }
h2 { font-size: clamp(36px, 5.4vw, 84px); }
h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.015em; line-height: 1.12; }
p { margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: .55em; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ''; width: .62em; height: .62em; border-radius: 50%; background: var(--teal); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .45em; border: 0; cursor: pointer; text-decoration: none;
  padding: .5em 1.05em; border-radius: 999px; background: var(--white); color: var(--ink);
  font-weight: 600; font-size: 15px; line-height: 1.1; white-space: nowrap;
  transition: transform .35s var(--spring), background .25s, color .25s, box-shadow .25s;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(.97); }
.pill--teal { background: var(--teal-ui); color: #fff; }
.pill--ink { background: var(--ink); color: #fff; }
.pill--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill--lg { font-size: 17px; padding: .85em 1.4em; }
.pill .arr { transition: transform .3s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }

/* Highlight pills inside headlines */
.hl { display: inline-block; border-radius: 999px; padding: 0 .32em .06em; line-height: 1.12; margin: .04em 0; }
.hl--teal { background: var(--teal); color: #fff; }
.hl--white { background: var(--white); box-shadow: inset 0 0 0 2px var(--yellow); }
.hl--coral { background: var(--coral); color: var(--ink); }
.hl--yellow { background: var(--yellow); }
.hl--ink { background: var(--ink); color: #fff; }
.hl-stack { display: inline-flex; align-items: center; vertical-align: baseline; }
.hl-stack .dot { display: inline-block; width: 1.05em; height: 1.05em; border-radius: 50%; margin-left: -.55em; }
.hl-stack .dot:nth-of-type(1) { background: var(--yellow); }
.hl-stack .dot:nth-of-type(2) { background: var(--teal); }
.hl-stack .hl { position: relative; z-index: 2; }

.reveal .hl, .reveal .hl-stack { transform: scale(.4) rotate(-6deg); opacity: 0; transition: transform .8s var(--spring), opacity .4s; transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in .hl, .reveal.is-in .hl-stack { transform: none; opacity: 1; }
.reveal .hl-stack .hl { transform: none; opacity: 1; }
.fade { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.fade.is-in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 16px 16px auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.nav > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 19px; padding: 6px 12px 6px 6px; border-radius: 999px; transition: background .3s; }
.nav.is-scrolled .brand { background: rgba(246, 244, 240, .86); backdrop-filter: blur(10px); }
.brand svg { width: 34px; height: 34px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 14px; }
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__links .pill { font-size: 14px; padding: .55em 1em; }
.nav__menu { display: none; }
@media (max-width: 960px) {
  .nav__links .pill:not(.pill--teal):not(.nav__menu) { display: none; }
  .nav__menu { display: inline-flex; }
}
.menu-sheet { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff; padding: 90px var(--pad) 40px; display: flex; flex-direction: column; gap: 10px;
  transform: translateY(-100%); transition: transform .6s var(--ease); }
.menu-sheet.is-open { transform: none; }
.menu-sheet a { font-size: clamp(34px, 9vw, 56px); font-weight: 650; letter-spacing: -.03em; text-decoration: none; line-height: 1.15; }
.menu-sheet a:hover { color: var(--teal-glow); }
.menu-sheet .pill { position: absolute; top: 16px; right: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 110px var(--pad) 40px; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: 1fr auto; }
.hero__shapes { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.shape { position: absolute; background: var(--white); }
.shape--sun { width: min(62vw, 820px); aspect-ratio: 1; border-radius: 50%; right: -6vw; top: 8vh; }
.shape--pill { width: min(30vw, 380px); height: 150vh; border-radius: 999px; left: -8vw; top: 52vh; }
.shape--dot { width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); left: 46vw; top: 16vh; }
.hero__word { position: relative; z-index: 1; align-self: start; width: min(100%, 62vw, 108svh); margin-top: 2svh; }
.hero__word svg { width: 100%; height: auto; overflow: visible; display: block; }
/* Outline per Filter: zeichnet nur die Aussenkontur, ohne die Überlappungen der variablen Schrift */
.word-outline { fill: #000; filter: url(#wmOutline); clip-path: inset(-10% 100% -10% 0); animation: wipe 1.8s .15s var(--ease) forwards; }
.word-solid { fill: var(--ink); stroke: var(--ink); stroke-width: 7; stroke-linejoin: round; paint-order: stroke; opacity: 0; transform: translateY(30px); animation: rise 1.1s 1.1s var(--ease) forwards; }
@keyframes wipe { to { clip-path: inset(-10% -2% -10% 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__stage { position: absolute; z-index: 2; right: 2vw; bottom: 0; width: min(54vw, 760px); height: min(92svh, 900px); }
.hero__stage canvas { width: 100% !important; height: 100% !important; display: block; cursor: pointer; }
.hero__stage .fallback { position: absolute; inset: auto 10% 6% auto; height: 70%; width: auto; }
.bubble { position: absolute; left: 50%; top: 9%; transform: translate(-50%, 10px) scale(.6); opacity: 0; pointer-events: none; background: var(--white); border-radius: 999px; padding: .5em 1em; font-weight: 650; font-size: 20px; box-shadow: 0 0 0 2px var(--ink); transition: transform .5s var(--spring), opacity .3s; white-space: nowrap; }
.bubble.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.hero__foot { position: relative; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero__lead { max-width: 520px; display: grid; gap: 18px; }
.hero__lead p { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.38; }
.hero__lead strong { font-weight: 650; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.scroll-hint { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 500; }
.scroll-hint i { width: 22px; height: 36px; border-radius: 999px; box-shadow: inset 0 0 0 1.6px var(--ink); position: relative; }
.scroll-hint i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 860px) {
  .hero { padding-top: 96px; grid-template-rows: auto 1fr auto; }
  .hero__word { width: 100%; }
  .hero__stage { position: relative; right: auto; width: 100%; height: 46svh; margin-top: -9svh; }
  .shape--sun { width: 120vw; right: -40vw; top: 26svh; }
  .shape--dot { left: auto; right: 8vw; top: 20svh; width: 70px; }
  .scroll-hint { display: none; }
}

/* ---------- Dot fields ---------- */
.dots { position: absolute; pointer-events: none; color: var(--bg-deep); }
.dots svg { display: block; overflow: visible; }
.dots .x { stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; }
.dots .tw { animation: tw 3.4s infinite; animation-delay: var(--tw, 0s); }
@keyframes tw { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; padding: clamp(90px, 14vw, 200px) 0 clamp(70px, 10vw, 140px); }
.manifesto__text { font-size: clamp(32px, 4.6vw, 74px); font-weight: 600; letter-spacing: -.03em; line-height: 1.16; max-width: 1180px; }
.manifesto__text .soft { color: #9AA3A1; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(50px, 7vw, 100px); }
.pillar { background: var(--paper); border-radius: var(--r); padding: 28px; display: grid; gap: 10px; align-content: start; }
.pillar b { font-size: clamp(44px, 5vw, 72px); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.pillar span { font-weight: 600; font-size: 19px; }
.pillar p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Day (3D story) ---------- */
.day { position: relative; height: calc(var(--steps, 6) * 90svh + 100svh); --sky: #E7E5DF; background: var(--sky); transition: background .2s linear; }
.day__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.day__canvas { position: absolute; inset: 0; }
.day__canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.day__head { position: absolute; left: var(--pad); top: 96px; z-index: 3; max-width: 520px; display: grid; gap: 14px; transition: color .4s; }
.day__head h2 { font-size: clamp(36px, 4.4vw, 68px); }
.day__head p { color: var(--ink-soft); max-width: 380px; background: var(--paper); border-radius: var(--r-sm); padding: 12px 16px; font-size: 16px; box-shadow: 0 12px 30px -18px rgba(6, 26, 30, .4); }
.day__head .kicker { background: var(--paper); border-radius: 999px; padding: 6px 12px; justify-self: start; }
.day__card { position: absolute; right: var(--pad); bottom: 28px; z-index: 3; width: min(420px, calc(100% - 2 * var(--pad))); background: var(--white); border-radius: var(--r); padding: 24px 24px 20px; display: grid; gap: 10px; box-shadow: 0 30px 60px -30px rgba(6, 26, 30, .35); }
.day__time { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.day__time b { font-size: 46px; font-weight: 650; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.day__card h3 { font-size: 24px; }
.day__card p { color: var(--muted); font-size: 16px; min-height: 4.5em; }
.day__steps { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.day__steps button { border: 0; cursor: pointer; height: 10px; width: 10px; border-radius: 999px; background: var(--bg-deep); padding: 0; transition: width .4s var(--ease), background .3s; }
.day__steps button.is-on { width: 38px; background: var(--teal); }
.day__steps button.is-done { background: var(--teal); }
.day__card .swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.day__tag { position: absolute; z-index: 2; left: 0; top: 0; pointer-events: none; transform: translate(-50%, -100%); background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: .45em .85em; border-radius: 999px; white-space: nowrap; transition: opacity .3s; }
.day__tag::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.day.is-night .day__tag { background: var(--yellow); color: var(--ink); }
.day__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
@media (max-width: 760px) {
  .day__head { top: 84px; right: var(--pad); }
  .day__head p { display: none; }
  .day__card { bottom: 16px; padding: 18px; }
  .day__card p { min-height: 0; font-size: 15px; }
  .day__time b { font-size: 36px; }
}

/* ---------- Section frame ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 980px; }
.section__head p.lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); max-width: 640px; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #EAF2F2; }
.section--ink .kicker { color: #A9BDBF; }
.section--ink .kicker::before { background: var(--yellow); }

/* ---------- Solutions explorer ---------- */
.sol { display: grid; grid-template-columns: minmax(250px, 340px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.sol__list { display: grid; gap: 6px; position: sticky; top: 90px; }
.sol__btn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; font-weight: 600; font-size: 17px; transition: background .3s, color .3s, transform .3s var(--spring); }
.sol__btn span { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; font-size: 14px; transition: color .3s; }
.sol__btn:hover { background: rgba(255, 255, 255, .6); }
.sol__btn.is-on { background: var(--ink); color: #fff; }
.sol__btn.is-on span { color: var(--teal-glow); }
.sol > * { min-width: 0; }
.sol__panel { background: var(--white); border-radius: var(--r); overflow: hidden; min-height: 620px; }
.sol__visual { position: relative; height: clamp(240px, 26vw, 340px); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; gap: 2%; padding: 0 6%; }
.sol__visual[data-c="coral"] { background: var(--coral); }
.sol__visual[data-c="teal"] { background: var(--teal); }
.sol__visual[data-c="yellow"] { background: var(--yellow); }
.sol__visual .ring { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.sol__visual .ring:nth-child(1) { width: 70%; aspect-ratio: 1; left: -12%; top: -30%; }
.sol__visual .ring:nth-child(2) { width: 34%; aspect-ratio: 1; right: -6%; bottom: -12%; background: rgba(6, 26, 30, .1); }
.sol__visual figure { margin: 0; position: relative; z-index: 1; height: 86%; flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.sol__visual figure img { height: 100%; width: auto; max-width: 30vw; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(6, 26, 30, .25)); }
.sol__visual figure.is-photo { height: 74%; align-self: center; }
.sol__visual figure.is-photo img { border-radius: var(--r-sm); object-fit: cover; aspect-ratio: 4 / 3; height: 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sol__body { padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.sol__body .pill--teal { white-space: normal; text-align: left; line-height: 1.25; }
.sol__body .where { font-size: 14px; color: var(--muted); font-weight: 500; }
.sol__body h3 { font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -.03em; }
.sol__problem { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; padding-left: 18px; border-left: 4px solid var(--yellow); }
.sol__cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.sol__how { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: h; }
.sol__how li { counter-increment: h; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.sol__how li::before { content: counter(h); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); font-size: 14px; font-weight: 650; }
.sol__out { display: grid; gap: 8px; align-content: start; }
.stat { background: var(--paper); border-radius: var(--r-sm); padding: 14px 18px; display: flex; align-items: baseline; gap: 12px; }
.stat b { font-size: 30px; font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.stat span { color: var(--muted); font-size: 15px; line-height: 1.25; }
.sol__robots { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sol__robots > span { font-size: 14px; color: var(--muted); font-weight: 500; margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--bg); border-radius: 999px; padding: 5px 14px 5px 5px; font-weight: 600; font-size: 14px; transition: background .25s, transform .3s var(--spring); }
.chip:hover { background: var(--bg-deep); transform: translateY(-2px); }
.chip img, .chip .ph { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: var(--white); }
.chip img.is-photo { object-fit: cover; }
.sol__panel.swap .sol__visual figure, .sol__panel.swap .sol__body > * { animation: swapIn .6s var(--ease) both; }
.sol__panel.swap .sol__body > *:nth-child(2) { animation-delay: .04s; }
.sol__panel.swap .sol__body > *:nth-child(3) { animation-delay: .08s; }
.sol__panel.swap .sol__body > *:nth-child(4) { animation-delay: .12s; }
.sol__panel.swap .sol__body > *:nth-child(5) { animation-delay: .16s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .sol { grid-template-columns: 1fr; }
  .sol__list { position: sticky; top: 64px; z-index: 5; display: flex; overflow-x: auto; scrollbar-width: none; padding: 8px 0; background: var(--bg); margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .sol__list::-webkit-scrollbar { display: none; }
  .sol__btn { width: auto; white-space: nowrap; background: var(--white); padding: 10px 16px; font-size: 15px; }
  .sol__cols { grid-template-columns: 1fr; }
  .sol__visual figure img { max-width: 100%; }
  .sol__visual figure:nth-of-type(n+4) { display: none; }
  .sol__panel { min-height: 0; }
}

/* ---------- Finder ---------- */
.finder { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.finder__q { display: grid; gap: 28px; }
.finder__q fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.finder__q legend { font-weight: 650; font-size: 20px; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; padding: 0; }
.finder__q legend i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 0; cursor: pointer; background: var(--white); border-radius: 999px; padding: .62em 1.1em; font-weight: 550; font-size: 16px; box-shadow: inset 0 0 0 1.5px transparent; transition: background .25s, color .25s, transform .3s var(--spring); }
.opt:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt[aria-pressed="true"] { background: var(--teal-ui); color: #fff; }
.finder__res { position: sticky; top: 96px; background: var(--ink); color: #EAF2F2; border-radius: var(--r); padding: clamp(24px, 3vw, 36px); min-height: 440px; display: grid; gap: 18px; align-content: start; overflow: hidden; }
.finder__res .kicker { color: #A9BDBF; }
.finder__res .kicker::before { background: var(--yellow); }
.finder__res h3 { font-size: clamp(28px, 2.8vw, 40px); }
.finder__res .pill { white-space: normal; line-height: 1.25; }
.finder__res .empty { color: #A9BDBF; font-size: 19px; }
.finder__match { display: grid; gap: 10px; }
.match { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: rgba(255, 255, 255, .06); border-radius: var(--r-sm); padding: 14px 16px; }
.match b { font-size: 19px; }
.match small { display: block; color: #A9BDBF; font-size: 14px; }
.match .score { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 15px; background: conic-gradient(var(--yellow) calc(var(--s) * 1%), rgba(255, 255, 255, .12) 0); position: relative; }
.match .score::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
.match .score em { position: relative; font-style: normal; }
.match .thumbs { display: flex; }
.match .thumbs img { width: 40px; height: 40px; border-radius: 50%; background: var(--white); object-fit: contain; margin-left: -10px; box-shadow: 0 0 0 3px var(--ink); }
.match .thumbs img.is-photo { object-fit: cover; }
.finder__plan { font-size: 17px; color: #CFE0E0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; }
@media (max-width: 960px) { .finder { grid-template-columns: 1fr; } .finder__res { position: relative; top: 0; min-height: 0; } .match { grid-template-columns: auto 1fr; } .match .thumbs { grid-column: 1 / -1; padding-left: 10px; } }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.roi__form { background: var(--white); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; }
.roi__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.range { display: grid; gap: 8px; }
.range label { display: flex; justify-content: space-between; gap: 10px; font-weight: 550; }
.range output { font-weight: 650; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--teal) var(--p, 50%), var(--bg) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--teal) var(--p, 50%), var(--bg) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--ink), 0 4px 10px rgba(0, 0, 0, .18); transition: transform .2s var(--spring); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.roi__out { background: var(--yellow); border-radius: var(--r); padding: clamp(22px, 3vw, 40px); display: grid; gap: 20px; align-content: space-between; position: relative; overflow: hidden; }
.roi__out .big { font-size: clamp(64px, 8vw, 128px); font-weight: 650; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.roi__out .unit { font-size: 22px; font-weight: 600; }
.roi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.roi__grid div { background: rgba(255, 255, 255, .55); border-radius: var(--r-sm); padding: 16px; }
.roi__grid b { display: block; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.roi__grid span { font-size: 15px; }
.roi__note { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 960px) { .roi { grid-template-columns: 1fr; } }

/* ---------- Bausteine ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters .opt { font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; border: 0; text-align: left; cursor: pointer; padding: 0; display: grid; grid-template-rows: auto 1fr; transition: transform .45s var(--spring), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(6, 26, 30, .4); }
.card[hidden] { display: none; }
.card__img { position: relative; aspect-ratio: 4 / 3; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.card__img::before { content: ''; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--white); top: 14%; transition: transform .6s var(--ease); }
.card:hover .card__img::before { transform: scale(1.08); }
.card__img img { position: absolute; left: 7%; right: 7%; top: 8%; bottom: 4%; width: 86%; height: 88%; max-width: none; object-fit: contain; object-position: center bottom; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: translateY(-4px) scale(1.03); }
.card__img.is-photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card__img.is-photo::before { display: none; }
.card__img .model-ph { position: relative; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.card__tag { position: absolute; left: 14px; top: 14px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 600; padding: .35em .8em; z-index: 1; }
.card__body { padding: 18px 20px 20px; display: grid; gap: 12px; align-content: start; }
.card__body small { color: var(--muted); font-size: 14px; font-weight: 500; }
.card__body h3 { font-size: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.facts div { background: var(--paper); border-radius: 12px; padding: 8px 10px; }
.facts b { display: block; font-size: 17px; letter-spacing: -.02em; line-height: 1.15; }
.facts span { display: block; font-size: 12px; color: var(--muted); line-height: 1.25; margin-top: 2px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; display: grid; justify-items: end; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 26, 30, .45); opacity: 0; transition: opacity .4s; }
.drawer__panel { position: relative; width: min(560px, 100%); height: 100%; background: var(--paper); overflow-y: auto; transform: translateX(100%); transition: transform .55s var(--ease); display: grid; align-content: start; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; right: 16px; top: 16px; z-index: 2; }
.drawer__img { background: var(--bg); height: 340px; display: grid; place-items: center; position: relative; overflow: hidden; }
.drawer__img::before { content: ''; position: absolute; width: 300px; aspect-ratio: 1; border-radius: 50%; background: var(--white); }
.drawer__img img { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: contain; }
.drawer__img.is-photo img { inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.drawer__img.is-photo::before { display: none; }
.drawer__body { padding: 28px; display: grid; gap: 20px; }
.drawer__body h3 { font-size: 34px; }
.specs { display: grid; margin: 0; }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 15px; }
.specs dd { margin: 0; font-weight: 500; }
.drawer__sols { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 520px) { .specs div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps__line { position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: rgba(255, 255, 255, .14); }
.steps__line i { position: absolute; inset: 0; background: var(--yellow); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step b { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); font-size: 20px; font-weight: 650; transition: background .4s, color .4s, box-shadow .4s; }
.step.is-on b { background: var(--yellow); color: var(--ink); box-shadow: none; }
.step h3 { font-size: 24px; color: #fff; }
.step p { color: #A9BDBF; font-size: 16px; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(50px, 7vw, 90px); }
.model { border-radius: var(--r); padding: 28px; display: grid; gap: 10px; align-content: start; background: rgba(255, 255, 255, .06); }
.model:nth-child(2) { background: var(--teal); }
.model h3 { font-size: 26px; color: #fff; }
.model p { color: #CFE0E0; font-size: 16px; }
.model .pill { justify-self: start; margin-top: 6px; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps__line { left: 31px; right: auto; width: 2px; top: 32px; bottom: 32px; height: auto; }
  .steps__line i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { grid-template-columns: 64px 1fr; column-gap: 18px; }
  .step b { grid-row: span 2; }
  .models { grid-template-columns: 1fr; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .pill { font-size: 18px; padding: .7em 1.2em; cursor: default; }
.marquee .pill:nth-child(4n+1) { background: var(--teal); color: #fff; }
.marquee .pill:nth-child(4n+3) { background: var(--yellow); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 980px; }
.faq details { background: var(--white); border-radius: var(--r-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 22px; font-weight: 500; transition: transform .4s var(--spring), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); max-width: 760px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.contact h2 { font-size: clamp(40px, 6vw, 96px); }
.contact__info { display: grid; gap: 22px; }
.contact__info a { font-weight: 600; }
.contact__info address { font-style: normal; color: var(--muted); }
form.form { background: var(--white); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 14px; border: 0; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background .2s; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal); background: var(--white); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); font-size: 13px; max-width: 360px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } form.form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 120px) var(--pad) 16px; }
.footer__word { position: relative; z-index: 1; }
.footer__word svg { width: 100%; height: auto; display: block; }
.footer__word text { fill: var(--ink); stroke: var(--ink); stroke-width: 10; stroke-linejoin: round; paint-order: stroke; }
.footer__shapes { position: absolute; right: var(--pad); top: 30px; display: flex; gap: 14px; align-items: flex-start; height: clamp(160px, 22vw, 340px); z-index: 0; }
.footer__shapes i { display: block; background: var(--white); }
.footer__shapes i:nth-child(1) { width: clamp(60px, 8vw, 130px); height: 100%; border-radius: 999px; }
.footer__shapes i:nth-child(2) { width: clamp(60px, 8vw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--teal); }
.footer__shapes i:nth-child(3) { width: clamp(60px, 8vw, 130px); height: 70%; border-radius: 999px; background: var(--coral); align-self: flex-end; }
.footer__bar { position: relative; z-index: 2; margin-top: 20px; background: var(--paper); border-radius: 999px; padding: 12px 18px; display: flex; gap: 10px 22px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer__bar a { text-decoration: none; }
.footer__bar a:hover { color: var(--ink); text-decoration: underline; }
.footer__bar .sp { flex: 1; }
.footer__bar svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .footer__bar { border-radius: var(--r-sm); } .footer__bar .sp { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .word-outline { clip-path: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}
