/* Startseite: Anwendungen und Website-Bühne. */
/* Auch bei einem fehlgeschlagenen Script-Download bleiben alle Anwendungstexte lesbar. */
#showcase:not(.is-ready) .ide-tabs,
#showcase:not(.is-ready) .stepper,
#showcase:not(.is-ready) .ide-fuss { display: none !important; }
#showcase:not(.is-ready) .ide-panel[hidden] { display: grid !important; }
#showcase:not(.is-ready) .ide-panel + .ide-panel {
  margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--border);
}
@media (scripting: none) {
  .ide-tabs { display: none; }
  .ide-panel[hidden] { display: grid !important; }
  .ide-panel + .ide-panel { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--border); }}

/* Sektionsgrenzen leisten auf einer Seite dieser Länge Orientierungsarbeit:
   die Flächen wechseln ab, statt einen durchgehenden dunklen Tunnel zu bilden. */
.showcase        { background: var(--bg); }

/* ═══════════════════════════════════════════════════════════════════
   SHOWCASE / REFERENZEN
   ═══════════════════════════════════════════════════════════════════ */
/* Zwei Teile unter einer Headline: erst Anwendungen, dann Websites.
   Kein eigener Anker – beides ist „Was ich baue". */
.bauen-teil + .bauen-teil { margin-top: 6rem; }
.bauen-teil-kopf { margin-bottom: 1.8rem; }
.bauen-teil-nr {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.bauen-teil-titel {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
/* clip statt hidden: schneidet die Ecken genauso, macht .ide aber nicht zum
   Scroll-Container – sonst könnte die Reiterleiste mobil nicht mitlaufen. */
.ide {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: clip;
  box-shadow: var(--shadow-md);
}

.ide-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border);
}
.ide-tabs::-webkit-scrollbar { display: none; }

/* Acht Reiter teilen sich die Breite – kein Scroller, alles gleichzeitig sichtbar. */
.ide-tab {
  position: relative;
  display: flex; align-items: flex-start; gap: 0.35rem;
  flex: 1 1 0; min-width: 0;
  padding: 0.85rem 0.6rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border-soft);
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}
.ide-tab:last-child { border-right: 0; }
.ide-tab-text { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }
/* Name einzeilig, Unterzeile bricht um statt abzuschneiden. */
.ide-tab-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.ide-tab-sub {
  text-wrap: balance;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--text-faint);
  line-height: 1.3;
}
.ide-tab-dot {
  width: 6px; height: 6px; border-radius: 50%;
  margin-top: 0.42rem; flex-shrink: 0;
  background: var(--text-faint);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.ide-tab:hover { background: var(--accent-pale); }
.ide-tab:hover .ide-tab-name { color: var(--text); }
.ide-tab.is-active {
  background: var(--bg-card);
}
.ide-tab.is-active .ide-tab-name {
  color: var(--text);
  font-weight: 600;
}
.ide-tab.is-active .ide-tab-sub {
  color: var(--text-muted);
  font-weight: 400;
}
.ide-tab.is-active .ide-tab-dot {
  background: var(--accent-fill);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Fuß jedes Panels: wo man steht und was als Nächstes kommt. Wer ein Panel
   zu Ende liest, landet hier – sonst hält man das erste für alles. Nur mit
   JavaScript, ohne stehen alle Panels untereinander. */
.ide-fuss { display: none; }
body.js-loaded .ide-fuss {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  grid-column: 1 / -1;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-soft);
}
.ide-fuss-zahl {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.ide-weiter {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  background: var(--accent-pale);
  font-family: inherit;
  font-size: 0.9rem; font-weight: 600;
  color: var(--accent-text);
  cursor: pointer;
  transition: gap 0.25s var(--ease), border-color 0.2s ease;
}
.ide-weiter svg { width: 15px; height: 15px; }
.ide-weiter:hover { gap: 0.7rem; border-color: var(--accent-text); }
.ide-weiter:active { background: var(--accent-pale); }
.ide-tab.is-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-fill);
}
.ide-body { padding: 2.5rem; }

.ide-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 3rem;
  align-items: start;
}
.ide-panel[hidden] { display: none; }
.ide-panel.is-active { animation: panelIn 0.5s var(--ease) both; }

.ide-text h4 {
  font-size: 1.62rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.ide-punkte { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.7rem; }
.ide-punkte li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-mid);
}
.ide-punkte svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 0.28rem;
  color: var(--mint);
}

.showcase-hinweis {
  margin: 0;
  padding: 0.7rem 1.05rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-inset);
  font-family: var(--font-mono);
  font-size: 0.775rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.showcase-hinweis strong { font-weight: 600; color: var(--text); }

/* Einmal anstupsen, wenn die Auswahl zum ersten Mal im Bild ist: Am Desktop
   läuft die Hervorhebung über alle Reiter, mobil wippt der Pfeil nach rechts.
   Der Inhalt wechselt dabei nicht. */
@media (prefers-reduced-motion: no-preference) {
  .ide-tabs.is-stups .ide-tab:not(.is-active),
  .ide-tabs.is-stups .ide-tab:not(.is-active) .ide-tab-name,
  .ide-tabs.is-stups .ide-tab:not(.is-active) .ide-tab-dot,
  .ide-tabs.is-stups .ide-tab:not(.is-active)::after {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-delay: calc(0.4s + var(--i, 0) * 220ms);
  }
  .ide-tabs.is-stups .ide-tab:not(.is-active) { animation-name: reiterStups; }
  .ide-tabs.is-stups .ide-tab:not(.is-active) .ide-tab-name { animation-name: reiterName; }
  .ide-tabs.is-stups .ide-tab:not(.is-active) .ide-tab-dot { animation-name: reiterPunkt; }
  .ide-tabs.is-stups .ide-tab:not(.is-active)::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--accent-fill);
    opacity: 0;
    animation-name: reiterStrich;
  }
  .ide .stepper.is-stups .stepper-pfeil[data-schritt="1"],
  .wb .stepper.is-stups .stepper-pfeil[data-schritt="1"] {
    animation: pfeilStups 0.7s ease-in-out 0.4s 3;
  }
  .wb-wahl.is-stups .wb-opt:not(.is-on),
  .wb-wahl.is-stups .wb-opt:not(.is-on) .wb-opt-text b,
  .wb-wahl.is-stups .wb-opt:not(.is-on) i,
  .wb-wahl.is-stups .wb-opt:not(.is-on)::after {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-delay: calc(0.4s + var(--i, 0) * 220ms);
  }
  .wb-wahl.is-stups .wb-opt:not(.is-on) { animation-name: reiterStups; }
  .wb-wahl.is-stups .wb-opt:not(.is-on) .wb-opt-text b { animation-name: reiterName; }
  .wb-wahl.is-stups .wb-opt:not(.is-on) i { animation-name: reiterPunkt; }
  .wb-wahl.is-stups .wb-opt:not(.is-on)::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--accent-fill);
    opacity: 0;
    animation-name: reiterStrich;
  }}

/* ─── Stepper: mobile Auswahl für Anwendungen und Websites ─────────────
   Ersetzt die Wischleisten, bei denen man nicht sah, dass mehr kommt.
   Nur mit JavaScript und nur mobil sichtbar (Media Queries weiter unten). */
.stepper { display: none; }
.stepper {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.4rem;
}
.stepper-pfeil,
.stepper-mitte {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font: inherit;
  color: var(--text-mid);
  cursor: pointer;
}
.stepper-pfeil { display: grid; place-items: center; width: 2.9rem; }
.stepper-pfeil svg { width: 18px; height: 18px; }
.stepper-pfeil:active { background: var(--accent-pale); }
.stepper-mitte {
  display: flex; align-items: center; gap: 0.7rem;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  text-align: left;
  color: var(--text);
}
.stepper-mitte > svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); transition: transform 0.2s ease; }
.stepper-mitte[aria-expanded="true"] > svg { transform: rotate(180deg); }
.stepper i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.stepper-text,
.stepper-liste span { display: flex; flex-direction: column; gap: 0.05rem; flex: 1; min-width: 0; }
.stepper b { font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.stepper small { font-family: var(--font-mono); font-size: 0.64rem; line-height: 1.3; color: var(--text-faint); }
.stepper b,
.stepper small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper-zahl { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; }
.stepper-liste {
  position: absolute; left: 0; right: 0; top: calc(100% + 0.4rem); z-index: 20;
  max-height: min(26rem, calc(100vh - var(--nav-h) - 7rem));
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}
.stepper-liste[hidden] { display: none; }
.stepper-liste button {
  display: flex; align-items: center; gap: 0.7rem;
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  text-align: left;
  color: var(--text-mid);
  cursor: pointer;
}
.stepper-liste b { font-weight: 500; }
.stepper-liste button[aria-current="true"] { background: var(--accent-pale); color: var(--text); }
.stepper-liste button[aria-current="true"] b { font-weight: 600; }
/* In der IDE läuft der Stepper als Leiste unter der Navigation mit. */
.ide .stepper {
  --stepper-x: 1.05rem;
  position: sticky; top: var(--nav-h); z-index: 5;
  padding: 0.6rem var(--stepper-x);
  border-bottom: 1px solid var(--border);
  background: var(--bg-inset);
}
.ide .stepper-liste { left: var(--stepper-x); right: var(--stepper-x); top: calc(100% - 0.2rem); }

/* ─── Referenz am Reiter: der eine Fall, den ich benennen darf ─────────
   Steht im Reiter unter Gleichen, nicht als Aushängeschild davor. */
.ide-referenz {
  margin: 1.4rem 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent-line);
}
.ide-referenz-kunde {
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  margin-bottom: 0.4rem;
  transition: color 0.25s ease;
}
.ide-referenz-kunde .dot {
  align-self: center;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 7px var(--mint);
}
.ide-referenz-kunde strong {
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--accent-line);
}
.ide-referenz-kunde span { font-size: 0.83rem; color: var(--text-muted); }
.ide-referenz-kunde svg { width: 13px; height: 13px; align-self: center; color: var(--text-muted); }
.ide-referenz-kunde:hover strong { color: var(--accent-text); border-bottom-color: var(--accent-text); }
.ide-referenz-kunde:hover svg { color: var(--accent-text); }
.ide-referenz p {
  font-size: 0.855rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ─── Was kostet das? ────────────────────────────────────────────────
   Richtwerte, keine Preisliste: alle Spannen auf einer gemeinsamen,
   logarithmischen Achse, damit die Größenordnung ins Auge fällt und
   nicht der einzelne Betrag. Achse und Balken teilen sich die dritte
   Spalte (--kosten-spalten), sonst stimmen die Positionen nicht. */
.kosten {
  --kosten-spalten: minmax(0, 1.25fr) 11.5rem minmax(0, 1fr);
  --kosten-pad: 1.6rem;
  margin-top: 3.2rem;
}
.kosten-tafel {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  overflow: hidden;
}
.kosten-achse {
  display: grid;
  grid-template-columns: var(--kosten-spalten);
  column-gap: 1.6rem;
  padding: 0.85rem var(--kosten-pad) 0.55rem;
  border-bottom: 1px solid var(--border-soft);
}
.kosten-skala {
  grid-column: 3;
  position: relative;
  height: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-faint);
}
.kosten-skala span {
  position: absolute;
  top: 0;
  left: calc(var(--pos) * 100%);
  transform: translateX(-50%);
  white-space: nowrap;
}
.kosten-skala span::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 1.05rem;
  width: 1px;
  height: 0.3rem;
  background: var(--border);
}
.kosten-liste > li {
  display: grid;
  grid-template-columns: var(--kosten-spalten);
  align-items: center;
  gap: 0.5rem 1.6rem;
  padding: 1.15rem var(--kosten-pad);
}
.kosten-liste > li + li { border-top: 1px solid var(--border-soft); }
.kosten-titel {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.kosten-kontext {
  margin-top: 0.2rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.kosten-demos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}
.kosten-demos a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-inset);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-mid);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.kosten-demos a svg { width: 11px; height: 11px; color: var(--text-faint); flex-shrink: 0; }
.kosten-demos a:hover { background: var(--accent-pale); border-color: var(--accent-line); color: var(--accent-text); }
.kosten-demos a:hover svg { color: var(--accent-text); }
.kosten-spanne {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-text);
  white-space: nowrap;
}
.kosten-balken {
  position: relative;
  height: 0.55rem;
  border-radius: 99px;
  background: var(--bg-inset);
  box-shadow: inset 0 0 0 1px var(--border-soft);
}
.kosten-balken span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--von) * 100%);
  width: calc((var(--bis) - var(--von)) * 100%);
  border-radius: inherit;
  background: var(--accent-fill);
  transform-origin: left center;
}
/* Offenes Ende: läuft über den Rand aus, statt eine Obergrenze zu behaupten. */
.kosten-balken span.is-offen {
  border-radius: 99px 0 0 99px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .js-loaded .kosten-balken span {
    transform: scaleX(0);
    transition: transform 0.7s var(--ease);
    transition-delay: calc(0.3s + var(--i, 0) * 0.12s);
  }
  .js-loaded .kosten.visible .kosten-balken span { transform: none; }}

