:root {
  --bg: #0b0d10;
  --surface: #14181e;
  --ink: #e8eaed;
  --muted: #9aa3af;
  --line: #262b33;
  --accent: #5b9cff;
  --font: "Manrope", "Segoe UI", sans-serif;
  --container: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.92);
}

.header-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 0.12rem;
}

.brand-email {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.home-hero__email {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

.setup-steps {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: none;
}

.setup-steps li {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem 1.1rem;
}

.setup-steps h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.setup-steps p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.ticket-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ticket-list > li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: rgba(0, 0, 0, 0.18);
}

.ticket-list > li.hint {
  border: 0;
  background: transparent;
  padding: 0;
}

.ticket-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.92rem;
}

.ticket-meta {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.ticket-body {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: pre-wrap;
}

.ticket-reply {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: #cfe6ff;
  white-space: pre-wrap;
}

.ticket-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.ticket-badge.is-open {
  background: rgba(224, 164, 90, 0.2);
  color: #e0a45a;
}

.ticket-badge.is-done {
  background: rgba(94, 203, 107, 0.18);
  color: #5ecb6b;
}

.ticket-badge.is-progress {
  background: rgba(47, 111, 237, 0.22);
  color: #9ec5e3;
}

.ticket-head .ticket-del {
  margin-left: auto;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
}

.app-version-box {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.app-version-box p {
  margin: 0 0 0.35rem;
}

.setup-smartscreen {
  border-color: rgba(120, 180, 255, 0.35);
  background: linear-gradient(165deg, rgba(20, 40, 70, 0.55), var(--surface));
}

.setup-ss-list {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.setup-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.setup-guide-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #0a1018;
}

.setup-guide-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.15s ease;
}

.setup-guide-card a:hover img {
  opacity: 0.88;
}

.setup-guide-card figcaption {
  padding: 0.55rem 0.7rem 0.7rem;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 900px) {
  .setup-guide-grid {
    grid-template-columns: 1fr;
  }
}

.flights-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.flights-filters input[type="search"] {
  min-width: 7.5rem;
  max-width: 11rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.stats-big {
  margin: 0.35rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Live-Karte / Live-Tafel / Roadmap — nur nach Login */
.header-under-brand {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  padding: 0.85rem 0 1rem;
  border-top: 1px solid var(--line);
}

body.is-logged-in .header-under-brand {
  display: flex;
}

.status-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.status-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #8899aa;
  flex: 0 0 auto;
}

.status-dot.is-ok {
  background: #3dcf7a;
}

.status-dot.is-warn {
  background: #e6b84d;
}

.status-dot.is-fail {
  background: #e85d5d;
}

.status-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
}

.status-meta {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.header-under-brand .header-nav-link {
  min-height: 2.2rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

/* Sprachen ganz rechts aussen */
.header-actions .header-auth-links {
  order: 1;
}
.header-actions .account-menu-btn,
.header-actions a.account-menu-btn {
  order: 2;
}
.header-actions .lang-switch {
  order: 3;
  margin-left: 0.15rem;
}

/* Oben rechts: System (öffentlich, nicht Kundenkonto) */
.header-auth-links {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
}

.header-nav-link:hover,
.header-nav-link.is-active {
  color: var(--ink);
  background: #1c2430;
}

.page-live .live-map {
  height: min(72vh, 620px);
}

.account-menu {
  position: relative;
}

a.account-menu-btn,
.account-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.86rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.registered-customers {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid #2a313c;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.registered-customers-label {
  color: var(--muted);
}

.registered-customers .account-user-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.22);
  color: #9ec5e3;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 720px) {
  .registered-customers-label {
    display: none;
  }
}

a.account-menu-btn:hover,
.account-menu-btn:hover,
a.account-menu-btn.is-active {
  border-color: #3a4a5e;
  background: #1c2430;
}

.account-menu-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 11.5rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 40;
}

.account-menu-panel[hidden] {
  display: none;
}

