/* AFKSystems – ein Satz Marken für die ganze Seite.
 *
 * Öffentliche Seiten und Panel benutzen dieselben Farben, Radien und Flächen: ruhiger Grund,
 * Ringe statt Rahmen, weiche 2xl-Kanten, Host Grotesk, Primärfarbe #206cfe. Dazu kommt --accent
 * (Violett) für Etiketten und hervorgehobene Wörter auf den öffentlichen Seiten, und was nur ein
 * AFK-Panel braucht: Zustandspunkte, Konsolenflächen, Seitenleiste mit Serverplätzen.
 *
 * Alles in einer Datei, ohne Bauschritt. Reihenfolge: Marken, Grundlage, Bausteine (Knöpfe,
 * Flächen, Formulare, Tabellen), öffentliche Seiten, Dashboard.
 */

/* ---------------------------------------------------------------- Schrift */

@font-face {
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/host-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/host-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- Marken */

:root {
  --background: #fefeff;
  --surface: #f2f5f9;
  --surface-2: #ffffff;
  --primary: #206cfe;
  --primary-ink: #ffffff;
  --text: #171717;
  --text-2: #4b5563;
  --line: rgba(0, 0, 0, 0.1);
  --line-soft: rgba(0, 0, 0, 0.05);

  --ok: #00bb7f;
  --warn: #fcbb00;
  --bad: #e40014;
  --info: #206cfe;
  /* Die zweite Farbe der öffentlichen Seiten: Etiketten, hervorgehobene Wörter, Zahlen.
     Im Panel kommt sie nicht vor – dort führt Blau. */
  --accent: #6338f0;

  --r-md: 0.375rem;
  --r-lg: 0.5rem;
  --r-xl: 0.75rem;
  --r-2xl: 1rem;
  --r-3xl: 1.5rem;

  --sans: 'Host Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
  --page: 80rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --background: #121213;
    --surface: #1b1b1d;
    --surface-2: #202023;
    --text: #ffffff;
    --text-2: #d4d4d8;
    --line: rgba(255, 255, 255, 0.1);
    --line-soft: rgba(255, 255, 255, 0.06);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.7);
    --accent: #a48bff;
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --background: #121213;
  --surface: #1b1b1d;
  --surface-2: #202023;
  --text: #ffffff;
  --text-2: #d4d4d8;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.7);
  --accent: #a48bff;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- Grundlage */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
  line-height: 1.15;
}
h3 {
  font-size: 1.125rem;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

/* Ohne feste Größe füllt ein SVG seinen Kasten aus – Symbole brauchen deshalb ein Grundmaß,
   das einzelne Stellen (Knöpfe, Hinweise) danach überschreiben dürfen. */
.icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

::selection {
  background: color-mix(in oklab, var(--primary) 25%, transparent);
}

/* Bildlaufleisten dezent halten – die Konsolenflächen sind sonst laut. */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

/* ---------------------------------------------------------------- Hilfsklassen */

.page {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .page {
    padding-inline: 2rem;
  }
}

.muted {
  color: var(--text-2);
}
.small {
  font-size: 0.8125rem;
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.light {
  font-weight: 300;
}
.strong {
  font-weight: 600;
}
.row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.row.wrap {
  flex-wrap: wrap;
}
.spread {
  justify-content: space-between;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.grow {
  flex: 1;
  min-width: 0;
}
.hide {
  display: none !important;
}
.center {
  text-align: center;
}
.nowrap {
  white-space: nowrap;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lead {
  color: var(--text-2);
  font-size: 1.0625rem;
  font-weight: 300;
}
@media (min-width: 640px) {
  .lead {
    font-size: 1.125rem;
  }
}

/* ---------------------------------------------------------------- Knöpfe */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1.05rem;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.15s, opacity 0.15s, transform 0.15s;
}
.btn:hover:not(:disabled) {
  box-shadow: inset 0 0 0 1px var(--primary);
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  color: var(--primary-ink);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover:not(:disabled) {
  background: color-mix(in oklab, var(--primary) 88%, black);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.btn-ok {
  background: var(--ok);
  box-shadow: inset 0 0 0 1px var(--ok);
  color: #04170f;
}
.btn-danger {
  background: transparent;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 45%, transparent);
  color: var(--bad);
}
.btn-danger:hover:not(:disabled) {
  background: color-mix(in oklab, var(--bad) 10%, transparent);
  box-shadow: inset 0 0 0 1px var(--bad);
}
.btn-ghost {
  background: transparent;
  box-shadow: none;
  color: var(--text-2);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--surface);
  box-shadow: none;
  color: var(--text);
}
.btn-sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 0.8rem 1.35rem;
  font-size: 0.9375rem;
}
.btn-block {
  width: 100%;
}
.btn .icon {
  width: 1rem;
  height: 1rem;
}

/* ---------------------------------------------------------------- Flächen */

.card {
  background: var(--surface);
  border-radius: var(--r-2xl);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 1.25rem;
}
.card.plain {
  background: transparent;
}
.card.tight {
  padding: 0.9rem;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.card-head h3 {
  font-size: 1rem;
  font-weight: 600;
}

.panel {
  background: var(--surface);
  border-radius: var(--r-2xl);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  box-shadow: inset 0 -1px 0 var(--line-soft);
}
.panel > header h3 {
  font-size: 0.9375rem;
}
.panel > .body {
  padding: 1.1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}
.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

/* ---------------------------------------------------------------- Zustände */

.dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
}
.dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.75;
}
.dot.live::before {
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot::after {
  content: '';
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: currentColor;
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.6rem 0.2rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in oklab, currentColor 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 25%, transparent);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.state.online {
  color: var(--ok);
}
.state.connecting,
.state.starting,
.state.reconnecting,
.state.stopping {
  color: var(--warn);
}
.state.offline,
.state.disconnected {
  color: var(--text-2);
}
.state.error {
  color: var(--bad);
}
.state.auth {
  color: var(--warn);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 600;
}
.pill.primary {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 35%, transparent);
  color: var(--primary);
}
.pill.missing {
  background: color-mix(in oklab, var(--warn) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--warn) 35%, transparent);
  color: color-mix(in oklab, var(--warn) 80%, var(--text));
}

