/* Startseite: ruhige Studio-Fläche, dunkelgrüne Demo-Bühne mit Pult und Handy. Alles Inter. */
body.landing { background: var(--warm); color: var(--ink); }
/* Flächen laufen randlos, der Inhalt hat überall dieselbe Breite und dieselbe linke Kante */
.lp { --gut: clamp(20px, 4vw, 64px); --max: 1520px; }
.lp > * { padding-left: max(var(--gut), calc((100% - var(--max)) / 2)); padding-right: max(var(--gut), calc((100% - var(--max)) / 2)); }
.lp a { color: inherit; }

/* Kopf */
.lp-nav { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--warm) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lp-nav .brand, .lp-foot .brand { font-size: 22px; gap: 8px; text-decoration: none; letter-spacing: -0.02em; }
.lp-nav .brand-mark { width: 26px; height: 26px; }
.lp-nav nav { display: flex; gap: 26px; }
.lp-nav nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; }
.lp-nav nav a:hover { color: var(--green); }

/* Hero */
.lp-hero { display: grid; gap: 28px; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 56px); align-items: end; }
@media (min-width: 900px) {
  .lp-hero { grid-template-columns: 1fr 340px; gap: 48px; }
}
.lp-eyebrow { margin: 0 0 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
/* Überschrift füllt ihre Spalte: Größe folgt der Spaltenbreite (Container-Einheit), jede Zeile bleibt ganz */
.lp-hero > div:first-child { container-type: inline-size; min-width: 0; }
.lp-hero h1 span, .lp-hero h1 .l1 { white-space: nowrap; }
.lp-hero h1 { margin: 0; font-size: clamp(34px, 10.2cqi, 112px); font-weight: 600; letter-spacing: -0.05em; line-height: .96; color: var(--ink); }
.lp-hero h1 span:not(.l1) { color: var(--green); }
.lp-hero-side p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 40ch; }
.lp-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 6px; background: var(--green); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.lp-btn:hover { background: var(--green-hi); }
.lp-btn span { font-size: 11px; }