.account-menu-panel button {
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

.account-menu-panel button:hover {
  color: var(--ink);
  background: #1c2430;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  min-height: 2rem;
  min-width: 2.4rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: #1c2430;
  color: var(--ink);
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 1rem 0 0;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}

.tab-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.tab-btn:hover {
  color: var(--ink);
}

main {
  flex: 1;
  padding: 0 0 3rem;
}

.panel {
  display: none;
  padding: 2rem 0 0;
  min-height: 40vh;
}

.panel.is-active {
  display: block;
}

.panel h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.panel p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.panel > p {
  margin-bottom: 1.35rem;
}

.info-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

@media (min-width: 800px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card,
.info-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.15rem 1.2rem;
}

.info-card h2,
.info-block h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.info-card p,
.info-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: none;
}

.info-block {
  margin-top: 0.85rem;
}

.info-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.info-list li {
  position: relative;
  padding-left: 0.95rem;
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* hidden muss CSS-display schlagen (.auth-stage { display:grid } …) */
[hidden],
.auth-stage[hidden],
.portal-stage[hidden],
#account-gate[hidden],
#account-portal[hidden],
#page-content[hidden] {
  display: none !important;
}

body.is-logged-in #account-gate {
  display: none !important;
}

body:not(.is-logged-in) #account-portal,
body:not(.is-logged-in) #page-content {
  display: none !important;
}

/* Session-Check: Login-Gate nie blitzen; Modul-Nav bleibt sichtbar */
body.auth-checking #account-gate {
  display: none !important;
  visibility: hidden !important;
}

body.auth-checking:not(.is-logged-in) #account-portal,
body.auth-checking:not(.is-logged-in) #page-content {
  display: none !important;
}

body.auth-checking .header-under-brand {
  display: flex;
}

html.ca-likely-in body.auth-checking #account-portal,
html.ca-likely-in body.auth-checking #page-content {
  display: block !important;
  visibility: visible !important;
}

/* Account auth — centered */
.panel-account {
  min-height: 58vh;
}

.auth-stage {
  display: grid;
  place-items: center;
  padding: 1.5rem 0 2rem;
}