/* ---------------------------------------------------------------- Formulare */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field > label {
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
}
.field .hint {
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 400;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='url'],
input[type='search'],
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9375rem;
  transition: box-shadow 0.15s;
}
input:hover:not(:disabled),
select:hover:not(:disabled),
textarea:hover:not(:disabled) {
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 45%, var(--line));
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--primary);
}
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.55;
}
textarea {
  min-height: 5rem;
  resize: vertical;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 1rem center, right 0.7rem center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.switch {
  position: relative;
  width: 2.4rem;
  height: 1.35rem;
  flex: none;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background 0.15s;
}
.switch::after {
  content: '';
  position: absolute;
  top: 0.175rem;
  left: 0.175rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s;
}
.switch[aria-checked='true'] {
  background: var(--primary);
}
.switch[aria-checked='true']::after {
  transform: translateX(1.05rem);
}

/* ---------------------------------------------------------------- Tabellen */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table th {
  padding: 0.55rem 0.75rem;
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.table td {
  padding: 0.6rem 0.75rem;
  box-shadow: inset 0 1px 0 var(--line-soft);
  vertical-align: middle;
}
.table tbody tr:hover td {
  background: color-mix(in oklab, var(--primary) 4%, transparent);
}
.table-wrap {
  overflow-x: auto;
}

.head {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  border-radius: var(--r-md);
  background: var(--surface-2);
  image-rendering: pixelated;
}
.head.lg {
  width: 2.25rem;
  height: 2.25rem;
}

/* ---------------------------------------------------------------- Konsole
 * Das Erkennungszeichen des Panels: die Chatfläche. Fester Zeilensatz, dunkler Grund in beiden
 * Themen, damit Minecraft-Farben stimmen. */

.console {
  background: #0d0d0f;
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #e6e6ea;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  overflow-wrap: anywhere;
}
.console .line {
  display: flex;
  gap: 0.6rem;
  padding: 0.05rem 0;
}
.console .t {
  color: #6b7280;
  flex: none;
}
.console .who {
  color: #6ea8fe;
  flex: none;
}
.console .line.status .msg {
  color: #9aa3af;
}
.console .line.error .msg {
  color: #ff8a8a;
}
.console .line.system .msg {
  color: #7dd3a8;
}
.console .line.sent .msg {
  color: #ffd57e;
}
/* Der Text für die leere Fläche kommt aus data-empty – fest im CSS stünde er nur auf Deutsch. */
.console:empty::after {
  content: attr(data-empty);
  color: #6b7280;
}

/* ---------------------------------------------------------------- Marke und Aussehen */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand .logo {
  width: 1.85rem;
  height: 1.85rem;
}

.themes {
  display: inline-flex;
  gap: 0.125rem;
  padding: 0.125rem;
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--text) 5%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.themes button {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
}
.themes button[aria-pressed='true'] {
  background: var(--background);
  box-shadow: var(--shadow);
  color: var(--primary);
}
.themes .icon {
  width: 0.8rem;
  height: 0.8rem;
}

/* ---------------------------------------------------------------- Öffentliche Seiten
 *
 * Startseite, Funktionen, Preise, Fragen, Anmeldung, Rechtliches.
 *
 * Sie benutzen dieselben Marken wie das Panel: dieselben Flächen, Kanten, Radien und dasselbe
 * Blau. Vorher hatten die öffentlichen Seiten eine eigene Handschrift, und wer sich anmeldete,
 * landete gefühlt auf einer fremden Seite. Dazu kommt genau eine zweite Farbe, --accent, für
 * Etiketten und hervorgehobene Wörter.
 */

body.site {
  background: var(--background);
  color: var(--text);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--r-lg) 0;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 600;
}
.skip:focus {
  left: 0;
}

/* ---------------------------------------------------------------- Kopfleiste */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--background) 88%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 -1px 0 var(--line);
}
.site-head > .page {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-block: 0.7rem;
}

