/* Startseite: erscheint beim Betreten. Erklärt das Spiel ausführlich, dann „Dienst fortsetzen“ / „Neuer Dienst“. */
.startmenue { position: fixed; inset: 0; z-index: 9500; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  background: #03060b; color: #d9e3ee; font: 15px/1.6 var(--sans); }
.startmenue.weg { display: none; }
.startmenue a { color: inherit; }
.startmenue h1, .startmenue h2, .startmenue h3 { font-family: var(--sans); color: #fff; }

/* ---------- obere Leiste */
.sm-leiste { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px; padding: 10px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(3, 6, 11, .92), rgba(3, 6, 11, .7)); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(58, 140, 255, .12); }
.sm-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.sm-logo b { display: block; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #fff; line-height: 1.1; }
.sm-logo small { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #6f8197; }
.sm-blau { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #bfe0ff, #2f8cff 45%, #0b3b8f); box-shadow: 0 0 16px #2f8cff, 0 0 40px rgba(47, 140, 255, .5); animation: sm-blitz 1.6s infinite; }
@keyframes sm-blitz { 0%, 40%, 100% { opacity: 1; } 10%, 30% { opacity: .35; } 20% { opacity: 1; } }
.sm-nav { display: flex; gap: 4px; }
.sm-nav a { text-decoration: none; font-size: 13px; letter-spacing: .06em; color: #8ea2b8; padding: 6px 10px; border-radius: 6px; transition: color .15s, background .15s; }
.sm-nav a:hover { color: #fff; background: rgba(58, 140, 255, .1); }
.sm-mini { font: 700 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; cursor: pointer;
  background: linear-gradient(180deg, #e0303d, #9b1520); box-shadow: 0 0 0 1px rgba(255, 90, 100, .4), 0 0 20px rgba(255, 61, 77, .3); }
.sm-mini:disabled { opacity: .4; cursor: wait; }

/* ---------- Bühne mit Bild */
.sm-held { position: relative; min-height: min(100vh, 980px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(16px, 4vw, 48px) 28px; margin-top: -63px; isolation: isolate; scroll-margin-top: 0; }
.sm-held-bild { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: 62% 30%; animation: sm-zoom 30s ease-in-out infinite alternate; }
.sm-held-bild::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3, 6, 11, .96) 0%, rgba(3, 6, 11, .82) 34%, rgba(3, 6, 11, .35) 70%, rgba(3, 6, 11, .55) 100%),
              linear-gradient(0deg, #03060b 0%, rgba(3, 6, 11, 0) 38%, rgba(3, 6, 11, 0) 80%, rgba(3, 6, 11, .8) 100%); }
@keyframes sm-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.sm-held-inhalt { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: 120px; max-width: 1400px; width: 100%; margin: 0 auto; }
.sm-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #9fc9ff; }
.sm-led { width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 10px var(--gruen); }
.sm-held h1 { margin: 0; font-size: clamp(44px, 7.4vw, 104px); line-height: .92; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.sm-held h1::after { content: ''; display: block; width: 84px; height: 4px; margin-top: 22px; border-radius: 2px; background: linear-gradient(90deg, var(--rot), #ff8a2a); box-shadow: 0 0 18px rgba(255, 61, 77, .6); }
.sm-lead { max-width: 560px; margin: 20px 0 26px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; color: #c6d3e0; }
.sm-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.sm-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 230px; padding: 14px 20px; text-align: left; cursor: pointer;
  background: rgba(14, 24, 36, .78); color: #d9e3ee; border: 1px solid rgba(120, 160, 210, .28); border-radius: 10px; backdrop-filter: blur(6px);
  font: inherit; transition: transform .14s, border-color .14s, box-shadow .14s; }
.sm-btn b { font: 700 16px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.sm-btn span { font-size: 13px; color: #8ea2b8; }
.sm-btn:hover:not(:disabled), .sm-btn:focus-visible { transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(58, 215, 255, .18); outline: none; }
.sm-btn.haupt { background: linear-gradient(180deg, #e0303d, #9b1520); border-color: rgba(255, 120, 130, .55); box-shadow: 0 10px 30px rgba(155, 21, 32, .45), 0 0 30px rgba(255, 61, 77, .25); }
.sm-btn.haupt span { color: #ffd9dc; }
.sm-btn:disabled { opacity: .45; cursor: wait; }
.sm-btn[hidden] { display: none; }
.sm-status { margin: 14px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #6f8197; min-height: 1.6em; }

/* Monitor mit Trailer */
.sm-monitor { margin: 0; position: relative; border-radius: 14px; padding: 10px; background: linear-gradient(180deg, #121d2b, #070b11);
  box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(80, 130, 190, .25), 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(47, 140, 255, .12); }
.sm-monitor video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #000 url(../bilder/trailer.jpg) center / cover; }
.sm-monitor figcaption { position: absolute; left: 22px; top: 20px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .75);
  background: rgba(0, 0, 0, .5); padding: 3px 8px; border-radius: 4px; }
.sm-monitor.leer { display: none; }

.sm-zahlen { list-style: none; margin: 48px auto 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1400px; width: 100%;
  border-top: 1px solid rgba(120, 160, 210, .18); }
.sm-zahlen li { padding: 18px 16px 4px 0; display: flex; flex-direction: column; gap: 2px; }
.sm-zahlen b { font-size: clamp(20px, 2.2vw, 30px); color: #fff; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.sm-zahlen span { font-size: 12px; letter-spacing: .06em; color: #7f93a9; }

/* ---------- Abschnitte */
.sm-abschnitt { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 9vh, 110px) clamp(16px, 4vw, 48px) 0; scroll-margin-top: 50px; }
.sm-ueber { margin: 0 0 6px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); }
.sm-abschnitt h2 { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: .01em; }
.sm-einleitung { max-width: 760px; color: #a9b8c8; font-size: 16px; margin: 0 0 34px; }
.sm-abschnitt h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: .02em; }

.sm-schritt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin: 0 0 clamp(36px, 6vh, 64px); }
.sm-schritt:nth-of-type(even) .sm-schritt-bild { order: 2; }
.sm-schritt-bild { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; background-size: cover; background-position: center;
  box-shadow: 0 0 0 1px rgba(120, 160, 210, .2), 0 24px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.sm-schritt-bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3, 6, 11, .6)); }
.sm-schritt-bild span { position: absolute; left: 16px; bottom: 12px; z-index: 1; font: 700 64px/1 var(--sans); color: #fff; opacity: .92; text-shadow: 0 4px 24px rgba(0, 0, 0, .8); }
.sm-schritt-text p { color: #b9c7d6; margin: 0 0 12px; }
.sm-schritt-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sm-schritt-text li { position: relative; padding-left: 18px; color: #a9b8c8; font-size: 14.5px; }
.sm-schritt-text li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.sm-schritt-text li b { color: #e6eef6; }

.sm-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 26px; }
.sm-karte { background: linear-gradient(180deg, rgba(18, 29, 43, .85), rgba(8, 13, 20, .85)); border-radius: 12px; padding: 18px 18px 14px; box-shadow: 0 0 0 1px rgba(120, 160, 210, .14); }
.sm-karte i { font-style: normal; font-size: 22px; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; margin-bottom: 10px;
  background: rgba(58, 140, 255, .1); box-shadow: inset 0 0 0 1px rgba(58, 140, 255, .25); }
.sm-karte h3 { font-size: 16px; } .sm-karte p { margin: 0; font-size: 14px; color: #9fb0c2; }

.sm-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 22px 0 30px; }
.sm-drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 22px; }
.sm-liste { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.sm-liste dt { font-weight: 700; color: #fff; font-size: 14px; } .sm-liste dd { margin: 0; color: #a9b8c8; font-size: 14px; }
.sm-status-liste { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.sm-status-liste li { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 20px; background: rgba(14, 22, 33, .9); box-shadow: 0 0 0 1px rgba(120, 160, 210, .14); font-size: 13.5px; color: #b9c7d6; }
.sm-status-liste i { width: 10px; height: 10px; border-radius: 50%; background: var(--f); box-shadow: 0 0 10px var(--f); }
.sm-status-liste b { color: #fff; font-variant-numeric: tabular-nums; }
.sm-wert { border-radius: 12px; padding: 18px; background: rgba(12, 20, 30, .9); box-shadow: 0 0 0 1px rgba(120, 160, 210, .14); }
.sm-wert h3 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 16px; }
.sm-wert h3 b { color: var(--gelb); font-size: 14px; white-space: nowrap; }
.sm-wert ul { margin: 0; padding-left: 18px; color: #a9b8c8; font-size: 14px; }
.sm-glossar { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; margin: 22px 0 0; }
.sm-g { padding: 14px 16px; border-radius: 10px; background: rgba(12, 20, 30, .9); box-shadow: 0 0 0 1px rgba(120, 160, 210, .12); }
.sm-g dt { font: 700 15px var(--sans); color: var(--cyan); letter-spacing: .04em; margin-bottom: 4px; }
.sm-g dd { margin: 0; color: #a9b8c8; font-size: 14px; }
.sm-tippliste { counter-reset: t; list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.sm-tippliste li { counter-increment: t; position: relative; padding: 16px 16px 16px 62px; border-radius: 12px; background: rgba(12, 20, 30, .9); box-shadow: 0 0 0 1px rgba(120, 160, 210, .12); color: #a9b8c8; font-size: 14.5px; }
.sm-tippliste li::before { content: counter(t); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font: 700 15px var(--sans); color: #fff; background: linear-gradient(180deg, #3d9bff, #1c63c9); box-shadow: 0 0 14px rgba(47, 140, 255, .5); }
.sm-tippliste b { color: #fff; }
.sm-faq { display: grid; gap: 8px; margin-top: 22px; max-width: 900px; }
.sm-faq details { border-radius: 10px; background: rgba(12, 20, 30, .9); box-shadow: 0 0 0 1px rgba(120, 160, 210, .12); padding: 0 18px; }
.sm-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.sm-faq summary::after { content: '+'; color: var(--cyan); font-size: 20px; line-height: 1; } .sm-faq details[open] summary::after { content: '–'; }
.sm-faq summary::-webkit-details-marker { display: none; }
.sm-faq p { margin: 0 0 14px; color: #a9b8c8; }
.sm-fuss { position: relative; margin-top: clamp(60px, 10vh, 120px); padding: 80px clamp(16px, 4vw, 48px) 50px; text-align: center; overflow: hidden; isolation: isolate; }
.sm-fuss::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 6, 11, .75), #03060b), url(../bilder/entlassung.jpg) center 40% / cover; }
.sm-fuss .sm-unten { margin: 0 auto 26px; align-items: center; min-width: 260px; }
.sm-fuss p { margin: 0; font-size: 12.5px; color: #8094aa; line-height: 1.8; }

/* ---------- kleinere Bildschirme */
@media (max-width: 1100px) {
  .sm-leiste { flex-wrap: wrap; row-gap: 6px; }
  .sm-nav { order: 3; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; padding-bottom: 2px; }
  .sm-nav::-webkit-scrollbar { display: none; }
  .sm-nav a { white-space: nowrap; flex: 0 0 auto; background: rgba(58, 140, 255, .08); }
  .sm-held-inhalt { grid-template-columns: 1fr; padding-top: 110px; }
  .sm-monitor { max-width: 720px; }
  .sm-zahlen { grid-template-columns: repeat(3, 1fr); }
  .sm-drei { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .startmenue { font-size: 14px; }
  .sm-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; overflow: visible; margin: 0; }
  .sm-nav a { text-align: center; padding: 6px 4px; font-size: 12.5px; }
  .sm-held-inhalt { padding-top: 150px; }
  .sm-leiste { gap: 10px; }
  .sm-logo b { font-size: 13px; letter-spacing: .1em; }
  .sm-mini { padding: 8px 12px; font-size: 12px; }
  .sm-schritt { grid-template-columns: 1fr; }
  .sm-schritt:nth-of-type(even) .sm-schritt-bild { order: 0; }
  .sm-zwei { grid-template-columns: 1fr; }
  .sm-zahlen { grid-template-columns: 1fr 1fr; }
  .sm-btn { min-width: 0; flex: 1 1 100%; }
  .sm-held-bild { background-position: 70% 30%; }
  .sm-held-bild::after { background: linear-gradient(0deg, #03060b 0%, rgba(3, 6, 11, .85) 45%, rgba(3, 6, 11, .55) 100%); }
  .sm-logo small { display: none; }
  .sm-glossar, .sm-tippliste { grid-template-columns: 1fr; }
  .sm-liste { grid-template-columns: 1fr; gap: 0 0; } .sm-liste dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .sm-held-bild, .sm-blau { animation: none; } .startmenue { scroll-behavior: auto; } }

.sm-ton { position: absolute; right: 20px; top: 18px; font: inherit; font-size: 11px; letter-spacing: .08em; color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.sm-ton:hover { background: rgba(0, 0, 0, .8); border-color: rgba(255, 255, 255, .5); }
.sm-monitor.leer .sm-ton { display: none; }
@media (max-width: 600px) { .sm-monitor figcaption { display: none; } .sm-ton { top: 14px; right: 14px; } }

/* ---------- Spielerkonto */
.sm-konto { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px; max-width: 620px; padding: 12px 14px; border-radius: 12px;
  background: rgba(8, 14, 22, .72); box-shadow: 0 0 0 1px rgba(120, 160, 210, .18); backdrop-filter: blur(6px); }
.sm-konto:empty { display: none; }
.sm-konto > i { font-style: normal; font-size: 22px; color: #9fc9ff; width: 30px; text-align: center; }
.sm-konto.an > i { color: var(--gruen); text-shadow: 0 0 12px rgba(46, 230, 138, .5); }
.sm-konto > div { flex: 1 1 240px; min-width: 0; }
.sm-konto b { display: block; color: #fff; font-size: 14px; letter-spacing: .02em; }
.sm-konto b span { color: var(--cyan); }
.sm-konto small { display: block; font-size: 12.5px; color: #8ea2b8; line-height: 1.45; }
.sm-konto button { font: 600 13px var(--sans); color: #fff; background: rgba(47, 140, 255, .16); border: 1px solid rgba(110, 170, 255, .45); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.sm-konto button:hover:not(:disabled), .sm-konto button:focus-visible { background: rgba(47, 140, 255, .32); border-color: var(--cyan); outline: none; }
.sm-konto button.leise { background: transparent; border-color: transparent; color: #8ea2b8; padding-left: 6px; padding-right: 6px; }
.sm-konto button.leise:hover { color: #ff8a93; background: transparent; }
.sm-konto button:disabled { opacity: .45; cursor: default; }

.sm-dialog { width: min(440px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 16px; color: #d9e3ee; background: linear-gradient(180deg, #111b28, #080d14);
  box-shadow: 0 0 0 1px rgba(120, 160, 210, .22), 0 30px 80px rgba(0, 0, 0, .7); font: 15px/1.55 var(--sans); }
.sm-dialog::backdrop { background: rgba(2, 5, 9, .72); backdrop-filter: blur(3px); }
.sm-dialog form { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 24px; }
.sm-dialog h2 { margin: 0; color: #fff; font-size: 22px; letter-spacing: .02em; }
.sm-dialog h2::after { content: ''; display: block; width: 52px; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--cyan); }
.sm-dialog form.gefahr h2::after { background: var(--rot); }
.sm-dialog p { margin: 0; font-size: 13.5px; color: #9fb0c3; }
.sm-dialog label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8ea2b8; }
.sm-dialog label[hidden] { display: none; }
.sm-dialog input { font: 16px var(--sans); color: #fff; background: #060a10; border: 1px solid rgba(120, 160, 210, .3); border-radius: 8px; padding: 10px 12px; text-transform: none; letter-spacing: 0; }
.sm-dialog input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(58, 215, 255, .18); }
.sm-dialog .sm-dfehler { color: #ff8a93; min-height: 1.2em; font-size: 13.5px; }
.sm-dialog .sm-btn { min-width: 0; align-items: center; font: 700 15px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.sm-dialog form:not(.gefahr) .sm-btn.haupt { background: linear-gradient(180deg, #3d9bff, #1c63c9); border-color: rgba(140, 190, 255, .6); box-shadow: 0 10px 30px rgba(28, 99, 201, .4); }
.sm-dzu { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #8ea2b8; font-size: 16px; cursor: pointer; }
.sm-dzu:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sm-punkte { margin: 10px 0 14px; padding-left: 20px; color: #b9c7d6; }
.sm-punkte li { margin: 5px 0; }
.sm-abschnitt a, .sm-fuss a { color: var(--cyan); }
