/* Gemeinsame Bausteine aller Entwürfe v2: Grundlagen, Entwurfsbalken, Platzhalter,
   Screen-Rahmen, Schalter DE | CH und Tour. Farben, Schrift und Raster setzt jede
   Variante in ihrer eigenen Datei. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; color: #0F2B46; padding: 12px 16px; }

/* Entwurfsbalken: nur zum Vergleichen, fällt vor Livegang weg. */
.draftbar { background: #0B1F33; color: #fff; font: 600 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: center; padding: 0 16px; min-height: 48px; text-align: center; }
.draftbar a { color: #fff; display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; }

/* Zeile zur einfachen Seite, über der Kopfzeile. */
.plain { text-align: center; font-size: 14px; }
.plain a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; }

/* Schalter DE | CH */
.land { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; flex: none; }
.land a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px;
  font-weight: 700; font-size: 14px; text-decoration: none; letter-spacing: .04em; }
.land a[aria-current="true"] { background: currentColor; }
.land a[aria-current="true"] span { color: var(--land-on, #fff); }

/* Platzhalter mit Katzenbild (Stan, 2026-10-28) */
.ph { position: relative; margin: 0; overflow: hidden; background: #E5E7EB; border-radius: inherit; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(11, 31, 51, .88); color: #fff;
  font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 8px 10px; border-radius: 6px; }
.pl { font: 600 .8em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: #FFF1E6; color: #9A3412;
  padding: 2px 6px; border-radius: 4px; }

/* Echte Screens */
.shot { margin: 0; }
.shot img { width: 100%; }
.shot figcaption { font-size: 13px; margin-top: 8px; }
.shot-web img { border-radius: 10px; border: 1px solid rgba(15, 43, 70, .14); box-shadow: 0 12px 32px rgba(15, 43, 70, .12); }
.shot-phone { max-width: 300px; }
.shot-phone .frame { border: 8px solid #0B1F33; border-radius: 36px; overflow: hidden; background: #0B1F33;
  box-shadow: 0 16px 40px rgba(15, 43, 70, .22); }
.shot-phone .frame img { border-radius: 28px; }
.shot-pdf img { border: 1px solid rgba(15, 43, 70, .14); border-radius: 4px; background: #fff; box-shadow: 0 8px 24px rgba(15, 43, 70, .12); }

/* Tour: ohne JavaScript stehen alle Schritte untereinander. */
.tour-nav { display: none; }
.tour.is-live .tour-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tour.is-live .tour-step:not(.is-on) { display: none; }
.tour-nav button { min-height: 48px; padding: 0 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.tour-pager { display: none; }
.tour.is-live .tour-pager { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.tour-pager button { min-height: 48px; min-width: 48px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; border-radius: 8px; }

/* Login-Hinweis auf die App: nur auf schmalen Bildschirmen */
.nur-mobil { display: none; }
@media (max-width: 700px) { .nur-mobil { display: block; } }