/* Schmal: die Seitenlinks rutschen in eine eigene Zeile darunter und lassen sich schieben.
   Vorher waren sie unter 940 px einfach weg – auf dem Handy gab es dann gar keine Navigation. */
.site-links {
  order: 3;
  flex-basis: 100%;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
}
.site-links a {
  white-space: nowrap;
}
.site-links a:hover,
.site-links a[aria-current] {
  color: var(--text);
}
@media (min-width: 940px) {
  .site-links {
    order: 0;
    flex: 1;
    flex-basis: auto;
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
  }
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: auto;
}
.head-auth {
  display: inline-flex;
  gap: 0.4rem;
}
/* Auf sehr schmalen Geräten passt neben Sprache und Aussehen nur noch ein Knopf. */
@media (max-width: 480px) {
  .head-auth .btn:not(.btn-primary) {
    display: none;
  }
}

.langs {
  display: inline-flex;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.langs a {
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.langs a[aria-current] {
  background: var(--surface);
  color: var(--text);
}
.langs a:hover:not([aria-current]) {
  color: var(--text);
}

/* ---------------------------------------------------------------- Hero */

.hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}
.hero-copy {
  max-width: 46rem;
}
.hero h1 {
  margin-top: 1.1rem;
  font-size: clamp(2.25rem, 1.1rem + 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
/* Das Wort, um das es geht, steht auf einem violetten Balken. */
.hero h1 .hl {
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--accent) 32%, transparent) 0 0.28em,
    transparent 0.28em
  );
}
.hero .lead {
  max-width: 38rem;
  margin-top: 1.4rem;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-2);
}

/* Die Zahlenleiste unter dem Hero. */
.rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  border-radius: var(--r-2xl);
  background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
