/* S3-Umzug – ein Stylesheet für Kunden- und Admin-Seiten (Vorlagen v2). */

@font-face { font-family: "Fira Sans"; font-weight: 400; font-display: swap; src: url("../fonts/fira-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-display: swap; src: url("../fonts/fira-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-display: swap; src: url("../fonts/fira-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 700; font-display: swap; src: url("../fonts/fira-sans-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("../fonts/jetbrains-mono-700.woff2") format("woff2"); }

:root {
  --bg: #F3F6FA;
  --dark: #28211a;
  --navy: #0D2D59;
  --orange: #EC6608;
  --orange-hell: #FFB380;
  --orange-text: #C2410C;
  --orange-tief: #9A3412;
  --orange-bg: #FFF4EC;
  --orange-bg2: #FFF7F1;
  --text: #0F1B2D;
  --muted: #556479;
  --muted2: #8593A6;
  --on-dark: #B9C6DA;
  --line: #DCE3EC;
  --line2: #EEF2F7;
  --soft: #EEF2F7;
  --soft2: #F8FAFC;
  --ok-bg: #E7F6EC;
  --ok-text: #16653A;
  --ok-dot: #16A34A;
  --err: #B42318;
  --err-bg: #FDECEA;
  --err-line: #F5C2BC;
  --err-tief: #8A1C12;
  --shadow-card: 0 30px 80px rgba(13, 45, 89, .12);
  --shadow-panel: 0 1px 2px rgba(13, 45, 89, .06);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Fira Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: var(--orange-text); }
a:hover { color: var(--orange-tief); }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
img { max-width: 100%; object-fit: contain; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(236, 102, 8, .55); outline-offset: 2px; }
.mono { font-family: var(--mono); font-weight: 500; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 56px; height: 31px; flex: none; }
.logo .wort { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.logo .unter { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.logo.gross svg { width: 68px; height: 38px; }
.logo.gross .wort { font-size: 26px; }
.logo.hell .wort { color: #FFFFFF; }
.logo.hell .unter { color: var(--on-dark); }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 16px;
  background: var(--orange); color: #FFFFFF;
  font-size: 18px; font-weight: 700; text-decoration: none;
  cursor: pointer;
}
.btn:hover { color: #FFFFFF; background: #D85C06; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; background: var(--orange); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.voll { width: 100%; }
.btn.gross { min-height: 64px; font-size: 20px; }
.btn.sek { background: var(--soft); color: var(--navy); font-weight: 600; font-size: 17px; padding: 0 22px; }
.btn.sek:hover { background: #E2E8F0; color: var(--navy); }
.btn.rahmen { background: #FFFFFF; color: var(--navy); border: 1.5px solid var(--navy); font-weight: 600; font-size: 17px; padding: 0 24px; }
.btn.rahmen:hover { background: var(--soft2); color: var(--navy); }
.btn.gefahr { background: #FFFFFF; color: var(--err); border: 1.5px solid var(--line); font-weight: 600; font-size: 16px; min-height: 48px; padding: 0 20px; }
.btn.gefahr:hover { background: var(--err-bg); color: var(--err); }
.btn.klein { min-height: 48px; font-size: 16px; padding: 0 20px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px;
  background: var(--soft); color: var(--navy);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  cursor: pointer;
}
.pill:hover { background: #E2E8F0; color: var(--navy); }
.pill.navy { background: var(--navy); color: #FFFFFF; }
.pill.navy:hover { background: #0A2448; color: #FFFFFF; }
.pill.weiss { background: #FFFFFF; border: 1.5px solid var(--line); }
.pill.gefahr { background: #FFFFFF; border: 1px solid var(--line); color: var(--err); }
.pill.gefahr:hover { background: var(--err-bg); }
.pill.text-gefahr { background: transparent; color: var(--err); padding: 0 8px; }
.pill.text-gefahr:hover { background: var(--err-bg); }
.pill.klein { min-height: 34px; padding: 0 14px; font-size: 13px; }
.pill:disabled { opacity: .5; cursor: not-allowed; }
.pill svg { width: 16px; height: 16px; }

/* ---------- Felder ---------- */
.feld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feld > label, .feld > .label, legend.label { font-size: 15px; font-weight: 600; color: var(--navy); padding: 0; }
.feld .opt { font-weight: 400; color: var(--muted); }
.feld .hinweis, .hinweis { font-size: 13px; color: var(--muted); }
.eingabe, .feld input[type="date"], .feld input[type="text"], .feld input[type="password"], .feld input[type="email"],
.feld input[type="number"], .feld input[type="search"], .feld input:not([type]), .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 16px;
  background: #FFFFFF; font-size: 16px; color: var(--text);
}
.feld textarea { padding: 12px 16px; min-height: 96px; resize: vertical; }
.feld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23556479' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 4px rgba(236, 102, 8, .15); }
.feld input[readonly] { background: var(--soft2); }
.feld .mono, .eingabe.mono { font-family: var(--mono); font-size: 15px; }
.zeile { display: flex; gap: 14px; flex-wrap: wrap; }
.zeile > .feld { flex: 1 1 240px; }
.zeile > .feld.breit { flex: 999 1 280px; }
.zeile > .feld.schmal { flex: 1 1 120px; }
.mit-knopf { position: relative; }
.mit-knopf input { padding-right: 52px; }
.mit-knopf .auge {
  position: absolute; right: 6px; top: 6px; width: 40px; height: 40px;
  border: 0; border-radius: 12px; background: transparent; color: var(--muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mit-knopf .auge:hover { background: var(--soft); }
.praefix-feld { display: flex; align-items: center; min-height: 52px; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; background: #FFFFFF; }
.praefix-feld:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(236, 102, 8, .15); }
.praefix-feld .vor { padding: 0 4px 0 16px; font-family: var(--mono); font-size: 15px; color: var(--muted2); white-space: nowrap; }
.praefix-feld input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding-left: 0 !important; font-family: var(--mono); font-size: 15px; }
.feld-zeile { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.feld-zeile > input { flex: 1 1 280px; }

/* Segmentierte Auswahl (Radios) */
.seg { display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: var(--soft); flex-wrap: wrap; border: 0; margin: 0; }
.seg label { flex: 1 1 150px; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px;
  border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--navy); text-align: center;
}
.seg input:checked + span { background: var(--navy); color: #FFFFFF; box-shadow: 0 2px 6px rgba(13, 45, 89, .25); }
.seg input:focus-visible + span { outline: 3px solid rgba(236, 102, 8, .55); outline-offset: 1px; }

.check-karte {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 16px; cursor: pointer;
}
.check-karte input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.check-karte strong { display: block; font-size: 15px; font-weight: 600; }
.check-karte span span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Hinweise ---------- */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.note.warn { background: var(--orange-bg); color: var(--orange-tief); }
.note.ok { background: var(--ok-bg); color: var(--ok-text); }
.note.info { background: var(--bg); color: var(--navy); }
.note.err { background: var(--err-bg); color: var(--err-tief); }
.note.err-rahmen { border: 1px solid var(--err-line); color: var(--err-tief); }
.note.dunkel { background: var(--dark); color: #FFFFFF; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; }
.note.dunkel strong { font-size: 17px; font-weight: 600; }
.note.dunkel span { font-size: 14px; color: var(--on-dark); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--soft); color: var(--navy); font-size: 14px;
}
.chip svg { width: 16px; height: 16px; }
.chip strong { font-family: var(--mono); font-weight: 700; }
.chip.ok { background: var(--ok-bg); color: var(--ok-text); }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.chip.ok .punkt { background: var(--ok-dot); }

/* Status-Plaketten */
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--soft); color: var(--navy);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status.ok { background: var(--ok-bg); color: var(--ok-text); }
.status.ok::before { background: var(--ok-dot); }
.status.run { background: var(--orange-bg); color: var(--orange-tief); }
.status.run::before { background: var(--orange); }
.status.err { background: var(--err-bg); color: var(--err); }
.status.err::before { background: var(--err); }
.status.grau { background: var(--soft); color: var(--muted); }
.status.grau::before { background: var(--muted2); }
.status.leer { background: #FFFFFF; color: var(--muted); border: 1px solid var(--line); }
.status.leer::before { background: var(--line); }
.status.gross { font-size: 14px; padding: 6px 12px; }

/* ================================================================
   Kundenseiten
   ================================================================ */
.k-seite {
  min-height: 100vh; padding: 48px 16px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.k-karte {
  width: 100%; max-width: 1200px; background: #FFFFFF; border-radius: 28px;
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-wrap: wrap;
}
.k-karte.schmal { max-width: 640px; }
.k-haupt {
  flex: 999 1 560px; min-width: 0; padding: 44px 56px 48px;
  display: flex; flex-direction: column; gap: 26px;
}
.k-haupt.eng { padding: 44px 48px 40px; gap: 22px; }
.k-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.k-titel { display: flex; flex-direction: column; gap: 10px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2.5px; color: var(--orange-text); text-transform: uppercase; }
.k-titel h1 { font-size: 38px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.k-lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 600px; }
.k-form { display: flex; flex-direction: column; gap: 20px; max-width: 680px; }
.k-aktionen { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.k-aktionen .klein-text { flex: 1 1 200px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.k-aktionen form { margin: 0; display: contents; }
.k-recht { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; justify-content: center; }

/* Dunkle Schrittspalte */
.k-seite-spalte {
  flex: 1 1 340px; min-width: 0; padding: 44px 32px 36px;
  background: var(--dark); color: #FFFFFF;
  display: flex; flex-direction: column; gap: 18px;
}
.k-seite-spalte .eyebrow { color: var(--orange-hell); padding: 0 14px; }
.k-schritte { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.k-schritte li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; }
.k-schritte .nr {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  border: 2px solid rgba(185, 198, 218, .55); color: var(--on-dark);
}
.k-schritte .nr svg { width: 16px; height: 16px; display: none; }
.k-schritte strong { display: block; font-size: 16px; font-weight: 500; color: var(--on-dark); }
.k-schritte .txt span { display: block; font-size: 14px; color: var(--on-dark); margin-top: 3px; }
.k-schritte li.fertig .nr, .k-schritte li.aktiv .nr { background: var(--orange); border-color: var(--orange); color: #FFFFFF; }
.k-schritte li.fertig .nr svg { display: block; }
.k-schritte li.fertig .nr .zahl { display: none; }
.k-schritte li.aktiv .nr { box-shadow: 0 0 0 5px rgba(236, 102, 8, .3); }
.k-schritte li.fertig strong, .k-schritte li.aktiv strong { color: #FFFFFF; font-weight: 600; }
.k-schritte li.aktiv { background: rgba(255, 255, 255, .09); }
.k-spalte-fuss {
  margin-top: auto; display: flex; flex-direction: column; gap: 20px;
  padding: 20px 14px 0; border-top: 1px solid rgba(185, 198, 218, .2);
}
.k-spalte-fuss .schild { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--on-dark); }
.k-spalte-fuss .schild svg { width: 22px; height: 22px; flex: none; }
.k-spalte-fuss img { height: 34px; width: auto; align-self: flex-start; }
.k-mobil-fortschritt { display: none; }

/* Code-Seite (K1) */
.k-code .k-haupt { padding: 48px 56px; gap: 28px; }
.k-code h1 { font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.k-code .k-lead { font-size: 18px; max-width: 520px; }
.code-feld { display: flex; flex-direction: column; gap: 10px; }
.code-label { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; color: var(--navy); }
.code-zeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.code-hp {
  height: 68px; padding: 0 18px; border-radius: 16px; background: var(--dark); color: #FFFFFF;
  font-family: var(--mono); font-weight: 700; font-size: 24px; display: flex; align-items: center;
}
.code-strich { font-family: var(--mono); font-size: 24px; color: var(--on-dark); }
.code-gruppe { display: flex; gap: 8px; }
.code-box {
  width: 52px; height: 68px; padding: 0; border: 2px solid var(--line); border-radius: 14px;
  background: #F8FAFC; text-align: center; text-transform: uppercase;
  font-family: var(--mono); font-weight: 700; font-size: 26px; color: var(--navy);
}
.code-box:not(:placeholder-shown), .code-box.voll { background: #FFFFFF; }
.code-box:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(236, 102, 8, .15); background: #FFFFFF; }
.code-hinweis { font-size: 15px; color: var(--muted); }
.k-code .titel-block { display: flex; flex-direction: column; gap: 10px; }
.k-code .k-spalte-fuss { padding-left: 0; padding-right: 0; }
.k-code .k-spalte-fuss img { height: 40px; }
.code-fehler { color: var(--err); font-size: 15px; font-weight: 600; }
.code-klein { font-size: 13px; line-height: 1.5; color: var(--muted); }
.k-code .k-seite-spalte { flex: 1 1 380px; padding: 48px 44px; gap: 32px; }
.k-code .k-seite-spalte .eyebrow { padding: 0; }
.k-code h2 { font-size: 30px; font-weight: 700; }
.anim {
  position: relative; height: 150px; border-radius: 20px; background: rgba(255, 255, 255, .05);
  display: flex; align-items: center; justify-content: space-between; padding: 0 22px;
}
.anim .kachel {
  width: 84px; height: 84px; border-radius: 18px; background: rgba(255, 255, 255, .1); z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 600;
}
.anim .kachel svg { width: 30px; height: 30px; }
.anim .kachel.s3 { background: var(--orange); animation: puls 3s ease-in-out infinite; }
.anim .linie { position: absolute; left: 112px; right: 112px; top: 74px; border-top: 2px dashed rgba(185, 198, 218, .5); }
.anim .bahn { position: absolute; left: 112px; right: 112px; top: 69px; height: 12px; }
.anim .bahn i {
  position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 3px;
  background: var(--orange); opacity: 0; animation: wandern 3s linear infinite;
}
.anim .bahn i:nth-child(2) { background: var(--orange-hell); animation-delay: .75s; }
.anim .bahn i:nth-child(3) { animation-delay: 1.5s; }
.anim .bahn i:nth-child(4) { background: var(--orange-hell); animation-delay: 2.25s; }
@keyframes wandern { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 102, 8, .45); } 50% { box-shadow: 0 0 0 12px rgba(236, 102, 8, 0); } }
.drei { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.drei li { display: flex; gap: 16px; align-items: flex-start; }
.drei .nr { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.drei strong { display: block; font-size: 17px; }
.drei span span { display: block; font-size: 15px; color: var(--on-dark); margin-top: 4px; }

/* Vorbereitung (K2) */
.checkliste { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 20px; }
.checkliste li { display: flex; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.checkliste li:last-child { border-bottom: 0; }
.checkliste .haken { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.checkliste .haken svg { width: 16px; height: 16px; }
.checkliste .txt { flex: 1 1 300px; display: flex; flex-direction: column; gap: 3px; }
.checkliste strong { font-size: 17px; font-weight: 600; }
.checkliste .txt > span { font-size: 15px; color: var(--muted); }
.ips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--soft2);
}
.ip .typ { font-size: 12px; font-weight: 600; color: var(--muted); }
.ip code { font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--navy); word-break: break-all; }
.ip .pill { min-height: 32px; padding: 0 12px; font-size: 13px; }

/* Auswahl (K4) */
.arten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.art { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #FFFFFF; cursor: pointer; }
.art input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.art .ring { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B9C6DA; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.art .ring::after { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.art strong { display: block; font-size: 15px; font-weight: 600; color: var(--navy); }
.art .txt span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 3px; }
.art:has(input:checked) { border: 2px solid var(--orange); background: var(--orange-bg2); padding: 13.5px; }
.art:has(input:checked) .ring { border-color: var(--orange); }
.art:has(input:checked) .ring::after { background: var(--orange); }
.art:has(input:focus-visible) { outline: 3px solid rgba(236, 102, 8, .55); outline-offset: 2px; }

.browser { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.browser-kopf { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; background: var(--soft2); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.browser-kopf svg { width: 18px; height: 18px; flex: none; }
.browser-kopf .pfad { flex: 1 1 200px; font-family: var(--mono); font-size: 14px; color: var(--navy); font-weight: 700; word-break: break-all; }
.browser-kopf .pill { min-height: 36px; border: 1px solid var(--line); background: #FFFFFF; }
.browser-liste { max-height: 440px; overflow: auto; }
.b-zeile {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px; align-items: center;
  min-height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line2);
}
.b-zeile:last-child { border-bottom: 0; }
.b-kopf { min-height: 40px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.b-zeile .groesse { text-align: right; font-size: 14px; color: var(--muted); }
.b-zeile .name { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; }
.b-zeile .name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-zeile a.name:hover span { text-decoration: underline; color: var(--orange-text); }
.b-zeile .name svg { width: 20px; height: 20px; flex: none; }
.b-zeile .name .pfeil { width: 14px; height: 14px; }
.b-zeile input { width: 20px; height: 20px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.b-zeile:has(input:checked) { background: var(--orange-bg); }
.b-leer { padding: 18px; color: var(--muted); font-size: 15px; }
/* Je nach Art nur passende Häkchen zeigen */
.auswahl[data-art="stamm"] .b-zeile input { visibility: hidden; }
.auswahl[data-art="ordner"] .b-zeile[data-dir="false"] input { visibility: hidden; }
.auswahl[data-art="ordner"] .b-zeile[data-dir="false"] .name { color: var(--muted2); }
.auswahl[data-art="dateien"] .b-zeile[data-dir="true"] input { visibility: hidden; }
.auswahl .arten { margin-bottom: 18px; }
.auswahl .zusatz { margin-top: 16px; }
.auswahl .auswahl-fuss { margin-top: 18px; }
fieldset.ohne-rahmen { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.ohne-rahmen legend { margin-bottom: 8px; }
.auswahl-fuss { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 18px; background: var(--bg); }
.auswahl-fuss .was { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.auswahl-fuss .was span { font-size: 13px; color: var(--muted); }
.auswahl-fuss .was strong { font-size: 15px; font-weight: 600; color: var(--navy); word-break: break-all; }
.auswahl-fuss .btn { min-height: 52px; }
details.zusatz summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--navy); }
details.zusatz .feld { margin-top: 10px; }

/* S3 (K5) */
.fest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fest > div { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--bg); min-width: 0; }
.fest svg { width: 20px; height: 20px; flex: none; }
.fest .wert { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fest .wert span { font-size: 12px; color: var(--muted); }
.fest .wert code { font-family: var(--mono); font-size: 14px; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fest .schloss { width: 16px; height: 16px; }
.allowlist { display: flex; gap: 16px; padding: 18px; border-radius: 18px; background: var(--dark); color: #FFFFFF; flex-wrap: wrap; align-items: center; }
.allowlist .txt { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.allowlist .eyebrow { color: var(--orange-hell); font-size: 12px; letter-spacing: 2px; }
.allowlist .txt > span:last-child { font-size: 15px; line-height: 1.5; color: #E6ECF4; }
.allowlist .ipbox { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.allowlist code { font-family: var(--mono); font-weight: 700; font-size: 16px; }
.allowlist .pill { background: #FFFFFF; min-height: 34px; padding: 0 12px; font-size: 13px; }

/* Start (K6) */
.zusammen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.zusammen > div { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
.zusammen .kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zusammen .kopf span { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--muted); }
.zusammen .kopf a { font-size: 13px; font-weight: 600; }
.zusammen strong { font-size: 16px; font-weight: 600; color: var(--navy); }
.zusammen code { font-family: var(--mono); font-size: 13px; color: var(--muted); word-break: break-all; }
.zwei-notes { display: flex; flex-wrap: wrap; gap: 12px; }
.zwei-notes .note { flex: 1 1 220px; font-size: 14px; line-height: 1.45; }
.datenschutz { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; }
.datenschutz strong { font-size: 15px; font-weight: 600; color: var(--navy); }
.datenschutz p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.datenschutz a { font-size: 14px; font-weight: 600; }

/* Live (K7) */
.live-kopf { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.ring-box { position: relative; width: 132px; height: 132px; flex: none; }
.ring-box svg { width: 132px; height: 132px; }
.ring-box .ring-hg { stroke: var(--soft); }
.ring-box .ring-vg { stroke: var(--orange); transition: stroke-dashoffset .6s ease; }
.ring-box .mitte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-box .mitte strong { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.ring-box .mitte span { font-size: 12px; color: var(--muted); }
.ring-box.unbestimmt .ring-vg { stroke-dasharray: 80 314.2; animation: dreh 1.4s linear infinite; transform-origin: 60px 60px; }
@keyframes dreh { to { transform: rotate(360deg); } }
.live-titel { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.live-titel h1 { font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.live-titel .zeit { font-size: 15px; color: var(--muted); }
.live-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--orange-bg); color: var(--orange-tief); font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.live-badge .punkt { background: var(--orange); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.kacheln { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.kacheln.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kacheln > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--bg); min-width: 0; }
.kacheln span { font-size: 13px; color: var(--muted); }
.kacheln strong { font-size: 22px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kacheln.vier strong { font-size: 26px; }
.kacheln strong.text { font-size: 20px; }
.kacheln small { font-size: 12px; color: var(--muted); }
.kacheln > .rot { background: var(--err-bg); }
.kacheln > .rot span, .kacheln > .rot strong { color: var(--err); }
.log-box { border-radius: 20px; overflow: hidden; background: #0B1A33; }
.log-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(185, 198, 218, .15); flex-wrap: wrap; }
.log-kopf strong { font-size: 15px; font-weight: 600; color: #FFFFFF; }
.log-kopf .pill { background: rgba(255, 255, 255, .1); color: #FFFFFF; min-height: 34px; font-size: 13px; }
.log-kopf .pill:hover { background: rgba(255, 255, 255, .18); }
.log {
  height: 260px; overflow: auto; padding: 12px 16px;
  font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #C9D6E8;
}
.log .z { display: flex; gap: 12px; white-space: pre; }
.log .t { color: #7F90AA; flex: none; }
.log .tag { flex: none; width: 56px; font-weight: 700; }
.log .z.ok .tag { color: #4ADE80; }
.log .z.err .tag { color: #FF8A80; }
.log .z.err .txt { color: #FFD2CC; }
.log .z.sum .tag, .log .z.sum .txt { color: var(--orange-hell); }
.log .z.ende .tag, .log .z.ende .txt { color: #FFFFFF; font-weight: 700; }
.live-hinweis { font-size: 14px; color: var(--muted); }

/* Fertig (K8) */
.fertig-kopf { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.fertig-kreis { width: 88px; height: 88px; border-radius: 50%; background: var(--ok-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.fertig-kreis svg { width: 48px; height: 48px; }
.fertig-kreis.err { background: var(--err-bg); }
.fertig-kreis.grau { background: var(--soft); }
.fertig-kopf h1.grau { color: var(--navy); }
.panel-kopf .knoepfe { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.panel-kopf .knoepfe form { margin: 0; }
.tabelle td form { margin: 6px 0 0; }
.live-kopf form { margin: 0; }
.fertig-kopf .txt { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.fertig-kopf h1 { font-size: 42px; font-weight: 700; color: var(--ok-text); line-height: 1.1; }
.fertig-kopf h1.err { color: var(--err); }
.fertig-kopf .txt > span { font-size: 17px; color: var(--muted); }

/* Status-Übersicht des Kunden */
.laeufe { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.laeufe .lz { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line2); font-size: 15px; }
.laeufe .lz:last-child { border-bottom: 0; }
.laeufe .lz .zahlen { display: block;  font-size: 13px; color: var(--muted); }

/* Einfache Meldungsseiten */
.k-meldung { padding: 44px 48px; display: flex; flex-direction: column; gap: 22px; width: 100%; }
.k-meldung h1 { font-size: 32px; font-weight: 700; color: var(--navy); }
.k-hp-fuss img { height: 40px; width: auto; margin: 0 auto; }

/* ================================================================
   Admin
   ================================================================ */
.a-shell { min-height: 100vh; display: flex; flex-wrap: wrap; }
.a-seite {
  flex: 0 0 248px; padding: 28px 18px; background: var(--dark); color: #FFFFFF;
  display: flex; flex-direction: column; gap: 28px;
}
.a-seite .logo { padding: 0 8px; }
.a-seite .logo svg { width: 50px; height: 28px; }
.a-seite .logo .wort { font-size: 20px; color: #FFFFFF; }
.a-seite .logo .unter { font-size: 12px; color: var(--on-dark); }
.a-nav { display: flex; flex-direction: column; gap: 4px; }
.a-nav a {
  min-height: 48px; padding: 0 14px; border-radius: 14px; color: #E6ECF4; text-decoration: none;
  font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 12px;
}
.a-nav a svg { width: 20px; height: 20px; flex: none; }
.a-nav a:hover { background: rgba(255, 255, 255, .08); color: #FFFFFF; }
.a-nav a[aria-current="page"] { background: var(--orange); color: #FFFFFF; font-weight: 600; }
.a-wer { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding: 16px 8px 0; border-top: 1px solid rgba(185, 198, 218, .2); }
.a-wer .person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.a-wer .kreis { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; text-transform: uppercase; flex: none; }
.a-wer .name { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.a-wer .rolle { display: block; font-size: 12px; color: var(--on-dark); font-weight: 400; }
.a-wer form { margin: 0; }
.a-wer button { width: 100%; min-height: 40px; border: 1px solid rgba(185, 198, 218, .35); border-radius: 999px; background: transparent; color: #FFFFFF; font-size: 14px; font-weight: 600; cursor: pointer; }
.a-wer button:hover { background: rgba(255, 255, 255, .08); }

.a-inhalt.schmal { max-width: 800px; }
.tabelle .nowrap { white-space: nowrap; }
.tabelle .fett { font-weight: 600; }
.a-inhalt { flex: 999 1 560px; min-width: 0; padding: 32px 40px 40px; display: flex; flex-direction: column; gap: 22px; }
.a-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.a-kopf h1 { font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.a-kopf .unter { font-size: 16px; color: var(--muted); margin-top: 6px; }
.a-kopf .unter.klein { font-size: 13px; margin-top: 2px; }
.a-kopf .knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.a-kopf .btn { min-height: 50px; font-size: 16px; padding: 0 22px; }
.a-krumen { font-size: 14px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 10px; }
.a-krumen a { color: var(--muted); text-decoration: none; }
.a-krumen a:hover { color: var(--orange-text); }
.a-krumen .hier { color: var(--orange-text); font-weight: 600; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.kpi { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; background: #FFFFFF; box-shadow: var(--shadow-panel); }
.kpi > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.kpi strong { font-size: 38px; font-weight: 700; color: var(--navy); line-height: 1; }
.kpi strong.orange { color: var(--orange); }
.kpi strong.rot { color: var(--err); }
.kpi > small { font-size: 13px; color: var(--muted); }
.kpi strong small { font-size: 18px; font-weight: 500; color: var(--muted); }

.panel { background: #FFFFFF; border-radius: 20px; box-shadow: var(--shadow-panel); overflow: hidden; }
.panel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.panel-kopf h2 { font-size: 20px; font-weight: 700; color: var(--navy); }
.panel-kopf .unter { font-size: 14px; color: var(--muted); margin-top: 4px; }
.panel-kopf a { font-size: 14px; font-weight: 600; text-decoration: none; }
.panel-inhalt { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.panel-fuss { padding: 14px 22px; border-top: 1px solid var(--line2); font-size: 14px; color: var(--muted); }
.panel h2.einfach { font-size: 18px; font-weight: 700; color: var(--navy); }
.panel .leer { padding: 20px 22px; color: var(--muted); }

.tabelle-box { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabelle.breit { min-width: 860px; }
.tabelle.mittel { min-width: 680px; }
.tabelle th { text-align: left; padding: 12px 10px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--soft2); white-space: nowrap; }
.tabelle td { padding: 14px 10px; border-top: 1px solid var(--line2); vertical-align: middle; }
.tabelle th:first-child, .tabelle td:first-child { padding-left: 22px; }
.tabelle th:last-child, .tabelle td:last-child { padding-right: 22px; }
.tabelle .r { text-align: right; font-variant-numeric: tabular-nums; }
.tabelle .rot { color: var(--err); font-weight: 600; }
.tabelle .mono { font-size: 14px; }
.tabelle .grau { color: var(--muted); }
.tabelle .wer { display: flex; flex-direction: column; gap: 2px; }
.tabelle .wer a { color: var(--navy); font-weight: 600; text-decoration: none; }
.tabelle .wer a:hover { color: var(--orange-text); }
.tabelle .wer .n { font-weight: 600; color: var(--navy); }
.tabelle .wer small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tabelle a.nr { font-family: var(--mono); font-weight: 700; color: var(--navy); text-decoration: none; }
.tabelle a.nr:hover { color: var(--orange-text); }
.tabelle .lauf { display: flex; flex-direction: column; gap: 2px; }
.tabelle .lauf small { font-size: 12px; color: var(--muted); }
.tabelle .stapel { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tabelle .stapel small { font-size: 12px; color: var(--muted); }

.werkzeug { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.suche { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 6px 0 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #FFFFFF; }
.suche:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(236, 102, 8, .15); }
.suche svg { width: 18px; height: 18px; flex: none; }
.suche input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; outline: none; }
.filter { display: flex; gap: 6px; flex-wrap: wrap; }
.filter .pill { background: #FFFFFF; }
.filter .pill[aria-current="true"] { background: var(--navy); color: #FFFFFF; }

.a-zwei { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.a-zwei > .schmal { flex: 1 1 280px; min-width: 0; }
.a-zwei > .breit { flex: 2 1 540px; min-width: 0; }
.daten { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.daten div { display: flex; flex-direction: column; gap: 2px; }
.daten dt { font-size: 13px; color: var(--muted); }
.daten dd { margin: 0; overflow-wrap: anywhere; }
.daten dd.mono { color: var(--navy); }

.zugang-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 24px 0; flex-wrap: wrap; }
.zugang-kopf h2 { font-size: 20px; font-weight: 700; color: var(--navy); }
.zugang-kopf .unter { font-size: 14px; color: var(--muted); margin-top: 4px; }
.zugang-felder { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.zugang-felder .label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); }
.zugang-felder input { min-height: 48px; font-family: var(--mono); font-size: 13px; background: var(--soft2); }
.zugang-felder input.code { font-weight: 700; font-size: 20px; letter-spacing: 2px; color: var(--navy); }
.zugang-felder .pill, .zugang-fuss .pill { min-height: 44px; font-size: 14px; }
.zugang-felder .feld-zeile form { margin: 0; }
.zugang-fuss { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 16px 24px; background: var(--soft2); border-top: 1px solid var(--line2); }
.zugang-fuss form { margin: 0; display: flex; gap: 8px; align-items: center; }
.zugang-fuss select { min-height: 44px; padding: 0 34px 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background-color: #FFFFFF; font-size: 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23556479' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.zugang-fuss .rechts { margin-left: auto; }
.zugang-fuss .hinweis { flex-basis: 100%; }
.zugang-neu { padding: 20px 24px 24px; display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.zugang-neu .feld { flex: 0 1 220px; }

.balken { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.balken div { height: 100%; background: var(--orange); border-radius: 999px; }
.lauf-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.lauf-zahlen div { display: flex; flex-direction: column; gap: 2px; }
.lauf-zahlen span { font-size: 13px; color: var(--muted); }
.lauf-zahlen strong { font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
.lauf-zahlen .rot strong { color: var(--err); }

.a-form { display: flex; flex-direction: column; gap: 18px; }
summary.pill { list-style: none; display: inline-flex; }
summary.pill::-webkit-details-marker { display: none; }
.a-form.oben { margin-top: 16px; }
.zugang-neu .btn { min-height: 52px; font-size: 16px; }
.a-form .knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.a-form .btn { min-height: 50px; font-size: 16px; padding: 0 22px; }
.otp-box { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 18px; background: var(--orange-bg); color: var(--orange-tief); }
.otp-box code { font-family: var(--mono); font-size: 13px; word-break: break-all; color: var(--text); background: #FFFFFF; padding: 10px 12px; border-radius: 12px; }

/* Login */
.a-login { min-height: 100vh; display: flex; flex-wrap: wrap; }
.a-login-marke {
  flex: 2 1 420px; padding: 56px 64px; background: var(--dark); color: #FFFFFF;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.a-login-marke .kopf { display: flex; align-items: center; gap: 12px; }
.a-login-marke .kopf svg { width: 64px; height: 36px; }
.a-login-marke .eyebrow { color: var(--orange-hell); font-size: 15px; }
.a-login-marke h1 { font-size: clamp(44px, 5.4vw, 72px); font-weight: 700; line-height: 1; white-space: nowrap; }
.a-login-marke p { font-size: 24px; color: var(--on-dark); margin-top: 14px; }
.a-login-marke img { height: 44px; width: auto; align-self: flex-start; }
.a-login-form { flex: 3 1 520px; padding: 48px 24px; display: flex; align-items: center; justify-content: center; }
.a-login-karte {
  width: 100%; max-width: 480px; background: #FFFFFF; border-radius: 28px; box-shadow: var(--shadow-card);
  padding: 44px 44px 36px; display: flex; flex-direction: column; gap: 20px;
}
.a-login-karte h2 { font-size: 32px; font-weight: 700; color: var(--navy); }
.a-login-karte .lead { font-size: 16px; color: var(--muted); margin-top: 6px; }
.a-login-karte .fuss { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.icon-feld { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #FFFFFF; }
.icon-feld:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(236, 102, 8, .15); }
.icon-feld svg { width: 20px; height: 20px; flex: none; }
.icon-feld input { flex: 1; min-width: 0; border: 0 !important; min-height: 48px; padding: 0 !important; box-shadow: none !important; outline: none; }
.totp { min-height: 60px !important; font-family: var(--mono); font-weight: 700; font-size: 26px !important; letter-spacing: 8px; text-align: center; color: var(--navy) !important; }


/* ================================================================
   Dashboard (cloud-server.io)
   ================================================================ */
.c-zahl { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.c-nav-aus { min-height: 48px; padding: 0 14px; border-radius: 14px; color: var(--muted2); font-size: 16px; display: flex; align-items: center; gap: 12px; }
.c-nav-aus svg { width: 20px; height: 20px; flex: none; }
.c-nav-aus span { margin-left: auto; font-size: 12px; }
.a-wer .c-hp { height: 30px; width: auto; align-self: flex-start; margin-top: 6px; }
.c-krumen { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; margin-bottom: 8px; }
.c-krumen a { font-weight: 600; text-decoration: none; }
.c-krumen .trenn { color: var(--muted2); }
.c-krumen .hier { color: var(--muted); }
.c-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.c-name a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.c-name a:hover { color: var(--orange-text); }
.c-name a.ordner { font-weight: 600; }
.c-symbol { flex: none; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); color: var(--navy); }
.c-symbol.ordner { background: #FFF1E6; color: var(--orange-text); }
.c-symbol svg { width: 20px; height: 20px; }
.c-geteilt { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #FFF1E6; color: var(--orange-tief); font-size: 12px; font-weight: 600; white-space: nowrap; }
.c-geteilt svg { width: 12px; height: 12px; }
.c-aktionen { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.c-aktionen form { margin: 0; }
.c-icon-knopf { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.c-icon-knopf:hover { background: var(--soft2); color: var(--navy); }
.c-icon-knopf svg { width: 18px; height: 18px; }
.c-knopf { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.c-knopf:hover { background: var(--soft2); color: var(--navy); }
.c-knopf svg { width: 16px; height: 16px; }
.c-knopf.gefahr { color: var(--err); border-color: var(--err-line); }
.c-knopf.gefahr:hover { background: var(--err-bg); color: var(--err); }
.c-dialog-seite { min-height: 100vh; padding: 48px 16px; background: #3D4654; display: flex; align-items: center; justify-content: center; }
.c-dialog { width: 100%; max-width: 640px; background: #FFFFFF; border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); padding: 32px 36px; display: flex; flex-direction: column; gap: 22px; }
.c-dialog h1 { font-size: 28px; font-weight: 700; color: var(--navy); }
.c-dialog-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.c-dialog-kopf .c-name strong { display: block; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.c-dialog-kopf .c-name small { font-size: 13px; color: var(--muted); }
.c-dialog .seg label { flex: 1 1 100px; }
.c-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.c-ergebnis { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: var(--ok-bg); color: var(--ok-text); }
.c-ergebnis strong { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.c-ergebnis strong svg { width: 18px; height: 18px; }
.c-ergebnis input { flex: 1 1 280px; min-width: 0; min-height: 50px; padding: 0 14px; border: 1.5px solid #B7E2C6; border-radius: 14px; background: #FFFFFF; font-family: var(--mono); font-size: 14px; color: var(--navy); }
.c-ergebnis .btn { min-height: 50px; font-size: 15px; padding: 0 20px; background: var(--ok-text); }
.c-ergebnis span { font-size: 13px; line-height: 1.5; }
.c-link { font-family: var(--mono); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.c-banner { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 20px; background: var(--dark); color: #FFFFFF; flex-wrap: wrap; }
.c-banner > svg { width: 26px; height: 26px; flex: none; margin-top: 2px; color: var(--orange-hell); }
.c-banner .txt { flex: 1 1 380px; display: flex; flex-direction: column; gap: 6px; }
.c-banner .txt strong { font-size: 19px; }
.c-banner .txt span { font-size: 15px; line-height: 1.5; color: #D9E1EC; }
.c-banner .tage { flex: none; width: 112px; height: 84px; border-radius: 16px; background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.c-banner .tage strong { font-size: 32px; color: var(--orange-hell); }
.c-banner .tage span { font-size: 13px; color: #D9E1EC; }
.c-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 20px; align-items: start; }
.c-raster > div { display: flex; flex-direction: column; gap: 20px; }
.c-werte { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; font-size: 15px; align-items: center; }
.c-werte dt { color: var(--muted); font-size: 14px; }
.c-werte dd { margin: 0; overflow-wrap: anywhere; }
.c-werte dd.mono { font-size: 13px; }
.c-qr { flex: none; width: 168px; height: 168px; border: 1.5px solid var(--line); border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; }
.c-qr img { width: 152px; height: 152px; image-rendering: pixelated; }
.c-geheimnis { padding: 8px 12px; border-radius: 10px; background: var(--bg); font-family: var(--mono); font-size: 15px; color: var(--navy); letter-spacing: 1px; }
.c-schritt { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.c-schritt legend { padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--navy); }
.c-schritt legend .nr { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.c-schritt + .c-schritt { padding-top: 22px; border-top: 1px solid var(--line2); }
.c-liste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.c-liste li { display: flex; gap: 12px; align-items: flex-start; }
.c-liste svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--orange-hell); }
.a-login-karte.breit { max-width: 720px; }
.a-login-marke .c-titel { font-size: clamp(36px, 4.4vw, 60px); white-space: normal; line-height: 1.05; }
.t-seite { min-height: 100vh; padding: 40px 16px 28px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.t-kopf { width: 100%; max-width: 640px; display: flex; align-items: center; gap: 12px; }
.t-kopf svg { width: 50px; height: 28px; }
.t-kopf span { font-size: 20px; font-weight: 700; color: var(--navy); }
.t-karte { width: 100%; max-width: 640px; background: #FFFFFF; border-radius: 28px; box-shadow: var(--shadow-card); padding: 40px 44px 36px; display: flex; flex-direction: column; gap: 24px; }
.t-karte h1 { font-size: 30px; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.t-karte .von { font-size: 15px; color: var(--muted); }
.t-fuss { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.t-fuss img { height: 30px; width: auto; }
.t-symbol { width: 64px; height: 64px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.t-symbol svg { width: 32px; height: 32px; }
@media (max-width: 760px) {
  .c-dialog { padding: 24px 20px; }
  .c-raster { grid-template-columns: minmax(0, 1fr); }
  .t-karte { padding: 28px 22px; border-radius: 24px; }
  .t-karte .kacheln.drei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kacheln.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-seite .logo .wort { white-space: nowrap; }
@media (max-width: 760px) {
  .c-dateien { min-width: 0 !important; }
  .c-dateien .c-weg { display: none; }
  .c-dateien .c-knopf { padding: 0 10px; }
  .c-dateien .c-knopf span { display: none; }
}

/* ================================================================
   Schmale Bildschirme
   ================================================================ */
@media (max-width: 900px) {
  .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zusammen { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .k-seite { padding: 0 0 24px; gap: 16px; }
  .k-karte { border-radius: 0; box-shadow: none; flex-direction: column; flex-wrap: nowrap; }
  .k-haupt, .k-haupt.eng, .k-code .k-haupt { padding: 24px 20px 28px; gap: 20px; order: 2; }
  .k-titel h1, .live-titel h1 { font-size: 28px; }
  .k-code h1 { font-size: 34px; }
  .fertig-kopf h1 { font-size: 34px; }
  .k-seite-spalte { order: 1; flex: none; padding: 20px 20px 18px; gap: 0; }
  .k-seite-spalte > .eyebrow, .k-schritte, .k-spalte-fuss { display: none; }
  .k-mobil-fortschritt { display: flex; flex-direction: column; gap: 8px; }
  .k-mobil-fortschritt .oben { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
  .k-mobil-fortschritt .oben span:first-child { color: var(--orange-hell); font-weight: 600; letter-spacing: 1.5px; }
  .k-mobil-fortschritt .oben span:last-child { color: var(--on-dark); }
  .k-mobil-fortschritt .balken6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .k-mobil-fortschritt .balken6 i { height: 5px; border-radius: 3px; background: rgba(185, 198, 218, .3); }
  .k-mobil-fortschritt .balken6 i.an { background: var(--orange); }
  .k-code .k-seite-spalte { order: 3; padding: 28px 20px; gap: 24px; }
  .k-code .k-seite-spalte .anim, .k-code .k-seite-spalte > .k-spalte-fuss { display: none; }
  .k-code .k-seite-spalte > .eyebrow { display: block; }
  .code-zeile { flex-wrap: nowrap; gap: 5px; }
  .code-gruppe { flex: 1 1 0; min-width: 0; gap: 5px; }
  .code-box { flex: 1 1 0; min-width: 0; width: auto; height: 52px; font-size: 20px; border-radius: 10px; }
  .code-hp { height: 52px; font-size: 16px; padding: 0 9px; border-radius: 10px; }
  .code-strich { display: none; }
  .arten { grid-template-columns: minmax(0, 1fr); }
  .fest { grid-template-columns: minmax(0, 1fr); }
  .kacheln, .kacheln.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-zeile { grid-template-columns: 36px minmax(0, 1fr) 80px; padding: 0 12px; }
  .browser-kopf { padding: 10px 12px; }
  .ring-box, .ring-box svg { width: 104px; height: 104px; }
  .ring-box .mitte strong { font-size: 18px; }
  .btn { min-height: 52px; font-size: 17px; }
  .k-aktionen .btn { flex: 1 1 auto; }
  .a-seite { flex: 1 1 100%; padding: 16px; gap: 14px; }
  .a-seite .a-nav { flex-direction: row; flex-wrap: wrap; }
  .a-seite .a-nav a { min-height: 40px; font-size: 14px; }
  .a-wer { margin-top: 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 0 0; }
  .a-wer button { width: auto; padding: 0 16px; }
  .a-inhalt { padding: 22px 16px 32px; }
  .a-kopf h1 { font-size: 28px; }
  .a-login-marke { padding: 28px 24px; gap: 16px; }
  .a-login-marke h1 { font-size: 44px; }
  .a-login-marke p { font-size: 18px; margin-top: 8px; }
  .a-login-marke > img { display: none; }
  .a-login-form { padding: 24px 16px; }
  .a-login-karte { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim .bahn i { opacity: 1; }
}
.panel-kopf .status { align-self: center; }