.kosten-fuss {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 2.4rem;
  margin-top: 1.6rem;
}
.kosten-faktoren {
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.kosten-zusagen {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-mid);
}
.kosten-zusagen .art-check { align-items: flex-start; }
.kosten-zusagen .art-check::before { margin-top: 0.1rem; }
.kosten-netto {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
}

/* ═══════════════════════════════════════════════════════════════════
   MOCKUPS
   ═══════════════════════════════════════════════════════════════════ */
.browser {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-inset);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  /* Muss gesetzt sein: sonst erben Elemente ohne eigene Farbe die Textfarbe
     der Seite – im umgeschalteten Skin steht der Text dann unsichtbar auf
     fremdem Grund. */
  color: var(--text);
}
.browser-bar {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.8rem;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.browser-url {
  display: inline-flex; align-items: center; gap: 0.35rem;
  flex: 1; min-width: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  background: var(--bg-inset);
  font-family: var(--font-mono);
  font-size: 0.685rem;
  color: var(--text-muted);
  /* Adressen brechen nicht um – eine zweizeilige URL sieht aus wie ein
     Fehler, nicht wie ein Browser. Lieber abschneiden. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-url svg { width: 11px; height: 11px; color: var(--mint); flex-shrink: 0; }
.browser-url [data-rolle="url"] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ─── Markenwechsel am Leitfall ─────────────────────────────────────
   Die Mockups sind vollständig auf Tokens gebaut – ein Satz überschriebener
   Custom Properties am Rahmen reicht, um dieselbe Oberfläche in eine fremde
   Marke zu setzen. Kein zweites Markup, keine externen Schriften.
   ------------------------------------------------------------------- */
.skinwahl {
  display: inline-flex; align-items: center; gap: 0.25rem;
  flex-shrink: 0;
}
.skinwahl-lbl {
  margin-right: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-faint);
}
.skinwahl-opt {
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.skinwahl-opt:hover  { border-color: var(--accent-line); color: var(--accent-text); }
.skinwahl-opt:active { transform: scale(0.94); }
.skinwahl-opt.is-on {
  background: var(--accent-pale);
  border-color: var(--accent-line);
  color: var(--accent-text);
  font-weight: 600;
}

/* core-werks echte Farbwelt: warmes Leinen, Kräutergrün, weiche Radien. */
.browser[data-skin="core-werk"] {
  --bg-inset:  #ebe8e0;
  --bg-raised: #e0ddd0;
  --bg-card:   #f6f4ec;
  --text:        #2b2a24;
  --text-mid:    #4a4840;
  --text-muted:  #646155;
  --text-faint:  #86816f;
  --accent:      #4e6a42;
  --accent-text: var(--accent);
  --accent-fill: var(--accent);
  --accent-deep: #3e5635;
  --accent-pale: rgba(78, 106, 66, 0.10);
  --accent-line: rgba(78, 106, 66, 0.32);
  --on-accent:   #ffffff;
  --border:        rgba(0, 0, 0, 0.11);
  --border-soft:   rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.22);
  --mint:      #4e6a42;
  --mint-pale: rgba(78, 106, 66, 0.14);
  --on-mint:   #f6f4ec;
  --warn:      #8a4e14;
  --warn-pale: rgba(196, 118, 36, 0.18);
  --radius:    18px;
  --radius-sm: 12px;
}
/* Lora lässt sich nicht laden, ohne eine Fremdanfrage aufzumachen – die
   serifige Handschrift übernimmt Instrument Serif aus dem eigenen Bestand. */
.browser[data-skin="core-werk"] .mk-head b,
.browser[data-skin="core-werk"] .mk-row b {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

/* Dritter Look mit klar anderem Charakter: harte Kanten, kräftiges Kupfer. */
.browser[data-skin="werkstatt"] {
  --bg-inset:  #16181a;
  --bg-raised: #1f2226;
  --bg-card:   #101214;
  --text:        #f2efe9;
  --text-mid:    #c4bfb6;
  --text-muted:  #928d83;
  --text-faint:  #6f6a61;
  --accent:      #d4622a;
  --accent-text: var(--accent);
  --accent-fill: var(--accent-deep);
  --accent-deep: #b04d1d;
  --accent-pale: rgba(212, 98, 42, 0.13);
  --accent-line: rgba(212, 98, 42, 0.36);
  --on-accent:   #ffffff;
  --border:        rgba(255, 255, 255, 0.11);
  --border-soft:   rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.22);
  --mint:      #7bb661;
  --mint-pale: rgba(123, 182, 97, 0.15);
  --on-mint:   #06120e;
  --warn:      #e0a33a;
  --warn-pale: rgba(224, 163, 58, 0.16);
  --radius:    3px;
  --radius-sm: 2px;
}
.browser[data-skin="werkstatt"] .mk-pill,
.browser[data-skin="werkstatt"] .mk-chip,
.browser[data-skin="werkstatt"] .mk-btn { border-radius: 2px; }
.browser[data-skin="werkstatt"] .mk-head b,
.browser[data-skin="werkstatt"] .mk-row b { letter-spacing: 0.01em; }

.browser[data-skin] { transition: background-color 0.35s ease; }
.browser[data-skin] .mk-row,
.browser[data-skin] .mk-pill,
.browser[data-skin] .mk-btn,
.browser[data-skin] .mk-chip {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, border-radius 0.35s ease;
}

/* Dauerhaft in der Leiste, damit die Oberflächen nicht für echt gehalten werden. */
.browser-demo {
  flex-shrink: 0;
  padding: 0.08rem 0.42rem;
  border: 1px dashed var(--border-strong);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}
.browser-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }

.mk-head {
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
  padding-bottom: 0.7rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid var(--border-soft);
}
.mk-head b { font-size: 0.93rem; margin-right: 0.35rem; }
.mk-grow { flex: 1; }

.mk-chip {
  padding: 0.15rem 0.52rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  font-family: inherit;
  font-size: 0.7rem;
  color: var(--text-muted);
}
button.mk-chip { cursor: pointer; }
button.mk-chip:hover { border-color: var(--border-strong); color: var(--text); }
.mk-chip-on { background: var(--accent-pale); border-color: var(--accent-line); color: var(--accent-text); }
.mk-chip-sm { font-size: 0.655rem; padding: 0.08rem 0.42rem; }

.mk-row {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.65rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.8rem;
}
.mk-row b { font-weight: 600; font-size: 0.82rem; display: block; }
.mk-row i { font-style: normal; font-size: 0.71rem; color: var(--text-muted); display: block; }

.mk-pill {
  display: inline-block;
  padding: 0.1rem 0.48rem;
  border-radius: 100px;
  font-size: 0.665rem;
  font-weight: 600;
  white-space: nowrap;
}
.mk-pill-ok   { background: var(--mint-pale); color: var(--mint); }
.mk-pill-warn { background: var(--warn-pale); color: var(--warn); }
.mk-pill-mute { background: var(--border-soft); color: var(--text-muted); }
.mk-pill-lock { background: var(--accent-pale); color: var(--accent-text); }
.mk-pill-role { background: var(--accent-pale); color: var(--accent-text); font-family: var(--font-mono); font-weight: 500; }

.mk-btn {
  flex-shrink: 0;
  padding: 0.32rem 0.72rem;
  border: 0; border-radius: 6px;
  background: var(--accent-fill); color: var(--on-accent);
  font-size: 0.735rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease, opacity 0.2s ease;
}
.mk-btn:hover  { background: var(--accent-deep); }
.mk-btn:active { transform: scale(0.96); }
.mk-btn[disabled] { opacity: 0.45; cursor: default; }
.mk-btn-quiet { background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted); }
.mk-btn-quiet:hover { background: var(--accent-pale); border-color: var(--accent-line); color: var(--accent-text); }
.mk-td-aktion { display: flex; justify-content: flex-end; }

/* Sortierbare Spaltenköpfe: sichtbar anfassbar, mit Richtungsanzeige. */
.mk-sort {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.1rem 0.65rem;
  background: none; border: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}