/* Demo-Bühne */
.demo {
  --d-bg: #1f3b32; --d-line: #ffffff17; --d-ink: #eef3ef; --d-mut: #b9c8bf;
  background: var(--d-bg);
  background-image: linear-gradient(var(--d-line) 1px, transparent 1px), linear-gradient(90deg, var(--d-line) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px;
  background-blend-mode: normal;
  padding-top: clamp(22px, 3.6vw, 40px); padding-bottom: 24px; color: var(--d-ink);
  scroll-margin-top: 64px; position: relative; overflow: hidden;
}
.demo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 30%, #1f3b32 85%); pointer-events: none; }
.demo > * { position: relative; }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--d-line); }
.demo-head h2 { margin: 0; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.demo-head p { margin: 0; font-size: 13px; color: var(--d-mut); }
.demo-stage { display: grid; gap: 18px; padding: 22px 0 26px; }
@media (min-width: 980px) {
  .demo-stage { grid-template-columns: minmax(0, 1fr) clamp(104px, 9vw, 170px) 290px; gap: 10px; padding: 28px 0 32px; align-items: stretch; }
  /* Beschriftungen oben auf einer Linie, Laptop mittig zur Handyhöhe */
  .demo-col { display: flex; flex-direction: column; }
  .demo-col .dev-laptop { margin: auto 0; }
  .demo-link { align-self: center; padding-top: 30px; }
}
.demo-label { margin: 0 0 12px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.demo-label i { width: 9px; height: 9px; border-radius: 50%; background: #cfe2d4; box-shadow: 0 0 0 3px #cfe2d433; }
.demo-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--d-line); padding-top: 16px; font-size: 12.5px; color: var(--d-mut); }
.demo-foot button { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--d-ink); }
.demo-foot button:focus-visible { outline: 2px solid #cfe2d4; outline-offset: 3px; border-radius: 2px; }

/* Verbindung Pult → Handy */
.demo-link { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; color: var(--d-mut); position: relative; padding-top: 28px; }
.demo-link::before { content: ''; position: absolute; left: -10px; right: -10px; top: calc(50% + 14px); border-top: 1px dashed #cfe2d455; z-index: -1; }
.demo-link-k { border: 1px solid var(--d-line); background: #ffffff0d; border-radius: 6px; padding: 2px 7px; }
.demo-link-pill { display: inline-flex; align-items: center; gap: 6px; background: #dff0c8; color: #1f3b32; font-weight: 700; font-size: 12px; padding: 7px 10px; border-radius: 999px; box-shadow: 0 0 0 4px #dff0c826; white-space: nowrap; }
.demo-link-pill i { width: 6px; height: 6px; border-radius: 50%; background: #3f7a52; }
.demo-link-pill.ping { animation: ping .7s ease-out; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #dff0c8aa; transform: scale(1.06); } 100% { box-shadow: 0 0 0 14px #dff0c800; transform: scale(1); } }
@media (max-width: 979px) {
  .demo-link { flex-direction: row; justify-content: center; padding-top: 0; }
  .demo-link::before { display: none; }
}

/* Laptop mit Pult */
/* Geräte: echte Rahmenbilder (img/geraete), die Oberfläche liegt in der durchsichtigen Bildschirmfläche.
   Die Oberfläche hat eine feste Entwurfsgröße (data-w/data-h) und wird per JS auf die Bildschirmbreite skaliert. */
.dev { position: relative; width: 100%; }
.dev-frame { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 22px 40px #0b171355); }
.dev-screen { position: absolute; z-index: 1; overflow: hidden; background: var(--warm); }
.dev-ui { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
/* Laptop 1680×1050, Bildschirm 117,67 – 1446×868 */
.dev-laptop .dev-screen { left: 6.964%; top: 6.381%; width: 86.07%; height: 82.67%; border-radius: 0.5% / 0.8%; }
/* Handy 900×1770, Bildschirm 63,60 – 774×1650 */
.dev-phone .dev-screen { left: 7%; top: 3.39%; width: 86%; height: 93.22%; border-radius: 12.3% / 5.8%; }
.pd { background: var(--warm); color: var(--ink); overflow: hidden; font-size: 14px; display: flex; flex-direction: column; }
.pd-main { flex: 1; }
.pd-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 13px; background: var(--sage); border-bottom: 1px solid var(--line); }
.pd-top b { font-size: 13.5px; font-weight: 600; }
.pd-demo { font-size: 11px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 8px; background: var(--surface); }
.pd-main { display: grid; grid-template-columns: 1.05fr 1.25fr 0.95fr; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); }
.pd-img { border-radius: 6px; overflow: hidden; background: #d6ccc0; aspect-ratio: 16 / 9; align-self: start; margin-top: 10px; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: var(--live); background: #923d3b14; border-radius: 999px; padding: 2px 8px; }
.tag-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tag-live.is-sold { color: var(--green); background: var(--sage); }
.tag-live.is-end { color: var(--ink-2); background: var(--elevated); }
.pd-no { font-size: 60px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.pd-title { font-weight: 600; font-size: 12.5px; margin-bottom: 8px; }
.pd-k { font-size: 11px; color: var(--ink-3); display: block; }
.pd-price { font-weight: 700; font-size: 15px; margin-top: 2px; }
.pd-queue { border-left: 1px solid var(--line); padding-left: 10px; }
.pd-queue .pd-k { font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.pd-queue ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pd-queue li { padding: 4px 6px; border-radius: 4px; font-size: 10.5px; color: var(--ink-2); line-height: 1.3; }
.pd-queue li b { display: block; font-size: 11px; color: var(--ink); }
.pd-queue li.is-now { background: var(--sage); }
.pd-queue li.is-done { opacity: .55; }
.pd-queue li em { font-style: normal; color: var(--green); font-weight: 600; }
.pd-actions { padding: 10px 12px 12px; display: grid; gap: 7px; }
.pd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-row:last-child { grid-template-columns: auto 1fr; }
.pd-input { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 5px; padding: 0 8px; }
.pd-input input { all: unset; flex: 1; min-width: 0; height: 30px; font-size: 12px; }
.pd-input input::placeholder { color: var(--ink-4); }
.pd-input span { color: var(--ink-3); font-size: 11px; }
.pd-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--accent-dim); }
.pd-input.is-err { border-color: var(--live); box-shadow: 0 0 0 3px #923d3b22; }
.pd button { min-height: 30px; height: 30px; font-size: 12px; font-weight: 600; border-radius: 5px; padding: 0 12px; }
.pd-primary { background: var(--green); color: #fff; border: 0; }
.pd-primary:hover { background: var(--green-hi); }
.pd-ghost { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.pd button:disabled { opacity: .45; cursor: default; }

/* Handy */
.demo-col-phone { justify-self: center; width: 100%; max-width: 300px; }
.phone-screen { background: var(--warm); color: var(--ink); padding: 50px 14px 10px; display: flex; flex-direction: column; font-size: 12px; }
.phone-screen .ph-view { flex: 1; }
.ph-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ph-brand { display: inline-flex; gap: 5px; align-items: center; font-weight: 800; color: var(--green); font-size: 14px; letter-spacing: -0.02em; }
.ph-brand svg { width: 16px; height: 16px; }
.ph-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; background: var(--sage); border-radius: 999px; padding: 3px 8px; }
.ph-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.ph-title { font-weight: 700; font-size: 12.5px; margin-bottom: 7px; }
.ph-view { min-height: 232px; }
.ph-now { position: relative; border-radius: 10px; overflow: hidden; background: var(--green); color: #fff; min-height: 86px; }
.ph-now img { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; }
.ph-now::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green) 38%, #23473cb0 62%, #23473c22); }
.ph-now-in { position: relative; z-index: 1; padding: 9px 10px 10px; }
.ph-now .tag-live { background: #fff; }
.ph-now .tag-live.is-sold { color: var(--green); }
.ph-no { font-size: 27px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.ph-name { font-size: 11px; font-weight: 600; }
.ph-k { margin-top: 8px; font-size: 10px; color: var(--ink-3); }
.ph-price { font-weight: 700; font-size: 13px; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.ph-btns button, .ph-note button { min-height: 0; height: 27px; font-size: 10.5px; font-weight: 600; border-radius: 6px; background: var(--surface); border: 1px solid var(--line-strong); padding: 0 6px; }
.ph-btns button[aria-pressed="true"] { background: var(--sage); border-color: var(--sage-line); color: var(--green); }
.ph-note { display: flex; gap: 6px; margin-top: 6px; }
.ph-note input { all: unset; flex: 1; min-width: 0; height: 25px; padding: 0 8px; font-size: 10.5px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; }
.ph-note input:focus { border-color: var(--green); }
.ph-next { margin-top: 7px; background: var(--sage); border-radius: 7px; padding: 6px 8px; font-size: 10px; }
.ph-next b { display: block; font-size: 10px; }
.ph-limit { display: block; margin-top: 3px; font-size: 10px; color: var(--green); font-weight: 600; }
.ph-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.ph-list li { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; padding: 7px 8px; border-radius: 7px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 10.5px; }
.ph-list li b { font-size: 11.5px; }
.ph-list li small { grid-column: 2; color: var(--ink-3); font-size: 10px; }
.ph-list li.is-now { background: var(--sage); box-shadow: 0 0 0 1px var(--sage-line); }
.ph-list li.is-done { opacity: .55; }
.ph-empty { color: var(--ink-3); font-size: 10.5px; margin: 6px 2px; }
.ph-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; background: var(--surface); border-radius: 999px; padding: 3px; box-shadow: 0 0 0 1px var(--line); }
.ph-tabs button { all: unset; text-align: center; cursor: pointer; font-size: 10.5px; font-weight: 600; color: var(--ink-2); padding: 5px 0; border-radius: 999px; }
.ph-tabs button[aria-selected="true"] { background: var(--sage); color: var(--green); }
.ph-tabs button:focus-visible { outline: 2px solid var(--green); }
.phone-bar { width: 84px; height: 4px; border-radius: 3px; background: #1b262255; margin: 8px auto 2px; }

/* Wie es läuft */
.lp-how { display: grid; gap: 28px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .lp-how { grid-template-columns: minmax(300px, 0.8fr) 1.2fr; gap: clamp(48px, 8vw, 140px); } }
.lp-how h2 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 38px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; }
.lp-how-intro p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.lp-rows { margin: 0; }
.lp-rows > div { display: grid; gap: 4px 18px; padding: 16px 0 28px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .lp-rows > div { grid-template-columns: 160px 1fr; } }
.lp-rows dt { font-weight: 700; font-size: 14px; }
.lp-rows dd { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.lp-rows dd b { color: var(--ink); font-weight: 600; }

/* Handzeichen + Fuß */
.lp-hands { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.lp-hands p { margin: 0; font-size: 15px; }
.lp-hands b { font-weight: 600; }
.lp-hands a { font-weight: 600; color: var(--green); text-underline-offset: 4px; }
.lp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 32px; }
.lp-foot .brand { font-size: 18px; }
.lp-foot .brand-mark { width: 21px; height: 21px; }
.lp-foot nav { display: flex; gap: 20px; font-size: 13px; }
.lp-foot nav a { color: var(--ink-2); text-decoration: none; }
.lp-foot nav a:hover { text-decoration: underline; }

/* Schmale Bildschirme: Pult kompakter */
@media (max-width: 640px) {
  .pd-main { grid-template-columns: 1fr 1.2fr; }
  .pd-queue { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .pd-queue ol { grid-template-columns: repeat(3, 1fr); }
  .pd-img { margin-top: 0; }
  /* Auf dem Handy wäre ein Laptop winzig: Pult ohne Rahmen in voller Größe */
  .dev-laptop .dev-frame { display: none; }
  .dev-laptop .dev-screen, .dev-laptop .dev-ui { position: static; width: auto !important; height: auto !important; transform: none !important; }
  .dev-laptop .dev-screen { border-radius: 12px; box-shadow: 0 14px 30px #0b171344; }
  .pd { font-size: 13px; }
  .pd-no { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .demo-link-pill.ping { animation: none; } }

/* Entwurfsgrößen innerhalb der Geräte (werden skaliert) */
@media (min-width: 641px) {
  .pd-top { padding: 14px 20px; }
  .pd-top b { font-size: 16px; }
  .pd-main { gap: 20px; padding: 20px; align-items: start; }
  .pd-img { margin-top: 4px; }
  .pd-title { font-size: 15px; }
  .pd-k { font-size: 12.5px; }
  .pd-price { font-size: 19px; }
  .tag-live { font-size: 12px; padding: 3px 10px; }
  .pd-queue li { font-size: 12px; padding: 6px 8px; }
  .pd-queue li b { font-size: 13px; }
  .pd-actions { padding: 14px 20px 20px; gap: 9px; }
  .pd button { height: 40px; min-height: 40px; font-size: 14px; }
  .pd-input input { height: 38px; font-size: 14px; }
}
.ph-no { font-size: 32px; }
.ph-now { min-height: 104px; }
.ph-title { font-size: 14px; margin-bottom: 9px; }
.ph-price { font-size: 15px; }
.ph-btns button { height: 32px; font-size: 11.5px; }
.ph-next { font-size: 11px; padding: 8px 10px; }
.ph-next b { font-size: 11px; }
.ph-tabs button { padding: 7px 0; font-size: 11.5px; }
@media (min-width: 641px) { .pd-img { aspect-ratio: 4 / 3; } }
.ph-now { min-height: 150px; display: flex; align-items: flex-end; }
.ph-now img { width: 70%; }
.phone-screen { padding-top: 44px; }

/* Echte Fotos: am Handy unverdeckt oben, darunter der grüne Aufruf-Streifen; im Pult größer */
.ph-now { display: block; min-height: 0; background: var(--green); }
.ph-now img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ph-now::after { display: none; }
.ph-now-in { padding: 9px 11px 11px; }
.ph-now .tag-live { position: absolute; top: 9px; left: 9px; box-shadow: 0 2px 8px #0003; }
.ph-no { margin-top: 0; }
@media (min-width: 641px) {
  .pd-main { grid-template-columns: 1.3fr 1.15fr 0.9fr; }
  .pd-img { aspect-ratio: 1 / 1; margin-top: 0; }
}
.ph-now-in { position: static; }
.dev-screen { overflow: clip; }
.pd { overflow: clip; }
@media (min-width: 641px) { .pd-img { aspect-ratio: 7 / 6; } }