@media (min-width: 780px) {
  .rail {
    grid-template-columns: repeat(4, 1fr);
  }
}
.rail > div {
  padding: 1.1rem 1.25rem;
  background: var(--surface);
}
.rail dt {
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.rail dd {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- Abschnitte */

.band {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.band.alt {
  background: var(--surface);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}
.band-head {
  max-width: 44rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.band-head .eyebrow + h1,
.band-head .eyebrow + h2 {
  margin-top: 0.75rem;
}
.band-head .lead {
  margin-top: 0.9rem;
}
.band-foot {
  margin-top: 2rem;
}

/* Die Karten mit den vier Sätzen darüber, wofür das Ganze gut ist. */
.tiles {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.tile {
  padding: 1.35rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.band.alt .tile {
  background: var(--background);
}
.tile .icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent);
}
.tile h3 {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
}
.tile p {
  margin-top: 0.5rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- Funktionen */

.spec {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: start;
}
.spec-group {
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.band.alt .spec-group {
  background: var(--background);
}
.spec-group > h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}
.spec-group ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.spec-row {
  padding: 0.85rem 0;
  box-shadow: inset 0 1px 0 var(--line-soft);
}
.spec-row:first-child {
  box-shadow: none;
}
.spec-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-weight: 600;
}
.spec-text {
  margin-top: 0.25rem;
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.5;
}
/* Was einen bezahlten Serverplatz braucht, steht als Etikett dahinter – sonst nichts. */
.spec-tag {
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 32%, transparent);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.versions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.versions li {
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
}
.band.alt .versions li {
  background: var(--background);
}
.versions:empty::after {
  content: '–';
  color: var(--text-2);
}

/* ---------------------------------------------------------------- Preise */

.slots {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.slot-row {
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.band.alt .slot-row {
  background: var(--background);
}
.slot-no {
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.slot-what {
  color: var(--text-2);
  font-size: 0.9375rem;
}
.slot-price {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.slots > .slot-row:first-child .slot-price {
  color: var(--accent);
}

.plans {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  align-items: start;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.band.alt .plan {
  background: var(--background);
}
.plan h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-2);
}
.plan.is-free h3 {
  color: var(--accent);
}
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
}
.plan-price b {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-price span {
  color: var(--text-2);
  font-size: 0.8125rem;
}
.plan-euro {
  margin: 0.35rem 0 0;
  color: var(--text-2);
  font-size: 0.8125rem;
}
.plan-blurb {
  margin: 0.9rem 0 0;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.plan-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}
.plan-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.4rem 0;
}
.plan-list li::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  flex: none;
  border-radius: 999px;
  background: var(--accent);
}
.plan .btn {
  margin-top: 1.5rem;
}

.topup {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: inset 0 1px 0 var(--line);
}
@media (min-width: 860px) {
  .topup {
    grid-template-columns: 20rem 1fr;
    gap: 2.5rem;
  }
}
.topup-copy h3 {
  font-size: 1.125rem;
}
.topup-copy p {
  margin-top: 0.5rem;
  color: var(--text-2);
  font-size: 0.9375rem;
}
.topup-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  align-content: start;
}
.pack {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.band.alt .pack {
  background: var(--background);
}
.pack-euro {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pack-credits {
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.pack-bonus {
  min-height: 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------------------------------------------------------------- Ablauf */

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.band.alt .steps li {
  background: var(--background);
}
.step-no {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
}
.steps h3 {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
}
.steps p {
  margin-top: 0.45rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- Fragen */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}
.faq details {
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.band.alt .faq details {
  background: var(--background);
}
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '−';
}
.faq p {
  margin: 0;
  padding: 0 1.35rem 1.25rem;
  max-width: 44rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------- Schluss */

.closing {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.closing > .page > div {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--r-3xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.closing h2 {
  max-width: 30rem;
}
.closing p {
  margin-top: 0.8rem;
  max-width: 36rem;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- Fußzeile */

.site-foot {
  padding-block: 3rem 2rem;
  box-shadow: inset 0 1px 0 var(--line);
  font-size: 0.875rem;
  color: var(--text-2);
}
.foot-cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin-bottom: 2.5rem;
}
.foot-brand p {
  margin-top: 0.8rem;
  max-width: 20rem;
}
.site-foot h2 {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-foot li {
  margin-bottom: 0.4rem;
}
.site-foot a:hover {
  color: var(--text);
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  box-shadow: inset 0 1px 0 var(--line-soft);
  font-size: 0.75rem;
}

/* ---------------------------------------------------------------- Anmeldeseiten */

.auth {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 2.5rem 1.25rem;
}
.auth-box {
  width: 100%;
  max-width: 24rem;
}
.auth .brand {
  justify-content: center;
  display: flex;
  margin-bottom: 1.75rem;
}
.auth-card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.auth-card h1 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.auth-lead {
  margin-top: 0.5rem;
  color: var(--text-2);
  font-size: 0.875rem;
}
.auth-card form {
  margin-top: 1.5rem;
}
.auth-alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--text-2);
  font-size: 0.8125rem;
}
.auth-alt a {
  color: var(--text);
  font-weight: 600;
}
.form-error {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bad);
}
.or {
  position: relative;
  margin: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.or::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
}
.or span {
  position: relative;
  padding: 0 0.6rem;
  background: var(--surface);
}

/* ---------------------------------------------------------------- Hinweisseiten */

.notice {
  padding-block: clamp(4rem, 10vw, 7rem);
  min-height: 60vh;
}
.notice .brand {
  margin-bottom: 2rem;
}
.notice h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  letter-spacing: -0.035em;
}
.notice .lead {
  margin-top: 1rem;
  max-width: 34rem;
}
.notice p + p {
  margin-top: 2rem;
}

.prose {
  padding-block: clamp(3rem, 7vw, 4.5rem);
  max-width: 44rem;
}
.prose h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
}
.prose p {
  margin: 0 0 1.1rem;
  color: var(--text-2);
  line-height: 1.65;
}


/* ---------------------------------------------------------------- Dashboard */

.app {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .app {
    grid-template-columns: 17.5rem 1fr;
  }
}

.side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  box-shadow: inset -1px 0 0 var(--line-soft);
}
@media (min-width: 1000px) {
  .side {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow-y: auto;
  }
}
@media (max-width: 999px) {
  .side {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(19rem, 86vw);
    transform: translateX(-102%);
    transition: transform 0.2s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
  }
  .side.open {
    transform: none;
  }
}

#side-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.5);
}

.side .nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.side .nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--r-lg);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
}
.side .nav a:hover {
  background: color-mix(in oklab, var(--text) 5%, transparent);
  color: var(--text);
}
.side .nav a.active {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
  font-weight: 600;
}
.side .nav .icon {
  width: 1rem;
  height: 1rem;
}

.side .label {
  padding: 0 0.65rem;
  color: var(--text-2);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--r-lg);
  color: var(--text-2);
  font-size: 0.875rem;
}
.profile-link:hover {
  background: color-mix(in oklab, var(--text) 5%, transparent);
  color: var(--text);
}
.profile-link.active {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
  font-weight: 600;
}
.profile-link .count {
  font-family: var(--mono);
  font-size: 0.75rem;
}

.side .foot {
  margin-top: auto;
  padding-top: 0.75rem;
  box-shadow: inset 0 1px 0 var(--line-soft);
}

.main {
  min-width: 0;
  padding: 1.25rem;
}
@media (min-width: 1000px) {
  .main {
    padding: 1.75rem 2rem 4rem;
  }
}

.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.appbar h1 {
  font-size: 1.5rem;
}
/* Der Knopf für die Seitenleiste gibt es nur, solange sie eingeklappt ist. */
.side-toggle {
  display: none;
}
@media (max-width: 999px) {
  .side-toggle {
    display: inline-flex;
  }
}
/* Auf schmalen Geräten haben Titel und Knöpfe nebeneinander keinen Platz – der Titel würde sonst
   nach drei Buchstaben abgeschnitten. */
@media (max-width: 640px) {
  .appbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .appbar h1 {
    font-size: 1.3rem;
  }
}

.tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.tabs a {
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-lg);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.tabs a:hover {
  background: var(--surface);
  color: var(--text);
}
.tabs a.active {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-weight: 600;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stat .k {
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.stat .v {
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat .s {
  color: var(--text-2);
  font-size: 0.8125rem;
}

.empty {
  padding: 3rem 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
}
.empty h3 {
  margin-bottom: 0.5rem;
}
.empty p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: var(--text-2);
  font-weight: 300;
}

.note {
  display: flex;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-xl);
  background: color-mix(in oklab, var(--info) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--info) 30%, transparent);
  color: var(--text);
  font-size: 0.875rem;
}
.note .icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  margin-top: 0.15rem;
  color: var(--info);
}
.note.warn {
  background: color-mix(in oklab, var(--warn) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--warn) 32%, transparent);
}
.note.warn .icon {
  color: var(--warn);
}
.note.bad {
  background: color-mix(in oklab, var(--bad) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 30%, transparent);
}
.note.bad .icon {
  color: var(--bad);
}