.mk-sort:hover  { color: var(--accent-text); }
.mk-sort:active { opacity: 0.6; }
.mk-sort::after {
  content: '';
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.mk-sort.is-auf::after { border-bottom: 4px solid currentColor; opacity: 1; }
.mk-sort.is-ab::after  { border-top: 4px solid currentColor; opacity: 1; }
.mk-sort.is-auf, .mk-sort.is-ab { color: var(--accent-text); }
.mk-puls { animation: mkPuls 0.42s var(--ease); }

.mk-log-neu { animation: mkLogIn 0.35s var(--ease) both; }

.mk-mono { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }

/* Buchung */
.mk-date {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--accent-pale);
  border: 1px solid var(--border);
}
.mk-date b { font-size: 0.85rem; line-height: 1; color: var(--accent-text); }
.mk-date i { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em; }
.mk-kurs-text { flex: 1; min-width: 0; }
.mk-kurs-cap { display: flex; flex-direction: column; align-items: flex-end; gap: 0.28rem; flex-shrink: 0; }
.mk-bar {
  display: block;
  width: 62px; height: 3px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.mk-bar i { display: block; height: 100%; background: var(--mint); }
.mk-bar.is-voll i { background: var(--warn); }

/* `display: flex` würde das hidden-Attribut aushebeln – sonst steht dort
   von Anfang an ein leerer Bestätigungsbalken. */
.mk-toast[hidden] { display: none; }
.mk-toast {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 0.3rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  background: var(--accent-pale);
  font-size: 0.755rem;
  color: var(--text-mid);
}
.mk-toast-ico {
  display: flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint); color: var(--on-mint);
  font-size: 0.68rem; font-weight: 700;
}
.mk-toast-link {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-text);
  white-space: nowrap;
  cursor: pointer;
}
.mk-toast-link:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ── Aktuelles: Redaktion oben, Website darunter ───────────────────── */
.mk-cms {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}
.mk-cms-head {
  display: flex; align-items: center; gap: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-soft);
}
.mk-cms-wer b { font-size: 0.78rem; display: block; }
.mk-cms-wer i { font-style: normal; font-size: 0.66rem; color: var(--text-muted); display: block; }
.mk-cms-head .mk-pill { margin-left: auto; }
.mk-cms-aktion {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 0.7rem; flex-wrap: wrap;
}

.mk-feld { display: flex; flex-direction: column; gap: 0.26rem; min-width: 0; }
.mk-feld-lbl {
  font-family: var(--font-mono);
  font-size: 0.655rem;
  color: var(--text-muted);
}
.mk-feld input {
  width: 100%; min-width: 0;
  padding: 0.44rem 0.62rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-inset);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
}
.mk-feld input:focus { outline: none; border-color: var(--accent-text); }

