/* Hero: Netzwerk im Hintergrund, Wortrotor, drehender Wuerfel mit den vier Bausteinen. Dazu das Laufband. */

.vhero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; display: grid; align-items: center;
  padding-block: 7.5rem 5rem;
}
.vhero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--v-bg)); z-index: -1; pointer-events: none;
}
.particles {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 32%, #000 62%);
          mask-image: linear-gradient(100deg, transparent 0%, transparent 32%, #000 62%);
  opacity: 0.85;
}
.hero-glow {
  position: absolute; z-index: -3; width: 46rem; height: 46rem; right: -10rem; top: 50%;
  translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.22), transparent 70%);
  animation: breathe 9s var(--ease) infinite;
}
@keyframes breathe { 50% { scale: 1.12; opacity: 0.7; } }

.vhero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.9rem 0.45rem 0.55rem;
  border: 1px solid var(--v-line-2); border-radius: 999px; font: 500 0.8rem/1 var(--mono); color: var(--v-muted);
  background: rgba(255, 255, 255, 0.03);
}
.pill i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }

.vhero h1 { font-size: var(--v-step-hero); margin: 1.5rem 0 1.6rem; }
.vhero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.vhero h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { transform: translateY(105%); } }
.vhero h1 .line > .rotor { position: relative; display: inline-grid; vertical-align: top; color: var(--v-muted); clip-path: inset(0.02em -0.1em -0.2em -0.1em); }
/* The outgoing word fades quicker than the incoming one rises, so the two never stack on a phone */
.rotor span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out); white-space: nowrap; }
.rotor span.is-on { opacity: 1; transform: none; }
.rotor span.is-out { opacity: 0; transform: translateY(-60%); transition-duration: 0.12s, 0.6s; }
.vhero .lead { animation: fade 1.2s var(--ease-out) 0.5s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; animation: fade 1.2s var(--ease-out) 0.7s both; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 2.2rem; font: 0.82rem/1.4 var(--mono); color: var(--v-dim); animation: fade 1.2s var(--ease-out) 0.9s both; }
.hero-facts span::before { content: "\2713"; margin-right: 0.45rem; color: var(--v-muted); }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }

/* Wuerfel */
.cube-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; perspective: 1100px; animation: fade 1.4s var(--ease-out) 0.3s both; }
.tilt { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--ease-out); }
.cube { --s: clamp(9rem, 6rem + 9vw, 14rem); position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; animation: spin 22s linear infinite; }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0deg); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.face {
  position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 1.1rem;
  border: 1px solid rgba(195, 168, 255, 0.45); border-radius: 14px;
  background: linear-gradient(150deg, rgba(58, 45, 82, 0.94), rgba(30, 21, 48, 0.94));
  box-shadow: inset 0 0 40px rgba(var(--accent-rgb), 0.18);
  backface-visibility: hidden;
}
.face .nr { font: 500 0.72rem/1 var(--mono); color: var(--v-dim); letter-spacing: 0.1em; }
.face b { font-size: clamp(1rem, 0.85rem + 0.5vw, 1.3rem); letter-spacing: -0.02em; }
/* The sprite <svg> has no viewBox of its own, so without aspect-ratio it takes the default 150px height and covers the label */
.face svg { width: auto; height: 100%; max-width: 42%; aspect-ratio: 1; justify-self: center; align-self: center; }
.f1 { transform: translateZ(calc(var(--s) / 2)); }
.f2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.f3 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.f5 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); place-items: center; align-content: center; }
.f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.f5 svg { width: 46%; }

.orbit { position: absolute; inset: 6%; border: 1px dashed var(--v-line-2); border-radius: 50%; transform: rotateX(72deg); transform-style: preserve-3d; }
.orbit--2 { inset: -2%; border-style: solid; border-color: var(--v-line); transform: rotateX(72deg) rotateY(18deg); }
.orbit .sat { position: absolute; inset: 0; animation: orbit 9s linear infinite; }
.orbit--2 .sat { animation-duration: 15s; animation-direction: reverse; }
.orbit .sat::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 18px 4px rgba(var(--accent-rgb), 0.7); }
.orbit--2 .sat::before { background: var(--v-text); box-shadow: 0 0 12px rgba(255, 255, 255, 0.6); }
@keyframes orbit { to { transform: rotate(360deg); } }
.stage-note { position: absolute; bottom: 2%; font: 0.75rem/1 var(--mono); color: var(--v-dim); }

