/* =========================================================
   Digital ist leichter – Landingpage KOMMUNAL 2026
   INFOSCAN · BADER.network · GE/CON
   ========================================================= */

:root {
  /* Farbwelt aus infoscan.de + Kampagnenmotiven */
  --navy-900: #012758;   /* infoscan Footer */
  --navy-700: #033982;   /* infoscan Primär */
  --blue-500: #1f74d1;   /* Kampagne "TRAGBAR." */
  --blue-300: #6fa8ea;
  --red-700:  #8e1b3c;   /* GE/CON / Akzent */
  --amber-500:#d9993f;   /* Messe-Banner */
  --ink:      #1d2a3a;
  --muted:    #5d6b7d;
  --line:     #dbe3ee;
  --bg:       #ffffff;
  --bg-soft:  #f3f6fa;

  --font-body: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Merriweather Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Montserrat", "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(1, 39, 88, .10);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: .8rem;
}
.eyebrow::after {
  content: ""; display: block; width: 46px; height: 3px; margin-top: .5rem;
  background: var(--blue-500); border-radius: 2px;
}
.section--navy .eyebrow { color: var(--blue-300); }
.section--navy .eyebrow::after { background: var(--blue-300); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section--navy .lead { color: #c9d6ea; }
.section-head { margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy-700); color: #fff; box-shadow: 0 6px 18px rgba(3,57,130,.25); }
.btn--primary:hover { background: var(--navy-900); }
.btn--accent { background: var(--blue-500); color: #fff; }
.btn--accent:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--navy-700); }
.btn--ghost:hover { background: var(--navy-700); color: #fff; }
.btn--light { background: #fff; color: var(--navy-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(1,39,88,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn) { color: var(--navy-900); }
.nav a:not(.btn):hover { color: var(--blue-500); }
.nav .btn { padding: .6em 1.2em; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy-900); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
  radial-gradient(1200px 500px at 85% 10%, rgba(31,116,209,.10), transparent 60%), #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--amber-500); color: #fff; padding: 8px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .03em; margin-bottom: 22px;
}
.hero__badge span + span::before { content: "·"; margin-right: 10px; }
.hero__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .95; letter-spacing: -.01em;
  color: var(--navy-900); margin: 0 0 .25em;
}
.hero__title em { font-style: normal; color: var(--blue-500); }
.hero__sub { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--navy-900); margin-bottom: .9em; }
.hero__text { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }
.partners-strip { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.partners-strip img { height: 38px; width: auto; }
.partners-strip i { width: 1px; height: 30px; background: var(--line); }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; height: auto; }
.hero__visual .tile { position: absolute; border-radius: 3px; opacity: 0; animation: tile 6s ease-in-out infinite; }
@keyframes tile {
  0% { opacity: 0; transform: translate(0,0) rotate(0); }
  20% { opacity: .9; }
  100% { opacity: 0; transform: translate(120px,-140px) rotate(25deg); }
}
.hero__visual img { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Countdown band ---------- */
.band { background: var(--navy-900); color: #fff; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.band__info { font-family: var(--font-head); font-weight: 700; }
.band__info small { display: block; font-weight: 400; color: #c9d6ea; font-family: var(--font-body); }
.countdown { display: flex; gap: 14px; }
.countdown div { text-align: center; min-width: 64px; }
.countdown b { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.countdown span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #c9d6ea; }

/* ---------- Situations (Tabs) ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 700; color: var(--navy-900); cursor: pointer; font-size: 1rem;
}
.tab[aria-selected="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
/* Auswahlkarten statt einfacher Tabs */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.choice {
  display: flex; align-items: center; gap: 18px; text-align: left; cursor: pointer;
  background: #fff; border: 2px solid transparent; border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow); font: inherit; color: var(--navy-900); position: relative; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.choice:hover { transform: translateY(-3px); }
.choice__icon { flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--bg-soft); display: grid; place-items: center; transition: background .2s; }
.choice__icon svg { width: 44px; height: 44px; fill: var(--navy-700); }
.choice__icon .stroke { stroke: var(--bg-soft); fill: none; }
.choice__icon .px { fill: var(--blue-500); } .choice__icon .px2 { fill: var(--red-700); } .choice__icon .px3 { fill: var(--blue-300); }
.choice__text small { display: block; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); }
.choice__text b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.2; }
.choice[aria-selected="true"] { border-color: var(--navy-700); background: var(--navy-700); color: #fff; box-shadow: 0 16px 36px rgba(3,57,130,.28); }
.choice[aria-selected="true"] .choice__text small { color: var(--blue-300); }
.choice[aria-selected="true"] .choice__icon { background: rgba(255,255,255,.12); }
.choice[aria-selected="true"] .choice__icon svg { fill: #fff; }
.choice[aria-selected="true"] .choice__icon .stroke { stroke: var(--navy-700); }
.choice[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 22px; height: 22px; background: var(--navy-700); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }

.tabpanel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.tabpanel[hidden] { display: none; }
.tabpanel__copy { padding: clamp(28px, 4vw, 52px); }

/* Einstiegskarte im Kampagnenlook */
.einstieg { position: relative; background: var(--navy-900); color: #fff; padding: clamp(28px, 4vw, 44px); overflow: hidden; display: flex; flex-direction: column; }
.einstieg::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 260px at 100% 0%, rgba(31,116,209,.45), transparent 70%); }
.einstieg > * { position: relative; }
.einstieg__art { width: 100%; max-width: 300px; height: auto; margin: -6px 0 18px; }
.einstieg__art .binders rect { fill: #fff; }
.einstieg__art .labels rect { fill: var(--blue-300); }
.einstieg__art .holes circle { fill: var(--navy-900); }
.einstieg__art .flap path { fill: none; stroke: var(--navy-900); stroke-width: 3; stroke-linejoin: round; }
.einstieg__art .pixels rect { fill: #fff; opacity: .9; animation: pixel 3.2s ease-in-out infinite; }
.einstieg__art .pixels rect.b { fill: var(--blue-500); opacity: 1; }
.einstieg__art .pixels rect.r { fill: #c23a5e; opacity: 1; }
.einstieg__art .pixels rect:nth-child(2n) { animation-delay: .5s; }
.einstieg__art .pixels rect:nth-child(3n) { animation-delay: 1.1s; }
@keyframes pixel { 50% { transform: translate(4px, -5px); opacity: .55; } }
.einstieg__label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-500); }
.einstieg__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.1; margin: 6px 0 22px; text-transform: uppercase; }
.einstieg__steps { list-style: none; padding: 0; margin: 0 0 26px; position: relative; }
.einstieg__steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; border-left: 2px dashed rgba(255,255,255,.28); }
.einstieg__steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; margin-bottom: 14px; position: relative; }
.einstieg__steps b { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-500); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; box-shadow: 0 0 0 5px var(--navy-900); }
.einstieg__steps li:last-child b { background: var(--amber-500); }
.einstieg__steps strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.einstieg__steps span { font-size: .9rem; color: #c9d6ea; }
.einstieg .btn { margin-top: auto; align-self: flex-start; }
.btn--amber { background: var(--amber-500); color: #fff; box-shadow: 0 8px 22px rgba(217,153,63,.35); }
.btn--amber:hover { background: #c4852d; }
@media (prefers-reduced-motion: reduce) { .einstieg__art .pixels rect { animation: none; } }
.quote { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy-900); line-height: 1.15; margin-bottom: .6em; }
.quote::before { content: "„"; color: var(--red-700); }
.quote::after { content: "“"; color: var(--red-700); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/12px no-repeat; }
.goal { margin-top: 28px; text-align: center; font-family: var(--font-head); font-weight: 700; color: var(--navy-700); }

/* ---------- Rechner ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.calc__form, .calc__result { border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.calc__form { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.calc__form h3 { color: var(--navy-900); font-size: 1.5rem; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; font-size: .95rem; }
.field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31,116,209,.15); }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--blue-500); }
.range-row input[type="number"] { width: 110px; flex: none; }
.hint { font-size: .85rem; color: var(--muted); }
.calc__result { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; }
.calc__result h3 { font-size: 1.1rem; color: var(--blue-300); text-transform: uppercase; letter-spacing: .1em; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0 24px; }
.kpi { background: rgba(255,255,255,.07); border-radius: 12px; padding: 18px; }
.kpi b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; color: #fff; }
.kpi span { font-size: .85rem; color: #c9d6ea; }
.kpi--hero { grid-column: 1 / -1; background: var(--blue-500); }
.kpi--hero b { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.kpi--hero span { color: #e6f0fc; }
.verdict { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; margin-bottom: 18px; }
.verdict em { font-style: normal; color: var(--amber-500); }
.calc__result .btn { align-self: flex-start; margin-top: auto; }
.footnote { font-size: .78rem; color: #9fb2cc; margin-top: 16px; }

/* ---------- Demo pipeline ---------- */
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.pipeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 3px; background: var(--line); }
.pipeline .bar { position: absolute; left: 10%; top: 34px; height: 3px; width: 0; padding: 0; background: var(--blue-500); transition: width .6s ease; }
.pipeline li { position: relative; text-align: center; padding: 0 6px; }
.pipeline .dot {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 3px solid var(--line); color: var(--navy-700); transition: .4s;
}
.pipeline .dot svg { width: 30px; height: 30px; }
.pipeline li.is-active .dot, .pipeline li.is-done .dot { border-color: var(--blue-500); background: var(--blue-500); color: #fff; }
.pipeline li.is-active .dot { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(31,116,209,.15); }
.pipeline h4 { font-size: 1.05rem; margin-bottom: .3em; }
.pipeline p { font-size: .9rem; color: var(--muted); }
.demo-controls { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.demo-doc { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .45em 1em; font: inherit; font-size: .9rem; cursor: pointer; color: var(--navy-900); }
.chip[aria-pressed="true"] { border-color: var(--navy-700); background: var(--navy-700); color: #fff; }

/* ---------- Leistungen ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border-top: 4px solid var(--blue-500); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(1,39,88,.14); }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(31,116,209,.1); color: var(--blue-500); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { padding-left: 1.1em; margin: 0 0 1.2em; color: var(--ink); font-size: .92rem; }
.card ul li { margin-bottom: .25em; }
.card a.more { margin-top: auto; font-weight: 700; text-decoration: none; font-family: var(--font-head); font-size: .92rem; }
.card a.more::after { content: " →"; }
.card:nth-child(2) { border-top-color: var(--navy-700); }
.card:nth-child(3) { border-top-color: var(--red-700); }
.card:nth-child(4) { border-top-color: var(--amber-500); }

/* ---------- Partner ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.partner { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; }
.partner__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-weight: 900; font-size: 3rem; color: var(--bg-soft); line-height: 1; }
.partner__logo { height: 54px; display: flex; align-items: center; margin-bottom: 20px; }
.partner__logo img { max-height: 100%; width: auto; }
.partner h3 { color: var(--blue-500); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.partner p { color: var(--muted); font-size: .95rem; margin: 0; }
.partner--lead { outline: 3px solid var(--blue-500); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.flow > div { padding: 26px 24px; position: relative; }
.flow > div + div { border-left: 1px solid var(--line); }
.flow small { display: block; font-family: var(--font-head); font-weight: 700; color: var(--red-700); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.flow h4 { margin: .3em 0; font-size: 1.1rem; }
.flow p { font-size: .9rem; color: var(--muted); margin: 0; }
.flow > div:last-child { background: var(--navy-900); }
.flow > div:last-child h4 { color: #fff; } .flow > div:last-child p { color: #c9d6ea; } .flow > div:last-child small { color: var(--amber-500); }
.note-center { text-align: center; margin-top: 28px; color: var(--muted); }

/* ---------- Am Stand ---------- */
.stand { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.actions { display: grid; gap: 14px; }
.action { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: rgba(255,255,255,.06); border-radius: 12px; padding: 18px 20px; }
.action b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-500); font-family: var(--font-display); font-size: 1.1rem; }
.action h3 { font-size: 1.1rem; margin-bottom: .2em; }
.action p { margin: 0; color: #c9d6ea; font-size: .95rem; }
.action--main { background: var(--amber-500); }
.action--main b { background: var(--navy-900); }
.action--main p { color: #fff; }

/* Quiz: Tragbar oder untragbar? */
.quiz { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.quiz h3 { color: var(--navy-900); }
.quiz__card { min-height: 120px; display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy-900);
  background: var(--bg-soft); border-radius: 12px; padding: 20px; margin: 16px 0; transition: transform .25s, opacity .25s; }
.quiz__card.out-left { transform: translateX(-30px) rotate(-4deg); opacity: 0; }
.quiz__card.out-right { transform: translateX(30px) rotate(4deg); opacity: 0; }
.quiz__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__btns button { padding: 14px; border-radius: 10px; border: 0; font-family: var(--font-head); font-weight: 800; font-size: 1rem; cursor: pointer; color: #fff; }
.quiz__btns .yes { background: var(--blue-500); }
.quiz__btns .no { background: var(--red-700); }
.quiz__progress { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 12px; }
.quiz__result { text-align: center; }
.quiz__result b { font-family: var(--font-display); font-size: 2.6rem; color: var(--red-700); display: block; }

/* ---------- Taschen ---------- */
.bags { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.bags__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.wordplay { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.wordplay div { background: #fff; border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.wordplay small { font-weight: 700; color: var(--blue-500); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.claim { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--navy-900); text-transform: uppercase; line-height: 1; }
.claim em { font-style: normal; color: var(--blue-500); }

/* ---------- Messe ---------- */
.messe { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.messe__ticket { background: var(--amber-500); color: #fff; padding: clamp(28px, 4vw, 48px); position: relative; }
.messe__ticket::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; width: 24px;
  background: radial-gradient(circle at 0 50%, #fff 9px, transparent 10px) 0 0/24px 30px repeat-y; }
.messe__ticket h2 { color: #fff; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .2em; }
.messe__ticket .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin: 14px 0; }
.messe__ticket .big span { color: var(--navy-900); }
.messe__info { background: #fff; padding: clamp(28px, 4vw, 48px); }
.messe__info dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 24px; }
.messe__info dt { font-weight: 700; color: var(--navy-900); }
.messe__info dd { margin: 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact__aside .person { display: flex; gap: 16px; align-items: center; margin: 22px 0; }
.contact__aside .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy-700); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.contact__aside .person b { display: block; color: var(--navy-900); }
.contact__aside .person span { color: var(--muted); font-size: .92rem; }
.contact-lines { list-style: none; padding: 0; margin: 0; }
.contact-lines li { margin-bottom: 8px; }
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-group label { margin: 0; }
.radio-group input { position: absolute; opacity: 0; pointer-events: none; }
.radio-group span { display: inline-block; padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--navy-900); }
.radio-group input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.radio-group input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31,116,209,.25); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.consent input { margin-top: 4px; accent-color: var(--navy-700); }
.calc-summary { display: none; background: var(--bg-soft); border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin-bottom: 20px; color: var(--navy-900); }
.calc-summary.is-visible { display: block; }
.form-msg { margin-top: 16px; font-weight: 600; }
.form-msg.ok { color: #1a7f4b; } .form-msg.err { color: var(--red-700); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c9d6ea; padding: 48px 0 28px; font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logos { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.footer-logos img { height: 30px; background: #fff; border-radius: 6px; padding: 4px 8px; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__visual img, .hero__visual .tile { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow > div:nth-child(3) { border-left: 0; }
  .flow > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(1,39,88,.1);
    transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .hero .wrap, .tabpanel, .calc, .stand, .bags, .messe, .contact, .partners { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero__visual { max-width: 300px; margin: 0 auto; }
  .hero__badge { border-radius: 14px; }
  .pipeline { grid-template-columns: 1fr; gap: 10px; }
  .pipeline::before, .pipeline .bar { display: none; }
  .pipeline li { display: grid; grid-template-columns: 60px 1fr; gap: 14px; text-align: left; align-items: center; }
  .pipeline .dot { width: 56px; height: 56px; margin: 0; }
  .pipeline p { margin: 0; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .messe__ticket::before { display: none; }
}
@media (max-width: 680px) {
  .choices { grid-template-columns: 1fr; gap: 12px; }
  .choice[aria-selected="true"]::after { display: none; }
  .choice { padding: 14px 16px; }
  .choice__icon { width: 52px; height: 52px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .flow, .kpis, .wordplay, .form .row { grid-template-columns: 1fr; }
  .flow > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .countdown div { min-width: 52px; }
  .band .wrap { justify-content: center; text-align: center; }
}

/* =========================================================
   Gewinnspiel „Papierberg-Wiegemeister“ (iPad / Smartphone)
   ========================================================= */
.btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy-900); }
.action .btn { margin-top: 12px; padding: .6em 1.2em; font-size: .9rem; }

.gs { background: radial-gradient(1200px 600px at 90% 0%, rgba(31,116,209,.12), transparent 60%), var(--bg-soft); min-height: 100vh; display: flex; flex-direction: column; }
.gs-head { background: #fff; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.gs-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.gs-head .partners-strip img { height: 34px; }
.gs-back { font-weight: 700; text-decoration: none; font-size: .9rem; }
.gs-back::before { content: "← "; }
.gs-main { flex: 1; padding: clamp(28px, 5vw, 64px) 0; }
.gs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gs-title { font-size: clamp(2.2rem, 5vw, 4rem); }
.gs-steps { list-style: none; padding: 0; margin: 28px 0; display: flex; gap: 12px; flex-wrap: wrap; }
.gs-steps li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 700; color: var(--navy-900); box-shadow: var(--shadow); }
.gs-steps b { width: 32px; height: 32px; border-radius: 50%; background: var(--blue-500); color: #fff; display: grid; place-items: center; font-family: var(--font-display); }
.gs-visual { max-width: 380px; margin-top: 12px; }
.gs-card { background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(1,39,88,.14); padding: clamp(24px, 4vw, 44px); }
.gs-card .field input[type="text"], .gs-card .field input[type="email"] { font-size: 1.1rem; padding: 15px 16px; }
.gs-card .opt { font-weight: 400; color: var(--muted); }
.gs-weight { display: grid; grid-template-columns: 64px 1fr 64px; gap: 10px; align-items: stretch; }
.gs-step { border: 0; border-radius: 14px; background: var(--bg-soft); color: var(--navy-900); font-size: 2rem; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.gs-step:active { background: var(--line); }
.gs-weight__input { position: relative; }
.gs-card .gs-weight__input input { width: 100%; height: 100%; min-height: 84px; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 6vw, 3rem); color: var(--navy-900); padding: 10px 56px 10px 16px; border: 2px solid var(--blue-500); border-radius: 14px; }
.gs-weight__input span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--blue-500); pointer-events: none; }
.gs-consent { font-size: .9rem; padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); margin-bottom: 12px; cursor: pointer; }
.gs-consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.gs-submit { width: 100%; justify-content: center; font-size: 1.15rem; padding: 1em; margin-top: 8px; }
.gs-small { margin-top: 14px; text-align: center; }
.gs-done { text-align: center; }
.gs-done__icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue-500); color: #fff; display: grid; place-items: center; font-size: 2.6rem; font-weight: 900; }
.gs-done__kg { font-size: 1.2rem; }
.gs-done__kg b { font-family: var(--font-display); color: var(--blue-500); font-size: 1.6rem; }
.gs-foot { background: var(--navy-900); color: #c9d6ea; font-size: .85rem; padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); }
.gs-foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gs-foot a { color: #fff; }
.gs-dialog { width: min(900px, 94vw); height: min(85vh, 900px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.gs-dialog[open] { display: flex; flex-direction: column; }
.gs-dialog::backdrop { background: rgba(1,39,88,.55); }
.gs-dialog__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 12px 22px; border-bottom: 1px solid var(--line); color: var(--navy-900); }
.gs-dialog iframe { flex: 1; width: 100%; border: 0; }
/* Kiosk (iPad): keine Textauswahl außerhalb der Felder, kein Doppeltipp-Zoom */
.is-kiosk { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.is-kiosk input, .is-kiosk textarea { -webkit-user-select: text; user-select: text; }
@media (max-width: 880px) {
  .gs-grid { grid-template-columns: 1fr; }
  .gs-visual { display: none; }
  .gs-steps { margin: 18px 0 0; }
}
@media (max-width: 560px) {
  .gs-head .partners-strip { gap: 10px; }
  .gs-head .partners-strip img { height: 24px; }
  .gs-head .partners-strip i { height: 20px; }
  .gs-back { display: none; }
  .gs-weight { grid-template-columns: 52px 1fr 52px; }
}

/* ---------- Rechtstexte ---------- */
.legal-page { background: #fff; }
.legal-doc { max-width: 820px; padding-top: 40px; padding-bottom: 60px; }
.legal-doc h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.legal-doc h2 { font-size: 1.15rem; margin-top: 1.8em; }
.legal-doc p { color: #2c3a4c; }

/* ---------- Logo-Links ---------- */
.logo-link { display: inline-flex; border-radius: 8px; transition: transform .2s, filter .2s, opacity .2s; }
.logo-link:hover { transform: translateY(-2px); filter: drop-shadow(0 6px 10px rgba(1,39,88,.18)); }
.logo-link:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 4px; }
.partners-strip:hover .logo-link:not(:hover) { opacity: .55; }
.partner__logo .logo-link { height: 100%; align-items: center; }
.partner__web { display: inline-block; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--navy-700); }
.partner__web:hover { color: var(--blue-500); }
.partner { display: flex; flex-direction: column; }
.partner p { flex: 1; }
.footer-logos .logo-link:hover { filter: none; }

/* =========================================================
   Leistungs-Explorer
   ========================================================= */
.lx { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: stretch; }
.lx__nav { display: flex; flex-direction: column; gap: 10px; position: relative; }
.lx__nav::before { content: ""; position: absolute; left: 39px; top: 34px; bottom: 34px; width: 2px;
  background: linear-gradient(var(--blue-500), #4f8fe0, #c23a5e, var(--amber-500)); opacity: .35; }
.lx__tab {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; text-align: left;
  background: transparent; border: 0; border-radius: 16px; padding: 14px 16px 18px 12px; cursor: pointer; font: inherit; color: var(--navy-900);
  transition: background .25s, box-shadow .25s, transform .25s;
}
.lx__tab:hover { background: rgba(255,255,255,.7); }
.lx__num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; background: #fff; color: var(--c); border: 2px solid var(--c); transition: .25s; }
.lx__name b { display: block; font-family: var(--font-head); font-size: 1.08rem; }
.lx__name small { color: var(--muted); font-size: .88rem; }
.lx__bar { position: absolute; left: 82px; right: 18px; bottom: 9px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity .2s; }
.lx__bar i { display: block; height: 100%; width: 0; background: var(--c); }
.lx__tab[aria-selected="true"] { background: #fff; box-shadow: var(--shadow); transform: translateX(6px); }
.lx__tab[aria-selected="true"] .lx__num { background: var(--c); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent); }
.lx__tab[aria-selected="true"] .lx__bar { opacity: 1; }
.lx.is-running .lx__tab[aria-selected="true"] .lx__bar i { animation: lxbar var(--lx-ms, 7000ms) linear forwards; }
.lx.is-paused .lx__tab[aria-selected="true"] .lx__bar i { animation-play-state: paused; }
@keyframes lxbar { to { width: 100%; } }

.lx__stage { position: relative; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(1,39,88,.12); overflow: hidden; min-height: 460px; }
.lx__stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--lx-c, var(--blue-500)); transition: background .4s; }
.lx__panel { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.lx__panel[hidden] { display: none; }
.lx__panel.is-active .lx__copy > * { animation: lxin .55s cubic-bezier(.2,.7,.2,1) both; }
.lx__panel.is-active .lx__copy > *:nth-child(2) { animation-delay: .05s; }
.lx__panel.is-active .lx__copy > *:nth-child(3) { animation-delay: .1s; }
.lx__panel.is-active .lx__copy > *:nth-child(4) { animation-delay: .15s; }
.lx__panel.is-active .lx__copy > *:nth-child(n+5) { animation-delay: .2s; }
@keyframes lxin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lx__copy { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; }
.lx__kicker { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.lx__copy h3 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.08; margin: 10px 0 14px; }
.lx__copy p { color: #3b4a5e; font-size: .98rem; }
.lx__chips { list-style: none; padding: 0; margin: 4px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.lx__chips li { font-size: .85rem; font-weight: 600; padding: .4em .9em; border-radius: 999px; color: var(--navy-900);
  background: color-mix(in srgb, var(--c) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); }
.lx__ideal { font-size: .9rem !important; color: var(--muted) !important; }
.lx__ideal b { color: var(--navy-900); }
.lx__more { margin-top: auto; font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--navy-700); }
.lx__more:hover { color: var(--c); }

.lx__visual { position: relative; background: var(--navy-900); display: grid; place-items: center; padding: 28px; overflow: hidden; }
.lx__visual::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 300px at 80% 10%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%),
              radial-gradient(260px 200px at 0% 100%, rgba(31,116,209,.25), transparent 70%); }
.lx__visual::after { content: ""; position: absolute; right: 22px; bottom: 22px; width: 70px; height: 70px; opacity: .5;
  background: linear-gradient(var(--c),var(--c)) 0 0/12px 12px no-repeat, linear-gradient(#fff,#fff) 22px 10px/9px 9px no-repeat,
              linear-gradient(var(--c),var(--c)) 40px 0/14px 14px no-repeat, linear-gradient(#fff,#fff) 30px 34px/8px 8px no-repeat,
              linear-gradient(var(--c),var(--c)) 52px 28px/10px 10px no-repeat; }
.lx__visual > * { position: relative; z-index: 1; }

/* Szene 1: Scan */
.v-scan { display: flex; align-items: center; gap: 18px; }
.v-scan__doc, .v-scan__copy { width: 130px; padding: 18px 16px; border-radius: 6px; display: flex; flex-direction: column; gap: 9px; }
.v-scan__doc { position: relative; background: #fff; overflow: hidden; box-shadow: 6px 6px 0 rgba(255,255,255,.15), 12px 12px 0 rgba(255,255,255,.07); transform: rotate(-3deg); }
.v-scan__doc i, .v-scan__copy i { display: block; height: 7px; border-radius: 4px; background: #c9d3e1; }
.v-scan__doc i.short, .v-scan__copy i.short { width: 55%; }
.v-scan__beam { position: absolute; left: -10%; right: -10%; height: 26px; top: -30px;
  background: linear-gradient(transparent, rgba(31,116,209,.55), transparent); box-shadow: 0 0 18px rgba(31,116,209,.7); animation: beam 2.6s ease-in-out infinite; }
@keyframes beam { 0% { top: -30px; } 60%, 100% { top: 105%; } }
.v-scan__arrow { color: var(--blue-300); font-size: 1.8rem; font-weight: 900; animation: nudge 1.3s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.v-scan__screen { position: relative; background: #0b3a7a; border: 2px solid rgba(255,255,255,.2); border-radius: 12px; padding: 0 0 14px; }
.v-scan__bar { display: flex; gap: 5px; padding: 8px 10px; }
.v-scan__bar b { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); }
.v-scan__copy { margin: 0 12px; background: rgba(255,255,255,.95); }
.v-scan__copy i { background: var(--blue-500); transform-origin: left; animation: fillin 2.6s ease-in-out infinite; }
.v-scan__copy i:nth-child(2) { animation-delay: .1s; } .v-scan__copy i:nth-child(3) { animation-delay: .2s; }
.v-scan__copy i:nth-child(4) { animation-delay: .3s; } .v-scan__copy i:nth-child(5) { animation-delay: .4s; } .v-scan__copy i:nth-child(6) { animation-delay: .5s; }
@keyframes fillin { 0%, 10% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
.v-scan__ok { position: absolute; right: -14px; bottom: -14px; background: #1a9d5b; color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 10px; border-radius: 999px; animation: pop 2.6s ease-in-out infinite; }
@keyframes pop { 0%, 55% { transform: scale(0); } 70%, 100% { transform: scale(1); } }

/* Szene 2: OCR */
.v-ocr { display: flex; align-items: center; gap: 18px; }
.v-ocr__doc { position: relative; width: 150px; background: #fff; border-radius: 6px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; transform: rotate(2deg); }
.v-ocr__doc i { display: block; height: 7px; border-radius: 4px; background: #c9d3e1; }
.v-ocr__doc i.short { width: 60%; }
.v-ocr__hl { position: absolute; left: 10px; height: 15px; border-radius: 4px; border: 2px solid #4f8fe0; background: rgba(79,143,224,.18); opacity: 0; animation: hl 4.5s ease-in-out infinite; }
.v-ocr__hl.h1 { top: 14px; width: 80%; } .v-ocr__hl.h2 { top: 48px; width: 55%; animation-delay: .7s; } .v-ocr__hl.h3 { top: 99px; width: 85%; animation-delay: 1.4s; }
@keyframes hl { 0% { opacity: 0; transform: scale(.9); } 12%, 75% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
.v-ocr__fields { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.v-ocr__fields li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 10px; padding: 8px 12px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; min-width: 150px;
  opacity: 0; animation: field 4.5s ease-in-out infinite; }
.v-ocr__fields small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-300); }
.v-ocr__fields .f1 { animation-delay: .35s; } .v-ocr__fields .f2 { animation-delay: 1.05s; } .v-ocr__fields .f3 { animation-delay: 1.75s; }
@keyframes field { 0% { opacity: 0; transform: translateX(-16px); } 12%, 72% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }

/* Szene 3: App */
.v-app { width: min(330px, 100%); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.v-app__top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy-700); color: #fff; font-size: .78rem; font-weight: 700; }
.v-app__top b { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.v-app__top span { margin-left: 8px; }
.v-app__list { list-style: none; margin: 0; padding: 8px; }
.v-app__list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 8px; font-size: .85rem; color: var(--navy-900); font-weight: 600;
  opacity: 0; animation: row 6s ease-in-out infinite; }
.v-app__list li + li { border-top: 1px solid var(--line); }
.v-app__list .ic { width: 26px; height: 30px; border-radius: 3px; background: #e4ebf5; position: relative; }
.v-app__list .ic::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 3px; background: #b8c6da; box-shadow: 0 6px 0 #b8c6da, 0 12px 0 #b8c6da; }
.v-app__list .tag { font-size: .72rem; font-weight: 800; color: #fff; background: var(--t); padding: 4px 9px; border-radius: 999px; transform: scale(0); animation: tag 6s ease-in-out infinite; }
.v-app__list .r2, .v-app__list .r2 .tag { animation-delay: .6s; } .v-app__list .r3, .v-app__list .r3 .tag { animation-delay: 1.2s; } .v-app__list .r4, .v-app__list .r4 .tag { animation-delay: 1.8s; }
@keyframes row { 0% { opacity: 0; transform: translateY(-10px); } 8%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes tag { 0%, 14% { transform: scale(0); } 22%, 85% { transform: scale(1); } 95%, 100% { transform: scale(0); } }

/* Szene 4: Roadmap */
.v-road { position: relative; width: min(340px, 100%); aspect-ratio: 3 / 2; }
.v-road svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v-road__path { fill: none; stroke: var(--amber-500); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 5s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 420; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.v-road__pin { position: absolute; transform: translate(-50%,-17px) scale(0); display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .78rem; white-space: nowrap; animation: pin 5s ease-in-out infinite; }
.v-road__pin b { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy-900); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; box-shadow: 0 0 0 5px rgba(217,153,63,.35); }
.v-road__pin.p4 b { background: var(--amber-500); color: #fff; }
.v-road__pin.p2 { animation-delay: .9s; } .v-road__pin.p3 { animation-delay: 1.7s; } .v-road__pin.p4 { animation-delay: 2.5s; }
@keyframes pin { 0% { transform: translate(-50%,-17px) scale(0); } 10%, 80% { transform: translate(-50%,-17px) scale(1); } 95%, 100% { transform: translate(-50%,-17px) scale(0); } }

@media (prefers-reduced-motion: reduce) {
  .lx__visual *, .lx__panel.is-active .lx__copy > * { animation: none !important; opacity: 1 !important; }
  .v-road__path { stroke-dashoffset: 0; } .v-road__pin, .v-app__list .tag { transform: translate(-50%,-17px) scale(1); }
  .v-app__list .tag { transform: none; } .v-scan__copy i { transform: none; } .v-scan__ok { transform: none; }
}
@media (max-width: 1024px) {
  .lx { grid-template-columns: 1fr; }
  .lx__nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .lx__nav::before { display: none; }
  .lx__tab { flex: 1 0 210px; grid-template-columns: 44px 1fr; transform: none !important; }
  .lx__num { width: 44px; height: 44px; font-size: .9rem; }
  .lx__bar { left: 12px; right: 12px; }
}
@media (max-width: 760px) {
  .lx__panel { grid-template-columns: 1fr; }
  .lx__visual { order: -1; min-height: 240px; }
  .lx__stage { min-height: 0; }
  .lx__tab { flex-basis: 180px; }
  .lx__name small { display: none; }
}
.lx:not(.is-running) .lx__bar { opacity: 0 !important; }
@media (max-width: 480px) { .v-scan, .v-ocr { gap: 10px; } .v-scan__doc, .v-scan__copy { width: 96px; padding: 14px 12px; gap: 7px; } .v-scan__ok { right: -6px; } .v-ocr__doc { width: 120px; } .v-ocr__fields li { min-width: 0; font-size: .82rem; } .lx__visual { padding: 22px 16px; } }

/* =========================================================
   Papierberg-Rechner mit Live-Regalwand
   ========================================================= */
.pb { position: relative; }
.pb__stage { position: relative; border-radius: 22px 22px 0 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-bottom: 0;
  background: radial-gradient(800px 320px at 85% 0%, rgba(31,116,209,.35), transparent 70%), linear-gradient(180deg, #0a3170 0%, #04224f 100%); }
.pb__stage canvas { display: block; width: 100%; height: 380px; }
.pb__hud { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px; pointer-events: none; }
.pb__weight b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .95; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 6px 24px rgba(0,0,0,.25); }
.pb__weight span { display: block; margin-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--blue-300); letter-spacing: .04em; }
.pb.is-digital .pb__weight b { color: var(--blue-300); }
.pb__switch { pointer-events: auto; display: inline-flex; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 4px; backdrop-filter: blur(6px); }
.pb__switch button { border: 0; background: transparent; color: #c9d6ea; font-family: var(--font-head); font-weight: 800; font-size: .95rem; padding: .6em 1.3em; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.pb__switch button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }
.pb__switch button[data-mode="digital"][aria-pressed="true"] { background: var(--blue-500); color: #fff; box-shadow: 0 0 22px rgba(31,116,209,.7); }
.pb__switch button[data-mode="digital"]:not([aria-pressed="true"]) { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { color: #fff; text-shadow: 0 0 12px rgba(111,168,234,.9); } }
.pb__legend { position: absolute; left: 26px; bottom: 4px; margin: 0; font-size: .74rem; color: rgba(201,214,234,.75); pointer-events: none; }

.pb__controls { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 0 0 22px 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-top: 0; }
.pb__form { background: #fff; color: var(--ink); padding: clamp(22px, 3vw, 34px); }
.pb__form .field { margin-bottom: 18px; }
.pb__count { display: flex; align-items: center; gap: 14px; }
.pb__count input[type="range"] { flex: 1; height: 8px; -webkit-appearance: none; appearance: none; border-radius: 8px; cursor: pointer;
  background: linear-gradient(90deg, var(--blue-500), var(--red-700)); }
.pb__count input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 4px solid var(--navy-700); box-shadow: 0 4px 12px rgba(1,39,88,.3); cursor: grab; }
.pb__count input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--navy-700); cursor: grab; }
.pb__count input[type="number"] { width: 120px; flex: none; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; text-align: center; color: var(--navy-900); }
.pb__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pb__presets .chip { font-size: .82rem; padding: .4em .9em; }
.pb__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.pb__row .field { margin-bottom: 0; }
.pb__result { background: rgba(255,255,255,.05); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.pb__result .kpis { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.pb__result .kpi b { font-variant-numeric: tabular-nums; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.pb__result .kpi--wide { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; background: rgba(217,153,63,.16); border: 1px solid rgba(217,153,63,.35); }
.pb__result .kpi--wide b { color: var(--amber-500); }
.pb__result .verdict small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: #c9d6ea; margin-top: 6px; }
.pb__result .btn { align-self: flex-start; margin-top: auto; }
.pb .footnote { margin-top: 14px; }
@media (max-width: 880px) {
  .pb__controls { grid-template-columns: 1fr; }
  .pb__stage canvas { height: 330px; }
}
@media (max-width: 560px) {
  .pb__stage canvas { height: 300px; }
  .pb__hud { padding: 14px; gap: 8px; align-items: center; }
  .pb__weight b { font-size: 2.1rem; }
  .pb__weight span { font-size: .75rem; margin-top: 3px; }
  .pb__switch button { font-size: .8rem; padding: .5em .9em; }
  .pb__legend { left: 12px; right: 70px; font-size: .66rem; line-height: 1.2; }
  .pb__row { grid-template-columns: 1fr; }
  .pb__row .field + .field { margin-top: 14px; }
  .pb__count input[type="number"] { width: 96px; }
}

/* ---------- Messetasche (gezeichnet, mit echtem Druckmotiv) ---------- */
.bags__img { overflow: visible; box-shadow: none; display: grid; place-items: center; padding-top: 70px; }
.bag { position: relative; width: min(420px, 100%); aspect-ratio: 40 / 38; background: linear-gradient(160deg, #ffffff 0%, #f1f3f6 100%);
  border-radius: 6px 6px 14px 14px; box-shadow: 0 30px 60px rgba(1,39,88,.18), inset 0 0 0 1px rgba(1,39,88,.06); padding: 9% 8% 7%;
  transform: rotate(-2deg); transition: transform .4s ease; }
.bag:hover { transform: rotate(0deg) translateY(-6px); }
.bag::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: 6px 6px 0 0; background: linear-gradient(rgba(1,39,88,.08), transparent); }
.bag__handle { position: absolute; left: 50%; top: -64px; width: 46%; height: 76px; transform: translateX(-50%); border: 12px solid #f1f3f6; border-bottom: 0; border-radius: 90px 90px 0 0;
  box-shadow: 0 -2px 0 rgba(1,39,88,.06); }
.bag img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) { .bags__img { padding-top: 56px; } .bag__handle { top: -50px; height: 60px; border-width: 10px; } }
