/* Blaumann Prototyp – Rahmen: Kopfzeile, Bühne, Geräterahmen, Drehbuch, Startseite (E49) */

#app { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }

/* ---------- Kopfzeile ---------- */
.sh-kopf { flex: none; min-height: 56px; background: var(--blau-900); color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 14px; position: relative; z-index: 60; }
.sh-marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.sh-marke__wort { font-family: var(--schrift-schmal); font-weight: 700; font-size: 21px; letter-spacing: .07em; text-transform: uppercase; }
.sh-marke__zusatz { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gelb); border: 1px solid rgba(242,183,5,.5); border-radius: 4px; padding: 1px 6px; }
.sh-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.sh-nav::-webkit-scrollbar { display: none; }
.sh-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 8px; color: rgba(255,255,255,.72); font-weight: 600; font-size: 14px; white-space: nowrap; }
.sh-tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.sh-tab.aktiv { background: rgba(255,255,255,.13); color: #fff; box-shadow: inset 0 -3px 0 var(--gelb); }
.sh-tab__nr:empty { display: none; }
.sh-tab__nr { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 11px; font-weight: 700; }
.sh-tab.aktiv .sh-tab__nr { background: var(--gelb); color: var(--text); }
.sh-tab__zusatz { font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.5); }
.sh-demo { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.sh-uhr { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; background: rgba(255,255,255,.1); border-radius: 8px; padding: 7px 10px; white-space: nowrap; }
.sh-uhr .ic { color: var(--gelb); }
.sh-knopf { display: inline-flex; align-items: center; gap: 6px; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 6px 10px; font-weight: 600; font-size: 13px; white-space: nowrap; min-height: 34px; }
.sh-knopf:hover { background: rgba(255,255,255,.1); }
.sh-knopf.aktiv { background: rgba(255,255,255,.16); }
.sh-knopf.warn { background: var(--warn); border-color: var(--warn); }

/* ---------- Bühne ---------- */
.sh-haupt { flex: 1; display: flex; min-height: 0; position: relative; }
.sh-buehne { flex: 1; min-width: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 22px; background: radial-gradient(ellipse at 50% 30%, #EEF2F6 0%, #DFE5EC 100%); }
.sh-buehne--start { display: block; padding: 0; background: var(--flaeche); }
.sh-buehne--buero { padding: 14px; align-items: stretch; }

/* ---------- Geräterahmen ---------- */
.geraet-huelle { position: relative; flex: none; }
.geraet { position: absolute; top: 0; left: 0; transform-origin: 0 0; background: #11161E; box-shadow: 0 0 0 2px #2b3340, 0 30px 70px rgba(15, 25, 45, .35); }
.geraet__bildschirm { position: relative; overflow: hidden; background: #fff; }
.geraet--handy { width: 418px; height: 872px; padding: 14px; border-radius: 58px; }
.geraet--handy .geraet__bildschirm { width: 390px; height: 844px; border-radius: 44px; }
.geraet__kamera { position: absolute; top: 25px; left: 50%; width: 112px; height: 32px; border-radius: 18px; background: #000; transform: translateX(-50%); z-index: 90; }
.geraet--tablet { width: 1220px; height: 860px; padding: 20px; border-radius: 38px; }
.geraet--tablet .geraet__bildschirm { width: 1180px; height: 820px; border-radius: 18px; }

/* Vollbild auf echten Geräten */
body.vollbild .sh-buehne { padding: 0; background: #fff; align-items: stretch; }
body.vollbild .geraet-huelle { width: 100% !important; height: 100% !important; }
body.vollbild .geraet { position: static; transform: none !important; width: 100%; height: 100%; padding: 0; border-radius: 0; box-shadow: none; background: none; }
body.vollbild .geraet__bildschirm { width: 100%; height: 100%; border-radius: 0; }
body.vollbild .geraet__kamera { display: none; }

/* Browserfenster für das Büro */
.browser { display: flex; flex-direction: column; width: 100%; height: 100%; max-width: 1720px; margin: 0 auto; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #C9D1DC; box-shadow: 0 18px 50px rgba(15,25,45,.18); }
.browser__leiste { flex: none; height: 38px; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #ECEFF3; border-bottom: 1px solid #D5DBE3; }
.browser__punkte { display: flex; gap: 7px; }
.browser__punkte i { width: 11px; height: 11px; border-radius: 50%; background: #C9D0DA; }
.browser__adresse { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 8px; padding: 4px 12px; font-size: 13px; color: var(--text-3); }
.browser__bildschirm { flex: 1; min-height: 0; position: relative; overflow: hidden; }
body.vollbild.geraet-buero .browser { border: 0; border-radius: 0; box-shadow: none; max-width: none; }
body.vollbild.geraet-buero .browser__leiste { display: none; }
body.vollbild.geraet-buero .sh-buehne { padding: 0; }

/* ---------- Drehbuch ---------- */
.sh-panel { display: none; width: 340px; flex: none; background: #fff; border-left: 1px solid var(--linie); overflow-y: auto; padding: 16px 20px 24px; }
.sh-panel.offen { display: block; }
.geraet-buero .sh-panel { position: absolute; top: 0; right: 0; bottom: 0; z-index: 70; box-shadow: -12px 0 30px rgba(15,25,45,.16); }
.panel__kopf { display: flex; align-items: center; justify-content: space-between; }
.panel__etikett { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8C6A00; background: var(--gelb-100); padding: 3px 8px; border-radius: 4px; }
.sh-panel h2 { font-family: var(--schrift-schmal); font-size: 23px; margin: 12px 0 8px; }
.sh-panel h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin: 18px 0 6px; }
.panel__wer { font-size: 14px; color: var(--text-2); background: var(--flaeche); border-radius: 10px; padding: 10px 12px; margin: 0; }
.panel__schritte { padding-left: 20px; margin: 0; }
.panel__schritte li { font-size: 14px; margin: 9px 0; line-height: 1.45; padding-left: 2px; }
.panel__schritte li::marker { font-weight: 700; color: var(--blau); }
.panel__zusammen { padding-left: 18px; margin: 0; }
.panel__zusammen li { font-size: 13.5px; margin: 7px 0; color: var(--text-2); line-height: 1.45; }
.panel__fuss { margin-top: 20px; border-top: 1px solid var(--linie-2); padding-top: 12px; }
.schalter-zeile { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 7px 0; cursor: pointer; color: var(--text-2); }
.schalter-zeile input { width: 17px; height: 17px; accent-color: var(--blau); }
.panel__hinweis { font-size: 12.5px; color: var(--text-3); display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 0; }

/* ---------- Startseite ---------- */
.startseite { height: 100%; overflow-y: auto; }
.start { max-width: 1260px; margin: 0 auto; padding: 30px 24px 56px; }
.start__held { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.start__held-inhalt { background: var(--blau); color: #fff; border-radius: 22px; padding: 34px 36px; position: relative; overflow: hidden; }
.start__held-inhalt::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 28px solid rgba(255,255,255,.05); }
.start__marke { display: flex; align-items: center; gap: 14px; font-family: var(--schrift-schmal); font-weight: 700; font-size: 34px; letter-spacing: .07em; text-transform: uppercase; }
.start__marke .logo rect:first-child { fill: #fff; }
.start__marke .logo path:first-of-type { fill: var(--blau); }
.start__marke .logo path:nth-of-type(2) { fill: #fff; }
.start h1 { font-family: var(--schrift-schmal); font-weight: 700; font-size: 40px; line-height: 1.08; margin: 20px 0 12px; max-width: 640px; }
.start__held-inhalt p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 640px; margin: 0; }
.start__grundsatz { display: flex; gap: 10px; align-items: flex-start; background: rgba(242,183,5,.14); border: 1px solid rgba(242,183,5,.4); color: #FFE7A0; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-top: 20px; max-width: 640px; }
.start__grundsatz b { color: #fff; }
.start__betrieb { background: #fff; border-radius: 22px; padding: 26px; border: 1px solid var(--linie); }
.start__betrieb small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.start__betrieb > b { display: block; font-family: var(--schrift-schmal); font-size: 24px; margin: 8px 0 2px; line-height: 1.15; }
.start__betrieb > span { color: var(--text-2); }
.start__betrieb ul { list-style: none; padding: 0; margin: 18px 0 0; }
.start__betrieb li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 10px 0; color: var(--text-2); }
.start__betrieb li .ic { color: var(--blau); margin-top: 1px; }
.start__karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0; }
.start__karte { background: #fff; border: 1px solid var(--linie); border-radius: 18px; padding: 20px; text-align: left; display: flex; flex-direction: column; gap: 10px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.start__karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: #9FB0CB; }
.start__karte-kopf { display: flex; align-items: center; gap: 10px; color: var(--blau); }
.start__karte-kopf small { margin-left: auto; font-size: 12px; color: var(--text-3); text-align: right; font-weight: 600; }
.start__nr { width: 30px; height: 30px; border-radius: 50%; background: var(--gelb); color: var(--text); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.start__karte > b { font-family: var(--schrift-schmal); font-size: 22px; line-height: 1.15; }
.start__karte-text { font-size: 14px; color: var(--text-2); line-height: 1.5; flex: 1; }
.start__karte-fuss { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.start__karte-fuss > .e-ref { white-space: normal; }
.start__los { color: var(--blau); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.start__zwei { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.start__box { background: #fff; border: 1px solid var(--linie); border-radius: 18px; padding: 22px 24px; }
.start__box h2 { display: flex; gap: 8px; align-items: center; font-family: var(--schrift-schmal); font-size: 22px; margin: 0 0 10px; }
.start__box h2 .ic { color: var(--blau); }
.start__drehbuch { padding-left: 22px; margin: 0; }
.start__drehbuch li { margin: 9px 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.start__drehbuch li::marker { font-weight: 700; color: var(--blau); }
.start__drehbuch b { color: var(--text); }
.start__hilfe { list-style: none; padding: 0; margin: 0; }
.start__hilfe li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 11px 0; color: var(--text-2); line-height: 1.45; }
.start__hilfe .ic { color: var(--blau); margin-top: 1px; }
.start__hilfe b { color: var(--text); }
.start__klein { font-size: 13px; color: var(--text-3); margin: 14px 0 0; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 1600px) { .sh-tab__zusatz { display: none; } }
@media (max-width: 1500px) { .sh-marke__zusatz { display: none; } .sh-knopf .nur-breit { display: none; } }
@media (max-width: 1180px) {
  .start__karten { grid-template-columns: repeat(2, 1fr); }
  .start__held, .start__zwei { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .sh-kopf { flex-wrap: wrap; padding: 8px 10px; gap: 8px; }
  .sh-nav { order: 3; width: 100%; }
  .sh-demo { margin-left: auto; }
  .nur-breit { display: none; }
  .sh-panel { position: absolute; top: 0; right: 0; bottom: 0; z-index: 70; width: min(340px, 92vw); box-shadow: -12px 0 30px rgba(15,25,45,.16); }
}
@media (max-width: 640px) {
  .sh-marke__zusatz, .sh-marke__wort { display: none; }
  .sh-uhr { padding: 6px 8px; font-size: 13px; }
  .sh-knopf { padding: 5px 8px; }
  .sh-tab { padding: 7px 9px; font-size: 13px; }
  .start { padding: 16px 12px 40px; }
  .start__karten { grid-template-columns: 1fr; }
  .start h1 { font-size: 30px; }
  .start__held-inhalt { padding: 24px; }
}
@media (max-width: 480px) {
  .sh-uhr__tag, .nur-mittel { display: none; }
  .sh-demo { gap: 4px; }
}