/* ---------------------------------------------------------------- Dialoge */

dialog {
  width: min(38rem, calc(100vw - 2rem));
  padding: 0;
  border: 0;
  border-radius: var(--r-2xl);
  background: var(--background);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px -20px rgba(0, 0, 0, 0.5);
  color: var(--text);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  box-shadow: inset 0 -1px 0 var(--line-soft);
}
dialog header h3 {
  font-size: 1.0625rem;
}
dialog .body {
  padding: 1.25rem;
  max-height: min(70vh, 40rem);
  overflow-y: auto;
}
dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  box-shadow: inset 0 1px 0 var(--line-soft);
}

/* ---------------------------------------------------------------- Meldungen */

.toasts {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(24rem, calc(100vw - 2rem));
}
.toast {
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-xl);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  font-size: 0.875rem;
  animation: rise 0.18s ease-out;
}
.toast.ok {
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ok) 40%, transparent), var(--shadow);
}
.toast.bad {
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 40%, transparent), var(--shadow);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* ---------------------------------------------------------------- Bewegung */

.padgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  width: min(15rem, 100%);
}
.padgrid button {
  aspect-ratio: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------- Dashboard: Ergänzungen */

/* Die Unterreiter eines Serverplatzes in der Seitenleiste. */
.subtabs {
  margin: 0.15rem 0 0.5rem 0.95rem;
  padding-left: 0.6rem;
  box-shadow: inset 1px 0 0 var(--line);
}
.subtabs .profile-link {
  padding-block: 0.3rem;
  font-size: 0.8125rem;
}

.side .nav .count,
.profile-link .count {
  margin-left: auto;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.side .nav .count.primary {
  min-width: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
  text-align: center;
}

.tabs.wrap {
  flex-wrap: wrap;
}

/* Der Streifen, wenn ein Administrator ein fremdes Konto ansieht. */
.impersonate {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: var(--warn);
  color: #1a1400;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Ticket-Nachrichten. */
.msg {
  padding: 0.9rem 1rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.msg.staff {
  background: color-mix(in oklab, var(--primary) 8%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 25%, transparent);
}
.msg.internal {
  background: color-mix(in oklab, var(--warn) 10%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--warn) 30%, transparent);
}
.msg p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  white-space: pre-wrap;
}

/* Der Microsoft-Code im Anmeldedialog. */
.code-box {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
}

/* Aufladepakete als Knopfliste. */
.pack-button {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pack-button:hover {
  box-shadow: inset 0 0 0 1px var(--primary);
}

/* Tarifauswahl im Serverplatz. */
.plans-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.plans-grid .card.is-current {
  box-shadow: inset 0 0 0 2px var(--primary);
}
.price-line {
  margin: 0.75rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

hr.rule {
  height: 0;
  margin: 0.25rem 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
}