.auth-card {
  width: min(100%, 420px);
  background: linear-gradient(180deg, #171c24 0%, #12161c 100%);
  border: 1px solid #2a313c;
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.45rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.auth-card-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.auth-card-brand img {
  border-radius: 10px;
}

.auth-card-brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.auth-card-brand span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.auth-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  text-align: center;
}

.auth-lead {
  margin: 0 0 1.15rem !important;
  text-align: center;
  max-width: none !important;
  font-size: 0.92rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-bottom: 1.15rem;
  padding: 0.28rem;
  background: #0b0d10;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.auth-tab {
  border: 0;
  background: transparent;
  min-height: 2.45rem;
  border-radius: 9px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.auth-tab.is-active {
  background: #1c2430;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #314055;
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.auth-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #323a46;
  border-radius: 10px;
  background: #0d1015;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.auth-form input::placeholder {
  color: #66707f;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 156, 255, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #081018;
  font-weight: 750;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #3a4352;
  filter: none;
  background: rgba(255, 255, 255, 0.03);
}

.auth-error {
  margin: 0.35rem 0 0;
  color: #ff8e8e;
  font-size: 0.88rem;
  text-align: center;
}

.hint {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  max-width: none;
}

.hint.center {
  text-align: center;
}

.auth-remember {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  margin: 0.05rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-form label.auth-remember {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.auth-remember input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-height: 14px;
  min-width: 14px;
  margin: 0;
  padding: 0;
  border-radius: 3px;
  accent-color: var(--accent);
  flex: 0 0 14px;
}

button.info-card.portal-jump {
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
}

button.info-card.portal-jump:hover {
  border-color: var(--accent);
}

/* Portal */
.portal-stage {
  padding: 0.5rem 0 1rem;
}

.portal-shell {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .portal-shell {
    grid-template-columns: 250px 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}

.portal-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
}

.portal-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.portal-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(91, 156, 255, 0.16);
  color: var(--accent);
  font-weight: 800;
  flex: 0 0 auto;
  overflow: hidden;
}

.portal-avatar.has-image {
  background: #1a2230;
  padding: 0;
}

.portal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-avatar-lg {
  width: 72px;
  height: 72px;
  font-size: 1.35rem;
}

.avatar-upload {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.avatar-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.avatar-upload-actions .hint,
.avatar-upload-actions .auth-error {
  flex: 1 1 100%;
  margin: 0.15rem 0 0;
}

.avatar-file-btn {
  cursor: pointer;
}

/* —— Admin Kontrollzentrum —— */
.admin-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #2a313c;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(47, 111, 237, 0.18), transparent 55%),
    linear-gradient(180deg, #171c24 0%, #12161c 100%);
}

.admin-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8eb6e8;
  font-weight: 700;
}

.admin-hero h1 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

@media (max-width: 800px) {
  .admin-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-kpi {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-kpi span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.admin-kpi strong {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

/* Admin: volle Breite im Portal */
#account-portal.is-admin-view .portal-shell {
  grid-template-columns: 210px minmax(0, 1fr);
}

#account-portal.is-admin-view .portal-nav .portal-link[data-portal-view^="admin"] {
  border-left: 2px solid rgba(91, 156, 255, 0.45);
  padding-left: 0.65rem;
}

#account-portal.is-admin-view .portal-main {
  min-width: 0;
  width: 100%;
  max-width: none;
}

@media (max-width: 900px) {
  #account-portal.is-admin-view .portal-shell {
    grid-template-columns: 1fr;
  }
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 980px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #161b22 0%, #12161c 100%);
  padding: 1rem 1.1rem 1.1rem;
  min-width: 0;
}

.admin-card-wide {
  grid-column: 1 / -1;
}

.admin-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.admin-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.admin-toolbar {
  margin-bottom: 0.75rem;
}

.admin-toolbar input {
  width: 100%;
  background: #0f141c;
  border: 1px solid #2a313c;
  border-radius: 10px;
  color: inherit;
  padding: 0.65rem 0.85rem;
}

.admin-user-list,
.admin-ticket-list {
  display: grid;
  gap: 0.65rem;
  max-height: none;
  overflow: visible;
}

.admin-user-card,
.admin-ticket-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid #2a313c;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

@media (max-width: 720px) {
  .admin-user-card,
  .admin-ticket-card {
    grid-template-columns: 1fr;
  }
}

.admin-user-card .admin-user-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.admin-user-card .admin-user-top strong {
  font-size: 1rem;
}

.admin-user-meta {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  word-break: break-word;
}

.admin-ticket-card {
  grid-template-columns: 1fr;
}

.admin-ticket-head {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.admin-ticket-head:hover strong {
  color: #9ec5e3;
}

.admin-ticket-body {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #2a313c;
}

.admin-ticket-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-top: 0.75rem;
}

.admin-ticket-toolbar select {
  margin-left: 0.35rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #323a46;
  background: #0d1015;
  color: inherit;
}

.admin-ticket-card textarea {
  width: 100%;
  min-height: 96px;
  margin-top: 0.5rem;
  padding: 0.65rem;
  border-radius: 10px;
  border: 1px solid #323a46;
  background: #0d1015;
  color: inherit;
  resize: vertical;
}

.admin-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-badge.is-active {
  background: rgba(52, 168, 110, 0.18);
  color: #7ddea8;
}

.admin-badge.is-disabled {
  background: rgba(180, 90, 90, 0.2);
  color: #f0a0a0;
}

.admin-badge.is-admin {
  background: rgba(91, 156, 255, 0.18);
  color: #9ec5e3;
  margin-left: 0.35rem;
}

.admin-badge.is-online {
  background: rgba(52, 168, 110, 0.22);
  color: #7ddea8;
}

.admin-badge.is-offline {
  background: rgba(120, 130, 145, 0.18);
  color: #9aa6b4;
}

.portal-online-badge {
  display: inline-flex;
  margin-top: 0.25rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: fit-content;
}

.portal-online-badge.is-online {
  background: rgba(52, 168, 110, 0.22);
  color: #7ddea8;
}

.portal-online-badge.is-offline {
  background: rgba(120, 130, 145, 0.18);
  color: #9aa6b4;
}

#profile-online-status.is-online-text {
  color: #7ddea8;
  font-weight: 700;
}