.mk-katwahl { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.mk-kat {
  padding: 0.24rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  font-size: 0.7rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mk-kat:hover { border-color: var(--border-strong); color: var(--text); }
.mk-kat.is-on { background: var(--accent-pale); border-color: var(--accent-line); color: var(--accent-text); font-weight: 600; }
/* display:flex auf .mk-row würde hidden sonst ignorieren. */
.mk-post[hidden] { display: none; }
.mk-post { gap: 0.6rem; }
.mk-post-zeit {
  display: flex; align-items: center; gap: 0.4rem;
  flex-shrink: 0; width: 4.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.mk-live {
  width: 7px; height: 7px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--border-strong);
}
/* Nur der Einsatz pulst – sonst wäre das Signal keins mehr. */
.mk-live.is-on {
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: mkLive 2s ease-in-out infinite;
}
.mk-post-titel {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mk-post-alter {
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ── Schnittstelle: Vorgang links, Ergebnis rechts ─────────────────── */
.mk-sync {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 5.6rem;
  gap: 0.7rem;
  align-items: center;
}
.mk-sync-seite { min-width: 0; }
.mk-sync-seite b,
.mk-sync-seite i { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-sync-pfeil {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-text);
  flex-shrink: 0;
}
/* Der Streifen macht schon vor dem Klick sichtbar, welcher Vorgang
   liegen bleibt – der Grund steht in der Zeile darunter. */
.mk-sync[data-sync="fehler"] {
  border-color: var(--warn-pale);
  box-shadow: inset 2px 0 0 var(--warn);
}
.mk-sync[data-sync="fehler"] .mk-sync-pfeil { color: var(--warn); }
.mk-sync [data-rolle="sync-status"] { justify-self: end; }

.mk-filter { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.mk-duo-lbl {
  font-family: var(--font-mono);
  font-size: 0.655rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
/* Zweites Label in einer gestapelten Ansicht braucht Abstand nach oben. */
.mk-duo-lbl-nach { margin-top: 0.5rem; }
.mk-arrow { align-self: center; color: var(--accent-text); font-size: 1.1rem; }

.mk-chat {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 0.7rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  height: 100%;
}
.mk-bubble {
  max-width: 88%;
  padding: 0.42rem 0.68rem;
  border-radius: 13px;
  font-size: 0.755rem;
  line-height: 1.45;
}
.mk-bubble.in  { align-self: flex-start; background: var(--bg-inset); border: 1px solid var(--border-soft); border-bottom-left-radius: 4px; }
.mk-bubble.out { align-self: flex-end; background: var(--accent-fill); color: var(--on-accent); border-bottom-right-radius: 4px; }
.mk-kanal { display: flex; gap: 0.28rem; margin-top: auto; padding-top: 0.4rem; flex-wrap: wrap; }
.mk-kanal i {
  font-style: normal;
  padding: 0.14rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.655rem;
  color: var(--text-muted);
}
.mk-kanal i.is-on { background: var(--accent-pale); border-color: var(--accent-line); color: var(--accent-text); }

.mk-mail {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  height: 100%;
}
.mk-mail-head {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-inset);
}
.mk-mail-head b { font-size: 0.775rem; display: block; }
.mk-mail-head i { font-style: normal; font-size: 0.665rem; color: var(--text-muted); display: block; }
.mk-mail-body { padding: 0.7rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mk-line { display: block; height: 6px; border-radius: 3px; background: var(--border); }
.mk-line.w90 { width: 90%; } .mk-line.w80 { width: 80%; } .mk-line.w60 { width: 60%; }
.mk-mail-meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.25rem; }
.mk-mail-meta b { color: var(--accent-text); }

.mk-av {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-pale);
  border: 1px solid var(--border);
  font-size: 0.65rem; font-weight: 700;
  color: var(--accent-text);
}

/* Tabellen (Einwilligung, Verwaltung) */
.mk-table { display: flex; flex-direction: column; gap: 0.3rem; }
.mk-th {
  border: 0; background: transparent; padding: 0.1rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mk-tr { gap: 0.5rem; }
.mk-td { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-td-name { display: flex; align-items: center; gap: 0.42rem; flex: 1.4; }
.mk-td-wide { flex: 2.1; }
.mk-td-fit { flex: 0 0 auto; }
.mk-td-nr { flex: 0 0 44px; }
.mk-td-status { flex: 0 0 auto; text-align: right; }
.mk-td-betrag { flex: 0 0 4.2rem; justify-content: flex-end; text-align: right; }
.mk-sort.mk-td-betrag { padding-right: 0; }

.mk-log {
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 0.22rem;
}
.mk-log-lbl {
  font-family: var(--font-mono);
  font-size: 0.645rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

/* Kundenbereich: das Erlebnis nach dem Login – nächste Stunde, Stempelkarte,
   gebuchte Termine. Gefüllte Stempel sind verbrauchte Einheiten. */
.mk-portal { display: flex; flex-direction: column; gap: 0.5rem; }
.mk-portal-kopf {
  display: flex; align-items: center; gap: 0.6rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid var(--border-soft);
}
.mk-portal-kopf .mk-av { width: 32px; height: 32px; font-size: 0.7rem; }
.mk-portal-gruss { flex: 1; min-width: 0; }
.mk-portal-gruss b { display: block; font-size: 1.05rem; line-height: 1.2; }
.mk-portal-gruss i { display: block; font-style: normal; font-size: 0.7rem; color: var(--text-muted); }
.mk-portal-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 0.5rem; }
.mk-portal-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.mk-termin {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 0.8rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--accent-fill);
  color: var(--on-accent);
}
.mk-termin .mk-portal-lbl { color: inherit; opacity: 0.78; }
.mk-termin-datum { display: flex; align-items: center; gap: 0.6rem; }
.mk-termin-datum b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 0.9;
}
.mk-termin-datum em { display: block; font-style: normal; font-size: 0.78rem; font-weight: 600; }
.mk-termin-datum i  { display: block; font-style: normal; font-size: 0.7rem; opacity: 0.82; }
.mk-termin-titel { font-size: 0.86rem; font-weight: 600; }
.mk-termin-links { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: auto; padding-top: 0.2rem; }
.mk-termin-links span {
  padding: 0.12rem 0.5rem;
  border: 1px solid color-mix(in srgb, currentColor 38%, transparent);
  border-radius: 100px;
  font-size: 0.65rem;
}
.mk-termin-leer { display: none; }
.mk-termin.is-leer .mk-termin-datum,
.mk-termin.is-leer .mk-termin-titel,
.mk-termin.is-leer .mk-termin-links { display: none; }
.mk-termin.is-leer .mk-termin-leer { display: block; margin-top: auto; font-family: var(--font-display); font-size: 1.35rem; }

.mk-karte {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}
.mk-karte-zahl { font-size: 0.8rem; color: var(--text-mid); }
.mk-karte-zahl b {
  margin-right: 0.15rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-text);
}
.mk-karte-gueltig { font-style: normal; font-size: 0.68rem; color: var(--text-muted); }
.mk-stempel-reihe { display: grid; grid-template-columns: repeat(5, 20px); gap: 0.35rem; }
.mk-stempel {
  width: 20px; height: 20px;
  border: 1.5px dashed var(--accent-line);
  border-radius: 50%;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.mk-stempel.is-voll {
  border-style: solid;
  border-color: var(--accent-text);
  background: var(--accent-fill);
  box-shadow: inset 0 0 0 3px var(--bg-card);
}
.mk-stempel.is-neu     { animation: mkStempel 0.5s var(--ease); }
.mk-stempel.is-zurueck { animation: mkStempelZurueck 0.6s var(--ease); }

.mk-gebucht-liste { display: flex; flex-direction: column; gap: 0.4rem; }
.mk-gebucht-liste:empty::before { content: 'Keine Termine gebucht.'; font-size: 0.72rem; color: var(--text-muted); }
.mk-gebucht.is-weg { animation: mkWeg 0.26s ease forwards; }

.browser[data-skin="core-werk"] .mk-portal-gruss b,
.browser[data-skin="core-werk"] .mk-termin-titel {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}
.browser[data-skin="core-werk"] .mk-portal-gruss b { font-size: 1.3rem; }
.browser[data-skin="core-werk"] .mk-termin-titel  { font-size: 1.05rem; }
/* Die Beispielmarke bleibt kantig: Groteske statt Serife, eckige Stempel. */
.browser[data-skin="werkstatt"] .mk-termin-datum b,
.browser[data-skin="werkstatt"] .mk-karte-zahl b,
.browser[data-skin="werkstatt"] .mk-termin.is-leer .mk-termin-leer {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.browser[data-skin="werkstatt"] .mk-stempel { border-radius: 2px; }
.browser[data-skin="werkstatt"] .mk-termin-links span { border-radius: 2px; }

.mk-file { padding: 0.5rem 0.6rem; }
.mk-fico {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 6px;
  background: var(--accent-pale);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.58rem; font-weight: 700;
  color: var(--accent-text);
}
.mk-file-text { min-width: 0; }

/* Verwaltung */
.mk-app { display: grid; grid-template-columns: 128px 1fr; gap: 0.7rem; }
.mk-side { display: flex; flex-direction: column; gap: 0.15rem; }
.mk-side-item {
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.mk-side-item.is-on { background: var(--accent-pale); color: var(--accent-text); font-weight: 600; }
.mk-main { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
button.mk-side-item {
  border: 0; background: none;
  font: inherit; font-size: 0.75rem;
  text-align: left;
  cursor: pointer;
}
button.mk-side-item:hover { color: var(--accent-text); }

/* Kennzahlen (Dashboard, Verwaltung) */
.mk-kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.2rem, 1fr)); gap: 0.4rem; }
.mk-kennzahl {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}
.mk-kennzahl b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
}
.mk-kennzahl i { font-style: normal; font-size: 0.66rem; color: var(--text-muted); }
.mk-kennzahl.is-warn b { color: var(--warn); }

/* Dashboard: Tagesgeschäft fürs Team. Was nur die Leitung sieht, trägt
   data-nur="leitung" und fällt in der Team-Ansicht weg. */
.mk-dash[data-ansicht="team"] [data-nur="leitung"] { display: none; }
.mk-dash-kopf {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  padding-bottom: 0.7rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid var(--border-soft);
}
.mk-dash-kopf .mk-av { width: 32px; height: 32px; font-size: 0.7rem; }
.mk-dash-datum {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.mk-dash-aktionen { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.mk-dash-liste { display: flex; flex-direction: column; gap: 0.4rem; }
.mk-zeitblock {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 46px; height: 38px;
  border-radius: 8px;
  background: var(--accent-pale);
  border: 1px solid var(--border);
}
.mk-row .mk-zeitblock b { font-size: 0.85rem; line-height: 1; color: var(--accent-text); }
.mk-row .mk-zeitblock i { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.04em; }
.mk-dash-buchung.is-storniert b { color: var(--text-muted); text-decoration: line-through; }

.browser[data-skin="werkstatt"] .mk-kennzahl b {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mk-foot {
  margin-top: 0.3rem;
  font-size: 0.735rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.mk-foot-tight { margin-top: 0.15rem; font-size: 0.7rem; }

/* ── Wunschtermin: Anfrage oben, Posteingang darunter ──────────────── */
.mk-anfrage-wann { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.mk-cms-aktion .mk-grow { flex: 1 1 12rem; }
.mk-anfrage-liste { display: flex; flex-direction: column; gap: 0.5rem; }
.mk-anfrage { flex-wrap: wrap; gap: 0.5rem 0.7rem; }
.mk-anfrage-text { flex: 1; min-width: 10rem; }

/* ═══════════════════════════════════════════════════════════════════
   WEBSITES – Bühne mit core-werk und fünf Beispielen (mockups-web.php)
   Die Sites sind echte Layouts in 1280 px bzw. 390 px Breite und werden
   per zoom in die Rahmen skaliert. Alle Maße darin sind Leinwand-Pixel.
   ═══════════════════════════════════════════════════════════════════ */
.wb { display: flex; flex-direction: column; gap: 1rem; }
.wb-kopf { display: flex; align-items: center; gap: 0.8rem 1.2rem; }
/* Ohne JavaScript gibt es nichts umzuschalten – dann bleibt core-werk stehen. */
.wb-wahl { display: none; }
body.js-loaded .wb-wahl { display: flex; }
.wb-wahl { flex: 1; gap: 0.45rem; flex-wrap: wrap; min-width: 0; }
.wb-opt {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.95rem 0.5rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font: inherit;
  text-align: left;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.wb-opt i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.wb-opt-text { display: flex; flex-direction: column; gap: 0.05rem; }
.wb-opt-text b { font-size: 0.82rem; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.wb-opt-text small { font-family: var(--font-mono); font-size: 0.6rem; line-height: 1.3; color: var(--text-faint); white-space: nowrap; }
.wb-opt:hover { border-color: var(--border-strong); color: var(--text); }
.wb-opt.is-on { border-color: var(--accent-line); background: var(--accent-pale); color: var(--text); }
.wb-opt.is-on b { font-weight: 600; }
.wb-opt.is-on small { color: var(--text-muted); }
/* Automatik: Strich unter der aktiven Website, so lange wie ihr Durchlauf. */
.wb-opt,
.wb .stepper-mitte { position: relative; overflow: hidden; }
.wb.is-auto .wb-opt.is-on::after,
.wb.is-auto .stepper-mitte::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-fill);
  transform-origin: left;
  transform: scaleX(var(--fortschritt, 0));
}

/* Steckbrief: Fußleiste im Bühnenrahmen, immer nur die des aktiven Designs. */
.wb-steckbrief {
  padding: 1.5rem 2.2rem 1.8rem;
  border-top: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--bg-card) 55%, transparent);
}
.wb-steckbrief[hidden] { display: none; }
.wb-steck-kopf {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.6rem;
  margin-bottom: 1.1rem;
}
.wb-steck-kopf i { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.wb-steck-kopf b { font-size: 1rem; font-weight: 600; color: var(--text); }
.wb-steck-kopf span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-faint); }
.wb-steck-kopf .wb-echt-link { margin-left: auto; }
/* Umschalter zwischen den Seiten von core-werk: Startseite · Kurse & Buchung. */
.wb-seiten {
  display: inline-flex; gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--bg-inset);
}
.wb-seite {
  padding: 0.28rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.wb-seite:hover { color: var(--text); }
.wb-seite.is-on {
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--border-soft), 0 1px 3px rgba(0, 0, 0, 0.12);
}
.wb-steck-lbl {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.wb-echt-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--accent-text);
}
.wb-echt-link svg { width: 13px; height: 13px; }
.wb-echt-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.wb-eingebaut ol { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wb-eingebaut a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 0.86rem;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.wb-eingebaut a > svg { width: 13px; height: 13px; color: var(--text-faint); flex-shrink: 0; }
.wb-eingebaut a:hover, .wb-eingebaut a.is-gezeigt { background: var(--accent-pale); border-color: var(--accent-line); }
.wb-eingebaut a:hover > svg, .wb-eingebaut a.is-gezeigt > svg { color: var(--accent-text); }
.wb-haken {
  display: grid; place-items: center;
  width: 1.3rem; height: 1.3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint-pale);
  color: var(--mint);
}
.wb-haken svg { width: 11px; height: 11px; stroke-width: 3; }
.wb-zeige-tipp { display: none; }
@media (hover: hover) {
  body.js-loaded .wb-zeige-tipp {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--text-faint);
  }}

.wb-buehne {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(55% 65% at 18% 8%, var(--accent-pale), transparent 70%),
    radial-gradient(40% 50% at 92% 100%, var(--accent-pale), transparent 70%),
    var(--bg-inset);
  overflow: clip;
}
/* Fläche mit Fenster und Smartphone – das Smartphone endet über dem Steckbrief. */
.wb-flaeche {
  position: relative;
  padding: 2.2rem 2.2rem 3rem;
}
.wb-desktop {
  width: 84%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  overflow: clip;
}
.wb-desktop .browser-bar { padding: 0.5rem 0.75rem; }
/* isolation: z-index aus den Designs bleibt im eigenen Fenster und schiebt
   nichts vom Desktop über das Smartphone. */
.wb-screen { position: relative; isolation: isolate; overflow: hidden auto; scrollbar-width: none; }
.wb-screen::-webkit-scrollbar { display: none; }
.wb-desktop .wb-screen { aspect-ratio: 16 / 10; }
.wb-phone {
  position: absolute;
  right: 1.6rem; bottom: 1.3rem;
  width: 24%;
  padding: 9px;
  border-radius: 40px;
  background: #0c0d0f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 2px #2a2c30,
    0 40px 80px -24px rgba(0, 0, 0, 0.55),
    0 16px 32px -16px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Beim Zeigen weicht das Handy, damit es rechte Ziele nicht verdeckt. */
.wb.is-zeigt .wb-phone { opacity: 0; transform: translateX(24px); pointer-events: none; }
.wb-phone .wb-screen { aspect-ratio: 390 / 820; border-radius: 31px; }
/* Dynamic Island über der Leinwand – die Statuszeile der Site weicht ihr aus. */
.wb-insel {
  position: absolute; z-index: 3;
  top: 17px; left: 50%;
  width: 30%; height: 19px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #0c0d0f;
}
/* Touch: das Fenster ist kein Scroll-Container, sonst hängt die Seite unter
   dem Daumen fest. Der Durchlauf schiebt die Leinwand, der Finger scrollt die Seite. */
@media (hover: none) {
  .wb-screen { overflow: hidden; }
  .wb-flaeche, .wb-flaeche * { touch-action: pan-y; }}

/* Fallback ohne JavaScript; main.js setzt den genauen Faktor. */
.wb-desktop .ws-canvas { width: 1280px; zoom: 0.66; }
.wb-phone .ws-canvas { width: 390px; zoom: 0.6; }

/* ─── Gemeinsame Site-Bausteine ────────────────────────────────────── */
.ws {
  display: none;
  position: relative;
  overflow: hidden;
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.ws.is-an { display: block; }
.ws img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ws figure { margin: 0; }
.ws-sb, .ws-burger { display: none; }
.ws-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ws-btn svg { width: 18px; height: 18px; }
.ws-btn:hover { transform: translateY(-2px); }
.ws-status { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.ws-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.5; flex-shrink: 0; }
.ws-status.is-offen i { opacity: 1; background: #3fbf7f; box-shadow: 0 0 0 4px rgba(63, 191, 127, 0.22); }

.ws--phone .ws-sb {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
  padding: 16px 30px 0;
  font-size: 15px;
}
.ws--phone .ws-sb span { display: flex; align-items: center; gap: 5px; }
.ws--phone .ws-sb i { display: block; height: 11px; border-radius: 3px; background: currentColor; opacity: 0.9; }
.ws--phone .ws-sb i:nth-child(1) { width: 17px; }
.ws--phone .ws-sb i:nth-child(2) { width: 15px; }
.ws--phone .ws-sb i:nth-child(3) { width: 25px; border-radius: 4px; }
/* .ws.ws--phone: muss die Design-Regeln (.ws--salon .ws-links …) schlagen. */
.ws.ws--phone .ws-links,
.ws.ws--phone .ws-nav .ws-btn { display: none; }
.ws.ws--phone .ws-burger { display: flex; flex-direction: column; gap: 7px; }
.ws--phone .ws-burger i { display: block; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }

/* Hervorhebung beim Überfahren der Liste „Eingebaut": ein Rahmen um die
   Fläche, der Rest der Seite abgedunkelt. main.js setzt Lage und Größe in
   Leinwand-Pixeln; .ws schneidet den Schatten ab. span.ws-spot: muss
   .ws--praxis > :not(.ws-blob) schlagen. */
.ws > span.ws-spot {
  position: absolute; z-index: 30;
  border-radius: 18px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 200vmax rgba(8, 10, 12, 0.55);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ws > span.ws-spot.is-an { opacity: 1; }
.ws-spot b {
  position: absolute; left: 0; bottom: calc(100% + 16px);
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-family: var(--font); font-size: 20px; font-weight: 600; font-style: normal; line-height: 1.2;
  letter-spacing: 0; text-transform: none;
  color: #111;
  white-space: nowrap;
}
.ws-spot--unten b { bottom: auto; top: calc(100% + 16px); }
.ws-spot--rechts b { left: auto; right: 0; }

/* ─── core-werk: echter Screenshot, Theme folgt gahlbeck.com ────────── */
.ws--corewerk { background: #ece9e1; color: #2b2a27; }
.ws.ws--corewerk img { height: auto; }
.ws-shot--dunkel { display: none !important; }
[data-theme="dark"] .ws--corewerk { background: #1b1b1b; color: #ecebe8; }
[data-theme="dark"] .ws-shot--hell { display: none !important; }
[data-theme="dark"] .ws-shot--dunkel { display: block !important; }

/* ─── Salon Lumen ─────────────────────────────────────────────────── */
.ws--salon { --gold: #c8a27a; background: #15120f; color: #f3ece2; }
.ws--salon .ws-nav {
  display: flex; align-items: center; gap: 48px;
  padding: 30px 72px;
  border-bottom: 1px solid rgba(243, 236, 226, 0.1);
}
.ws--salon .ws-logo { margin-right: auto; font-family: var(--font-display); font-size: 30px; letter-spacing: 0.02em; }
.ws--salon .ws-logo em { color: var(--gold); }
.ws--salon .ws-links {
  display: flex; gap: 38px;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(243, 236, 226, 0.7);
}
.ws--salon .ws-btn {
  padding: 17px 32px;
  border-radius: 100px;
  background: var(--gold); color: #15120f;
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
}
.ws--salon .ws-btn:hover { background: #d9b893; }
.ws--salon .ws-btn--linie {
  padding: 12px 24px;
  background: transparent; color: #f3ece2;
  box-shadow: inset 0 0 0 1px rgba(200, 162, 122, 0.6);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.ws--salon .ws-btn--linie:hover { background: rgba(200, 162, 122, 0.12); }
.ws--salon .ws-hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: end;
  padding: 72px 72px 104px;
}
.ws--salon .ws-kicker {
  display: block; margin-bottom: 28px;
  font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
}
.ws--salon .ws-h1 {
  display: block;
  font-family: var(--font-display); font-size: 150px; font-weight: 400;
  line-height: 0.88; letter-spacing: -0.02em;
}
.ws--salon .ws-h1 em { display: block; font-style: italic; color: var(--gold); }
.ws--salon .ws-lead {
  display: block; max-width: 440px; margin: 38px 0 42px;
  font-size: 19px; line-height: 1.6; color: rgba(243, 236, 226, 0.72);
}
.ws--salon .ws-aktionen { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ws--salon .ws-status { color: rgba(243, 236, 226, 0.72); }
.ws--salon .ws-hero-bild { position: relative; }
.ws--salon .ws-bogen { aspect-ratio: 3 / 4; height: auto; border-radius: 999px 999px 0 0; }
.ws--salon .ws-siegel {
  position: absolute; left: -64px; bottom: 70px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: #15120f;
  box-shadow: 0 0 0 1px rgba(200, 162, 122, 0.5);
  animation: wsDrehen 26s linear infinite;
}
.ws--salon .ws-siegel text {
  font-family: var(--font-display); font-size: 12.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  fill: #f3ece2;
}
.ws--salon .ws-preise {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px;
  padding: 100px 72px;
  border-top: 1px solid rgba(243, 236, 226, 0.1);
}
.ws--salon .ws-h2 { display: block; font-family: var(--font-display); font-size: 66px; line-height: 1; }
.ws--salon .ws-h2 em { font-style: italic; color: var(--gold); }
.ws--salon .ws-preisliste li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(243, 236, 226, 0.1);
  font-size: 20px;
}
.ws--salon .ws-preisliste i { flex: 1; border-bottom: 1px dotted rgba(200, 162, 122, 0.55); transform: translateY(-5px); }
.ws--salon .ws-preisliste b { font-family: var(--font-display); font-size: 27px; font-weight: 400; color: var(--gold); }
.ws--salon .ws-galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 72px 100px; }
.ws--salon .ws-galerie img { aspect-ratio: 4 / 3; height: auto; border-radius: 4px; }
.ws--salon figcaption {
  margin-top: 14px;
  font-family: var(--font-display); font-style: italic; font-size: 21px;
  color: rgba(243, 236, 226, 0.65);
}
.ws--salon .ws-zitat { padding: 96px 72px 112px; background: #1d1915; text-align: center; }
.ws--salon .ws-zitat span {
  display: block; max-width: 900px; margin: 0 auto 24px;
  font-family: var(--font-display); font-style: italic; font-size: 56px; line-height: 1.1;
}
.ws--salon .ws-zitat i { font-style: normal; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.ws--salon .ws-fuss {
  display: flex; align-items: center; gap: 40px;
  padding: 40px 72px;
  border-top: 1px solid rgba(243, 236, 226, 0.1);
  font-size: 14px; color: rgba(243, 236, 226, 0.6);
}
.ws--salon .ws-fuss .ws-logo { font-size: 24px; color: #f3ece2; }

.ws--salon.ws--phone .ws-nav { gap: 16px; padding: 14px 24px 18px; }
.ws--salon.ws--phone .ws-logo { font-size: 25px; }
.ws--salon.ws--phone .ws-hero { grid-template-columns: 1fr; gap: 40px; padding: 36px 24px 64px; }
.ws--salon.ws--phone .ws-kicker { margin-bottom: 18px; font-size: 11px; }
.ws--salon.ws--phone .ws-h1 { font-size: 76px; }
.ws--salon.ws--phone .ws-lead { margin: 22px 0 26px; font-size: 16px; }
.ws--salon.ws--phone .ws-aktionen { gap: 16px; }
.ws--salon.ws--phone .ws-aktionen .ws-btn { width: 100%; justify-content: center; }
.ws--salon.ws--phone .ws-siegel { left: auto; right: -12px; bottom: -34px; width: 112px; height: 112px; }
.ws--salon.ws--phone .ws-preise { grid-template-columns: 1fr; gap: 24px; padding: 64px 24px; }
.ws--salon.ws--phone .ws-h2 { font-size: 44px; }
.ws--salon.ws--phone .ws-preisliste li { padding: 16px 0; font-size: 16px; }
.ws--salon.ws--phone .ws-preisliste b { font-size: 21px; }
.ws--salon.ws--phone .ws-galerie { gap: 12px; padding: 0 24px 64px; }
.ws--salon.ws--phone figcaption { font-size: 15px; }
.ws--salon.ws--phone .ws-zitat { padding: 64px 24px 72px; }
.ws--salon.ws--phone .ws-zitat span { font-size: 34px; }
.ws--salon.ws--phone .ws-fuss { flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 24px 48px; }

/* ─── Holzwerk Nord ───────────────────────────────────────────────── */
.ws--holz { --orange: #ff5b1f; background: #edeae3; color: #111; }
.ws--holz .ws-nav { display: flex; align-items: center; gap: 44px; padding: 26px 56px; }
.ws--holz .ws-logo {
  display: flex; align-items: center; gap: 14px; margin-right: auto;
  font-size: 19px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.ws--holz .ws-logo i {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: #111; color: var(--orange);
  font-style: normal; font-size: 22px; font-weight: 700;
}
.ws--holz .ws-links { display: flex; gap: 34px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.ws--holz .ws-btn {
  padding: 16px 26px;
  background: #111; color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.ws--holz .ws-btn:hover { background: var(--orange); color: #111; }
.ws--holz .ws-hero { padding: 40px 56px 0; }
.ws--holz .ws-kicker {
  display: block; margin-bottom: 24px;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
}
.ws--holz .ws-h1 {
  display: block; margin-bottom: 44px;
  font-size: 172px; font-weight: 700; line-height: 0.86; letter-spacing: -0.04em; text-transform: uppercase;
}
.ws--holz .ws-h1 em { font-style: normal; color: var(--orange); }
.ws--holz .ws-hero-bild { position: relative; height: 580px; margin: 0 -56px; }
.ws--holz .ws-hero-tag {
  position: absolute; left: 56px; bottom: 44px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 26px;
  background: #111; color: #fff;
  font-size: 15px;
}
.ws--holz .ws-hero-tag b { font-size: 30px; letter-spacing: -0.02em; color: var(--orange); }
.ws--holz .ws-band { overflow: hidden; padding: 22px 0; background: var(--orange); }
/* Zwei gleiche Hälften plus Abstand am Ende: -50 % ist exakt eine Hälfte. */
.ws--holz .ws-band-lauf {
  display: flex; gap: 30px; width: max-content; padding-right: 30px;
  font-size: 40px; font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase;
  animation: wsLauf 24s linear infinite;
}
.ws--holz .ws-band-lauf i { font-style: normal; }
.ws--holz .ws-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 96px 56px; }
.ws--holz .ws-zahlen div { padding-top: 22px; border-top: 3px solid #111; }
.ws--holz .ws-zahlen b { display: block; font-size: 116px; line-height: 0.9; letter-spacing: -0.05em; }
.ws--holz .ws-zahlen span { display: block; margin-top: 12px; font-size: 17px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #555; }
.ws--holz .ws-projekte { padding: 0 56px 104px; }
.ws--holz .ws-projekte-kopf { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; }
.ws--holz .ws-projekte-kopf .ws-kicker { margin: 0; }
.ws--holz .ws-h2 { display: block; font-size: 66px; font-weight: 700; line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; }
.ws--holz .ws-raster { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 310px 310px; gap: 16px; }
.ws--holz .ws-raster figure { position: relative; overflow: hidden; }
.ws--holz .ws-gross { grid-row: span 2; }
.ws--holz .ws-raster img { transition: transform 0.7s var(--ease); }
.ws--holz .ws-raster figure:hover img { transform: scale(1.06); }
.ws--holz figcaption {
  position: absolute; left: 0; bottom: 0;
  display: flex; gap: 12px;
  padding: 14px 18px;
  background: #edeae3;
  font-size: 15px; font-weight: 600;
}
.ws--holz figcaption b { color: var(--orange); }
.ws--holz .ws-cta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 96px 56px;
  background: #111; color: #fff;
}
.ws--holz .ws-cta .ws-h2 { font-size: 92px; }
.ws--holz .ws-cta-seite { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.ws--holz .ws-cta .ws-btn { padding: 22px 34px; background: var(--orange); color: #111; font-size: 17px; }
.ws--holz .ws-cta .ws-btn:hover { background: #fff; }
.ws--holz .ws-status { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.ws--holz .ws-fuss {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #111; color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}
.ws--holz .ws-fuss .ws-logo { margin-right: 0; font-size: 16px; color: #fff; }
.ws--holz .ws-fuss .ws-logo i { width: 32px; height: 32px; font-size: 17px; background: var(--orange); color: #111; }

.ws--holz.ws--phone .ws-nav { padding: 12px 20px 16px; }
.ws--holz.ws--phone .ws-logo { font-size: 15px; }
.ws--holz.ws--phone .ws-logo i { width: 34px; height: 34px; font-size: 18px; }
.ws--holz.ws--phone .ws-hero { padding: 26px 20px 0; }
.ws--holz.ws--phone .ws-kicker { font-size: 11px; }
.ws--holz.ws--phone .ws-h1 { margin-bottom: 26px; font-size: 68px; }
.ws--holz.ws--phone .ws-hero-bild { height: 300px; margin: 0 -20px; }
.ws--holz.ws--phone .ws-hero-tag { left: 20px; bottom: 20px; padding: 14px 16px; font-size: 12px; }
.ws--holz.ws--phone .ws-hero-tag b { font-size: 22px; }
.ws--holz.ws--phone .ws-band { padding: 14px 0; }
.ws--holz.ws--phone .ws-band-lauf { gap: 18px; padding-right: 18px; font-size: 22px; }
.ws--holz.ws--phone .ws-zahlen { grid-template-columns: 1fr; gap: 26px; padding: 56px 20px; }
.ws--holz.ws--phone .ws-zahlen b { font-size: 78px; }
.ws--holz.ws--phone .ws-projekte { padding: 0 20px 64px; }
.ws--holz.ws--phone .ws-projekte-kopf { flex-direction: column; gap: 10px; }
.ws--holz.ws--phone .ws-h2 { font-size: 42px; }
.ws--holz.ws--phone .ws-raster { grid-template-columns: 1fr; grid-template-rows: repeat(3, 240px); gap: 12px; }
.ws--holz.ws--phone .ws-gross { grid-row: auto; }
.ws--holz.ws--phone .ws-cta { flex-direction: column; align-items: flex-start; padding: 60px 20px; }
.ws--holz.ws--phone .ws-cta .ws-h2 { font-size: 48px; }
.ws--holz.ws--phone .ws-cta-seite { align-items: flex-start; width: 100%; }
.ws--holz.ws--phone .ws-cta .ws-btn { width: 100%; justify-content: center; }
.ws--holz.ws--phone .ws-fuss { flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 20px 44px; }

/* ─── Praxis Weitblick ────────────────────────────────────────────── */
.ws--praxis { --salbei: #5e8c74; --salbei-tief: #466e59; background: #f7f9f7; color: #1d2b24; }
.ws--praxis > :not(.ws-blob) { position: relative; z-index: 1; }
.ws--praxis .ws-blob { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.ws--praxis .ws-blob--1 { top: -240px; right: -160px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(138, 201, 170, 0.5), transparent 68%); }
.ws--praxis .ws-blob--2 { top: 820px; left: -260px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(186, 224, 205, 0.7), transparent 68%); }
.ws--praxis .ws-nav { display: flex; align-items: center; gap: 40px; padding: 26px 64px; }
.ws--praxis .ws-logo { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.ws--praxis .ws-logo i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--salbei); color: #fff; }
.ws--praxis .ws-logo i svg { width: 24px; height: 24px; }
.ws--praxis .ws-logo b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.ws--praxis .ws-logo small { display: block; font-size: 13px; color: #6b7d73; }
.ws--praxis .ws-links { display: flex; gap: 34px; font-size: 16px; font-weight: 500; color: #3c4d44; }
.ws--praxis .ws-btn {
  padding: 15px 28px;
  border-radius: 100px;
  background: var(--salbei); color: #fff;
  font-size: 16px; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(70, 110, 89, 0.6);
}
.ws--praxis .ws-btn:hover { background: var(--salbei-tief); }
.ws--praxis .ws-btn--hell { background: #fff; color: #1d2b24; box-shadow: 0 0 0 1px rgba(29, 43, 36, 0.12); cursor: default; }
.ws--praxis .ws-btn--hell:hover { background: #fff; transform: none; }
.ws--praxis .ws-btn--klein { padding: 11px 20px; font-size: 14px; }
.ws--praxis .ws-hero {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
  padding: 52px 64px 96px;
}
.ws--praxis .ws-status {
  margin-bottom: 26px;
  padding: 9px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(29, 43, 36, 0.08);
  font-weight: 500; color: #3c4d44;
}
.ws--praxis .ws-h1 { display: block; font-size: 86px; font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; }
.ws--praxis .ws-h1 em { font-style: normal; color: var(--salbei); background: linear-gradient(transparent 68%, rgba(138, 201, 170, 0.45) 68%); }
.ws--praxis .ws-lead { display: block; max-width: 480px; margin: 26px 0 34px; font-size: 19px; line-height: 1.6; color: #4a5b52; }
.ws--praxis .ws-aktionen { display: flex; gap: 14px; flex-wrap: wrap; }
.ws--praxis .ws-vertrauen { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 36px; font-size: 15px; font-weight: 500; color: #3c4d44; }
.ws--praxis .ws-vertrauen span { display: inline-flex; align-items: center; gap: 8px; }
.ws--praxis .ws-vertrauen svg { width: 18px; height: 18px; color: var(--salbei); }
.ws--praxis .ws-hero-bild { position: relative; }
.ws--praxis .ws-hero-bild img { aspect-ratio: 5 / 4; height: auto; border-radius: 32px; box-shadow: 0 40px 80px -30px rgba(29, 43, 36, 0.35); }
.ws--praxis .ws-glas {
  position: absolute; left: -44px; bottom: -34px;
  display: grid; grid-template-columns: auto auto; column-gap: 22px; align-items: center;
  padding: 20px 22px 20px 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgba(29, 43, 36, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.ws--praxis .ws-glas-lbl { grid-column: 1; font-size: 13px; color: #6b7d73; }
.ws--praxis .ws-glas b { grid-column: 1; font-size: 22px; letter-spacing: -0.02em; }
.ws--praxis .ws-glas .ws-btn { grid-column: 2; grid-row: 1 / span 2; }
.ws--praxis .ws-leistungen { padding: 64px 64px 96px; }
.ws--praxis .ws-kicker { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--salbei); }
.ws--praxis .ws-h2 { display: block; font-size: 54px; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.ws--praxis .ws-karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.ws--praxis .ws-karte {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(29, 43, 36, 0.04), 0 18px 40px -24px rgba(29, 43, 36, 0.25);
  transition: transform 0.3s var(--ease);
}
.ws--praxis .ws-karte:hover { transform: translateY(-4px); }
.ws--praxis .ws-karte-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 8px;
  border-radius: 16px;
  background: rgba(94, 140, 116, 0.12); color: var(--salbei);
}
.ws--praxis .ws-karte-icon svg { width: 26px; height: 26px; }
.ws--praxis .ws-karte b { font-size: 20px; letter-spacing: -0.01em; }
.ws--praxis .ws-karte > span:last-child { font-size: 15px; line-height: 1.55; color: #5a6b62; }
.ws--praxis .ws-raum {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center;
  margin: 0 64px 96px;
  padding: 24px;
  border-radius: 36px;
  background: #e8f1ec;
}
.ws--praxis .ws-raum img { aspect-ratio: 4 / 3; height: auto; border-radius: 24px; }
.ws--praxis .ws-raum .ws-lead { margin-bottom: 0; }
.ws--praxis .ws-fuss {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 64px 40px;
  border-top: 1px solid rgba(29, 43, 36, 0.08);
  font-size: 15px; color: #5a6b62;
}
.ws--praxis .ws-fuss .ws-logo { margin-right: 0; }

.ws--praxis.ws--phone .ws-nav { padding: 12px 20px 14px; }
.ws--praxis.ws--phone .ws-logo i { width: 38px; height: 38px; }
.ws--praxis.ws--phone .ws-logo b { font-size: 16px; }
.ws--praxis.ws--phone .ws-logo small { font-size: 12px; }
.ws--praxis.ws--phone .ws-hero { grid-template-columns: 1fr; gap: 40px; padding: 22px 20px 84px; }
.ws--praxis.ws--phone .ws-status { margin-bottom: 20px; font-size: 13px; }
.ws--praxis.ws--phone .ws-h1 { font-size: 48px; }
.ws--praxis.ws--phone .ws-lead { margin: 18px 0 24px; font-size: 16px; }
.ws--praxis.ws--phone .ws-aktionen .ws-btn { flex: 1; justify-content: center; padding: 14px 16px; font-size: 15px; }
.ws--praxis.ws--phone .ws-vertrauen { gap: 10px 18px; margin-top: 24px; font-size: 13px; }
.ws--praxis.ws--phone .ws-glas { left: 14px; right: 14px; bottom: -44px; padding: 16px 16px 16px 20px; }
.ws--praxis.ws--phone .ws-glas b { font-size: 18px; }
.ws--praxis.ws--phone .ws-leistungen { padding: 34px 20px 60px; }
.ws--praxis.ws--phone .ws-h2 { font-size: 34px; }
.ws--praxis.ws--phone .ws-karten { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.ws--praxis.ws--phone .ws-karte { padding: 22px; border-radius: 22px; }
.ws--praxis.ws--phone .ws-raum { grid-template-columns: 1fr; gap: 20px; margin: 0 20px 60px; padding: 14px 14px 26px; border-radius: 28px; }
.ws--praxis.ws--phone .ws-raum > div { padding: 0 8px; }
.ws--praxis.ws--phone .ws-fuss { flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 20px 44px; }

/* Hinweisleiste und Kundenlogin: die Stellen, die oben als Demo laufen. */
.ws--salon .ws-hinweis {
  padding: 12px 72px;
  background: var(--gold); color: #15120f;
  font-size: 14px; letter-spacing: 0.04em; text-align: center;
}
.ws--salon.ws--phone .ws-hinweis { padding: 10px 24px; font-size: 12px; }
.ws--holz .ws-login { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; box-shadow: inset 0 0 0 2px #111; }
.ws--holz .ws-login svg { width: 18px; height: 18px; }

/* ─── Fahrschule Kurvenreich ──────────────────────────────────────── */
.ws--fahr { --gelb: #ffd400; --nacht: #0d1b3d; background: var(--nacht); color: #fff; }
.ws--fahr .ws-nav { display: flex; align-items: center; gap: 40px; padding: 24px 56px; }
.ws--fahr .ws-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.ws--fahr .ws-logo i {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gelb); color: var(--nacht);
  font-style: normal; font-size: 28px; font-weight: 800;
  transform: skewX(-8deg);
}
.ws--fahr .ws-logo > span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.15; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.ws--fahr .ws-logo b { font-size: 22px; font-weight: 800; font-style: italic; letter-spacing: -0.01em; text-transform: none; color: #fff; }
.ws--fahr .ws-links { display: flex; gap: 32px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.ws--fahr .ws-btn {
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--gelb); color: var(--nacht);
  font-size: 16px; font-weight: 800;
}
.ws--fahr .ws-btn:hover { background: #fff; }
.ws--fahr .ws-btn svg { width: 16px; height: 16px; }
.ws--fahr .ws-btn--klein { padding: 11px 16px; border-radius: 10px; font-size: 14px; }
.ws--fahr .ws-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding: 40px 56px 110px; }
.ws--fahr .ws-kicker { display: block; margin-bottom: 26px; }
.ws--fahr .ws-status { padding: 8px 14px; border-radius: 100px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.ws--fahr .ws-h1 { display: block; font-size: 88px; font-weight: 800; font-style: italic; line-height: 0.92; letter-spacing: -0.045em; }
.ws--fahr .ws-h1 em { color: var(--gelb); }
.ws--fahr .ws-lead { display: block; max-width: 480px; margin: 28px 0 30px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.ws--fahr .ws-eltern {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border: 2px dashed rgba(255, 212, 0, 0.6);
  border-radius: 14px;
  font-size: 15px; font-weight: 600;
  color: var(--gelb);
}
.ws--fahr .ws-eltern svg { width: 18px; height: 18px; }
.ws--fahr .ws-hero-bild { position: relative; }
.ws--fahr .ws-hero-bild img { aspect-ratio: 4 / 3.3; height: auto; border-radius: 28px; transform: rotate(2deg); }
.ws--fahr .ws-kurs {
  position: absolute; left: -48px; bottom: -44px;
  display: flex; flex-direction: column; gap: 6px;
  width: 310px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--gelb); color: var(--nacht);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  transform: rotate(-2deg);
}
.ws--fahr .ws-kurs-lbl { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.ws--fahr .ws-kurs b { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.ws--fahr .ws-kurs-frei { height: 8px; margin: 6px 0 4px; border-radius: 8px; background: rgba(13, 27, 61, 0.18); overflow: hidden; }
.ws--fahr .ws-kurs-frei i { display: block; height: 100%; border-radius: 8px; background: var(--nacht); }
.ws--fahr .ws-kurs-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; }
.ws--fahr .ws-kurs .ws-btn { background: var(--nacht); color: #fff; }
.ws--fahr .ws-h2 { display: block; font-size: 64px; font-weight: 800; font-style: italic; line-height: 0.95; letter-spacing: -0.04em; }
.ws--fahr .ws-klassen { padding: 40px 56px 88px; }
.ws--fahr .ws-klassen-reihe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 32px; }
.ws--fahr .ws-klasse {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 14px; color: rgba(255, 255, 255, 0.7);
}
.ws--fahr .ws-klasse b { font-size: 44px; font-weight: 800; font-style: italic; letter-spacing: -0.03em; color: var(--gelb); }
.ws--fahr .ws-ablauf { padding: 80px 56px; background: var(--gelb); color: var(--nacht); }
.ws--fahr .ws-schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.ws--fahr .ws-schritt { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 3px solid var(--nacht); }
.ws--fahr .ws-schritt i { font-family: var(--font-mono); font-style: normal; font-size: 15px; font-weight: 700; }
.ws--fahr .ws-schritt b { font-size: 30px; font-weight: 800; font-style: italic; letter-spacing: -0.02em; }
.ws--fahr .ws-schritt span { font-size: 17px; line-height: 1.55; }
.ws--fahr .ws-auto { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 96px 56px; }
.ws--fahr .ws-auto img { aspect-ratio: 4 / 3; height: auto; border-radius: 28px; }
.ws--fahr .ws-auto .ws-lead { margin: 22px 0 30px; }
.ws--fahr .ws-fuss {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 56px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px; color: rgba(255, 255, 255, 0.6);
}
.ws--fahr .ws-fuss .ws-logo { margin-right: 0; }

.ws--fahr.ws--phone .ws-nav { padding: 12px 20px 16px; }
.ws--fahr.ws--phone .ws-logo i { width: 40px; height: 40px; font-size: 23px; }
.ws--fahr.ws--phone .ws-logo b { font-size: 19px; }
.ws--fahr.ws--phone .ws-hero { grid-template-columns: 1fr; gap: 36px; padding: 20px 20px 110px; }
.ws--fahr.ws--phone .ws-h1 { font-size: 56px; }
.ws--fahr.ws--phone .ws-lead { margin: 20px 0 22px; font-size: 16px; }
.ws--fahr.ws--phone .ws-eltern { padding: 10px 14px; font-size: 13px; }
.ws--fahr.ws--phone .ws-kurs { left: 14px; right: 14px; bottom: -70px; width: auto; padding: 18px 20px; }
.ws--fahr.ws--phone .ws-kurs b { font-size: 24px; }
.ws--fahr.ws--phone .ws-h2 { font-size: 42px; }
.ws--fahr.ws--phone .ws-klassen { padding: 30px 20px 56px; }
.ws--fahr.ws--phone .ws-klassen-reihe { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.ws--fahr.ws--phone .ws-klasse { padding: 16px; }
.ws--fahr.ws--phone .ws-klasse b { font-size: 32px; }
.ws--fahr.ws--phone .ws-ablauf { padding: 56px 20px; }
.ws--fahr.ws--phone .ws-schritte { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
.ws--fahr.ws--phone .ws-schritt b { font-size: 24px; }
.ws--fahr.ws--phone .ws-schritt span { font-size: 15px; }
.ws--fahr.ws--phone .ws-auto { grid-template-columns: 1fr; gap: 26px; padding: 60px 20px; }
.ws--fahr.ws--phone .ws-auto .ws-btn { width: 100%; justify-content: center; }
.ws--fahr.ws--phone .ws-fuss { flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 20px 44px; }

/* ─── Feuerwehr Am Mühlbach ───────────────────────────────────────── */
.ws--feuer { --rot: #d62828; background: #fff; color: #141414; }
.ws--feuer .ws-ticker { padding: 12px 56px; background: #141414; color: #fff; font-size: 15px; }
.ws--feuer .ws-ticker b {
  display: inline-flex; align-items: center; gap: 8px;
  margin-right: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--rot);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.ws--feuer .ws-ticker svg { width: 15px; height: 15px; }
.ws--feuer .ws-nav { display: flex; align-items: center; gap: 40px; padding: 22px 56px; border-bottom: 4px solid var(--rot); }
.ws--feuer .ws-logo { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.ws--feuer .ws-logo i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: var(--rot); color: #fff; }
.ws--feuer .ws-logo i svg { width: 28px; height: 28px; }
.ws--feuer .ws-logo > span { display: flex; flex-direction: column; line-height: 1.1; }
.ws--feuer .ws-logo small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #666; }
.ws--feuer .ws-logo b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.ws--feuer .ws-links { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 600; }
.ws--feuer .ws-intern { display: inline-flex; align-items: center; gap: 7px; color: #666; }
.ws--feuer .ws-intern svg { width: 16px; height: 16px; }
.ws--feuer .ws-btn { padding: 15px 28px; border-radius: 6px; background: var(--rot); color: #fff; font-size: 16px; font-weight: 700; }
.ws--feuer .ws-btn:hover { background: #141414; }
.ws--feuer .ws-btn svg { width: 17px; height: 17px; }
.ws--feuer .ws-hero { position: relative; height: 560px; }
.ws--feuer .ws-hero > img { position: absolute; inset: 0; }
.ws--feuer .ws-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.15) 70%); }
.ws--feuer .ws-hero-text { position: absolute; z-index: 1; left: 56px; bottom: 64px; color: #fff; }
.ws--feuer .ws-h1 { display: block; font-size: 96px; font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; }
.ws--feuer .ws-h1 em { font-style: normal; color: #ff5a4f; }
.ws--feuer .ws-lead { display: block; max-width: 520px; margin-top: 22px; font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.ws--feuer .ws-jugend { display: grid; grid-template-columns: 1fr 1fr; }
.ws--feuer .ws-jugend-karte { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 72px 56px; background: var(--rot); color: #fff; }
.ws--feuer .ws-kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.ws--feuer .ws-h2 { display: block; font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.ws--feuer .ws-jugend .ws-lead { margin: 0 0 10px; font-size: 18px; color: rgba(255, 255, 255, 0.9); }
.ws--feuer .ws-jugend .ws-btn { background: #fff; color: var(--rot); }
.ws--feuer .ws-jugend .ws-btn:hover { background: #141414; color: #fff; }
.ws--feuer .ws-einsaetze { padding: 88px 56px 40px; }
.ws--feuer .ws-einsatz-liste { margin-top: 30px; border-top: 2px solid #141414; }
.ws--feuer .ws-einsatz { display: grid; grid-template-columns: 170px 110px 1fr; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid #e3e3e3; font-size: 19px; }
.ws--feuer .ws-einsatz-zeit { font-family: var(--font-mono); font-size: 15px; color: #666; }
.ws--feuer .ws-einsatz-zeit b { margin-right: 10px; color: #141414; }
.ws--feuer .ws-einsatz-art { justify-self: start; padding: 4px 10px; border-radius: 4px; background: #fbe4e4; color: var(--rot); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ws--feuer .ws-einsatz-titel { font-weight: 600; }
.ws--feuer .ws-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 56px 56px 96px; }
.ws--feuer .ws-zahlen b { display: block; font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--rot); }
.ws--feuer .ws-zahlen span { font-size: 17px; font-weight: 600; color: #555; }
.ws--feuer .ws-fuss { display: flex; align-items: center; justify-content: space-between; padding: 28px 56px 36px; background: #141414; color: rgba(255, 255, 255, 0.65); font-size: 14px; }
.ws--feuer .ws-fuss .ws-logo { margin-right: 0; }
.ws--feuer .ws-fuss .ws-logo small { color: rgba(255, 255, 255, 0.55); }
.ws--feuer .ws-fuss .ws-logo b { color: #fff; }

.ws--feuer.ws--phone .ws-ticker { padding: 10px 20px; font-size: 13px; }
.ws--feuer.ws--phone .ws-ticker b { display: flex; width: max-content; margin: 0 0 6px; }
.ws--feuer.ws--phone .ws-nav { padding: 12px 20px 14px; }
.ws--feuer.ws--phone .ws-logo i { width: 42px; height: 42px; }
.ws--feuer.ws--phone .ws-logo b { font-size: 20px; }
.ws--feuer.ws--phone .ws-hero { height: 520px; }
.ws--feuer.ws--phone .ws-hero::after { background: linear-gradient(0deg, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.1) 75%); }
.ws--feuer.ws--phone .ws-hero-text { left: 20px; right: 20px; bottom: 36px; }
.ws--feuer.ws--phone .ws-h1 { font-size: 52px; }
.ws--feuer.ws--phone .ws-lead { font-size: 16px; }
.ws--feuer.ws--phone .ws-jugend { grid-template-columns: 1fr; }
.ws--feuer.ws--phone .ws-jugend-karte { padding: 48px 20px; }
.ws--feuer.ws--phone .ws-h2 { font-size: 36px; }
.ws--feuer.ws--phone .ws-jugend-bild { aspect-ratio: 4 / 3; height: auto; }
.ws--feuer.ws--phone .ws-einsaetze { padding: 56px 20px 24px; }
.ws--feuer.ws--phone .ws-einsatz { grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 16px; }
.ws--feuer.ws--phone .ws-einsatz-titel { grid-column: 1 / -1; }
.ws--feuer.ws--phone .ws-zahlen { gap: 14px; padding: 40px 20px 60px; }
.ws--feuer.ws--phone .ws-zahlen b { font-size: 48px; }
.ws--feuer.ws--phone .ws-zahlen span { font-size: 13px; }
.ws--feuer.ws--phone .ws-fuss { flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 20px 44px; }
/* Acht Reiter vor dem mobilen Umbruch: Namen bleiben ganz lesbar,
   die Unterzeile darf umbrechen. */
@media (min-width: 980px) and (max-width: 1180px) {
  .ide-tab { padding: 0.72rem 0.35rem; gap: 0.28rem; }
  .ide-tab-name { font-size: 0.74rem; letter-spacing: -0.02em; }}

@media (max-width: 979px) {

  .ide-body { padding: 1.4rem; }
  /* minmax(0, …) statt 1fr: sonst zieht die breiteste Mockup-Zeile die
     Spalte über den Bildschirmrand und der Rahmen schneidet Text ab. */
  .ide-panel { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }

  /* Mobil: dieselben Reiter, aber wischbar und mitlaufend. Eine Demo ist
     immer offen – der Besucher sieht sofort etwas statt acht Zeilen. */
  .ide-tabs {
    position: sticky;
    top: var(--nav-h);
    z-index: 5;
    scroll-snap-type: x proximity;
  }
  /* Randverblendung als mitlaufendes Element statt Maske – eine Maske würde
     auch den Hintergrund ausblenden, und der Inhalt darunter schiene durch. */
  .ide-tabs::after {
    content: '';
    position: sticky; right: 0;
    flex: 0 0 2.5rem;
    margin-left: -2.5rem;
    background: linear-gradient(90deg, transparent, var(--bg-inset) 80%);
    pointer-events: none;
  }
  .ide-tab {
    flex: 0 0 auto;
    padding: 0.7rem 0.95rem;
    scroll-snap-align: start;
  }
  .ide-tab-sub { white-space: nowrap; }
  .ide-tab:last-of-type { margin-right: 2.5rem; }
  /* Den Zähler zeigt mobil schon der Stepper oben. */
  body.js-loaded .ide-fuss { flex-direction: column; align-items: stretch; padding-top: 0; border-top: 0; }
  .ide-fuss-zahl { display: none; }
  .ide-weiter { margin-top: 1.4rem; padding: 0.85rem 1rem; border-color: var(--border); background: var(--bg-inset); }
  /* Mit JavaScript übernimmt der Stepper die Leiste – ohne bleiben die Reiter. */
  body.js-loaded .ide-tabs { display: none; }
  body.js-loaded .ide .stepper { display: grid; }
  .ide-panel { scroll-margin-top: calc(var(--nav-h) + 4.5rem); }

  .bauen-teil + .bauen-teil { margin-top: 4.5rem; }

  .kosten-fuss { grid-template-columns: 1fr; }}

@media (max-width: 760px) {
  /* Randlos: Am Desktop ist ein Mockup ein Bild *von* einer Anwendung.
     Auf dem Handy, von Kante zu Kante und unter dem Daumen, ist es die
     Anwendung – das Gerät in der Hand wird zu dem Gerät, auf dem sie läuft.
     Das ist die einzige Stelle, an der Mobil dem Desktop überlegen ist. */
  .showcase .ide {
    margin-left: -1.4rem;
    margin-right: -1.4rem;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .ide-body { padding: 1.4rem 0 0; }
  .ide-text { padding: 0 1.4rem; }
  .ide-weiter { width: auto; margin: 1.4rem 1.4rem 1.6rem; }

  /* Bühne randlos, das Smartphone ist hier das Hauptmotiv: groß vorne,
     das Fenster kleiner dahinter. Im Fluss statt absolut – sonst ist das
     Smartphone höher als die Bühne. Die Designs wählt der Stepper.
     Block statt Flex: ein Flex-Kind mit align-items:stretch bleibt in
     manchen Browsern nicht sticky. */
  .wb { display: block; }
  .wb-kopf { display: none; }
  body.js-loaded .wb .stepper {
    --stepper-x: 1.4rem;
    display: grid;
    position: sticky;
    top: var(--nav-h);
    z-index: 5;
    margin-left: calc(var(--stepper-x) * -1);
    margin-right: calc(var(--stepper-x) * -1);
    padding: 0.6rem var(--stepper-x);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
  }
  .wb .stepper-liste { left: var(--stepper-x); right: var(--stepper-x); top: calc(100% - 0.2rem); }
  .ide .stepper { --stepper-x: 1.4rem; }
  .wb-buehne { margin: 1rem -1.4rem 0; border-left: 0; border-right: 0; border-radius: 0; }
  .wb-flaeche { padding: 1.4rem 1rem 1.6rem; }
  .wb-steckbrief { padding: 1.3rem 1.4rem 1.5rem; }
  .wb-desktop { width: 78%; border-radius: 9px; }
  .wb-desktop .browser-demo { display: none; }
  .wb-phone {
    position: relative; right: auto; bottom: auto;
    width: 60%;
    margin: -32% 0 0 auto;
    padding: 6px;
    border-radius: 30px;
  }
  .wb-phone .wb-screen { border-radius: 24px; }
  .wb-insel { top: 11px; height: 14px; }
  .wb-desktop .ws-canvas { zoom: 0.22; }
  .wb-phone .ws-canvas { zoom: 0.52; }
  .ide-preview .browser { border-left: 0; border-right: 0; border-radius: 0; }
  /* Die Browserleiste darf umbrechen, sonst drängt der Markenschalter die
     Adresse aus dem Rahmen. */
  .browser-bar { flex-wrap: wrap; row-gap: 0.4rem; }
  .browser-url { order: -1; flex-basis: 60%; }

  .mk-arrow { transform: rotate(90deg); justify-self: center; }
  /* Quelle über Ziel, Pfeil zeigt nach unten – nebeneinander bliebe für
     zwei Vorgangsnamen kein lesbarer Platz. */
  .mk-sync {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem 0.7rem;
  }
  .mk-sync-pfeil { transform: rotate(90deg); grid-row: 2; justify-self: start; }
  .mk-sync-seite:first-child { grid-column: 1 / -1; }
  .mk-sync-seite:nth-of-type(2) { grid-column: 1; grid-row: 3; }
  .mk-sync [data-rolle="sync-status"] { grid-column: 2; grid-row: 3; align-self: center; }
  /* Auf dem Handy ist eine zweizeilige Schlagzeile besser als eine
     abgeschnittene – am Schreibtisch passt jede in eine Zeile. */
  .mk-post { align-items: flex-start; }
  .mk-post-zeit { width: auto; margin-top: 0.1rem; }
  .mk-post-titel { white-space: normal; }
  .mk-app { grid-template-columns: 1fr; }
  .mk-side { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .mk-side::-webkit-scrollbar { display: none; }
  .mk-side-item { white-space: nowrap; }
  .mk-hide-sm { display: none; }
  /* Eine Spalte: Titel, Spanne, Balken untereinander. Die Achse steht
     dann in derselben vollen Breite über allen Balken. */
  .kosten { --kosten-spalten: minmax(0, 1fr); --kosten-pad: 1.2rem; }
  .kosten-skala { grid-column: 1; }
  .kosten-liste > li { gap: 0.45rem; }
  .kosten-balken { margin-top: 0.3rem; }
  .showcase-hinweis { padding: 0.7rem 1.4rem; }}