@media (max-width: 860px) {
  .vhero { min-height: auto; padding-top: 6.5rem; }
  .vhero .wrap { grid-template-columns: minmax(0, 1fr); }
  .cube-stage { max-width: 22rem; width: 100%; margin-inline: auto; }
  .particles { -webkit-mask-image: linear-gradient(to bottom, transparent 20%, #000 75%); mask-image: linear-gradient(to bottom, transparent 20%, #000 75%); opacity: 0.6; }
}

/* Laufband */
.ticker { border-block: 1px solid var(--v-line); overflow: hidden; background: var(--v-bg-2); }
.ticker-row { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-row, .ticker:focus-within .ticker-row { animation-play-state: paused; }
.ticker-row span { display: inline-flex; align-items: center; gap: 1.4rem; padding: 1.15rem 1.4rem 1.15rem 0; font: 500 0.9rem/1 var(--mono); color: var(--v-muted); white-space: nowrap; }
.ticker-row span::after { content: ""; width: 7px; height: 7px; rotate: 45deg; background: var(--v-dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Kacheln der vier Bausteine (jede mit eigener kleiner Animation) und die Scroll-Geschichte "So haengt es zusammen". */

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(15rem, auto); gap: 1rem; }
.vtile {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem;
  padding: 1.6rem; border-radius: var(--v-radius); background: var(--v-surface);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease-out);
}
/* Rahmen, der sich beim Darueberfahren dreht */
.vtile::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--angle), var(--v-line) 0deg, var(--v-line) 250deg, var(--accent-hi) 310deg, var(--v-line) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-spin 4s linear infinite paused;
}
.vtile:hover::before, .vtile:focus-visible::before { animation-play-state: running; }
@keyframes border-spin { to { --angle: 360deg; } }
.tile-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tile-head .nr { font: 500 0.75rem/1 var(--mono); color: var(--v-dim); letter-spacing: 0.1em; }
.vtile h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.vtile p { color: var(--v-muted); font-size: 0.9375rem; max-width: 30rem; }
.tile-foot { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--v-line); }
.tile-foot b { font-size: 1.05rem; }
.tile-foot small { display: block; color: var(--v-dim); font: 0.75rem/1.4 var(--mono); }
.tile-foot .go { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--v-line-2); display: grid; place-items: center; transition: background-color 0.2s var(--ease), transform 0.3s var(--ease-out); }
.vtile:hover .go { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.tile--web { grid-column: span 4; }
.tile--plq { grid-column: span 2; grid-row: span 2; }
.tile--panel, .tile--agent { grid-column: span 2; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--web { grid-column: span 2; } .tile--plq { grid-column: span 1; grid-row: span 1; } .tile--panel, .tile--agent { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile--web, .tile--plq, .tile--panel, .tile--agent { grid-column: auto; } }

/* Mini-Demo Website: Seite baut sich auf */
.mini-browser { border: 1px solid var(--v-line); border-radius: 12px; background: var(--v-bg-2); overflow: hidden; align-self: center; }
.mini-browser .bar { display: flex; gap: 0.35rem; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--v-line); }
.mini-browser .bar i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--v-line-2); }
.mini-browser .bar span { margin-left: 0.5rem; font: 0.7rem/1 var(--mono); color: var(--v-dim); align-self: center; }
.build { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.6rem; padding: 0.9rem; }
.build i { display: block; height: 0.7rem; border-radius: 4px; background: var(--v-surface-2); transform-origin: left; animation: build 7s var(--ease-out) infinite; animation-delay: calc(var(--n) * 0.35s); }
.build .hero-block { grid-column: 1 / -1; height: 4.2rem; background: linear-gradient(120deg, var(--v-surface-2), #44365E); }
.build .btn-block { width: 40%; height: 1.4rem; border-radius: 999px; background: var(--accent); }
.build .img-block { grid-row: span 3; height: auto; min-height: 4rem; }
@keyframes build { 0% { transform: scaleX(0); opacity: 0; } 12%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }

/* Mini-Demo Panel: Karte wandert von Neu nach Bestaetigt */
.mini-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; align-self: center; position: relative; }
.mini-board .col { border: 1px dashed var(--v-line); border-radius: 10px; padding: 0.55rem; min-height: 6.5rem; display: grid; align-content: start; gap: 0.4rem; }
.mini-board .col span { font: 0.65rem/1 var(--mono); color: var(--v-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.mini-card { height: 1.9rem; border-radius: 7px; background: var(--v-surface-2); border: 1px solid var(--v-line); }
.mini-card.moving { position: absolute; left: 0.55rem; top: 1.7rem; width: calc(50% - 1.4rem); animation: move-card 5s var(--ease-out) infinite; border-color: rgba(195, 168, 255, 0.6); }
@keyframes move-card { 0%, 25% { transform: none; } 55%, 85% { transform: translateX(calc(100% + 1.75rem)); } 100% { transform: translateX(calc(100% + 1.75rem)); opacity: 0; } }

/* Mini-Demo Agent: Chat mit Tippanzeige */
.mini-chat { display: grid; gap: 0.45rem; align-self: center; }
.mini-chat .b { max-width: 85%; padding: 0.45rem 0.7rem; border-radius: 12px; font-size: 0.8rem; opacity: 0; animation: chat 8s var(--ease-out) infinite; animation-delay: var(--t); }
.mini-chat .in { background: var(--v-surface-2); justify-self: start; border-bottom-left-radius: 3px; }
.mini-chat .out { background: #fff; color: var(--ink); justify-self: end; border-bottom-right-radius: 3px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--v-muted); animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.2; } }
@keyframes chat { 0% { opacity: 0; transform: translateY(8px); } 6%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Mini-Demo Plakette: dreht sich, NFC-Wellen */
.mini-plaque { position: relative; display: grid; place-items: center; perspective: 700px; min-height: 13rem; }
.mini-plaque .p { width: 8.5rem; aspect-ratio: 1; border-radius: 14px; background: #1E1530; border: 1px solid var(--v-line-2); display: grid; place-items: center; align-content: center; gap: 0.35rem; animation: flip 8s var(--ease) infinite; transform-style: preserve-3d; box-shadow: 0 30px 50px -20px #000; }
.mini-plaque .p b { font-size: 0.8rem; }
.mini-plaque .p .s { letter-spacing: 0.12em; font-size: 0.75rem; }
.mini-plaque .p .q { width: 2.8rem; height: 2.8rem; background: repeating-conic-gradient(#fff 0 25%, #1E1530 0 50%) 0 0 / 0.7rem 0.7rem; border-radius: 3px; border: 3px solid #fff; }
@keyframes flip { 0%, 100% { transform: rotateY(-25deg) rotateX(8deg); } 50% { transform: rotateY(25deg) rotateX(-6deg); } }
.ripple { position: absolute; width: 8.5rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent-hi); opacity: 0; animation: ripple 3s var(--ease-out) infinite; animation-delay: var(--t, 0s); }
@keyframes ripple { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }

/* So haengt es zusammen: Figur bleibt stehen, Schritte leuchten auf */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); }
.story-fig { position: sticky; top: 14vh; height: 72vh; display: grid; place-items: center; }
.story-fig svg { width: 100%; height: 100%; overflow: visible; }
.story-fig .wire { fill: none; stroke: var(--v-line-2); stroke-width: 2; }
.story-fig .wire-live { fill: none; stroke: var(--accent-hi); stroke-width: 2; stroke-dasharray: 6 10; animation: dash 1.2s linear infinite; opacity: 0.7; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.story-fig .node rect { fill: var(--v-surface); stroke: var(--v-line-2); transition: fill 0.4s var(--ease), stroke 0.4s var(--ease); }
.story-fig .node text { fill: var(--v-muted); font: 600 15px var(--font); transition: fill 0.4s var(--ease); }
.story-fig .node text.sub { font: 400 11px var(--mono); fill: var(--v-dim); }
.story-fig .node.is-on rect { fill: var(--v-surface-2); stroke: var(--accent-hi); }
.story-fig .node.is-on text { fill: var(--v-text); }
.pulse { fill: var(--accent-hi); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.9)); }
.ssteps { display: grid; }
.sstep { min-height: 62vh; display: grid; align-content: center; gap: 0.9rem; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.sstep.is-on { opacity: 1; }
.sstep .nr { font: 500 0.8rem/1 var(--mono); color: var(--v-dim); }
.sstep h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.sstep p { color: var(--v-muted); max-width: 30rem; }
@media (max-width: 860px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-fig { position: relative; top: 0; height: auto; aspect-ratio: 1; max-width: 26rem; margin-inline: auto; width: 100%; }
  .sstep { min-height: auto; padding-block: 1.5rem; opacity: 1; }
}

/* Die vier Bausteine im Detail: Website (Geraete), Panel (live), Agenten (Arvi mit Umlaufbahn), Plakette (3D). */

.vsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: center; }
@media (max-width: 900px) { .vsplit { grid-template-columns: minmax(0, 1fr); } }
.ticks { display: grid; gap: 0.75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: currentColor; opacity: 0.12; }
.ticks li::after { content: ""; position: absolute; left: 0.42rem; top: 0.55em; width: 0.32rem; height: 0.55rem; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; }

/* Website: Laptop und Telefon, Inhalt scrollt von selbst */
.devices { position: relative; padding: 0 0 3rem 0; }
.laptop { border-radius: 16px 16px 6px 6px; background: var(--ink); padding: 0.7rem 0.7rem 0; box-shadow: 0 40px 80px -40px rgba(42, 31, 61, 0.55); }
.laptop .screen { height: clamp(15rem, 11rem + 12vw, 22rem); border-radius: 8px 8px 0 0; overflow: hidden; background: #fff; }
.laptop::after { content: ""; display: block; height: 0.9rem; margin: 0 -1.6rem; border-radius: 0 0 14px 14px; background: linear-gradient(#D6CCBC, #BFB3A2); }
.phone { position: absolute; right: -0.5rem; bottom: 0; width: 30%; min-width: 7.5rem; aspect-ratio: 9 / 19; border-radius: 1.6rem; background: var(--ink); padding: 0.45rem; box-shadow: 0 30px 60px -20px rgba(42, 31, 61, 0.6); }
.phone .screen { height: 100%; border-radius: 1.2rem; overflow: hidden; background: #fff; }
.page { animation: autoscroll 14s var(--ease) infinite; }
.phone .page { animation-delay: -4s; }
@keyframes autoscroll { 0%, 12% { transform: none; } 45%, 60% { transform: translateY(-38%); } 88%, 100% { transform: none; } }
.page .p-hero { height: 9rem; background: var(--ink); color: #fff; padding: 1rem; display: grid; align-content: end; gap: 0.3rem; }
.page .p-hero b { font-size: 1.1rem; }
.page .p-hero small { font: 0.65rem/1 var(--mono); color: var(--v-muted); }
.page .p-btn { justify-self: start; margin-top: 0.4rem; padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--accent); font-size: 0.65rem; font-weight: 600; }
.page .p-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; padding: 0.8rem; }
.page .p-row i, .page .p-lines i { display: block; border-radius: 6px; background: #E9E2D6; }
.page .p-row i { height: 4rem; }
.page .p-lines { display: grid; gap: 0.4rem; padding: 0 0.8rem 0.8rem; }
.page .p-lines i { height: 0.55rem; }
.page .p-lines i:nth-child(2n) { width: 70%; }
.phone .page .p-hero { height: 11rem; }
.phone .page .p-row { grid-template-columns: minmax(0, 1fr); }

/* Panel */
.panel { border-radius: 20px; background: var(--v-bg-2); border: 1px solid var(--v-line-2); overflow: hidden; box-shadow: 0 50px 100px -50px #000; }
.panel-head { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--v-line); }
.panel-title { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.65rem; border-radius: 999px; font: 600 0.68rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255, 255, 255, 0.07); color: var(--v-muted); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--v-text); animation: blink 1.4s infinite; }
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tabs button { font-size: 0.875rem; font-weight: 600; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--v-line-2); background: transparent; color: var(--v-muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tabs b { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; margin-left: 0.35rem; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 0.75rem; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 1.25rem; min-height: 21rem; }
.board h4 { margin-bottom: 0.75rem; font: 600 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--v-dim); }
.col-list { display: grid; gap: 0.7rem; align-content: start; }
.pcard { background: var(--v-surface); border: 1px solid var(--v-line); border-radius: 12px; padding: 0.9rem 1rem; display: grid; gap: 0.35rem; font-size: 0.9rem; animation: pop 0.5s var(--ease-out); }
.pcard.is-new { border-color: rgba(195, 168, 255, 0.7); }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(0.97); } }
.pcard strong { font-size: 1rem; }
.pcard .meta { color: var(--v-muted); }
.pcard .pnote { font-style: italic; }
.pcard .stars { letter-spacing: 0.1em; }
.pcard .private { color: var(--v-dim); font: 600 0.7rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.acts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.acts button { font-size: 0.8rem; font-weight: 600; min-height: 36px; padding: 0 0.85rem; border-radius: 999px; border: 1px solid var(--v-line-2); background: transparent; cursor: pointer; }
.acts .ok { background: var(--accent); border-color: var(--accent); color: #fff; }
.empty { color: var(--v-dim); font-size: 0.85rem; padding: 0.9rem 1rem; border: 1px dashed var(--v-line); border-radius: 12px; }
.panel-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding: 0.8rem 1.25rem; border-top: 1px solid var(--v-line); font: 0.75rem/1.4 var(--mono); color: var(--v-dim); }
.toast { position: absolute; right: 1.25rem; top: -1.2rem; padding: 0.55rem 0.9rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.82rem; font-weight: 600; box-shadow: 0 14px 30px -10px #000; opacity: 0; transform: translateY(10px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
.panel-wrap { position: relative; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.points b { display: block; margin-bottom: 0.3rem; }
.points p { color: var(--v-muted); font-size: 0.9375rem; }
@media (max-width: 760px) { .board, .points { grid-template-columns: minmax(0, 1fr); } .tabs button { padding: 0 0.75rem; font-size: 0.8125rem; } }

/* Agenten: Arvi mit Umlaufbahn */
.arvi-stage { position: relative; aspect-ratio: 1; max-width: 30rem; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.arvi-stage .ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed var(--line-l); animation: orbit 30s linear infinite; }
.arvi-stage .ring--in { inset: 20%; border-style: solid; animation-duration: 22s; animation-direction: reverse; }
.chip { position: absolute; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #fff; border: 1px solid var(--line-l); box-shadow: 0 12px 30px -14px rgba(42, 31, 61, 0.35); }
.chip svg { width: 1.4rem; height: 1.4rem; }
.ring .chip { animation: orbit 30s linear infinite reverse; }
.ring--in .chip { animation: orbit 22s linear infinite; }
.chip--a { top: -1.8rem; left: calc(50% - 1.8rem); }
.chip--b { bottom: 12%; left: 2%; }
.chip--c { bottom: 12%; right: 2%; }
.arvi { width: 46%; height: auto; overflow: visible; }
.arvi-body { animation: bob 4s var(--ease) infinite; }
.arvi-wave { animation: wave 2.4s var(--ease) infinite; transform-origin: 170px 120px; transform-box: view-box; }
.arvi-eyes { animation: eyes 5s infinite; transform-origin: center 116px; transform-box: view-box; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 70%, 90% { transform: rotate(14deg); } 80% { transform: rotate(-8deg); } }
@keyframes eyes { 0%, 46%, 50%, 100% { transform: none; } 48% { transform: scaleY(0.1); } }

.chatbox { border-radius: 20px; background: #fff; border: 1px solid var(--line-l); box-shadow: 0 30px 70px -40px rgba(42, 31, 61, 0.4); overflow: hidden; }
.chatbox-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line-l); }
.chatbox-head .av { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--light); display: grid; place-items: center; }
.chatbox-head small { display: block; font: 0.72rem/1.3 var(--mono); color: var(--v-ink-soft); }
.chatbox-body { display: grid; gap: 0.55rem; padding: 1.1rem; min-height: 17rem; align-content: start; }
.msg { max-width: 85%; padding: 0.6rem 0.9rem; border-radius: 16px; font-size: 0.9rem; animation: pop 0.4s var(--ease-out); }
.msg--in { background: var(--light); justify-self: start; border-bottom-left-radius: 4px; }
.msg--out { background: var(--ink); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.msg--sys { justify-self: center; font: 0.72rem/1.3 var(--mono); color: var(--v-ink-soft); padding: 0.2rem; }
.msg .dots i { background: var(--v-ink-soft); }
.inbox { display: grid; gap: 0.6rem; margin-top: 1rem; }
.mail { display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: center; padding: 0.85rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line-l); font-size: 0.9rem; }
.mail .who { font-weight: 600; }
.mail .sub { color: var(--v-ink-soft); font-size: 0.82rem; }
.mail .tag { font: 600 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 0.6rem; border-radius: 999px; background: var(--light); color: var(--v-ink-soft); }
.mail .tag.is-done { background: var(--ink); color: #fff; }
.mail .ico { width: 2rem; height: 2rem; border-radius: 50%; background: var(--light); display: grid; place-items: center; }
.rule { margin-top: 2rem; display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; border-radius: var(--v-radius); background: #fff; border: 1px solid var(--line-l); }
.rule svg { width: 2.6rem; flex: none; }

/* Plakette */
.plq-stage { position: relative; display: grid; place-items: center; min-height: 30rem; perspective: 1200px; }
.plaque3d { position: relative; width: min(19rem, 70vw); aspect-ratio: 1; transform-style: preserve-3d; animation: turn 14s linear infinite; }
/* Meist von vorne, leicht pendelnd, dann einmal ganz herum (Rueckseite mit den Massen) */
@keyframes turn {
  0% { transform: rotateX(10deg) rotateY(-18deg); }
  35% { transform: rotateX(4deg) rotateY(18deg); }
  55% { transform: rotateX(10deg) rotateY(180deg); }
  75%, 100% { transform: rotateX(10deg) rotateY(342deg); }
}
.plaque3d .side { position: absolute; inset: 0; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 0.7rem; backface-visibility: hidden; }
.plaque3d .front { background: #1E1530; border: 1px solid var(--v-line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.plaque3d .back { transform: rotateY(180deg); background: #3A2D52; border: 1px solid var(--v-line-2); font: 0.8rem/1.6 var(--mono); color: var(--v-muted); text-align: center; }
.plaque3d .edge { position: absolute; top: 3%; bottom: 3%; width: 12px; left: calc(50% - 6px); background: #2E2342; transform: rotateY(90deg) translateZ(calc(min(19rem, 70vw) / 2 - 1px)); }
.plaque3d .st { letter-spacing: 0.18em; font-size: 1.4rem; }
.plaque3d .t1 { font-weight: 700; font-size: 1.35rem; }
.plaque3d .t2 { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.25em; color: #C9BEAC; }
.plaque3d .qr { width: 5.6rem; height: 5.6rem; border: 6px solid #fff; border-radius: 6px; background: repeating-conic-gradient(#fff 0 25%, #1E1530 0 50%) 0 0 / 1rem 1rem; }
.plaque3d .tap { font-size: 0.75rem; color: #C9BEAC; }
.plq-stage .ripple { width: 19rem; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.offer { padding: 1.3rem; border-radius: var(--v-radius); background: var(--v-surface); border: 1px solid var(--v-line); }
.offer .p { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; }
.offer s { color: var(--v-dim); margin-left: 0.45rem; }
.offer p { color: var(--v-muted); font-size: 0.9rem; margin-top: 0.3rem; }
@media (max-width: 520px) { .offers { grid-template-columns: minmax(0, 1fr); } }

/* Fakten, Ablauf, Preise, Fragen, Kontakt, Fusszeile. */

.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.fact { padding: 1.5rem 1.3rem; border-radius: var(--v-radius); background: var(--v-surface); border: 1px solid var(--v-line); display: grid; gap: 0.5rem; align-content: start; }
.fact .num { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact .num small { font-size: 0.45em; letter-spacing: 0; margin-left: 0.2rem; color: var(--v-muted); }
.fact p { color: var(--v-muted); font-size: 0.875rem; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:last-child { grid-column: 1 / -1; } }

/* Ablauf: Linie fuellt sich beim Scrollen */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-top: 2.5rem; }
.timeline::before, .timeline .fill { content: ""; position: absolute; top: 0.95rem; left: 0; right: 0; height: 2px; background: var(--line-l); }
.timeline .fill { background: var(--ink); transform-origin: left; transform: scaleX(var(--fill, 0)); transition: transform 0.2s linear; }
.tl-step { position: relative; display: grid; gap: 0.6rem; align-content: start; }
.tl-step::before { content: ""; position: absolute; top: -2.05rem; left: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--light); border: 2px solid var(--ink); }
.tl-step .nr { font: 500 0.75rem/1 var(--mono); color: var(--v-ink-soft); }
.tl-step h3 { font-size: 1.35rem; }
.tl-step p { color: var(--v-ink-soft); font-size: 0.9375rem; }
.tl-step .dur { justify-self: start; margin-top: 0.3rem; font: 600 0.72rem/1 var(--mono); padding: 0.45rem 0.7rem; border-radius: 999px; background: #fff; border: 1px solid var(--line-l); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 2.4rem; gap: 2rem; }
  .timeline::before, .timeline .fill { top: 0; bottom: 0; left: 0.5rem; right: auto; width: 2px; height: auto; }
  .timeline .fill { transform-origin: top; transform: scaleY(var(--fill, 0)); }
  .tl-step::before { top: 0.15rem; left: -2.4rem; }
}

/* Preise */
.prices { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--v-radius); overflow: hidden; border: 1px solid var(--line-l); }
.prices th, .prices td { text-align: left; padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.prices thead th { font: 600 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--v-ink-soft); background: var(--light); }
.prices td:first-child { font-weight: 600; }
.prices td small { display: block; color: var(--v-ink-soft); font-weight: 400; font-size: 0.85rem; }
.prices s { color: var(--v-ink-soft); font-weight: 400; margin-left: 0.35rem; }
.prices .grp td { background: var(--light); font: 600 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--v-ink-soft); padding-block: 0.7rem; }
.prices tbody tr:not(.grp) { transition: background-color 0.2s var(--ease); }
.prices tbody tr:not(.grp):hover { background: #FFFCF7; }
.prices tr:last-child td { border-bottom: 0; }
.tag-ask { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--light); font-size: 0.85rem; font-weight: 600; }
.fine { margin-top: 1rem; font-size: 0.875rem; color: var(--v-ink-soft); }
@media (max-width: 640px) {
  .prices thead { display: none; }
  .prices, .prices tbody, .prices tr, .prices td { display: block; width: 100%; }
  .prices tr { border-bottom: 1px solid var(--line-l); padding: 0.6rem 0; }
  .prices td { border: 0; padding: 0.25rem 1rem; }
  .prices td[data-l]::before { content: attr(data-l) ": "; color: var(--v-ink-soft); font-weight: 400; }
}

/* Fragen */
.vfaq { display: grid; gap: 0.7rem; max-width: 56rem; }
.vfaq details { border-radius: 14px; background: #fff; border: 1px solid var(--line-l); transition: border-color 0.2s var(--ease); }
.vfaq details[open] { border-color: var(--ink); }
.vfaq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 1.3rem; font-weight: 600; font-size: 1.05rem; }
.vfaq summary::-webkit-details-marker { display: none; }
.vfaq summary i { flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: transform 0.3s var(--ease-out); }
.vfaq summary i::before { content: "+"; font-style: normal; }
.vfaq details[open] summary i { transform: rotate(45deg); }
.vfaq details p { padding: 0 1.3rem 1.25rem; color: var(--v-ink-soft); max-width: 46rem; }

/* Kontakt */
.cta { position: relative; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.oskar { width: clamp(7rem, 5rem + 8vw, 12rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--v-line-2); }
.oskar img { width: 100%; height: 100%; object-fit: cover; }
.cta h2 { font-size: var(--v-step-h2); max-width: 18ch; }
.cta .lead { margin-top: 1rem; }
.cta-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 1.4rem; font: 0.82rem/1.4 var(--mono); color: var(--v-dim); }
.cta .hero-cta { margin-top: 2rem; }
@media (max-width: 700px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
.bigname {
  margin-top: clamp(3rem, 2rem + 5vw, 6rem); text-align: center; font-weight: 700; letter-spacing: -0.05em; line-height: 0.85;
  font-size: clamp(4rem, 1rem + 15vw, 15rem); color: transparent; -webkit-text-stroke: 1px var(--v-line-2);
  background: linear-gradient(90deg, var(--v-text), var(--v-text)) no-repeat 0 0 / var(--fillname, 0%) 100%;
  -webkit-background-clip: text; background-clip: text; user-select: none;
}

.foot { border-top: 1px solid var(--v-line); padding-block: 2rem; color: var(--v-dim); font-size: 0.875rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.foot a { color: var(--v-muted); }

/* Kacheln mit echten Beispielen (2026-11-20): Demo-Screenshots, Foto der Plakette, Panel mit Inhalt */
.demo-rotator .bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-rotator .shots { position: relative; aspect-ratio: 16 / 10; background: var(--v-bg); }
.demo-rotator .shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.02); transition: opacity 0.7s var(--ease), transform 3.2s var(--ease-out); }
.demo-rotator .shots img.is-on { opacity: 1; transform: none; }
.vtile:hover .demo-rotator .shots img.is-on { transform: scale(1.015); }

.mini-photo { position: relative; flex: 1; min-height: 13rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--v-line); }
.mini-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.mini-photo .tap-ring { position: absolute; left: 55%; top: 58%; width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); opacity: 0; animation: tap-ring 2.4s var(--ease-out) infinite; animation-delay: var(--t, 0s); }
@keyframes tap-ring { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
.tile--plq { display: flex; flex-direction: column; }

.mini-board.real .col { min-height: 0; border-style: solid; background: var(--v-bg-2); }
.mini-board.real .mc { display: grid; gap: 0.15rem; padding: 0.5rem 0.6rem; border-radius: 8px; background: var(--v-surface-2); border: 1px solid var(--v-line); font-size: 0.78rem; line-height: 1.3; }
.mini-board.real .mc b { font-weight: 600; color: var(--v-text); }
.mini-board.real .mc small { color: var(--v-dim); font-size: 0.7rem; }
.mini-board.real .col:first-child .mc:first-of-type { animation: card-pulse 3.2s var(--ease) infinite; }
.mini-board.real .mc.ok { border-color: rgba(195, 168, 255, 0.55); position: relative; padding-right: 1.9rem; }
.mini-board.real .mc.ok::after { content: ""; position: absolute; right: 0.55rem; top: 0.6rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--accent) 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' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
@keyframes card-pulse { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(123, 71, 234, 0); } 30% { box-shadow: 0 0 0 3px rgba(123, 71, 234, 0.45); } }
.tile--agent .mini-chat { background: var(--v-bg-2); border: 1px solid var(--v-line); border-radius: 12px; padding: 1rem 0.9rem; min-height: 11.5rem; align-content: center; }
.tile--agent .mini-chat .out { position: relative; margin-right: 2rem; }
.tile--agent .mini-chat .out::after { content: ""; position: absolute; right: -2.1rem; bottom: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #1E1530 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 210'%3E%3Cpolygon fill='%236B3FD6' points='62,34 140,24 178,92 162,190 72,202 26,118'/%3E%3Cpolygon fill='%238C66EC' points='62,34 140,24 122,74 74,82'/%3E%3Cpolygon fill='%235F33C4' points='140,24 178,92 162,190 136,120 122,74'/%3E%3Cellipse fill='%23fff' cx='84' cy='116' rx='16' ry='19'/%3E%3Cellipse fill='%23fff' cx='128' cy='112' rx='16' ry='19'/%3E%3Ccircle fill='%231B1430' cx='89' cy='120' r='7'/%3E%3Ccircle fill='%231B1430' cx='133' cy='116' r='7'/%3E%3C/svg%3E") center 60% / 72% no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }

/* Acryl-Plakette als Render (tools/build_plaque_render.py) statt Foto und CSS-Wuerfel */
.tile--plq .mini-photo { background: radial-gradient(70% 60% at 50% 45%, rgba(123, 71, 234, 0.28), transparent 70%), var(--v-bg-2); }
.tile--plq .mini-photo img { object-fit: contain; object-position: center; padding: 1rem 1.25rem; animation: plq-float 6s var(--ease) infinite; }
.tile--plq .mini-photo .tap-ring { left: 50%; top: 50%; border-color: rgba(195, 168, 255, 0.7); }
.plq-img { position: relative; z-index: 1; width: min(100%, 23rem); height: auto; filter: drop-shadow(0 30px 40px rgba(10, 6, 20, 0.55)); animation: plq-float 6s var(--ease) infinite; }
@keyframes plq-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