#admin-mail-meta.is-mail-ok {
  color: #7ddea8;
}

#admin-mail-meta.is-mail-bad {
  color: #f0a0a0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-actions .btn {
  padding: 0.3rem 0.55rem;
  font-size: 0.78rem;
}

.btn-danger-ghost {
  color: #f0a0a0 !important;
  border-color: rgba(180, 90, 90, 0.45) !important;
}

.btn-danger-ghost:hover {
  background: rgba(180, 90, 90, 0.15) !important;
}

.admin-live-list,
.admin-dl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-height: 320px;
  overflow: auto;
}

.admin-live-list li,
.admin-dl-list li {
  padding: 0.55rem 0.65rem;
  border: 1px solid #232a34;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.86rem;
}

.admin-live-list strong {
  color: #cfe0f5;
}

.portal-user strong {
  display: block;
  font-size: 0.98rem;
}

.portal-user span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-all;
}

.portal-nav {
  display: grid;
  gap: 0.25rem;
}

.portal-link {
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

.portal-link:hover,
.portal-link.is-active {
  color: var(--ink);
  background: #1c2430;
}

.portal-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem 1.3rem;
  min-height: 320px;
}

.portal-view {
  display: none;
}

.portal-view.is-active {
  display: block;
}

.portal-view h1 {
  margin-bottom: 0.4rem;
}

.portal-view > p {
  margin-bottom: 1.15rem;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #10141a;
}

.download-row strong {
  display: block;
  margin-bottom: 0.15rem;
}

.download-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.live-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.live-map-head h1 {
  margin: 0 0 0.25rem;
}

.live-map-head p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.live-map-meta {
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.live-map-meta strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.live-map {
  width: 100%;
  height: min(68vh, 560px);
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0a1420;
}

.live-map--full {
  height: min(72vh, 640px);
}

.live-list--page {
  max-height: none;
  min-height: 280px;
}

.live-list--page ul {
  gap: 0.45rem;
}

.live-list--page .live-list-item {
  padding: 0.75rem 0.9rem;
}

.flights-board-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.9rem;
}

.flights-board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.flights-board-meta strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.flights-board-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: auto;
  background: var(--surface);
}

.flights-board {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.flights-board th,
.flights-board td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.flights-board th {
  background: #10141a;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
}

.flights-board tr.is-own td {
  background: rgba(240, 193, 74, 0.08);
}

.flights-route {
  font-weight: 700;
  color: #9ec5e3;
  letter-spacing: 0.03em;
}

.flights-phase {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(91, 156, 255, 0.14);
  border: 1px solid rgba(91, 156, 255, 0.35);
  color: #cfe2ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.flights-board-pct {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 193, 74, 0.14);
  border: 1px solid rgba(240, 193, 74, 0.4);
  color: #f0c14a;
  font-size: 0.82rem;
  font-weight: 700;
}

.live-ac-board {
  margin-top: 0.25rem;
  color: #f0c14a;
  font-weight: 700;
  font-size: 0.85rem;
}

.flights-board-empty {
  margin: 0;
  padding: 1.25rem 1rem;
  color: var(--muted);
  text-align: center;
}

.module-tabs {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}

.module-tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.module-tab.is-active {
  color: var(--ink);
  border-color: rgba(91, 156, 255, 0.55);
  background: rgba(91, 156, 255, 0.12);
}

.cs-link {
  color: inherit;
  text-decoration: none;
}

.cs-link:hover {
  color: #9ec5e3;
  text-decoration: underline;
}

.btn-tiny {
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
}

.section-sub {
  margin: 1.4rem 0 0.7rem;
  font-size: 1.05rem;
}

.airports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.9rem;
}

.airport-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.9rem 1rem;
}

.airport-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.airport-card h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.airport-card header span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.airport-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.airport-cols h3 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.airport-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
}

