/* plan&simple – Webseite
   Aufbau: feste Nachttinte-Leiste links wie im Programm, Inhalt rechts in einer ruhigen Spalte.
   Unter 1024 px: Kopfleiste mit Menü-Knopf. Eine helle Darstellung, bewusst ohne Dunkelmodus. */

:root {
  --ink: #10163D;          /* Nachttinte: Leiste, Überschriften, Knöpfe */
  --ink-hover: #0B1030;
  --text: #0F1115;         /* jede Schrift auf Hell */
  --paper: #FFFFFF;
  --ground: #F7F7F5;
  --line: #E6E6E1;
  --line-strong: #C9CED9;
  --wood: #C9DBFF;         /* Stiftspitze auf Hell */
  --wood-dark: #8C9BE6;    /* Stiftspitze auf Nachttinte, Fokus */
  --ok: #1F8A55;
  --warn: #C98A12;
  --bad: #C8452D;
  --ok-on-ink: #4ADE80;
  --soft: #EEF0F5;
  --soft-2: #E7EAF6;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --side: 272px;
  color-scheme: light;
}

@font-face { font-family: "Geist"; src: url("../fonts/geist-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--wood-dark); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wSkip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--paper); color: var(--text); font-weight: 600; text-decoration: none; }
.wSkip:focus { top: 12px; }
.wSr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Rahmen ---------- */
.wFrame { display: flex; min-height: 100vh; background: var(--paper); }
.wSide { flex: 0 0 var(--side); width: var(--side); background: var(--ink); color: var(--paper); }
.wSideIn { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; padding: 30px 18px 28px max(18px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; }
.wMain { flex: 1 1 auto; min-width: 0; background: var(--paper); }
.wPg { width: 100%; max-width: 1320px; margin-inline: auto; padding-block: 64px 0; padding-left: max(80px, env(safe-area-inset-left, 0px)); padding-right: max(80px, env(safe-area-inset-right, 0px)); }

/* ---------- Logo ---------- */
.wLogoLink { display: inline-flex; align-self: flex-start; padding: 4px 6px; margin: 0 0 34px; border-radius: 8px; text-decoration: none; }
.wLogo { font-weight: 600; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; color: var(--paper); }
.wLogoAmp { display: inline-block; width: 0.8148em; height: 0.778em; vertical-align: -0.015em; margin: 0 -0.054em 0 -0.061em; overflow: visible; }
.wLogoStatic { display: none; }
@media (prefers-reduced-motion: reduce) { .wLogoAnim { display: none; } .wLogoStatic { display: inline-block; } }

/* ---------- Leiste ---------- */
.wNav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wNavA { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; color: var(--paper); font-size: 15px; font-weight: 600; text-decoration: none; }
.wNavA:hover { background: rgba(255, 255, 255, 0.1); }
.wNavA[aria-current="page"] { background: var(--paper); color: var(--text); }
.wSideRule { height: 1px; background: rgba(255, 255, 255, 0.2); margin: 28px 6px 24px; }
.wReach { padding: 0 6px; display: flex; flex-direction: column; gap: 4px; }
.wReachT { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--paper); }
.wReachL { margin: 0; font-size: 15px; color: var(--paper); }
.wReachNow { margin: 2px 0 6px; font-size: 14px; color: var(--paper); }
.wReachTel { font-size: 16px; font-weight: 600; color: var(--paper); text-decoration: none; }
.wReachMail { font-size: 15px; color: var(--paper); text-decoration: none; }
.wReachTel:hover, .wReachMail:hover, .wSideLogin:hover { text-decoration: underline; text-underline-offset: 4px; }
.wLive { width: 8px; height: 8px; border-radius: 4px; background: var(--ok-on-ink); flex-shrink: 0; animation: wPulse 2.4s ease-in-out infinite; }
.wLive.is-closed { background: var(--wood-dark); animation: none; }
.wSideAct { display: flex; flex-direction: column; gap: 14px; padding: 26px 6px 0; }
.wSideLogin { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--paper); text-decoration: none; }
.wSideLogin .wArr { width: 18px; height: 18px; }
.wSideLegal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 26px 6px 0; padding: 0; }
.wSideLegal a { font-size: 13.5px; color: var(--paper); text-decoration: none; }
.wSideLegal a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Social Media: runde Knöpfe in der Leiste (in der Zeile mit Impressum usw.), Text-Links in Fußzeile und Kontakt. Plätze ohne Link sind [hidden]. */
.wSocBtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%; color: var(--paper); text-decoration: none; transition: background-color 0.15s, border-color 0.15s; }
.wSocBtn:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--paper); }
.wFootL .wFootSoc { display: inline-flex; align-items: center; gap: 7px; }
.wSocList { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
.wSocLink { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; }
.wSocLink:hover { text-decoration: underline; text-underline-offset: 4px; }
.wSide :focus-visible, .wTop :focus-visible, .wMenu :focus-visible { outline-color: var(--wood); }
/* Niedrige Fenster (Laptop, z. B. 1440 × 800): Leiste dichter, damit sie ohne Scrollen ganz zu sehen ist */
@media (min-width: 900px) and (max-height: 900px) {
  .wSideIn { padding-top: 22px; padding-bottom: 20px; }
  .wLogoLink { margin-bottom: 24px; }
  .wNav { gap: 2px; }
  .wNavA { height: 40px; }
  .wSideRule { margin: 20px 6px 18px; }
  .wSideAct { gap: 10px; padding-top: 20px; }
  .wSideAct .wBtn { min-height: 44px; }
  .wSideLegal { margin-top: 20px; }
}

/* ---------- Handy: Kopfleiste und Menü ---------- */
.wTop { display: none; }
.wMenu { display: none; }

/* ---------- Knöpfe ---------- */
.wBtns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wBtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 10px; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.wBtnN { background: var(--ink); color: var(--paper); border: 0; }
.wBtnN:hover { background: var(--ink-hover); }
.wBtnO { background: var(--paper); color: var(--text); border: 1.5px solid var(--ink); }
.wBtnO:hover { background: var(--soft); }
.wBtnW { background: var(--paper); color: var(--text); border: 0; }
.wBtnW:hover { background: var(--soft-2); }
.wBtnGhost { background: transparent; color: var(--paper); border: 1.5px solid var(--paper); }
.wBtnGhost:hover { background: rgba(255, 255, 255, 0.12); }
.wSideAct .wBtn { min-height: 48px; }

/* ---------- Typografie ---------- */
.wLabel { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 15px; font-weight: 600; color: var(--ink); }
.wH1 { margin: 0; max-width: 880px; overflow-wrap: break-word; hyphens: auto; font-size: clamp(38px, 4.1vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.wAmp { display: inline-block; width: 0.86em; height: 0.82em; vertical-align: -0.03em; margin: 0 0.03em; overflow: visible; }
.wLead { margin: 24px 0 0; max-width: 660px; font-size: clamp(18px, 1.4vw, 20.5px); line-height: 1.55; }
.wMeta { margin: 18px 0 0; font-size: 14.5px; line-height: 1.5; }
.wSec { padding-top: clamp(64px, 6.5vw, 96px); }
.wSecTight { padding-top: 40px; }
.wH2 { margin: 0; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.wH3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; color: var(--ink); }
.wMb { margin-bottom: 28px; }
.wP { margin: 10px 0 0; font-size: 17px; line-height: 1.6; max-width: 68ch; }

/* ---------- Wegweiser ---------- */
.wWay { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.wWayA { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); color: var(--text); text-decoration: none; }
.wWayA:hover .wWayT { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.wWayT { display: block; font-size: clamp(22px, 2.1vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.wWayD { display: block; margin-top: 5px; font-size: 16px; line-height: 1.5; }
.wArr { display: block; width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s ease; }
.wGo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 24px; border: 1.5px solid var(--ink); color: var(--ink); transition: background 0.2s ease, color 0.2s ease; }
.wWayA:hover .wGo { background: var(--ink); color: var(--paper); }
.wWayA:hover .wGo .wArr { transform: translateX(2px); }
.wLink:hover .wArr, .wSideLogin:hover .wArr { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .wArr, .wGo { transition: none; } }

/* ---------- Bildplatz ---------- */
.wSlot { margin: 0; width: 100%; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 16px; background: repeating-linear-gradient(-45deg, var(--paper) 0, var(--paper) 9px, var(--line) 9px, var(--line) 10px); display: flex; align-items: flex-end; padding: 20px; }
.wSlotC { display: flex; flex-direction: column; gap: 3px; max-width: 560px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.wSlotT { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.wSlotL { font-size: 14.5px; line-height: 1.45; }

/* ---------- Zweispalter, Fragen ---------- */
.wSplit { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: start; }
.wSplit > * { min-width: 0; }
.wSplitL .wP { max-width: 300px; }
.wFaq { border-top: 1.5px solid var(--ink); }
.wQ { border-bottom: 1px solid var(--line-strong); }
.wQ summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 8px 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.wQ summary::-webkit-details-marker { display: none; }
.wPlus { flex-shrink: 0; transition: transform 0.2s ease; }
.wQ[open] .wPlus { transform: rotate(45deg); }
.wA { padding: 0 0 22px; max-width: 640px; }
.wA p { margin: 0; font-size: 17px; line-height: 1.6; }
.wLink { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.wLink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Persönlich ---------- */
.wPers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding: clamp(28px, 3.5vw, 44px); border-radius: 16px; background: var(--ground); }
.wPersR { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.wPersR .wBtn, .wPersR .wLink { margin-top: 14px; }
.wBigTel { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.wBigTel:hover, .wCVal:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Programm ---------- */
.wToc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-strong); font-size: 15px; }
.wToc span { font-weight: 600; }
.wToc a { font-weight: 600; text-decoration: none; }
.wToc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wShot { margin: 0; }
.wShot img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 12px; }
.wShot figcaption { margin-top: 10px; font-size: 14px; }
.wUi { background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; max-width: 560px; }
.wUiDark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wUiHead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding-bottom: 12px; font-size: 15px; }
.wUiSub { font-size: 14.5px; padding-bottom: 12px; }
.wUiList { display: flex; flex-direction: column; background: var(--paper); color: var(--text); border-radius: 8px; padding: 2px 14px; }
.wUiList .wTRow:first-child { border-top: 0; }
.wUiTitle { font-size: 18px; padding-bottom: 6px; }
.wUiBtn { align-self: flex-start; margin-top: 12px; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; }
.wTRow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.wT3 { grid-template-columns: minmax(0, 1fr) auto auto; }
.wNum { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.wCode { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; }
.wStat { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.wDot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; flex-shrink: 0; }
.wFlow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; max-width: 760px; }
.wFlowArr { display: flex; justify-content: center; color: var(--ink); }
.wFlowArr .wArr { width: 28px; height: 28px; }
.wKpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 4px 0 16px; }
.wKpis > span { display: flex; flex-direction: column; gap: 3px; }
.wKpiL { font-size: 13.5px; }
.wKpiV { font-size: 24px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wBar { position: relative; display: block; height: 12px; border-radius: 6px; background: var(--soft-2); margin: 2px 0 14px; }
.wBarFill { display: block; height: 12px; border-radius: 6px; background: var(--ink); }
.wBarMark { position: absolute; top: -5px; width: 2px; height: 22px; background: var(--text); }
.wClockLbl { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.wClockBig { font-size: 30px; font-weight: 600; }
.wClock { display: inline-flex; align-items: flex-start; line-height: 1.15; font-variant-numeric: tabular-nums; }
.wDig { display: inline-block; height: 1.15em; line-height: 1.15em; overflow: hidden; }
.wDig > span { display: block; }
.wR10 { animation: wRoll10 10s steps(10) infinite; }
.wR6 { animation: wRoll6 60s steps(6) infinite; }
.wM10 { animation: wRoll10 600s steps(10) infinite; animation-delay: -40s; }
.wM6 { animation: wRoll6 3600s steps(6) infinite; animation-delay: -160s; }
@keyframes wRoll10 { from { transform: translateY(0); } to { transform: translateY(-11.5em); } }
@keyframes wRoll6 { from { transform: translateY(0); } to { transform: translateY(-6.9em); } }
@keyframes wSlideIn { from { transform: translateX(-32px); opacity: 0; } to { transform: none; opacity: 1; } }
.wMenuBack { display: none; }
@keyframes wPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .wLive, .wR10, .wR6, .wM10, .wM6, .wMenu { animation: none; } }
.wCta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding: clamp(28px, 3.5vw, 44px); border-radius: 16px; background: var(--ground); }
.wCta .wBtns { margin-top: 0; }

/* ---------- Programm: plan&simple-Fenster (originalgetreu nach der Testversion, Beispieldaten) ----------
   Gebaut für 1280 × 800 Pixel und auf die verfügbare Breite skaliert: site.js setzt --psS genau, ohne JavaScript greifen die Stufen unten.
   Werte aus der App: Fläche #f4f6fb, Schrift #111827 in Hanken Grotesk, Linien rgba(17,24,39,.1), Karten 14 px Radius,
   Leiste 200 px und Kopfzeile 48 px in Nachttinte, Symbole Lucide 18 px mit Strich 1,75. */
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
.wSecApp { padding-top: 48px; }
.wAppHint { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--text); }
.wAppHint svg { flex-shrink: 0; color: var(--ink); }

.psFrame { --psS: 0.25; position: relative; container-type: inline-size; width: 100%; overflow: hidden; border-radius: 14px; background: #f4f6fb; box-shadow: 0 0 0 1px rgba(16, 22, 61, 0.14), 0 2px 6px rgba(16, 22, 61, 0.05), 0 40px 80px -48px rgba(16, 22, 61, 0.6); }
.psSize { display: block; padding-top: 62.5%; }   /* 1280 × 800 */
.psA { --psB: rgba(17, 24, 39, 0.1); --psB2: rgba(17, 24, 39, 0.16); --psT2: rgba(17, 24, 39, 0.72); --psT3: #636a77; --psSh: 0 1px 2px rgba(17, 24, 39, 0.06);
  position: absolute; top: 0; left: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: 48px minmax(0, 1fr);
  width: calc(100% / var(--psS)); height: calc(100% / var(--psS)); transform: scale(var(--psS)); transform-origin: 0 0;
  background: #f4f6fb; color: #111827; font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px; line-height: 1.4; letter-spacing: 0; font-variant-numeric: tabular-nums; text-align: left; -webkit-font-smoothing: antialiased; }
:where(.psA) p { margin: 0; }
.psA svg { flex-shrink: 0; }
.psA button { font: inherit; letter-spacing: inherit; }
.psA :focus-visible { outline: 3px solid #8C9BE6; outline-offset: 2px; }

/* Leiste und Kopfzeile */
.psAmp { display: none; width: 30px; height: 28px; margin-right: 4px; overflow: visible; }
.psSide { grid-row: 1 / 3; grid-column: 1; display: flex; flex-direction: column; gap: 4px; min-height: 0; padding: 0 11px 16px; overflow: hidden; background: #10163d; }
.psBrand { display: flex; align-items: center; justify-content: center; flex-shrink: 0; height: 48px; margin-bottom: 9px; }
.psBrand .wLogo { font-family: var(--font); }
.psNav { display: flex; align-items: center; gap: 9px; flex-shrink: 0; height: 38px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; color: #fff; font-size: 13px; font-weight: 600; line-height: 1; text-align: left; white-space: nowrap; cursor: pointer; }
button.psNav:hover { background: rgba(255, 255, 255, 0.08); }
.psNav[aria-pressed="true"], .psNav.on, button.psNav[aria-pressed="true"]:hover { background: #fff; color: #10163d; }
.psSep { flex-shrink: 0; height: 1px; margin: 9px 4px; background: rgba(255, 255, 255, 0.14); }
.psHead { grid-row: 1; grid-column: 2; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 22px 0 12px; background: #10163d; color: #fff; }
.psHB { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 0; border-radius: 6px; background: #fff; color: #111827; font-size: 12.5px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.psHB svg { color: #10163d; }
button.psHB:hover { background: #e9ecf6; }
.psRec { display: none; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: wPulse 2.4s ease-in-out infinite; }
.psHB[aria-pressed="true"] { color: #15803d; }
.psHB[aria-pressed="true"] .psRec { display: inline-block; }
.psHB[aria-pressed="true"] svg { display: none; }
.psHR { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.psHL { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.psBell { position: relative; display: inline-flex; }
.psBell b { position: absolute; top: -7px; right: -9px; display: flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #dc2626; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
.psUser { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
.psAv { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #10163d; }

/* Inhalt */
.psMain { grid-row: 2; grid-column: 2; min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 16px 20px 28px; scrollbar-width: thin; scrollbar-color: rgba(17, 24, 39, 0.22) transparent; }
.psHero .psMain { overflow: hidden; }
.psView { display: flex; flex-direction: column; gap: 14px; }
.psPH { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.psMeta, .psLbl { font-size: 12.5px; color: var(--psT2); }
.psPHR { display: flex; align-items: center; gap: 8px; }
.psSel { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; height: 32px; min-width: 190px; padding: 0 10px 0 12px; border: 1px solid var(--psB2); border-radius: 6px; background: #fff; font-size: 12.5px; font-weight: 500; color: #111827; white-space: nowrap; }
.psSel svg { color: var(--psT2); }
.psSq { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 32px; border: 1px solid var(--psB2); border-radius: 6px; background: #fff; }
.psCards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.psCard { display: flex; flex-direction: column; min-width: 0; padding: 14px 16px 16px; border: 1px solid var(--psB); border-radius: 14px; background: #fff; box-shadow: var(--psSh); }
.psCT { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.psCT svg { color: var(--psT3); }
.psAttn { display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; gap: 10px; align-items: center; min-height: 42px; padding: 5px 0; border-top: 1px solid rgba(17, 24, 39, 0.07); font-size: 12.5px; line-height: 1.3; }
.psCT + .psAttn { border-top: 0; }
.psAttn i { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid; border-radius: 7px; }
.psAttn i.r { border-color: #f1c2b8; background: #fdeeeb; color: #b8412b; }
.psAttn i.y { border-color: #efd6a3; background: #fdf4e3; color: #a86a0c; }
.psAttn > svg { color: var(--psT3); }
.psBookCard { align-items: flex-start; }
.psToday { margin-bottom: 14px; font-size: 13px; color: var(--psT2); }
.psAgain { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; color: var(--psT3); }
.psBookCard .psRC { margin-bottom: 7px; font-weight: 500; }
.psRC { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border: 1px solid rgba(17, 24, 39, 0.14); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.psRC b { font-size: 11px; font-weight: 700; color: var(--psT2); }
.psBtnP { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 16px; border: 0; border-radius: 8px; background: #10163d; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
button.psBtnP:hover { background: #0b1030; }
.psBtnBig { align-self: stretch; height: 42px; margin-top: auto; font-size: 13.5px; }
.psBtnO { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--psB2); border-radius: 8px; background: #fff; color: #111827; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
button.psBtnO:hover { background: #f4f6fb; }
.psBtnOS { height: 30px; padding: 0 12px; font-size: 12px; }
.psQ { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 33px; font-size: 12.5px; }
.psQ > span:first-child { font-size: 9.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--psT3); }
.psQ > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.psOnb { display: flex; align-items: center; gap: 6px; min-height: 50px; padding: 0 14px 0 18px; border: 1px solid var(--psB); border-radius: 14px; background: #fff; box-shadow: var(--psSh); font-size: 12.5px; }
.psOnb b { font-weight: 800; }
.psOnb > span:first-of-type { color: var(--psT2); }
.psOnbBar { width: 112px; height: 4px; margin: 0 14px 0 auto; overflow: hidden; border-radius: 2px; background: #e5e8f0; }
.psOnbBar i { display: block; width: 86%; height: 100%; border-radius: 2px; background: #10163d; }
.psX { display: inline-flex; margin-left: 10px; color: var(--psT3); }
.psTabs { display: flex; align-items: flex-end; gap: 2px; min-height: 40px; border-bottom: 1px solid var(--psB); }
.psTab { position: relative; padding: 10px 14px 11px; font-size: 13px; font-weight: 600; color: var(--psT3); white-space: nowrap; }
.psTab.on { color: #111827; font-weight: 700; }
.psTab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #10163d; }
.psTabsR { display: flex; align-items: center; gap: 8px; margin-left: auto; padding-bottom: 6px; }
.psFilt { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--psB); border-radius: 12px; background: #f8f9fb; font-size: 12px; color: var(--psT2); }
.psFilt > span:not(.psSel) { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; }
.psFilt > span:first-child { margin-left: 0; }
.psFilt > .psFiltI { margin-left: auto; color: var(--psT3); }
.psFilt svg { color: var(--psT3); }
.psSelS { height: 28px; min-width: 146px; font-size: 12px; }

/* Kennzahlen */
.psKs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.psK { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px 16px; border: 1px solid var(--psB); border-radius: 14px; background: #fff; box-shadow: var(--psSh); }
.psKacc { padding-left: 14px; border-left: 3px solid #18703a; }
.psKT { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--psT2); }
.psKV { display: flex; align-items: center; gap: 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.psKV svg { color: #18703a; }
.psKS { margin-top: 2px; font-size: 11.5px; line-height: 1.35; color: var(--psT2); }
.psBadge { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; height: 20px; padding: 0 8px; border: 1px solid #cde6d4; border-radius: 999px; background: #ebf6ee; color: #18703a; font-size: 10.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.psSpark { display: block; margin: 4px 0 2px; }
.psBar { display: flex; height: 8px; margin: 12px 0 8px; overflow: hidden; border-radius: 4px; background: #c9ced9; }
.psBar i { background: #2f9e5f; }
.psBar b { background: #b8412b; }
.psKG { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.psKG4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.psKG .psK, .psKG4 .psK { gap: 6px; min-height: 84px; padding: 11px 13px 12px; border-radius: 12px; }
.psKG .psKT, .psKG4 .psKT { font-size: 10px; line-height: 1.3; }
.psKG .psKV, .psKG4 .psKV { font-size: 17px; }
.psKG4 .psKS { margin-top: 0; font-size: 11px; }
.psKG4n .psK { min-height: 96px; padding: 13px 15px; }
.psKG4n .psKT { font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.psKG4n .psKV { font-size: 21px; }
.psProg { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; border: 1px solid var(--psB); border-radius: 14px; background: #eceff6; }
.psCap { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--psT3); }
.psCapN { font-weight: 500; letter-spacing: 0; text-transform: none; }
.psCapT { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; color: var(--psT2); }
.psCapT b { font-weight: 700; color: #111827; }
.psCapT svg { color: var(--psT3); }
.psRow { display: flex; align-items: center; gap: 12px; color: var(--psT3); }
.psRow .psCapT { margin: 0; }
.psLst { display: inline-flex; align-items: center; gap: 10px; }
.psMB { display: inline-block; width: 96px; height: 6px; overflow: hidden; border-radius: 3px; background: #e5e8f0; }
.psMB i { display: block; height: 100%; border-radius: 3px; background: #10163d; }
.psChart { gap: 6px; padding-bottom: 12px; }
.psLeg { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: 11.5px; color: var(--psT2); }
.psLeg span { display: inline-flex; align-items: center; gap: 6px; }
.psLeg i { width: 12px; height: 12px; border: 2px solid; border-radius: 50%; }
.psChart text { font-family: inherit; font-size: 10.5px; fill: #636a77; }

/* Listen, Filter, Tabellen */
.psRecent { padding: 12px 16px 14px; border: 1px solid var(--psB); border-radius: 14px; background: #fff; box-shadow: var(--psSh); }
.psRH { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.psRCs { display: flex; flex-wrap: wrap; gap: 6px; }
.psRecent .psRC { font-weight: 700; }
.psSeg { display: inline-flex; padding: 2px; border-radius: 8px; background: #eceff4; font-size: 11.5px; font-weight: 600; }
.psSeg > * { padding: 4px 11px; border-radius: 6px; color: var(--psT2); }
.psSeg > b { background: #fff; color: #111827; font-weight: 700; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.12); }
.psSegL { font-size: 12.5px; }
.psSegL > * { padding: 5px 14px; }
.psTool { display: flex; align-items: center; gap: 8px; min-width: 0; }
.psSearch { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 180px; height: 36px; padding: 0 12px; border: 1px solid rgba(17, 24, 39, 0.14); border-radius: 8px; background: #fff; font-size: 12.5px; color: var(--psT3); }
.psSearch svg { color: var(--psT3); }
.psFC { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; height: 30px; padding: 0 10px 0 12px; border: 1px solid rgba(17, 24, 39, 0.14); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.psFC svg { color: var(--psT2); }
.psGhost { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 30px; padding: 0 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.psGhost svg { color: var(--psT2); }
.psGhostB { height: 34px; padding: 0 13px; border: 1px solid var(--psB2); border-radius: 8px; background: #fff; }
.psCount { flex-shrink: 0; font-size: 11.5px; color: var(--psT3); white-space: nowrap; }
.psBS { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 34px; padding: 0 14px; border-radius: 8px; background: #10163d; color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.psBSoff { background: #c3c8d6; cursor: default; }
.psCbL { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; font-size: 12px; color: var(--psT2); white-space: nowrap; }
.psCb { display: inline-block; flex-shrink: 0; width: 15px; height: 15px; border: 1.5px solid rgba(17, 24, 39, 0.3); border-radius: 4px; background: #fff; vertical-align: middle; }
.psTW { min-width: 0; overflow: hidden; border: 1px solid var(--psB); border-radius: 14px; background: #fff; box-shadow: var(--psSh); }
.psT { width: 100%; border-collapse: collapse; font-size: 13px; }
.psT th { height: 40px; padding: 0 10px; border-bottom: 1px solid var(--psB); background: #fff; font-size: 11.5px; font-weight: 600; color: var(--psT2); text-align: left; white-space: nowrap; }
.psT td { height: 46px; padding: 4px 10px; border-bottom: 1px solid rgba(17, 24, 39, 0.06); white-space: nowrap; vertical-align: middle; }
.psT tbody tr:nth-child(even) td { background: #f8f9fb; }
.psT tbody tr:last-child td { border-bottom: 0; }
.psT th:first-child, .psT td:first-child { padding-left: 16px; }
.psT th:last-child, .psT td:last-child { padding-right: 14px; }
.psT .r { text-align: right; }
.psT .c { width: 1%; text-align: center; }
.psT b { font-weight: 700; }
.psT small { display: block; font-size: 11px; line-height: 1.3; color: var(--psT3); }
.psT tfoot td { height: 44px; border-top: 1px solid var(--psB); background: #fff; font-weight: 700; }
.psTWin { border: 0; border-top: 1px solid var(--psB); border-radius: 0; box-shadow: none; }
.psNr { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.psNr svg { color: var(--psT3); }
.psAct { display: inline-flex; align-items: center; justify-content: flex-end; gap: 12px; color: rgba(17, 24, 39, 0.5); vertical-align: middle; }
.psMini { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid rgba(17, 24, 39, 0.14); border-radius: 6px; background: #fff; color: #111827; font-size: 11.5px; font-weight: 600; }
.psSS { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 7px 0 10px; border: 1px solid var(--psB2); border-radius: 6px; background: #fff; font-size: 12px; font-weight: 500; }
.psSS i { width: 7px; height: 7px; border-radius: 50%; }
.psSS > span { min-width: 78px; }
.psSS svg, .psSSs svg { color: var(--psT2); }
.psSSs { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--psT2); }
.psPill { display: inline-flex; align-items: center; gap: 5px; height: 22px; margin-right: 4px; padding: 0 8px; border: 1px solid; border-radius: 6px; font-size: 11.5px; font-weight: 600; }
.psPill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.psPillg { border-color: #cde6d4; background: #ebf6ee; color: #18703a; }
.psPillr { border-color: #f1c9c0; background: #fdeeeb; color: #b8412b; }
.psPilln { border-color: #e2e5ea; background: #f3f4f6; color: #4b5563; }
.psPillb { border-color: #d3defb; background: #eef3fe; color: #1d4ed8; }
.psRole { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border: 1px solid rgba(17, 24, 39, 0.12); border-radius: 999px; background: #f8f9fb; font-size: 11.5px; font-weight: 600; }
.psRole i { width: 7px; height: 7px; border-radius: 50%; }
.psNeg { font-weight: 600; color: #b8412b; }
.psFoot { padding-left: 4px; font-size: 11.5px; color: var(--psT3); }
.psPanel { overflow: hidden; border: 1px solid var(--psB); border-radius: 14px; background: #fff; box-shadow: var(--psSh); }
.psPanH { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 16px; font-size: 13px; }
.psPanH > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.psPanH svg { color: var(--psT2); }
.psNum { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 19px; padding: 0 6px; border-radius: 999px; background: #eceff4; font-size: 11px; font-weight: 700; color: var(--psT2); }
.psCapR { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--psT2); }
.psCapR b { color: #111827; }

/* Service und Einstellungen */
.psSvc { padding: 16px 18px 18px; }
.psSvcH { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(17, 24, 39, 0.07); }
.psSvcH > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.psSvcH b { font-size: 14px; font-weight: 800; }
.psSvcH small { font-size: 12px; color: var(--psT2); }
.psCapRB { margin-left: auto; font-weight: 700; color: #111827; }
.psRing { position: relative; display: inline-flex; }
.psRing b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.psNext { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; padding-top: 16px; }
.psVid { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: 10px; background: #e9ecf4; color: #10163d; }
.psVid small { position: absolute; right: 8px; bottom: 7px; padding: 2px 6px; border-radius: 4px; background: rgba(16, 22, 61, 0.82); color: #fff; font-size: 10.5px; font-weight: 700; }
.psNextT { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.psNextT b { font-size: 17px; font-weight: 800; }
.psNextT > small:not(.psCap) { max-width: 520px; font-size: 12.5px; color: var(--psT2); }
.psBtnWide { align-self: stretch; height: 40px; margin-top: 8px; }
.psLinkS { font-size: 12px; font-weight: 700; color: var(--psT2); }
.psCheck { padding: 4px 18px; }
.psChk { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 54px; border-top: 1px solid rgba(17, 24, 39, 0.07); }
.psChk:first-child { border-top: 0; }
.psChk > svg { color: #16a34a; }
.psChkOpen > svg { color: rgba(17, 24, 39, 0.35); }
.psChk b { display: block; font-size: 13px; font-weight: 700; }
.psChk small { font-size: 11.5px; color: var(--psT2); }
.psChk > small { display: inline-flex; align-items: center; gap: 8px; }
.psGTabs { display: flex; gap: 26px; border-bottom: 1px solid var(--psB); }
.psGT { display: flex; flex-direction: column; gap: 3px; }
.psGT small { padding-left: 10px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--psT3); }
.psGT > span { display: flex; }
.psGT em { position: relative; padding: 6px 10px 10px; font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--psT3); white-space: nowrap; }
.psGT em.on { color: #111827; font-weight: 700; }
.psGT em.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #10163d; }
.psHint { font-size: 12px; color: var(--psT2); }
.psForm { max-width: 780px; padding: 16px 20px 18px; }
.psFG { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.psF { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.psFW { grid-column: 1 / -1; }
.psF small { font-size: 11.5px; font-weight: 600; color: var(--psT2); }
.psF > span { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 12px; border: 1px solid var(--psB2); border-radius: 8px; background: #fff; font-size: 13px; }
.psFormB { display: flex; justify-content: flex-end; margin-top: 16px; }

/* Buchen-Fenster und Hinweis */
.psModalBg { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: center; padding-top: 96px; background: rgba(16, 22, 61, 0.32); }
.psModal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; width: 460px; padding: 20px 22px 22px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12), 0 30px 60px -24px rgba(16, 22, 61, 0.5); }
.psMT { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font-size: 16px; font-weight: 800; }
.psMT svg { color: #10163d; }
.psModalB { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.psToast { position: absolute; z-index: 6; left: 50%; bottom: 24px; padding: 11px 18px; transform: translateX(-50%); border-radius: 10px; background: #10163d; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 24px rgba(17, 24, 39, 0.22); }
@media (prefers-reduced-motion: reduce) { .psRec { animation: none; } }

/* Ohne JavaScript: Stufen für die Skalierung (mit JavaScript genau) */
@container (max-width: 599px) { .psA { --psS: 1; } }
@container (max-width: 389px) { .psA { --psS: 0.82; } }
@container (max-width: 319px) { .psA { --psS: 0.72; } }
@container (min-width: 600px) { .psA { --psS: 0.46875; } }
@container (min-width: 640px) { .psA { --psS: 0.5; } }
@container (min-width: 720px) { .psA { --psS: 0.5625; } }
@container (min-width: 800px) { .psA { --psS: 0.625; } }
@container (min-width: 880px) { .psA { --psS: 0.6875; } }
@container (min-width: 960px) { .psA { --psS: 0.75; } }
@container (min-width: 1040px) { .psA { --psS: 0.8125; } }
@container (min-width: 1120px) { .psA { --psS: 0.875; } }
@container (min-width: 1200px) { .psA { --psS: 0.9375; } }
@container (min-width: 1280px) { .psA { --psS: 1; } }

/* Schmales Fenster (unter 600 px): zeigt die App, wie sie auf dem Handy aussieht (ohne Leiste, Kopfleiste mit &).
   Gebaut für 390 px Breite, darüber in echter Größe. Bereiche wählt man über die Knöpfe über dem Fenster. */
@container (max-width: 599px) {
  .psSize { padding-top: 0; height: clamp(460px, 176cqw, 680px); }
  .psHero .psSize { height: clamp(380px, 133cqw, 520px); }
  .psA { grid-template-columns: minmax(0, 1fr); }
  .psSide { display: none; }
  .psAmp { display: block; }
  .psHead { grid-column: 1; gap: 6px; padding: 0 12px; }
  .psHB { padding: 0 9px; font-size: 12px; }
  .psHR { gap: 18px; }
  .psHL, .psUserN { display: none; }
  .psMain { grid-column: 1; padding: 12px 12px 20px; }
  .psView { gap: 12px; }
  .psRH { flex-wrap: wrap; gap: 8px; }
  .psPH { flex-wrap: wrap; gap: 8px; }
  .psLbl, .psSq { display: none; }
  .psSel { min-width: 0; }
  .psCards, .psKs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .psKG, .psKG4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psOnb { flex-wrap: wrap; gap: 4px 6px; padding: 12px 14px; }
  .psOnbBar, .psX { display: none; }
  .psOnb .psBtnO { margin-left: auto; }
  .psTabs, .psGTabs { overflow-x: auto; scrollbar-width: none; }
  .psTab { padding: 10px 11px 11px; }
  .psTabsR { display: none; }
  .psFilt { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .psFilt > span:not(.psSel) { margin-left: 0; }
  .psFilt > .psFiltI { display: none; }
  .psSelS { flex: 1 1 130px; }
  .psTool .psFC, .psTool .psGhost, .psTool .psCbL, .psTool .psCount { display: none; }
  .psSearch { min-width: 0; }
  .psTW { overflow-x: auto; scrollbar-width: thin; }
  .psT { min-width: 640px; }
  .psTWin .psT { min-width: 0; }
  .psPanH { flex-wrap: wrap; height: auto; gap: 4px 12px; padding: 10px 14px; }
  .psNext { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .psFG { grid-template-columns: minmax(0, 1fr); }
  .psForm { padding: 14px 14px 16px; }
  .psModalBg { padding: 64px 12px 0; }
  .psModal { width: 100%; }
}

/* Bereichs-Knöpfe über dem Fenster: auf Touch-Geräten und schmalen Fenstern */
.psChips { display: none; }
.psChip { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--paper); color: var(--text); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.psChip:hover { border-color: var(--ink); }
.psChip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
@media (max-width: 1023px), (pointer: coarse) {
  .psChips { display: flex; gap: 8px; margin: 0 0 14px; padding: 2px 0 6px; overflow-x: auto; scrollbar-width: none; }
  .psChips::-webkit-scrollbar { display: none; }
}

/* Startseite: Fenster als Bild, führt zum Programm */
.wSecShot { padding-top: 48px; }
/* Startseite: Programm-Bild als kleiner Rundgang – wechselt selbst durch vier Bereiche, Reiter darunter, kein Seitenwechsel */
.wTourBar { margin-top: 18px; }
.wTourTabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; }
.wTourTab { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-height: 44px; padding: 0 0 6px; border: 0; background: none; color: var(--text); font-size: 15.5px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; }
.wTourTab:hover .wTourT { text-decoration: underline; text-underline-offset: 4px; }
.wTourP { display: block; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.wTourP span { display: block; width: 0; height: 100%; background: var(--ink); }
.wTourTab[aria-pressed="true"] .wTourP span { animation: wTourFill 7s linear forwards; }
.wTour:hover .wTourP span, .wTour:focus-within .wTourP span { animation-play-state: paused; }
.wTour.is-manual .wTourTab[aria-pressed="true"] .wTourP span { animation: none; width: 100%; }
.wTourD { margin: 12px 0 0; max-width: 68ch; font-size: 16px; line-height: 1.55; }
[data-hero-view]:not([hidden]) { animation: wTourFade 0.45s ease; }
@keyframes wTourFill { from { width: 0; } to { width: 100%; } }
@keyframes wTourFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .wTourTab[aria-pressed="true"] .wTourP span { animation: none; width: 100%; }
  [data-hero-view]:not([hidden]) { animation: none; }
}
@media (max-width: 599px) { .wTourTabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wShotCap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 16px 0 0; font-size: 15px; color: var(--text); }
.wShotCap .wLink { margin: 0; font-size: 15px; }

.wAppDesc { margin-top: 22px; }
.wAppD { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding-top: 4px; }
.wAppDT { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.wAppDT .wPro { font-size: 13px; vertical-align: 0; }
.wAppD .wP { margin: 0; }

/* ---------- Preise ---------- */
.wSecPlans { padding-top: 48px; }
.wPlans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.wPlan { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 32px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper); }
.wPlanH { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 600; color: var(--ink); white-space: nowrap; }
.wLogoInk { color: var(--ink); }
.wPro { display: inline-block; margin-left: 0.3em; padding: 0.14em 0.42em 0.2em; border-radius: 0.3em; background: var(--ink); color: var(--paper); font-size: 0.58em; font-weight: 600; line-height: 1.1; letter-spacing: 0; vertical-align: 0.2em; }
.wPlanT { margin: 12px 0 0; font-size: 16px; line-height: 1.5; min-height: 3em; }
.wPlanV { display: flex; align-items: flex-end; gap: 12px; margin: 22px 0 0; }
.wPlanP { font-size: clamp(48px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wPlanU { padding-bottom: 3px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.wPlanS { margin: 12px 0 22px; font-size: 14.5px; }
.wPlanS a { font-weight: 600; text-underline-offset: 3px; }
.wPlan > .wBtn { align-self: stretch; }
.wPlanLT { margin: 28px 0 0; font-size: 15px; font-weight: 600; }
.wPlanL { list-style: none; width: 100%; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.wPlanL li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.wIncl { display: flex; flex-direction: column; min-width: 0; padding: 32px; border-radius: 16px; background: var(--ground); }
.wInclList { list-style: none; margin: 14px 0 0; padding: 0; }
.wInclList li { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.wInclList li:first-child { border-top: 0; }
.wInclList li > span { display: flex; flex-direction: column; gap: 2px; }
.wInclG { margin: 8px 0 0; padding: 16px 18px; border-left: 3px solid var(--ink); border-radius: 0 10px 10px 0; background: var(--paper); font-size: 15px; line-height: 1.5; }
.wInclT { margin: auto 0 0; padding-top: 18px; font-size: 14.5px; line-height: 1.55; }
.wFeat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.wFeatG { min-width: 0; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.wFeatG .wH3 { margin: 0 0 6px; }
.wFeatG ul { list-style: none; margin: 0; padding: 0; }
.wFeatG li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.wInclD { font-size: 14.5px; }
.wTerms { max-width: 820px; margin: 30px 0 0; font-size: 15px; line-height: 1.6; }
.wStaffel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.wStaffel > * { min-width: 0; }
.wTiers { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 16px; }
.wTiers th, .wTiers td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.wTiers thead th { padding-top: 0; font-size: 14px; font-weight: 700; border-bottom: 1.5px solid var(--ink); }
.wTiers th:first-child { text-align: left; font-weight: 600; }
.wTiersNote { margin-top: 12px; }
.wCalc { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line-strong); border-radius: 16px; }
.wCalcRow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.wCalcL { font-size: 15px; font-weight: 600; }
.wStep { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.wStep button { width: 46px; border: 0; background: var(--paper); color: var(--ink); font-size: 22px; font-weight: 500; line-height: 1; cursor: pointer; }
.wStep button:hover { background: var(--soft); }
.wStep input { width: 72px; height: 46px; border: 0; border-left: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); border-radius: 0; background: var(--paper); text-align: center; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.wStep input::-webkit-outer-spin-button, .wStep input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wStep :focus-visible { outline-offset: -3px; }
.wRange { width: 100%; margin: 0; accent-color: var(--ink); }
.wSeg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.wSeg label { position: relative; display: block; min-width: 0; }
.wSeg label + label { border-left: 1.5px solid var(--line-strong); }
.wSeg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wSeg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 10px; font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; }
.wSeg input:checked + span { background: var(--ink); color: var(--paper); }
.wSeg input:focus-visible + span { outline: 3px solid var(--wood-dark); outline-offset: -3px; }
.wCalcOut { padding-top: 18px; border-top: 1px solid var(--line); }
.wCalcV { margin: 0; font-size: clamp(40px, 3.8vw, 54px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.wCalcPer { margin: 8px 0 0; font-size: 15px; font-weight: 600; }
.wCalcD { margin: 8px 0 0; font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.wCalcOffer { padding-top: 18px; border-top: 1px solid var(--line); }
.wCalcOffer .wP { margin: 0; }
.wProList { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.wProList li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.wProList strong { font-weight: 600; }

/* ---------- Demo ---------- */
.wDemo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 16px; background: var(--ink); color: var(--paper); }
.wDemo > * { min-width: 0; }
.wDemo .wH2, .wDemo .wP { color: var(--paper); }
.wDemo .wP { max-width: 520px; }
.wDemo :focus-visible { outline-color: var(--wood); }
.wDemoK { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 15px; font-weight: 600; }
.wDemoR { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.wDemoTL { margin: 0; font-size: 14.5px; font-weight: 600; }
.wDemoSlots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 420px; margin-bottom: 10px; }
.wDemoSlot { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, 0.6); color: var(--paper); text-decoration: none; font-variant-numeric: tabular-nums; }
.wDemoSlot:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.1); }
.wDemoSlotD { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.wDemoSlotT { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.wDemoBtns { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.wDemoAlt { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--paper); text-decoration: none; }
.wDemoAlt:hover { text-decoration: underline; text-underline-offset: 4px; }
.wDemoAlt .wArr { width: 18px; height: 18px; }
.wDemoAlt:hover .wArr { transform: translateX(3px); }
.wBtnL { min-height: 56px; padding: 0 24px; font-size: 17px; }
.wBtn .wArr { width: 20px; height: 20px; }
.wBtn:hover .wArr { transform: translateX(3px); }
.wFacts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; font-size: 16px; font-weight: 600; }
.wFacts li { display: flex; align-items: center; gap: 10px; }
.wFacts svg { color: var(--ink); }
.wDemoPage { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.wDemoPage > * { min-width: 0; }
.wSteps { list-style: none; counter-reset: st; margin: 16px 0 0; padding: 0; }
.wSteps li { counter-increment: st; position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.wSteps li::before { content: counter(st); position: absolute; left: 0; top: 15px; width: 34px; height: 34px; border-radius: 17px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.wSteps strong { font-size: 17px; font-weight: 600; }
.wHost { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.wHost .wSlot { padding: 8px; }
.wHost .wSlotC { padding: 4px 8px; }
.wHostN { margin: 0; font-size: 19px; font-weight: 600; }
.wHost .wP { margin-top: 2px; font-size: 15px; }
.wDays { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.wDay { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: center; }
.wDayL { font-size: 15px; font-weight: 600; white-space: nowrap; }
.wDayT { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wTime { position: relative; display: block; }
.wTime input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wTime span { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--paper); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.wTime span:hover { border-color: var(--ink); }
.wTime input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wTime input:focus-visible + span { outline: 3px solid var(--wood-dark); outline-offset: 2px; }
.wOptional { font-weight: 400; }
.wOpt span { gap: 8px; }
.wFld select { width: 100%; height: 46px; padding: 0 10px; font-weight: 400; font-size: 16px; color: var(--text); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 10px; }
.wFld select:focus { outline: 3px solid var(--wood-dark); outline-offset: 1px; border-color: var(--ink); }

/* ---------- Einführung ---------- */
.wTwo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.wTwo > div { padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: var(--ground); }
.wList { margin: 14px 0 0; padding: 0; list-style: none; }
.wList li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line); position: relative; font-size: 16px; line-height: 1.45; }
.wList li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 2px; background: var(--ink); }
.wSlotSq { padding: 12px; }
.wSlotSq .wSlotC { padding: 8px 10px; }

/* ---------- Über uns ---------- */
.wTeam { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.wMemberN { margin: 16px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.012em; }
.wMember .wP { margin-top: 4px; }
.wMember .wSlot { padding: 12px; }
.wValues { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.wValues li { padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.wValT { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- Kontakt ---------- */
.wContact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.wContact > * { min-width: 0; }
.wContactL { display: flex; flex-direction: column; gap: 28px; }
.wCLbl { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.wCItem .wP { margin-top: 0; }
.wCVal { font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.wNowLine { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.wNowLine .wLive { background: var(--ok); }
.wNowLine .wLive.is-closed { background: var(--warn); }
.wHours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 8px 28px; margin: 4px 0 0; font-size: 16px; }
.wHours dt { font-weight: 600; }
.wHours dd { margin: 0; font-variant-numeric: tabular-nums; }
.wForm { border: 1px solid var(--line-strong); border-radius: 16px; padding: 28px; background: var(--paper); }
.wFormIn { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.wOpts { border: 0; margin: 0; padding: 0; min-width: 0; }
.wOpts legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.wOptGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wOpt { position: relative; display: block; }
.wOpt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wOpt span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--text); font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; }
.wOpt span:hover { border-color: var(--ink); }
.wOpt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wOpt input:focus-visible + span { outline: 3px solid var(--wood-dark); outline-offset: 2px; }
.wFields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wFld { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; min-width: 0; }
.wFldWide { grid-column: 1 / -1; }
.wFld input, .wFld textarea { width: 100%; font-weight: 400; font-size: 16px; color: var(--text); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 11px 12px; }
.wFld input { height: 46px; }
.wFld input:focus, .wFld textarea:focus { outline: 3px solid var(--wood-dark); outline-offset: 1px; border-color: var(--ink); }
.wFld [aria-invalid="true"] { border-color: var(--bad); }
.wErr { font-size: 14px; font-weight: 600; color: var(--bad); }
.wHp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wSmall { margin: 0; font-size: 14px; line-height: 1.5; }
.wFormIn .wBtn { align-self: flex-start; }
.wFormMsg { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--ground); font-size: 15px; }
.wThanks { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 0; }
.wThanksAmp { width: 64px; height: 64px; overflow: visible; margin-bottom: 8px; }

/* ---------- Rechtliches ---------- */
.wNote { margin: 28px 0 0; max-width: 660px; padding: 14px 18px; border-left: 3px solid var(--ink); background: var(--ground); font-size: 15px; line-height: 1.5; }
.wLegal { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); margin: 0; border-top: 1.5px solid var(--ink); }
.wLegal dt, .wLegal dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; min-width: 0; overflow-wrap: anywhere; }
.wLegal dt { font-weight: 600; padding-right: 28px; }
.wDs { max-width: 760px; border-top: 1.5px solid var(--ink); }
.wDsItem { padding: 22px 0; border-bottom: 1px solid var(--line); }
.wDsItem p, .wDsItem li { font-size: 16px; line-height: 1.6; }
.wDsItem p { margin: 8px 0 0; }
.wDsItem ul { margin: 8px 0 0; padding-left: 20px; }
.wInlineBtn { padding: 0; border: 0; background: none; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Fußzeile ---------- */
/* ---------- Newsletter: Feld über der Fußzeile jeder Seite, eigene Seite newsletter.html ---------- */
.wNl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px 56px; align-items: start; margin-top: clamp(80px, 9vw, 128px); padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: var(--ground); }
.wNl + .wFoot { margin-top: 40px; }
.wFrame[data-page="newsletter"] .wNl { display: none; }
.wFrame[data-page="newsletter"] .wNl + .wFoot { margin-top: clamp(80px, 9vw, 128px); }
.wNlH { margin: 0 0 6px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.wNlP { margin: 0; font-size: 16px; line-height: 1.5; }
.wNlForm { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.wNlRow { display: flex; align-items: flex-end; gap: 10px; }
.wNlRow .wFld { flex: 1 1 auto; }
.wNlRow .wBtn { flex: 0 0 auto; min-height: 46px; }
.wNlOk { display: flex; flex-direction: column; gap: 6px; }
.wNlState { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wListC { margin-top: 0; }
.wStepsWide { max-width: 760px; }
@media (max-width: 899px) {
  .wNl { grid-template-columns: minmax(0, 1fr); }
  .wFrame[data-page="newsletter"] .wContact > .wForm { order: -1; }   /* Handy: Anmeldung vor den Erklärungen */
}
@media (max-width: 420px) { .wNlRow { flex-direction: column; align-items: stretch; } }
.wFoot { margin-top: clamp(80px, 9vw, 128px); padding-block: 26px 34px; border-top: 1px solid var(--line); font-size: 14.5px; }
.wFootRow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.wFootL { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.wFootL a, .wFootL button { padding: 0; border: 0; background: none; font-size: 14.5px; color: var(--text); text-decoration: none; cursor: pointer; }
.wFootL a:hover, .wFootL button:hover { text-decoration: underline; text-underline-offset: 3px; }
.wOnlyM { display: none; }
.wFootReach p { margin: 0 0 4px; font-size: 15px; }
.wFootReach a { font-weight: 600; text-decoration: none; }
.wFootRT { font-weight: 600; }

/* ---------- Einwilligung ---------- */
.wConsent { position: fixed; z-index: 60; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 40px)); padding: 22px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--text); box-shadow: 0 24px 60px -30px rgba(16, 22, 61, 0.55); }
.wConsentT { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.wConsent p { margin: 0; font-size: 15px; line-height: 1.5; }
.wConsentBtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.wConsentBtns .wBtn { min-height: 46px; padding: 0 12px; font-size: 15px; }
.wConsentMore { margin-top: 12px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wDialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--paper); color: var(--text); }
.wDialog::backdrop { background: rgba(16, 22, 61, 0.45); }
.wDialogIn { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.wDialogIn h2 { margin: 0; font-size: 22px; font-weight: 600; color: var(--ink); }
.wDialogIn p { margin: 0; font-size: 15px; line-height: 1.55; }
.wCat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.wCat strong { font-size: 16px; }
.wCat p { grid-column: 1 / -1; font-size: 14.5px; }
.wSwitch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.wSwitch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wSwitchT { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--line-strong); transition: background 0.15s ease; }
.wSwitchT::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: var(--paper); transition: transform 0.15s ease; }
.wSwitch input:checked + .wSwitchT { background: var(--ink); }
.wSwitch input:checked + .wSwitchT::after { transform: translateX(18px); }
.wSwitch input:disabled + .wSwitchT { opacity: 0.6; }
.wSwitch input:focus-visible + .wSwitchT { outline: 3px solid var(--wood-dark); outline-offset: 2px; }
.wDialogBtns { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.wDialogBtns .wBtn { min-height: 46px; font-size: 15px; }

/* ---------- 404 ---------- */
.wNotFound { padding-top: 40px; }

/* ---------- Breiten ---------- */
@media (max-width: 1240px) {
  :root { --side: 232px; }
  .wSideIn { padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: 14px; }
  .wSideAct .wBtn { padding: 0 12px; font-size: 15px; }
  .wPg { padding-left: max(56px, env(safe-area-inset-left, 0px)); padding-right: max(56px, env(safe-area-inset-right, 0px)); padding-block: 56px 0; }
  .wSplit { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wSplitL .wP { max-width: 660px; }
  .wContact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .wDemoPage { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 559px) {
  .wFrame { flex-direction: column; }
  .wSide { display: none; }
  .wTop { display: flex; flex-shrink: 0; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; height: 64px; align-items: center; justify-content: flex-start; gap: 14px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); background: var(--ink); }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--ink); }
  .wTopLogo { display: inline-flex; padding: 4px; border-radius: 8px; text-decoration: none; }
  .wMenuBtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--paper); background: transparent; color: var(--paper); font-size: 15px; font-weight: 600; cursor: pointer; }
  .wMenu { display: block; position: fixed; z-index: 29; left: 0; right: auto; width: min(340px, 88vw); bottom: 0; top: calc(64px + env(safe-area-inset-top, 0px)); overflow-y: auto; background: var(--ink); color: var(--paper); padding-block: 10px 28px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 16px; box-shadow: 18px 0 48px -24px rgba(16, 22, 61, 0.6); animation: wSlideIn 0.22s ease-out; }
  .wMenuBack { display: block; position: fixed; z-index: 28; inset: calc(64px + env(safe-area-inset-top, 0px)) 0 0 0; background: rgba(16, 22, 61, 0.45); }
  .wMenu .wSideRule { margin: 22px 4px 20px; }
  .wPg { padding-block: 40px 0; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
  .wOnlyM { display: block; }
  .wFootReach { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
  body.is-menu-open { overflow: hidden; }
  html { scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
}
@media (max-width: 1100px) {
  .wPlans, .wStaffel, .wDemo { grid-template-columns: minmax(0, 1fr); }
  .wStaffel { gap: 40px; }
  .wPlanT { min-height: 0; }
  .wFeat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .wPlan { padding: 24px 20px; }
  .wPlanH { font-size: 27px; }
  .wIncl { padding: 24px 20px; }
  .wFeat { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .wCalc { padding: 20px; }
  .wProList li { grid-template-columns: minmax(0, 1fr); }
  .wAppD { grid-template-columns: minmax(0, 1fr); }
  .wAppDT { font-size: 20px; }
  .wDemoBtns { width: 100%; align-items: stretch; }
  .wDemoAlt { align-self: flex-start; }
  .wDemoSlot { padding: 9px 10px; }
  .wDay { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .wHost { grid-template-columns: 80px minmax(0, 1fr); }
  .wPg { padding-block: 32px 0; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .wH1 { font-size: 36px; line-height: 1.08; }
  .wH1 br { display: none; }
  .wLead { font-size: 18px; }
  .wBtns .wBtn { flex: 1 1 auto; }
  .wWayA { padding: 18px 0; gap: 16px; }
  .wSecShot { padding-top: 32px; }
  .wGo { width: 42px; height: 42px; border-radius: 21px; }
  .wPers { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .wFlow { grid-template-columns: minmax(0, 1fr); }
  .wFlowArr { transform: rotate(90deg); padding: 6px 0; }
  .wKpiV { font-size: 20px; }
  .wTwo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .wTeam { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .wTeam .wSlot { aspect-ratio: 4 / 3 !important; }
  .wFields { grid-template-columns: minmax(0, 1fr); }
  .wForm { padding: 20px; }
  .wLegal { grid-template-columns: minmax(0, 1fr); }
  .wLegal dt { padding-bottom: 4px; border-bottom: 0; }
  .wLegal dd { padding-top: 0; }
  .wSlot { padding: 12px; }
  .wSlotC { padding: 10px 12px; }
}
@media (max-width: 559px) {
  .wConsent { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: auto; padding: 18px; }
}
/* Schmale Fenster mit Leiste (z. B. Seitenfenster der Claude-App, Tablet hochkant): Leiste bleibt links, etwas schmaler */
@media (min-width: 560px) and (max-width: 899px) {
  :root { --side: 200px; }
  .wSideIn { padding: 22px 10px 22px max(10px, env(safe-area-inset-left, 0px)); }
  .wLogoLink { margin-bottom: 22px; }
  .wSide .wLogo { font-size: 22px !important; }
  .wNavA { gap: 10px; height: 40px; padding: 0 10px; font-size: 14.5px; }
  .wSideRule { margin: 20px 4px 18px; }
  .wReach { padding: 0 4px; }
  .wReachT { font-size: 12.5px; }
  .wReachL, .wReachMail { font-size: 13.5px; }
  .wReachNow { font-size: 12.5px; }
  .wReachTel { font-size: 14.5px; }
  .wSideAct { gap: 10px; padding: 20px 4px 0; }
  .wSideAct .wBtn { min-height: 42px; gap: 8px; padding: 0 10px; font-size: 14px; }
  .wSideAct .wBtn svg { width: 17px; height: 17px; }
  .wSideLogin { font-size: 14px; }
  .wSideLegal { gap: 4px 12px; margin: 20px 4px 0; }
  .wSocBtn { width: 32px; height: 32px; }
  .wSideLegal a { font-size: 12.5px; }
  .wPg { padding-block: 40px 0; padding-left: 28px; padding-right: max(28px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Funktionen: Sprungmarken und HOAI auf Programm, alle Funktionen (Programm, Preise), Kacheln auf Start (Version 14) ---------- */
.wJump { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 26px 0 0; }
.wJump .wLink { margin: 0; }
.wHoai { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: start; }
.wHoai > * { min-width: 0; }
.wHoaiL .wLabel { margin-bottom: 18px; }
.wHoaiLead { margin-top: 16px; }
.wHoaiList { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.wHoaiList li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.wHoaiList strong { font-weight: 600; }
.wHoaiLb { margin-top: 18px; font-size: 15.5px; line-height: 1.55; }
.wHoaiFig { margin: 0; }
.wHoaiFig figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: #5b6170; }
.wHoaiCard { container: hoai / inline-size; padding: 22px 22px 18px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper);
  box-shadow: 0 2px 6px rgba(16, 22, 61, 0.05), 0 40px 80px -56px rgba(16, 22, 61, 0.55); font-variant-numeric: tabular-nums; }
.wHoaiTop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.wHoaiT { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.wHoaiTag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--soft-2); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.wHoaiSub { margin: 2px 0 0; font-size: 14px; color: #5b6170; }
.wHoaiSteps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; }
.wHoaiSteps li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; font-size: 12.5px; line-height: 1.25; }
.wHoaiSteps li::after { content: ""; position: absolute; top: 13px; left: 34px; right: 2px; height: 1.5px; background: var(--ink); }
.wHoaiSteps li:last-child::after { display: none; }
.wHoaiN { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 13px;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.wHoaiSteps li[aria-current] .wHoaiN { background: var(--ink); color: var(--paper); }
.wHoaiSteps li[aria-current] .wHoaiStepL { font-weight: 700; color: var(--ink); }
.wHoaiNow { display: none; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.wHoaiFacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; }
.wHoaiFacts > div { min-width: 0; padding: 9px 12px 10px; border-radius: 10px; background: var(--ground); }
.wHoaiFacts dt { font-size: 12.5px; line-height: 1.3; color: #5b6170; }
.wHoaiFacts dd { margin: 2px 0 0; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.wHoaiTbl { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14.5px; line-height: 1.35; }
.wHoaiTbl th { padding: 8px 8px 7px; border-bottom: 1.5px solid var(--ink); font-size: 12.5px; font-weight: 600; text-align: left; white-space: nowrap; }
.wHoaiTbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; hyphens: manual; }
.wHoaiTbl th:first-child, .wHoaiTbl td:first-child { padding-left: 0; }
.wHoaiTbl th:last-child, .wHoaiTbl td:last-child { padding-right: 0; }
.wHoaiTbl .r { text-align: right; white-space: nowrap; }
.wHoaiNo { width: 1%; white-space: nowrap; font-weight: 600; }
.wHoaiBox { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 8px; border: 1.5px solid var(--ink);
  border-radius: 4px; vertical-align: -3px; color: var(--paper); }
.wHoaiBox.is-on { background: var(--ink); }
.wHoaiTbl tr.is-off td { color: #636a77; }
.wHoaiTbl tr.is-off .wHoaiBox { border-color: #8a8f9b; }
.wHoaiTbl tfoot td { padding-top: 8px; padding-bottom: 6px; border-bottom: 0; }
.wHoaiTbl tfoot tr:first-child td { padding-top: 12px; }
.wHoaiTbl tr.wHoaiSum td { padding-top: 10px; border-top: 1.5px solid var(--ink); font-size: 15.5px; font-weight: 700; color: var(--ink); }
.wFeatHead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; margin-bottom: 32px; }
.wFeatHead .wP { margin: 10px 0 0; }
.wFeatHead .wLink { margin: 0; }
.wFeatAll .wFeatH { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.wFeatAll .wFeatH svg { flex-shrink: 0; color: var(--ink); }
.wFeatAll li strong { font-weight: 600; }
.wKeyLead { margin-top: 12px; }
.wKeyG { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; margin-top: 32px; }
.wKey { min-width: 0; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.wKey > svg { display: block; color: var(--ink); }
.wKey .wH3 { margin: 12px 0 6px; font-size: 18px; }
.wKey p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.wKeyMore { margin: 30px 0 0; }
@media (max-width: 1240px) {
  .wHoai { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .wHoaiFig { max-width: 680px; }
  .wKeyG { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .wHoaiCard { padding: 16px 14px 14px; }
}
/* Schmale Karte (Handy, schmales Fenster mit Leiste): Schrittnamen nur für Bildschirmleser, Tabelle dichter */
@container hoai (max-width: 439px) {
  .wHoaiSteps { gap: 4px; }
  .wHoaiSteps li::after { left: 30px; }
  .wHoaiStepL { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wHoaiNow { display: block; }
  .wHoaiFacts dd { font-size: 14.5px; }
  .wHoaiTbl { font-size: 13.5px; }
  .wHoaiTbl th, .wHoaiTbl td { padding-left: 5px; padding-right: 5px; }
  .wHoaiBox { margin-right: 6px; }
}
@container hoai (max-width: 299px) {
  .wHoaiPct { display: none; }
}
@media (max-width: 559px) {
  .wKeyG { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .wFeatHead { margin-bottom: 24px; }
}