.phase-timeline {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border-left: 2px solid rgba(91, 156, 255, 0.35);
}

.phase-timeline li {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem 0 0.55rem 0.9rem;
  position: relative;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5b9cff;
  position: absolute;
  left: -6px;
  top: 0.85rem;
}

.timeline-body {
  display: grid;
  gap: 0.15rem;
}

.timeline-body span {
  color: var(--muted);
  font-size: 0.82rem;
}

.timeline-empty {
  color: var(--muted);
  padding: 0.75rem 0 0.75rem 0.9rem;
}

.roadmap-suggest {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.roadmap-suggest h2 {
  margin: 0;
  font-size: 1.05rem;
}

.roadmap-suggest label {
  display: grid;
  gap: 0.3rem;
  font-weight: 650;
  color: var(--muted);
  font-size: 0.86rem;
}

.roadmap-suggest input,
.roadmap-suggest textarea {
  background: #10141a;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.roadmap-list {
  display: grid;
  gap: 0.75rem;
}

.roadmap-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.9rem 1rem;
}

.roadmap-votes {
  text-align: center;
  min-width: 3.2rem;
}

.roadmap-votes strong {
  display: block;
  font-size: 1.35rem;
}

.roadmap-votes span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.roadmap-body h2 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.roadmap-body p {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.roadmap-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.roadmap-status.status-planned {
  color: #f0c14a;
  border-color: rgba(240, 193, 74, 0.45);
}

.roadmap-status.status-done {
  color: #7dcea0;
  border-color: rgba(125, 206, 160, 0.45);
}

@media (max-width: 720px) {
  .roadmap-card {
    grid-template-columns: auto 1fr;
  }
  .roadmap-card .roadmap-vote-btn {
    grid-column: 1 / -1;
  }
}

.live-ac-stack {
  position: relative;
  width: 36px;
  height: 36px;
}

.live-ac-avatar {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #0f141c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  background: #1a2230;
}

.live-ac-marker {
  background: transparent !important;
  border: none !important;
}

.live-ac-arrow {
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75));
}

.live-ac-label {
  background: transparent !important;
  border: none !important;
}

.live-ac-label span {
  display: inline-block;
  background: rgba(12, 28, 44, 0.9);
  border: 1px solid #3d8bfd;
  border-radius: 3px;
  color: #e8f2ff;
  font: 700 10px/1.1 Consolas, "IBM Plex Mono", monospace;
  padding: 1px 5px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.live-ac-popup-wrap .leaflet-popup-content-wrapper {
  background: #141a22;
  color: var(--ink);
  border: 1px solid #314055;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.live-ac-popup-wrap .leaflet-popup-tip {
  background: #141a22;
  border: 1px solid #314055;
}

.live-ac-popup-wrap .leaflet-popup-content {
  margin: 0.65rem 0.8rem;
  min-width: 140px;
}

.live-ac-popup strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.live-ac-route {
  font-weight: 700;
  color: #9ec5e3;
  margin-bottom: 0.2rem;
}

.live-ac-alt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.live-ac-marker.is-selected .live-ac-arrow {
  filter: drop-shadow(0 0 4px rgba(127, 208, 138, 0.75));
}

.account-grid {
  display: grid;
  gap: 1.75rem;
  padding: 1.5rem 0 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .account-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.25rem;
  }
}

.account-points {
  margin: 1.1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.portal-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 1.15rem;
}

.portal-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #10141a;
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.2rem;
}

.portal-card small {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}

.portal-card strong {
  font-size: 1.15rem;
}

.portal-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.portal-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #10141a;
  padding: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.portal-panel h2 {
  margin: 0;
  font-size: 1.05rem;
}

.portal-panel label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.portal-panel input,
.portal-panel textarea,
.portal-panel select {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #323a46;
  border-radius: 10px;
  background: #0d1015;
}

.portal-logout {
  width: 100%;
}

.status-ok {
  color: #6dcaa8;
}

.hint {
  margin: 0.35rem 0 0.75rem;
  color: #ef9a9a;
  font-size: 0.86rem;
  font-weight: 650;
}

/* Legal pages */
.legal {
  padding: 2.5rem 0 3rem;
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.legal h2 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.legal p,
.legal li {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 46rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  max-width: 46rem;
  color: var(--muted);
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal .note {
  padding: 0.9rem 1rem;
  border: 1px solid #3a3420;
  background: rgba(212, 163, 92, 0.08);
  border-radius: 10px;
  color: #d8c39a;
  max-width: 46rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  font-weight: 650;
}

.footer-nav a:hover {
  color: var(--ink);
}

/* Startseite */
.home-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(61, 143, 208, 0.22), transparent 55%),
    linear-gradient(180deg, #0e1620 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.home-hero__inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.home-hero__logo {
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.home-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.home-hero__lead {
  margin: 0 auto 1.4rem;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.05rem;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.home-sections {
  padding: 2.5rem 0 3rem;
}

.home-sections > h2 {
  margin: 0 0 0.5rem;
}

.home-sections > p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

.page-public {
  padding: 1.5rem 0 2.5rem;
}

.page-public .portal-main {
  min-height: auto;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.faq-item h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.changelog-pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #0d1015;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  color: var(--muted);
  font: 600 0.88rem/1.45 Consolas, "IBM Plex Mono", monospace;
  margin: 1rem 0;
}

.portal-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.portal-grid {
  margin-top: 0.5rem;
}

.hint.center,
.hint:not(.auth-error) {
  color: var(--muted);
}

#support-toast,
#profile-toast,
#pw-toast,
#forgot-ok {
  color: #6dcaa8;
}

/* Live-Karte Toolbar + Liste */
.live-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.live-toolbar input[type="search"],
.live-own-toggle input {
  min-height: 2.4rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #323a46;
  border-radius: 10px;
  background: #0d1015;
  color: var(--ink);
  min-width: 12rem;
}

.live-own-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.live-layout {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 960px) {
  .live-layout {
    grid-template-columns: 1fr 260px;
    align-items: stretch;
  }

  .live-layout .live-map {
    height: min(68vh, 560px);
  }
}

.live-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  max-height: min(68vh, 560px);
  overflow: auto;
}

.live-list h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.live-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.live-list-item {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  background: #10141a;
}

.live-list-item:hover,
.live-list-item.is-active {
  border-color: #314055;
  background: #1c2430;
}

.live-list-item.is-own {
  border-color: rgba(240, 193, 74, 0.45);
}

.live-list-item strong {
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.live-list-route,
.live-list-alt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.live-ac-marker.is-own .live-ac-arrow {
  filter: drop-shadow(0 0 5px rgba(240, 193, 74, 0.85));
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 0.85rem 1rem;
  background: rgba(12, 18, 26, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 42rem;
}

.cookie-banner__actions {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  flex: 0 0 auto;
}

.cookie-banner__actions a {
  color: var(--accent, #5b9cff);
  font-weight: 700;
  font-size: 0.88rem;
}

.legal-page {
  padding: 2rem 0 3rem;
  max-width: 46rem;
}

.legal-page h1 {
  margin: 0 0 0.75rem;
}

.legal-page h2 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.05rem;
}

.legal-page p {
  color: var(--muted);
}

/* Screenshots gallery (public) — volle Fensteransicht, kein Crop */
.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.shot-card {
  margin: 0;
  background: linear-gradient(180deg, #171c24 0%, #12161c 100%);
  border: 1px solid #2a313c;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.shot-link {
  display: block;
  background: #070c12;
  line-height: 0;
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top center;
  background: #070c12;
  transition: opacity 0.2s ease;
}

.shot-card:hover img {
  opacity: 0.96;
}

.shot-card figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1.05rem 1.1rem;
}

.shot-card figcaption strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.shot-card figcaption span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.88);
}

.shot-lightbox[hidden] {
  display: none !important;
}

.shot-lightbox img {
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  background: #070c12;
}

.shot-lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  border: 0;
  background: #1c2430;
  color: #fff;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
